From: Andy Bavier Date: Fri, 5 Jun 2009 14:13:14 +0000 (+0000) Subject: New import X-Git-Tag: util-vserver-0.30.216-pre2833-0~4^2 X-Git-Url: http://git.onelab.eu/?p=util-vserver.git;a=commitdiff_plain;h=a89a5abe2caafac29972879f6cbf177d6c1567ac New import --- a89a5abe2caafac29972879f6cbf177d6c1567ac diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..7041e8c --- /dev/null +++ b/AUTHORS @@ -0,0 +1,2 @@ +Enrico Scholz +Daniel Hokka Zakrisson diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..623b625 --- /dev/null +++ b/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..1948e42 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,14533 @@ +2009-04-10 20:24 Daniel Hokka Zakrisson + + * src/secure-mount.c: Handle shared/private/unbindable/slave mounts + internally. + +2009-04-03 16:41 Daniel Hokka Zakrisson + + * src/secure-mount.c: The remount still needs to have MS_BIND set. + +2009-03-18 19:26 Daniel Hokka Zakrisson + + * scripts/vserver.functions: -o shared doesn't work with --rbind. + +2009-02-14 10:07 Enrico Scholz + + * m4/ensc_dietlibc.m4: whitespace cleanup + +2009-02-14 10:06 Enrico Scholz + + * m4/ensc_dietlibc.m4: fixed detection of dietlibc version strings + like 0.31-1.2 + +2008-12-01 20:48 Daniel Hokka Zakrisson + + * scripts/vserver.suexec: Attach to the cgroup. + +2008-11-11 20:59 Daniel Hokka Zakrisson + + * distrib/defaults/devs: Add /dev/shm. + +2008-11-11 20:58 Daniel Hokka Zakrisson + + * lib/getinsecurebcaps.c: Remove the #ifdef since the logic got + inverted. + +2008-11-06 17:13 Daniel Hokka Zakrisson + + * ., COPYING: Add COPYING to svn. + +2008-11-06 02:27 Daniel Hokka Zakrisson + + * configure.ac: Add a way to disable library versioning. Better + than nothing until proper checks are written. + +2008-11-06 02:18 Daniel Hokka Zakrisson + + * python/libvserver.py: Add missing piece of code. + Fix __add__ and __sub__ in class struct. + +2008-11-06 02:00 Daniel Hokka Zakrisson + + * python/_libvserver.c, python/libvserver.py: Add Pythonizing + wrappers for the Python-bindings. + +2008-11-03 19:52 Daniel Hokka Zakrisson + + * scripts/chcontext: Enter the spaces when migrating to an existing + static context. + +2008-10-31 15:46 Daniel Hokka Zakrisson + + * lib/Makefile-files: Sigh. + +2008-10-31 15:41 Daniel Hokka Zakrisson + + * lib/issupported.c, lib/issupportedstring.c, lib/vserver.h, + scripts/vserver.functions, scripts/vserver.start, + scripts/vserver.stop, scripts/vserver.suexec, src/secure-mount.c, + src/vcontext.c: Use pivot_root on kernels supporting two + namespaces per context. + +2008-10-31 15:40 Daniel Hokka Zakrisson + + * kernel/space_cmd.h, kernel/switch.h, + lib/syscall_getspacemask-v21.hc, lib/syscall_getspacemask-v23.hc, + lib/syscall_getspacemask.c: Fix vc_get_space_default and add + vc_get_space_mask v1. + +2008-10-31 04:45 Daniel Hokka Zakrisson + + * ensc_wrappers/wrappers-vserver.hc, kernel/space_cmd.h, + lib/Makefile-files, lib/syscall_enternamespace-v13.hc, + lib/syscall_enternamespace-v21.hc, + lib/syscall_enternamespace-v23.hc, lib/syscall_enternamespace.c, + lib/syscall_getspacedefault-v23.hc, + lib/syscall_getspacemask-v21.hc, lib/syscall_setnamespace-v13.hc, + lib/syscall_setnamespace-v21.hc, lib/syscall_setnamespace-v23.hc, + lib/syscall_setnamespace.c, lib/vserver.h, python/_libvserver.c, + src/vcontext.c, src/vspace.c: Add VCMD_{enter,set}_space_v2 + support, in preparation of pivot_root. + +2008-10-31 04:21 Daniel Hokka Zakrisson + + * scripts/Makefile-files, scripts/util-vserver-vars.pathsubst, + scripts/vnamespace, scripts/vserver-build.debootstrap, + scripts/vsomething, src/Makefile-files, src/vnamespace.c: Remove + vnamespace in favor of vspace and a small wrapper around it. + +2008-10-31 04:07 Daniel Hokka Zakrisson + + * lib/vserver-internal.h: Add hidden attribute to be used for + versioned symbols. + +2008-10-31 04:05 Daniel Hokka Zakrisson + + * lib/syscall_ctxcreate-v21.hc, lib/syscall_ctxmigrate-v21.hc, + scripts/chcontext, scripts/vserver.functions, + scripts/vserver.suexec: Move space creation/entering out of + vc_ctx_{create,migrate}. + +2008-10-31 04:00 Daniel Hokka Zakrisson + + * src/vspace.c: CLONE_NEWNS and CLONE_FS aren't default spaces. + +2008-10-31 04:00 Daniel Hokka Zakrisson + + * lib/syscall_getspacemask-v21.hc: Filter out CLONE_NEWNS and + CLONE_FS, as vc_get_space_default does. + +2008-10-30 22:45 Daniel Hokka Zakrisson + + * python/_libvserver.c: Need to be able to retrieve per-CPU values. + +2008-10-30 21:23 Daniel Hokka Zakrisson + + * configure.ac, lib/Makefile-files, lib/internal.h, + lib/libvserver.ver: Library versioning stubs. + +2008-10-30 02:33 Daniel Hokka Zakrisson + + * configure.ac, python/Makefile-files, python/_libvserver.c, + python/ctags-constants.awk: 32-bit and Python 2.4 support. + +2008-10-30 02:25 Daniel Hokka Zakrisson + + * lib/getinsecurebcaps.c: These got lost somehow. + +2008-10-30 01:59 Daniel Hokka Zakrisson + + * util-vserver.spec.in: BR: ctags + +2008-10-30 01:21 Daniel Hokka Zakrisson + + * configure.ac, python/Makefile-files, python/_libvserver.c, + python/ctags-constants.awk: Some minor cleanups in the Python + build. + +2008-10-29 18:37 Daniel Hokka Zakrisson + + * configure.ac: Just in case anything else wants to use Python as + part of the build process. + +2008-10-29 18:36 Daniel Hokka Zakrisson + + * python/_libvserver.c: 65 is the length of the command structure's + field. + +2008-10-28 00:56 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Add Python stuff. + +2008-10-28 00:51 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: vserver.start.bin + +2008-10-28 00:24 Daniel Hokka Zakrisson + + * Makefile.am, configure.ac, python, python/Makefile-files, + python/_libvserver.c: Add Python bindings to libvserver. + +2008-10-28 00:23 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver-setup.functions, + scripts/vserver.functions: Rename flags to cflags. + +2008-10-27 23:52 Daniel Hokka Zakrisson + + * lib/bcaps-v13.c: ULL is needed to get a 64-bit wide integer. + +2008-10-27 22:58 Daniel Hokka Zakrisson + + * lib/bcaps-v13.c, lib/vserver.h: Add new capabilities. + +2008-10-27 22:58 Daniel Hokka Zakrisson + + * Makefile.am: Disable vserver-start. + +2008-10-27 22:54 Daniel Hokka Zakrisson + + * lib/getinsecurebcaps.c: Rather than listing the unsafe + capabilities, assume they're all unsafe unless + they're in this list. + +2008-10-23 21:37 Daniel Hokka Zakrisson + + * scripts/vserver.functions: No need to read the name again. + +2008-10-19 16:44 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Add arch initstyle. + +2008-10-11 18:51 Daniel Hokka Zakrisson + + * distrib/f8/yum.repos.d/fedora-updates.repo: Fix typo. + +2008-09-29 01:17 Daniel Hokka Zakrisson + + * contrib/yum-3.2.19-chroot.patch, contrib/yum-3.2.4-chroot.patch: + Revert getRootedPath prototype. + +2008-09-29 01:01 Daniel Hokka Zakrisson + + * src/vspace.c: Add --default to get the kernel's suggested values. + Add --~* versions to disable a space enabled by e.g. --default. + +2008-09-29 00:59 Daniel Hokka Zakrisson + + * distrib/Makefile.am: Install the F8/F9 keys. + +2008-09-29 00:56 Daniel Hokka Zakrisson + + * contrib/yum-3.2.19-chroot.patch, contrib/yum-3.2.4-chroot.patch: + Fix the ts_done/ts_all confusion. + +2008-09-28 11:24 Daniel Hokka Zakrisson + + * src/capability-compat.h, src/rpm-fake.c, src/vserver-info.c: Use + version 3 to avoid warning message in newer kernels. + +2008-09-28 05:06 Daniel Hokka Zakrisson + + * configure.ac: Add hints for ionice. + +2008-09-28 05:05 Daniel Hokka Zakrisson + + * configure.ac: Fix crypto API checks. + +2008-09-28 05:04 Daniel Hokka Zakrisson + + * distrib/f9/pubkeys, + distrib/f9/yum.repos.d/fedora-updates-testing.repo, + distrib/f9/yum.repos.d/fedora-updates.repo: newkey repository for + Fedora 9. + +2008-09-28 05:04 Daniel Hokka Zakrisson + + * distrib/f8/pubkeys, + distrib/f8/pubkeys/RPM-GPG-KEY-fedora-8-and-9-primary, + distrib/f8/pubkeys/RPM-GPG-KEY-fedora-test-8-and-9-primary, + distrib/f8/yum.repos.d/fedora-updates-testing.repo, + distrib/f8/yum.repos.d/fedora-updates.repo: newkey repository for + Fedora 8. + +2008-09-16 19:19 Daniel Hokka Zakrisson + + * src/vclone.c: Excluded files are fine, don't flag them as + failures just because nobody wants them. + +2008-09-01 12:54 Daniel Hokka Zakrisson + + * lib/Makefile-files: Remove nuked files. + +2008-08-31 20:09 Daniel Hokka Zakrisson + + * src/chxid.c: chxid applies to the filesystem, so it should use + tags. + +2008-08-31 20:09 Daniel Hokka Zakrisson + + * scripts/vserver-build.yum: Make it easier to install more + packages right away. + +2008-08-29 03:45 Daniel Hokka Zakrisson + + * src/vclone.c: access dereferences symbolic links. Use lstat + instead. + +2008-08-27 17:41 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Device nodes live here, so do the + rbind using -o dev. + +2008-08-27 10:38 Daniel Hokka Zakrisson + + * lib/syscall_ctxcreate-v23.hc, lib/syscall_ctxcreate.c, + lib/syscall_ctxmigrate-v23.hc, lib/syscall_ctxmigrate.c: This is + going to be handled in the kernel. + +2008-08-25 22:57 Daniel Hokka Zakrisson + + * scripts/vserver.start, src/exec-remount.c: Preparations for + actually reading mtab. + +2008-08-25 22:55 Daniel Hokka Zakrisson + + * sysv/util-vserver: Unmount the hierarchy too. + +2008-08-25 21:57 Daniel Hokka Zakrisson + + * src/secure-mount.c: Handle read-only bind-mounts the new way. + +2008-08-25 21:11 Daniel Hokka Zakrisson + + * src/vsysctl.c: If /proc/sys is inaccessible, assume there are no + settings. + +2008-08-24 23:37 Daniel Hokka Zakrisson + + * m4/ensc_pathprog.m4, scripts/vserver.functions: Fix the vps + output when a guest fails to stops nicely. + +2008-08-24 20:12 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver.functions, + scripts/vserver.start, scripts/vserver.stop, sysv/util-vserver: + cgroup support. + +2008-08-24 20:09 Daniel Hokka Zakrisson + + * scripts/functions: If $3 is set, the run file is expected to be + cleaned up if the context does + not exist. Fix the previous change to handle this correctly. + +2008-08-24 20:06 Daniel Hokka Zakrisson + + * distrib/Makefile.am: Work with builds done in a separate + directory. + +2008-08-24 03:11 Daniel Hokka Zakrisson + + * distrib/Makefile.am: f9 + +2008-08-24 02:47 Daniel Hokka Zakrisson + + * scripts/vserver-build.yum: Remove the run file if the build + fails. + +2008-08-24 02:47 Daniel Hokka Zakrisson + + * src/rpm-fake.c: Revert the atexit, as it appears to cause more + problems, while not solving any. + +2008-08-22 21:41 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions, scripts/vserver-build.yum: + Workaround rpm-fake brokenness by setting up a persistent + context. + +2008-08-22 21:41 Daniel Hokka Zakrisson + + * scripts/functions: This is a requirement for vc_getVserverCtx, so + it should be a requirement in the scripts. + +2008-08-22 21:39 Daniel Hokka Zakrisson + + * scripts/vserver.delete: Remove the runfile, if it exists. + +2008-08-22 21:01 Daniel Hokka Zakrisson + + * lib/issupported.c, lib/issupportedstring.c, lib/vserver.h: Add + PERSISTENT feature. + +2008-08-22 20:57 Daniel Hokka Zakrisson + + * lib/issupported.c: Pid namespaces will come in 0x00020304. + +2008-08-22 20:32 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: Umm, what? + +2008-08-21 19:21 Daniel Hokka Zakrisson + + * scripts/vmount: Fix silly typo. + +2008-08-21 18:05 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: chmod makes no sense for a + symlink. + +2008-08-21 17:57 Daniel Hokka Zakrisson + + * lib/vserver-internal.h: Pid namespace support will be available + in 0x00020304. + +2008-08-21 17:57 Daniel Hokka Zakrisson + + * src/rpm-fake.c: Since using a destructor doesn't seem to work all + that well, try using atexit instead. + +2008-08-21 17:56 Daniel Hokka Zakrisson + + * scripts/vserver-build, scripts/vserver-build.rsync: Make it + easier to add rsync arguments. + +2008-08-07 19:44 Daniel Hokka Zakrisson + + * distrib/Makefile.am: f9... + +2008-08-02 13:49 Daniel Hokka Zakrisson + + * distrib/debian/initpost: rsyslog is in Debian too. + +2008-08-01 10:19 Enrico Scholz + + * scripts/vyum-worker: print yum.__version__ instead of executing + "yum --version" which is very heavyweighted in recent versions + and gives out additional informations confusing the parser + +2008-07-28 21:44 Daniel Hokka Zakrisson + + * distrib/defaults/devs, scripts/vserver-build.functions: Add the + /dev/fd symlink that is expected by more and more things. + +2008-07-18 14:29 Daniel Hokka Zakrisson + + * distrib/Makefile.am: Install initctl file. + +2008-07-17 14:53 Daniel Hokka Zakrisson + + * sysv/util-vserver: Be silent if it's not a Linux-VServer kernel. + +2008-07-15 22:16 Daniel Hokka Zakrisson + + * src/vcontext.c: This is not an option used by the utils, but the + semantics are for filesystem namespaces. + +2008-07-15 22:14 Daniel Hokka Zakrisson + + * ensc_wrappers/wrappers-clone.hc: Use sys_clone in Eclone. + +2008-07-14 20:26 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add exec-remount. + +2008-07-14 20:26 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Support building against nss by using + --without beecrypt. + +2008-07-14 20:09 Daniel Hokka Zakrisson + + * kernel/context_cmd.h, kernel/space_cmd.h, lib/Makefile-files, + lib/syscall_ctxcreate-v21.hc, lib/syscall_ctxcreate-v23.hc, + lib/syscall_ctxcreate.c, lib/syscall_ctxmigrate-v21.hc, + lib/syscall_ctxmigrate-v23.hc, lib/syscall_ctxmigrate.c, + lib/syscall_getspacedefault-v23.hc, + lib/syscall_getspacedefault.c, lib/vserver-internal.h, + lib/vserver.h, scripts/vserver.functions: Add new 0x00020303 API, + using pid namespaces. + +2008-07-14 14:15 Daniel Hokka Zakrisson + + * scripts/util-vserver-vars.pathsubst: Add exec-remount. + +2008-07-14 14:12 Daniel Hokka Zakrisson + + * lib/Makefile-files: Add exitlikeprocess.c. + +2008-07-14 14:10 Daniel Hokka Zakrisson + + * lib/issupported.c, lib/issupportedstring.c, lib/vserver.h: Add + SPACES feature. + +2008-07-14 14:09 Daniel Hokka Zakrisson + + * doc/configuration.xml: Document ionice options. + +2008-07-14 13:12 Daniel Hokka Zakrisson + + * lib/exitlikeprocess.c, lib/vserver.h, + lib_internal/Makefile-files, lib_internal/util-exitlikeprocess.c, + lib_internal/util-exitlikeprocess.h, lib_internal/util.h, + src/context-sync.hc, src/vnamespace.c, src/vps.c, src/vspace.c: + Move exitLikeProcess to libvserver. + +2008-07-14 13:09 Daniel Hokka Zakrisson + + * src/h2ext.c: Silence warnings. + +2008-07-14 12:55 Daniel Hokka Zakrisson + + * scripts/vprocunhide: Escape >. + +2008-07-13 17:51 Daniel Hokka Zakrisson + + * configure.ac, lib/cflags-v13.c, lib/vserver.h, + scripts/util-vserver-vars.pathsubst, scripts/vserver.functions, + scripts/vserver.start, scripts/vserver.stop, + scripts/vserver.suexec: Merge ionice patch (originally from + anonc, updated for newer util-vserver by cehteh). + +2008-07-13 17:34 Daniel Hokka Zakrisson + + * scripts/vserver.start, src/Makefile-files, src/exec-remount.c: + exec-remount remounts proc and sys, to get the right namespaces + associated with them. + +2008-07-13 16:00 Daniel Hokka Zakrisson + + * scripts/vprocunhide: Teach vprocunhide about --write. + +2008-07-11 15:24 Daniel Hokka Zakrisson + + * src/vlogin.c: prctl does not work as well as this. Revert + changeset 2731. + +2008-07-11 15:20 Daniel Hokka Zakrisson + + * lib/vserver.h, src/fstool.c, src/fstool.h, src/setattr.c, + src/showattr.c: Add support for IATTR_WRITE. + +2008-07-10 18:06 Daniel Hokka Zakrisson + + * src/vlogin.c: Use prctl(PR_SET_NAME) instead. + +2008-07-08 15:51 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Correctly unmount NFS and other + "special" filesystems. + +2008-07-08 15:11 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Order the scriptlets logically. + +2008-07-08 14:08 Daniel Hokka Zakrisson + + * lib/ext2fs.h: Revert changeset 2726. Needs #ifdef magic. + +2008-07-08 14:07 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Don't fail. + +2008-07-06 23:58 Daniel Hokka Zakrisson + + * lib/ext2fs.h: Workaround broken headers. + +2008-07-06 23:58 Daniel Hokka Zakrisson + + * src/vclone.c: Unify_copy doesn't touch sockets, so there's + nothing to change the tag of. + +2008-07-02 17:10 Daniel Hokka Zakrisson + + * distrib/misc/debootstrap.uri: New debootstrap. + +2008-06-30 20:25 Daniel Hokka Zakrisson + + * src/vserver-stat.c: Use 64-bit counters for the memory usage, to + avoid easy overflows. + +2008-06-29 15:42 Daniel Hokka Zakrisson + + * distrib/centos5/yum/yum.conf, distrib/redhat/initpost: Add + persistdir for centos5 and make sure the syslog daemon is + enabled. + +2008-06-26 15:59 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Get rid of the etch directory for older + installs. + Hopefully all interesting RPM versions support %check by now... + Mandriva's rpm does not support the || : syntax. + +2008-06-17 16:16 Daniel Hokka Zakrisson + + * src/chroot-sh.c: Add operations needed by Fedora 9 tweaks. + +2008-06-17 16:15 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/f9, distrib/f9/pkgs, + distrib/f9/pkgs/01, distrib/f9/pkgs/02, distrib/f9/pkgs/03, + distrib/f9/rpmlist.d, distrib/f9/rpmlist.d/00.lst, + distrib/f9/yum, distrib/f9/yum.repos.d, + distrib/f9/yum.repos.d/fedora-development.repo, + distrib/f9/yum.repos.d/fedora-updates-testing.repo, + distrib/f9/yum.repos.d/fedora-updates.repo, + distrib/f9/yum.repos.d/fedora.repo, distrib/f9/yum/yum.conf, + distrib/redhat/initctl, distrib/redhat/initpost: Fedora 9 + support. + +2008-06-16 11:32 Daniel Hokka Zakrisson + + * lib_internal/unify-copy.c, src/check-unixfile.c, src/h2ext.c, + src/testsuite/hashcalc-plain.c, src/vhashify.c: On failure, mmap + returns MAP_FAILED, not 0. + +2008-05-03 17:00 Daniel Hokka Zakrisson + + * src/capability-compat.h, src/rpm-fake.c, src/vserver-info.c: + Avoid that annoying "uses 32-bit capabilities (legacy support in + use)" warning. + +2008-05-03 16:53 Daniel Hokka Zakrisson + + * lib/issupported.c, lib/issupportedstring.c, lib/vserver.h, + scripts/vserver.functions: Add pid space feature. + +2008-05-03 16:48 Daniel Hokka Zakrisson + + * distrib/gentoo/initpost: Fix typo. + +2008-05-02 22:44 Daniel Hokka Zakrisson + + * configure.ac: Fix typo. + +2008-04-29 17:47 Daniel Hokka Zakrisson + + * src/vspace.c: CLONE_FS is just for the Linux-VServer syscalls. + +2008-04-13 10:13 Benedikt Böhm + + * distrib/gentoo/initpost, scripts/vserver-init.functions: fix + functions.sh location for gentoo; create /lib/rc/sh for older + stages that don't have it + +2008-04-02 18:59 Daniel Hokka Zakrisson + + * src/tunctl.c: Add all the ioctls to work on older kernels too. + +2008-04-02 18:58 Daniel Hokka Zakrisson + + * src/naddress.c: Don't call free on stack pointers. + +2008-04-02 18:58 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver.functions: Add support to + be able to configure the peer too. + +2008-03-26 22:22 Daniel Hokka Zakrisson + + * lib/syscall_netadd-netv2.hc: Support 0.0.0.0 for 2.3 kernels. + +2008-03-17 08:59 Daniel Hokka Zakrisson + + * NEWS, configure.ac: Version 0.30.215. + +2008-03-17 08:55 Daniel Hokka Zakrisson + + * lib/ncaps-net.c, lib/nflags-net.c, lib/vserver.h: Add the new + flags. + +2008-03-16 03:30 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions, scripts/vserver.stop: Fix + vserver ... stop --rescue-init. + Use it in stopSleepingGuest, to prevent races and to do proper + cleanup. + If vserver ... stop has already been invoked, remove SC_HELPER + from the context. + +2008-03-15 16:05 Daniel Hokka Zakrisson + + * src/vdevmap.c: Add some examples. + Disallow combinations that make no sense. + Allow defaults to be set. + +2008-03-11 10:07 Benedikt Böhm + + * distrib/gentoo/initpost, scripts/vserver.functions: fix openrc + startup; only fix inittab in plain initstyle + +2008-03-10 22:41 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: bash doesn't execute traps until + after the current job has finished executing, so run sleep in a + loop. + +2008-03-10 19:59 Daniel Hokka Zakrisson + + * lib/syscall_netremove-netv2.hc: A kernel without IPv6-support + will return ENOSYS for vc_net_remove_ipv6. + +2008-03-05 15:46 Benedikt Böhm + + * distrib/gentoo/initpost: add openrc support to gentoo/initpost + +2008-03-02 14:04 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: Workaround kernel oddities. + +2008-03-01 01:24 Daniel Hokka Zakrisson + + * src/Makefile-files: Include attribute-util.h in the tarball. + +2008-03-01 01:20 Daniel Hokka Zakrisson + + * src/lockfile.c: lockf(F_LOCK) requests a write lock, which + requires the file to be open in write mode. + +2008-03-01 01:15 Daniel Hokka Zakrisson + + * src/vattribute.c: Remove unused variable. + +2008-03-01 01:07 Daniel Hokka Zakrisson + + * src/attribute-util.h, src/nattribute.c, src/vattribute.c: Factor + out bitfield-to-string code to src/attribute-util.h. + Add --get for nattribute too. + +2008-03-01 00:26 Daniel Hokka Zakrisson + + * src/rpm-fake.c, src/vnamespace.c, src/vspace.c: Revert commit + 2690, clone is needed for pid namespaces and on kernels <2.6.16. + +2008-03-01 00:22 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/util-vserver-vars.pathsubst, + scripts/vserver.functions, scripts/vserver.stop, src/tunctl.c: + Add basic support for creating tun/tap interfaces in the + configuration. + +2008-02-29 22:16 Enrico Scholz + + * scripts/vserver.stop: use ! instead of ~ to avoid shell expansion + +2008-02-29 13:29 Enrico Scholz + + * src/rpm-fake.c, src/vnamespace.c, src/vspace.c: use + unshare(CLONE_NEWNS) instead of a complicated 'clone(NEWNS) ... + waitpid()' operation + +2008-02-29 13:27 Enrico Scholz + + * build-all: use hostspecific Build directory + +2008-02-28 23:54 Daniel Hokka Zakrisson + + * src/tunctl.c: Set persist last, this way, no interface is left + behind if one of the ioctls fail. + +2008-02-28 23:28 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, ensc_wrappers/wrappers-ioctl.hc, + src/Makefile-files, src/tunctl.c: Add tunctl. + +2008-02-28 23:12 Daniel Hokka Zakrisson + + * src/vrsetup.c: Avoid pointer/integer conversion warning on LP64. + +2008-02-21 23:22 Enrico Scholz + + * NEWS, configure.ac, lib_internal/Makefile-files, + lib_internal/crypto-wrapper-beecrypt.h, + lib_internal/crypto-wrapper-nss.h, lib_internal/crypto-wrapper.h, + lib_internal/testsuite/Makefile-files, + lib_internal/testsuite/SPEED-RESULTS.txt, + lib_internal/testsuite/crypto-speed.c, + lib_internal/testsuite/crypto.c, src/Makefile-files, + src/testsuite/Makefile-files, src/testsuite/hashcalc-plain.c, + src/testsuite/hashcalc.c, src/testsuite/hashcalc.sh, + src/vhashify-init.hc, src/vhashify.c: added support for using + libnss instead of beecrypt for vhashify's + hash calculation. libnss has bad SHA1 performance on i386, but is + a) + maintained and b) gives better performance with all other hashes + and + on x86_64. + + I am just waiting for somebody to write the OpenSSL layer so that + I + can try the padlock hardware crypto device on my C7 ;) + +2008-02-21 23:11 Enrico Scholz + + * scripts/Makefile-files: added h2ext-worker to OPTIONS_PREEMPT + list + +2008-02-21 23:11 Enrico Scholz + + * build-all: fixed CPPFLAGS quoting problems introduced by last + commit + +2008-02-21 23:10 Enrico Scholz + + * scripts/vmount: fixed endless loop when no '--' is given + fixed --help/--version handling + +2008-02-21 22:34 Enrico Scholz + + * build-all: added code to enable i386 builds on x86_64 platforms + added $CONFIGURE_FLAGS configuration env + set LDFLAGS + +2008-02-21 22:33 Enrico Scholz + + * lib_internal/testsuite/matchlist.c: fixed unused param + + unsigned/signed mismatch warning + +2008-02-21 22:32 Enrico Scholz + + * src/vspace.c: fixed + + | src/vspace.c:177: warning: passing argument 2 of + 'isNumberUnsigned' from incompatible pointer type + + warning + +2008-02-16 22:09 Daniel Hokka Zakrisson + + * lib_internal/util-lockfile.c, src/lockfile.c, src/secure-mount.c, + vserver-start/main.c: Use lockf instead of flock, the former + works on NFS. + +2008-02-14 19:28 Daniel Hokka Zakrisson + + * src/rpm-fake.c: Disable VXF_SC_HELPER for rpm-fake created + contexts. + +2008-02-11 23:41 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: Set the barrier and warn if it + could not be set automatically. + +2008-02-09 00:27 Daniel Hokka Zakrisson + + * src/rpm-fake.c: We only want to wait on the context if we created + it. + +2008-01-27 07:55 Daniel Hokka Zakrisson + + * distrib/alpine/initpost, distrib/alpine/initpre, + distrib/debian/initpost, distrib/gentoo/init-vserver.sh, + distrib/gentoo/initpost, distrib/gentoo/initpre, + distrib/gentoo/net.vserver, distrib/gentoo/reboot.sh, + distrib/gentoo/shutdown.sh, distrib/misc/environment, + distrib/misc/h2ext.desc, gentoo/Makefile-files, + gentoo/bash-wrapper, gentoo/util-vserver, gentoo/vprocunhide, + gentoo/vservers.default, lib/syscall_ctxcreate-v21.hc, + lib/syscall_fgetiattr-v22.hc, lib/syscall_fgetiattr.c, + lib/syscall_fsetiattr-v22.hc, lib/syscall_fsetiattr.c, + lib/syscall_getbadness-v23.hc, lib/syscall_getbadness.c, + lib/syscall_getccaps-v21.hc, lib/syscall_getsched-v21.hc, + lib/syscall_getsched.c, lib/syscall_netadd-netv2.hc, + lib/syscall_netremove-netv2.hc, lib/syscall_setbadness-v23.hc, + lib/syscall_setbadness.c, lib/syscall_setsched-v22.hc, + lib/syscall_tagcreate.c, lib/syscall_tagmigrate-v23.hc, + lib/syscall_tagmigrate.c, lib/syscall_tasktag-v23.hc, + lib/syscall_tasktag.c, lib/syscall_unsetmapping-v21.hc, + lib/syscall_unsetmapping.c, lib/tagopt2tag.c, + lib_internal/mkdir.c, lib_internal/sys_unshare.h, + lib_internal/testsuite/matchlist.c, + man/vserver-build.8.pathsubst, mkrelease, scripts/h2ext-worker, + scripts/vserver-build.fai, src/h2ext.c, src/vmemctrl.c, + src/vspace.c, src/vtag.c: Add missing svn:keywords. + +2008-01-26 11:44 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: Make sure /dev gets proper + permissions. + +2008-01-26 11:44 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: Prevent deadlock between + sc_helper vserver ... stop invocation, and stopSleepingGuest. + +2008-01-23 10:38 Daniel Hokka Zakrisson + + * lib_internal/sys_unshare.h: Use the correct syscall number. + +2008-01-23 06:14 Daniel Hokka Zakrisson + + * distrib/Makefile.am: Fedora 8 is redhat-style too. + +2008-01-22 09:19 Daniel Hokka Zakrisson + + * scripts/vserver.stop, scripts/vserver.suexec, src/vspace.c: Fix + vspace stuff. + +2008-01-21 14:13 Daniel Hokka Zakrisson + + * src/naddress.c: Don't require a netmask/prefix. + +2008-01-20 08:15 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add missing files. + +2008-01-20 08:03 Daniel Hokka Zakrisson + + * doc/configuration.xml: Add missing closing tag. + +2008-01-20 08:01 Daniel Hokka Zakrisson + + * src/rpm-fake.c: Hopefully this will make it bullet-proof. + +2008-01-20 07:56 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver.functions, + scripts/vserver.start, scripts/vserver.stop, + scripts/vserver.suexec, src/vspace.c: Add preliminary support for + pid and network namespaces. + +2008-01-20 06:58 Daniel Hokka Zakrisson + + * sysv/util-vserver: getPhysicalDir doesn't work if it doesn't + already exist. + +2008-01-15 13:26 Daniel Hokka Zakrisson + + * distrib/misc/debootstrap.uri: debootstrap 1.0.8. + +2008-01-13 18:26 Daniel Hokka Zakrisson + + * scripts/vserver: Use $cmd instead of $2. + +2008-01-13 18:26 Daniel Hokka Zakrisson + + * lib/syscall_tagmigrate-v23.hc: Only migrate to the tag once. + +2008-01-12 15:55 Daniel Hokka Zakrisson + + * lib/vserver.h, src/vspace.c: Add support for PID and net + namespaces. + +2008-01-12 15:48 Daniel Hokka Zakrisson + + * src/vspace.c: Pid namespaces require clone. + +2008-01-12 15:35 Daniel Hokka Zakrisson + + * ., lib, lib_internal: Fix svn:ignores. + +2008-01-08 17:19 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Backslash... + +2008-01-08 16:53 Daniel Hokka Zakrisson + + * src/rpm-fake.c: Attempt to close race between dying + rpm-fake-resolver and other rpm-fake processes. + +2008-01-08 16:49 Daniel Hokka Zakrisson + + * scripts/vserver.delete: cache need not exist. + +2008-01-06 01:40 Daniel Hokka Zakrisson + + * scripts/vmount: Work with nonamespace guests. + +2008-01-04 17:42 Daniel Hokka Zakrisson + + * src/vattribute.c: Add --get. + +2008-01-03 15:33 Daniel Hokka Zakrisson + + * lib/val2text.hc: Don't remove bits for which there were no match. + Cast 1 to the TYPE, so uint64 values can be looked up. + +2008-01-03 15:30 Daniel Hokka Zakrisson + + * lib_internal/util-io.h, src/h2ext.c: Move WRITE_INT to util-io.h, + so other programs can use it too. + +2008-01-03 14:18 Daniel Hokka Zakrisson + + * scripts/vmount: Make vmount -- -a work. + +2008-01-03 00:40 Daniel Hokka Zakrisson + + * lib/vserver.h: Fix typo. + +2007-12-22 16:30 Daniel Hokka Zakrisson + + * distrib/redhat/initpost: Leave rsyslog enabled for Fedora 8. + +2007-12-20 00:09 Daniel Hokka Zakrisson + + * src/vclone.c: Don't bail on EINVAL, since the clone build method + sets the contexts unconditionally. + +2007-12-19 19:13 Daniel Hokka Zakrisson + + * distrib/debian/initpost: Remove all unknown services. + +2007-12-19 14:28 Daniel Hokka Zakrisson + + * scripts/vserver-build, scripts/vserver-build.clone: Use/support + the "new" vclone features in the clone build method. + +2007-12-19 02:17 Daniel Hokka Zakrisson + + * lib/ccaps-v13.c, lib/vserver.h: Add VXC_KTHREAD. + +2007-12-05 14:24 Daniel Hokka Zakrisson + + * lib/syscall_tagmigrate-v23.hc: Use TAG_KERNEL2USER on the result. + +2007-12-05 00:51 Daniel Hokka Zakrisson + + * scripts/vserver-build.debootstrap: Work with newer versions of + debootstrap too. + +2007-12-03 21:08 Daniel Hokka Zakrisson + + * distrib/f7/yum.repos.d/fedora.repo: Correct path to keys. + +2007-12-03 18:06 Daniel Hokka Zakrisson + + * scripts/vserver: Document --debug. + +2007-11-30 23:18 Daniel Hokka Zakrisson + + * distrib/misc/h2ext.desc: Use --numeric-owner for tar and + --numeric-uid-gid for cpio. + +2007-11-26 23:47 Daniel Hokka Zakrisson + + * src/vsched.c: Floats are numbers too. + +2007-11-19 04:48 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/f8, + distrib/f8/yum.repos.d/fedora-development.repo, + distrib/f8/yum.repos.d/fedora-updates-testing.repo, + distrib/f8/yum.repos.d/fedora-updates.repo, + distrib/f8/yum.repos.d/fedora.repo: Add Fedora 8. + +2007-11-17 23:52 Benedikt Böhm + + * scripts/vdispatch-conf, scripts/vemerge, scripts/vesync, + scripts/vupdateworld: fix a corner case in gentoo helpers + +2007-11-17 21:36 Benedikt Böhm + + * scripts/vserver.functions: use sane PATH during shutdown + +2007-11-13 22:17 Daniel Hokka Zakrisson + + * distrib/misc/debootstrap.uri: Update to 1.0.6. + +2007-10-29 21:13 Daniel Hokka Zakrisson + + * scripts/Makefile-files, scripts/vmount: Add vmount, a wrapper to + mount something in a guest. + +2007-10-27 19:34 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, man/Makefile-files, + man/vserver-build.8.pathsubst, man/vserver.8: Man pages update + from Micah Anderson. + +2007-10-25 01:18 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/alpine, distrib/alpine/initpost, + distrib/alpine/initpre: Add "Alpine Linux". + +2007-10-25 00:26 Daniel Hokka Zakrisson + + * scripts/vserver: Cleanup the help message. + +2007-10-25 00:23 Daniel Hokka Zakrisson + + * distrib/debian/initpost, distrib/redhat/initpost, + scripts/vserver, scripts/vserver-build.functions, + scripts/vserver.stop: Create helper functions to start a guest + that just sleeps and kills. + +2007-10-22 20:43 Daniel Hokka Zakrisson + + * src/vmemctrl.c: Fix startup bug on older kernels. + +2007-10-16 00:27 Daniel Hokka Zakrisson + + * configure.ac, scripts/util-vserver-vars.pathsubst, + scripts/vserver.functions, scripts/vserver.start, + util-vserver.spec.in: Lots of small fixes to make everything + behave like it should. + +2007-10-15 11:38 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add vmemctrl and vspace to the + manifest. + +2007-10-15 11:31 Daniel Hokka Zakrisson + + * doc/configuration.xml, gentoo/util-vserver, + scripts/vserver.functions, scripts/vserver.start, + scripts/vserver.stop, sysv/util-vserver: Add support for + per-guest device maps. + +2007-10-14 14:40 Daniel Hokka Zakrisson + + * doc/configuration.xml: Improve the disk limit descriptions. + +2007-10-14 00:32 Daniel Hokka Zakrisson + + * distrib/misc/vprocunhide-files: Hide conntrack files. + +2007-10-13 14:17 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver.functions, + scripts/vserver.start: Add support for the OOM bias in the + configuration. + +2007-10-13 12:13 Daniel Hokka Zakrisson + + * kernel/context_cmd.h, kernel/switch.h, lib/Makefile-files, + lib/syscall_getbadness-v23.hc, lib/syscall_getbadness.c, + lib/syscall_setbadness-v23.hc, lib/syscall_setbadness.c, + lib/vserver.h, src, src/Makefile-files, src/vmemctrl.c: Add + support for the OOM bias, and vmemctrl to control it. + +2007-10-13 01:10 Daniel Hokka Zakrisson + + * lib/vserver.h, src, src/Makefile-files, src/vspace.c: Added + vspace, like vnamespace but generic. + +2007-10-12 00:03 Daniel Hokka Zakrisson + + * scripts/vserver.functions, scripts/vserver.start: Run fsck on + filesystems in the guest's fstab. + +2007-10-11 23:47 Daniel Hokka Zakrisson + + * lib/vserver.h, src/naddress.c: Ranges might want masks too. + +2007-10-11 20:37 Daniel Hokka Zakrisson + + * kernel/device_cmd.h, lib/Makefile-files, + lib/syscall_unsetmapping-v21.hc, lib/syscall_unsetmapping.c, + lib/vserver.h, scripts/vserver.functions, src/vdevmap.c: Add + support for vc_unset_mapping introduced in 2.3.0.27. + +2007-10-10 09:01 Daniel Hokka Zakrisson + + * doc/configuration.xml: Clarify which entries are required for + cpusets. + +2007-10-06 17:23 Daniel Hokka Zakrisson + + * scripts/vserver.functions: People love symlinks. + +2007-09-11 21:26 Enrico Scholz + + * distrib/f7/yum/yum.conf, scripts/vserver-build.functions.yum: + added support for yum's new persistdir option + +2007-09-11 21:22 Enrico Scholz + + * contrib/yum-3.2.4-chroot.patch: fixed patch and re-added lost + hunk which caused broken paths for cachedir, logfile and friends + +2007-09-06 17:48 Daniel Hokka Zakrisson + + * scripts/vserver.functions, src/vtag.c: Unbreak dynamic contexts. + +2007-09-06 07:53 Enrico Scholz + + * contrib/Makefile-files, contrib/yum-3.2.4-chroot.patch: added + patch for yum-3.2.4 + +2007-09-03 07:42 Enrico Scholz + + * lib_internal/matchlist-appendfiles.c, + lib_internal/matchlist-initmanually.c, lib_internal/matchlist.h, + lib_internal/util-safechdir.h: whitespace-cleanup + +2007-09-03 07:40 Enrico Scholz + + * lib_internal/matchlist-appendfiles.c, + lib_internal/matchlist-initmanually.c, lib_internal/matchlist.h: + fixed const-ness of matchlist functions + + made the initial file-list a 'char const **' to ease + initialization from string constants + +2007-09-03 07:38 Enrico Scholz + + * lib_internal/util-safechdir.h: fixed declaration of 'struct stat' + + include instead of declaring it with 'struct stat' + as it might cause conflicts when 'stat' is #defined as stat64 + in this header + +2007-09-02 20:03 Daniel Hokka Zakrisson + + * NEWS, configure.ac: Version 0.30.214. + +2007-09-02 19:51 Daniel Hokka Zakrisson + + * lib/syscall_getccaps-v13.hc: Use the correct syscall. + +2007-08-27 10:53 Daniel Hokka Zakrisson + + * scripts/vserver.stop: Fix thinko. + +2007-08-27 10:19 Daniel Hokka Zakrisson + + * distrib/Makefile.am: Remove vserver-config.sh from the Makefile. + +2007-08-27 10:16 Daniel Hokka Zakrisson + + * distrib/debian/initpost, distrib/debian/vserver-config.sh: Be + more like the redhat initpost script, don't start the guest for + real. + +2007-08-26 21:30 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/chbind, scripts/chcontext, + scripts/pkgmgmt, scripts/vserver-build.fai, + scripts/vserver.functions, scripts/vserver.start, + scripts/vserver.stop, scripts/vserver.suexec, scripts/vsomething, + src/vtag.c: Add support for the lback address in the + configuration. + Add --silent to vtag so it'll complain if run manually on a + kernel without the necessary support. + +2007-08-26 17:50 Daniel Hokka Zakrisson + + * doc/configuration.xml: Document the tag and ncontext files. + +2007-08-26 17:48 Daniel Hokka Zakrisson + + * lib/nflags-net.c: Add remap_lback as an alias to lback_remap. + +2007-08-25 16:56 Daniel Hokka Zakrisson + + * lib/getvserverbyctx-compat.hc, lib/getvserverctx.c: Fallback to + context if ncontext/tag don't exist. + Fix remanining vc_getVserverCtx caller. + +2007-08-25 16:50 Daniel Hokka Zakrisson + + * distrib/misc/debootstrap.uri: debootstrap 1.0.3 + +2007-08-21 23:00 Daniel Hokka Zakrisson + + * doc/configuration.xml: Clarify that specifying dev will + add/remove the IP address. + +2007-08-21 18:39 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Add a static context sanity check. + +2007-08-16 20:33 Daniel Hokka Zakrisson + + * src/setattr.c: Add --immutable. + +2007-08-16 19:53 Daniel Hokka Zakrisson + + * scripts/vserver.stop: Migrate to the tag on stop too. + +2007-08-16 19:36 Daniel Hokka Zakrisson + + * scripts/chcontext: Fix for vtag invocations. + +2007-08-16 03:06 Daniel Hokka Zakrisson + + * compat.h, configure.ac, contrib/manifest.dat.pathsubst, + ensc_wrappers/wrappers-vserver.hc, kernel/switch.h, + kernel/tag_cmd.h, lib/Makefile-files, + lib/getvserverbyctx-compat.hc, lib/getvserverbyctx-v13.hc, + lib/getvserverctx.c, lib/issupported.c, lib/issupportedstring.c, + lib/nidopt2nid.c, lib/syscall_getvci-v21.hc, + lib/syscall_getvci.c, lib/syscall_tagcreate.c, + lib/syscall_tagmigrate-v23.hc, lib/syscall_tagmigrate.c, + lib/syscall_tasktag-v23.hc, lib/syscall_tasktag.c, + lib/tagopt2tag.c, lib/virtual.h, lib/vserver-internal.h, + lib/vserver.h, lib/xidopt2xid.c, scripts/chcontext, + scripts/util-vserver-vars.pathsubst, scripts/vserver.functions, + scripts/vserver.start, scripts/vserver.suexec, + src/Makefile-files, src/vserver-info.c, src/vtag.c, + vserver-start/main.c: Add support for a separate filesystem tag, + and in the process improve the support for network contexts. + +2007-08-16 02:31 Daniel Hokka Zakrisson + + * src/chbind.c: The nid isn't used anymore, legacy APIs don't + support it. + +2007-08-16 02:00 Daniel Hokka Zakrisson + + * lib_internal/sys_unshare.h: Add fallback syscall numbers, if it's + not defined in the headers. + +2007-08-13 18:10 Daniel Hokka Zakrisson + + * scripts/functions: Add some hints for this common problem. + +2007-08-12 00:13 Daniel Hokka Zakrisson + + * lib/ncaps-net.c, lib/vserver.h, src/nattribute.c: Add network + capability RAW_ICMP. + +2007-08-10 15:28 Daniel Hokka Zakrisson + + * lib/syscall_netadd-net.hc, src/naddress.c: Fix setting the + broadcast address. + +2007-08-09 02:39 Daniel Hokka Zakrisson + + * lib/nflags-net.c, lib/vserver.h: Add all the network flags. + +2007-08-08 23:10 Daniel Hokka Zakrisson + + * lib/syscall_ctxcreate-v21.hc: Don't hardcode the spaces to + create/unshare. + +2007-08-08 21:32 Daniel Hokka Zakrisson + + * lib/syscall_ctxcreate-v21.hc: Set the namespaces we've unshared. + +2007-08-08 21:03 Daniel Hokka Zakrisson + + * gentoo/Makefile-files: Add the bash-wrapper to the Makefile. + +2007-08-08 20:47 Daniel Hokka Zakrisson + + * lib_internal/Makefile-files: Add sys_unshare to the Makefile. + +2007-08-08 20:05 Daniel Hokka Zakrisson + + * AUTHORS, configure.ac, ensc_wrappers/wrappers-vserver.hc, + kernel/inode_cmd.h, kernel/network.h, kernel/network_cmd.h, + lib/Makefile-files, lib/syscall_ctxcreate-v13.hc, + lib/syscall_ctxcreate-v21.hc, lib/syscall_ctxcreate.c, + lib/syscall_fgetiattr-v22.hc, lib/syscall_fgetiattr.c, + lib/syscall_fsetiattr-v22.hc, lib/syscall_fsetiattr.c, + lib/syscall_netadd-net.hc, lib/syscall_netadd-netv2.hc, + lib/syscall_netadd.c, lib/syscall_netremove-net.hc, + lib/syscall_netremove-netv2.hc, lib/syscall_netremove.c, + lib/syscall_setsched-v22.hc, lib/syscall_setsched.c, + lib/vserver-internal.h, lib/vserver.h, + lib_internal/sys_unshare.h, src/chbind.c, src/naddress.c, + src/rpm-fake.c, src/vcontext.c, vserver-start/main.c: Add support + for the various new APIs in 2.2 and 2.3, in particular, netv2. + +2007-08-05 18:36 Daniel Hokka Zakrisson + + * scripts/vserver.delete: Remove the cache so disk limit caches + have no chance of being reused if the same guest is recreated at + a later point in time. + +2007-08-05 18:36 Daniel Hokka Zakrisson + + * scripts/vserver-build.yum: It's just yum, not yum-rpm. + +2007-08-05 18:35 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Remove e2fsprogs requirement, no longer + needed. + +2007-07-31 19:43 Daniel Hokka Zakrisson + + * scripts/vserver-build.debootstrap: Use findFile consistently. + Don't fail if a file doesn't exist, these are all optional. + +2007-07-30 09:36 Benedikt Böhm + + * gentoo/util-vserver, gentoo/vprocunhide: some more POSIX fixes + +2007-07-29 17:14 Daniel Hokka Zakrisson + + * gentoo/Makefile-files, gentoo/bash-wrapper, gentoo/util-vserver: + Only POSIX-sh in Gentoo initscripts. + +2007-07-29 16:55 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/breezy, + distrib/breezy/debootstrap.script, distrib/dapper, + distrib/dapper/debootstrap.script, distrib/debian, + distrib/debian/debootstrap.script, distrib/debian/initpost, + distrib/edgy, distrib/edgy/debootstrap.script, distrib/etch, + distrib/feisty, distrib/feisty/debootstrap.script, distrib/gutsy, + distrib/gutsy/debootstrap.script, distrib/hoary, + distrib/hoary/debootstrap.script, distrib/warty, + distrib/warty/debootstrap.script, + scripts/vserver-build.debootstrap, + scripts/vserver-build.functions: Various debootstrap + improvements. + +2007-07-29 16:32 Daniel Hokka Zakrisson + + * src/naddress.c: Prettier output on error. + +2007-07-22 17:24 Daniel Hokka Zakrisson + + * lib_internal/Makefile-files, lib_internal/matchlist-compare.c, + lib_internal/mkdir.c, lib_internal/testsuite, + lib_internal/testsuite/Makefile-files, + lib_internal/testsuite/matchlist.c, lib_internal/util.h, + src/vclone.c, src/vhashify.c: Add exclude list support for + vclone. + +2007-07-19 20:56 Daniel Hokka Zakrisson + + * lib/Makefile-files, lib/syscall_getsched-v21.hc, + lib/syscall_getsched.c, lib/vserver.h: Add vc_get_sched. + +2007-07-18 17:32 Daniel Hokka Zakrisson + + * configure.ac, scripts/util-vserver-vars.pathsubst: ... and add + _STRACE. + +2007-07-18 17:24 Daniel Hokka Zakrisson + + * scripts/vserver, scripts/vserver.functions, + scripts/vserver.start: Add --strace and --debug-sysv options to + further debug problems with starting a guest. + +2007-07-16 15:52 Daniel Hokka Zakrisson + + * lib/Makefile-files: Add it to the Makefile. + +2007-07-16 15:10 Daniel Hokka Zakrisson + + * lib/syscall_getccaps-v21.hc, lib/syscall_getccaps.c: Make + vc_get_ccaps do the right thing. + +2007-07-13 14:35 Daniel Hokka Zakrisson + + * scripts/vserver.stop: Enter the network context to stop the + guest. + +2007-07-12 21:59 Daniel Hokka Zakrisson + + * src/fakerunlevel.c: Support runlevels up to 9, as per init(1). + +2007-07-11 14:34 Daniel Hokka Zakrisson + + * src/h2ext.c: Add some sanity checking. + +2007-07-11 14:27 Daniel Hokka Zakrisson + + * distrib/f7/yum.repos.d/fedora.repo: Add forgotten file. + +2007-07-10 20:35 Daniel Hokka Zakrisson + + * src/vclone.c: Add an option to specify the xid the non-shared + files should belong to. + +2007-07-10 20:34 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, distrib/Makefile.am, + distrib/misc/h2ext.desc, pathconfig.h.pathsubst, + scripts/Makefile-files, scripts/h2ext-worker, scripts/magic.mime, + scripts/util-vserver-vars.pathsubst, + scripts/vserver-build.template, src/Makefile-files, src/h2ext.c: + Replace file with h2ext for the template build method. + +2007-07-08 18:29 Daniel Hokka Zakrisson + + * src/chbind.c: It's network isolation, not virtualization. + +2007-07-07 15:24 Enrico Scholz + + * contrib/Makefile-files, contrib/yum-3.2.1-chroot.patch: added + patch for yum-3.2.1; this one should retain API + compatibility by using a dummy argument for the *Lock() + methods + +2007-06-25 15:24 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Update URLs. + +2007-06-24 22:04 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver-build.template: Add a way + to associate a distribution with a default template. + +2007-06-24 21:28 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/f7, + distrib/f7/yum.repos.d/fedora-core.repo, + distrib/f7/yum.repos.d/fedora-development.repo, + distrib/f7/yum.repos.d/fedora-extras-development.repo, + distrib/f7/yum.repos.d/fedora-extras.repo, + distrib/f7/yum.repos.d/fedora-legacy.repo, + distrib/f7/yum.repos.d/fedora-updates-testing.repo, + distrib/f7/yum.repos.d/fedora-updates.repo: Add Fedora 7. + +2007-06-24 00:07 Daniel Hokka Zakrisson + + * src: Ignore vsysctl and vclone too. + +2007-06-21 12:56 Daniel Hokka Zakrisson + + * scripts/vyum-worker: Support 3.1.x and 3.2.x as well. + +2007-06-21 12:55 Daniel Hokka Zakrisson + + * contrib/yum-3.2.0-chroot.patch: Use the correct path to the + configuration file. + +2007-06-21 12:55 Daniel Hokka Zakrisson + + * mkrelease: Make it do everything needed. + +2007-06-16 20:42 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Define PREVLEVEL and RUNLEVEL so + SuSE's rc script works correctly. + +2007-06-11 12:09 Daniel Hokka Zakrisson + + * doc/configuration.xml: fstab.remote uses the guest's network + context. + +2007-06-01 16:19 Enrico Scholz + + * contrib/Makefile-files, contrib/yum-3.0.5-chroot.patch, + contrib/yum-3.2.0-chroot.patch: added updated patches for yum. + The yum-3.2.0 one is untested. + +2007-06-01 16:18 Enrico Scholz + + * lib_internal/testsuite/Makefile-files: Fixed problems when + building both a dietlibc and a GNU version of a + testsuite program. Previously, the same object file (which was + generated + by 'diet') was used for both variants and only linking differed + for + them. This caused problems at least in F7 on PPC platforms. + +2007-06-01 16:16 Enrico Scholz + + * lib_internal/unify-copy.c: deallocate resources symmetrically + +2007-05-31 17:58 Benedikt Böhm + + * distrib/gentoo/init-vserver.sh, scripts/vserver.functions: fix + TERM for colored output + +2007-05-26 11:50 Daniel Hokka Zakrisson + + * distrib/gentoo/init-vserver.sh: TERM=linux is needed for color + with baselayout-2. + +2007-05-03 12:20 Daniel Hokka Zakrisson + + * NEWS: Version 0.30.213. + +2007-05-03 12:13 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add missing file. + +2007-05-02 20:11 Daniel Hokka Zakrisson + + * configure.ac: Version 0.30.213. + +2007-04-27 09:08 Benedikt Böhm + + * scripts/vserver.functions: fake init environment during shutdown, + otherwise rc just calls shutdown/halt which does not work without + init + +2007-04-27 09:02 Benedikt Böhm + + * distrib/gentoo/initpost, distrib/gentoo/initpre: add dummy net + dependency to default runlevel; dmesg/syslog is now handled in + baselayout + +2007-04-27 09:01 Benedikt Böhm + + * src/chroot-sh.c: add link command to chroot-sh + +2007-04-27 08:42 Benedikt Böhm + + * distrib/gentoo/reboot.sh, distrib/gentoo/shutdown.sh: don't call + /halt/reboot -f for gentoo init style, but rather just exit, + since we would be killed by vshelper, does not matter for reboot + from inside: simple reboot wonÄt work with gentoo init style, + must use reboot -f inside + +2007-04-27 08:40 Benedikt Böhm + + * distrib/gentoo/initpre: fix distdir handling if prefix is not + +2007-04-21 14:06 Daniel Hokka Zakrisson + + * lib/cflags-v13.c, scripts/vshelper: Use the state change helper + to stop the guest when the last process exits. + +2007-04-21 14:05 Daniel Hokka Zakrisson + + * scripts/vserver-build.template: Recognize the --nodevsanity + option. + +2007-04-21 14:04 Daniel Hokka Zakrisson + + * scripts/functions: Don't do namespace cleanup if we're not in a + new namespace. + +2007-04-21 14:03 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/centos5, distrib/centos5/pkgs, + distrib/centos5/yum, distrib/centos5/yum.repos.d, + distrib/centos5/yum.repos.d/CentOS-Base.repo, + distrib/centos5/yum/yum.conf: Add CentOS 5. + +2007-04-13 10:46 Benedikt Böhm + + * distrib/etch/vserver-config.sh: remove interactive setup steps + +2007-04-13 09:02 Benedikt Böhm + + * distrib/Makefile.am, distrib/etch, distrib/etch/initpost, + distrib/etch/vserver-config.sh, distrib/misc/debootstrap.mirror, + scripts/vserver-build.debootstrap: add build scripts for debian + etch + +2007-04-11 18:14 Daniel Hokka Zakrisson + + * scripts/vyum-worker: Fix typo. + +2007-04-11 17:55 Daniel Hokka Zakrisson + + * distrib/misc/debootstrap.uri: New debootstrap. + +2007-04-08 00:40 Daniel Hokka Zakrisson + + * src/vlogin.c: terminal_copy doesn't return void anymore. + +2007-04-08 00:39 Daniel Hokka Zakrisson + + * distrib/Makefile.am: Add shutdown.sh and reboot.sh to the + Makefile. + +2007-03-27 18:00 Benedikt Böhm + + * distrib/gentoo/initpost, distrib/gentoo/initpre, + distrib/gentoo/reboot.sh, distrib/gentoo/shutdown.sh: force + halt/reboot if using gentoo init style, enable syslog stub by + default for gentoo guests + +2007-03-24 12:54 Daniel Hokka Zakrisson + + * scripts/vserver-build.debootstrap: Get rid of the work directory + on success. + +2007-03-21 04:46 Daniel Hokka Zakrisson + + * scripts/vserver: Fix help message. + +2007-03-20 20:38 Daniel Hokka Zakrisson + + * scripts/vserver-build.debootstrap: Fix problems with debootstrap + on Ubuntu. + +2007-03-20 17:47 Daniel Hokka Zakrisson + + * scripts/vserver-build.debootstrap: Remove the guest in case of + failure. + +2007-03-18 22:15 Daniel Hokka Zakrisson + + * scripts/pkgmgmt: Supply the required argument. + +2007-03-18 22:02 Daniel Hokka Zakrisson + + * scripts/vserver-setup.functions: nodev: shouldn't be in the ip + file. + +2007-03-18 17:51 Daniel Hokka Zakrisson + + * gentoo/util-vserver: Verbosify initscript. + +2007-03-18 15:32 Daniel Hokka Zakrisson + + * scripts/functions, scripts/pkgmgmt, scripts/vserver, + scripts/vserver-build.functions, scripts/vsomething: Rename + _setVserverDir to _setVserverDirName. + Rename _getVserverDir to _setVserverDir. + Add _setVserverName to set VSERVER_NAME. + pkgmgmt.initVariables cannot run before _setVserverDirName, and + the initialization must happen once per guest. + +2007-03-18 15:04 Daniel Hokka Zakrisson + + * src/vlogin.c: Attempt to fix the endless loop of select() read(). + +2007-03-18 11:51 Daniel Hokka Zakrisson + + * sysv/util-vserver: Create the directories here for strange + distros (e.g. Ubuntu). + +2007-03-11 21:25 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Fix IPv6 address assignment. + +2007-03-09 21:07 Daniel Hokka Zakrisson + + * distrib/misc/debootstrap.uri: Update the debootstrap URI. + +2007-03-07 20:33 Daniel Hokka Zakrisson + + * src/vsched.c: Fix idle-time. + +2007-02-26 20:18 Daniel Hokka Zakrisson + + * distrib/gentoo/init-vserver.sh, scripts/vserver.functions: Make + the gentoo initstyle work with baselayout-vserver. + +2007-02-25 14:06 Daniel Hokka Zakrisson + + * scripts/functions, scripts/vserver.stop, scripts/vshelper: Don't + tell init to shutdown if we're called from vshelper, that + should've already happened. + Kill init and other remaining processes from vshelper once the + stop sync signal has arrived. + +2007-02-25 01:44 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Add $__LOCKDIR and /tmp to the + excluded paths. + +2007-02-24 23:43 Daniel Hokka Zakrisson + + * configure.ac: Fix help message for --with-initscripts. + +2007-02-24 20:03 Daniel Hokka Zakrisson + + * distrib/Makefile.am: Move the Gentoo in-guest scripts to *_DATA, + so rpm doesn't process them for deps. + +2007-02-24 20:03 Daniel Hokka Zakrisson + + * m4/ensc_pathprog.m4: Fix the symlink problems. + +2007-02-22 05:18 Daniel Hokka Zakrisson + + * lib/syscall-alternative.h: Update to latest shiny. + +2007-02-21 20:07 Daniel Hokka Zakrisson + + * scripts/vserver-setup.functions: Update help message to + correspond better with reality. + +2007-02-20 17:33 Daniel Hokka Zakrisson + + * ensc_wrappers/wrappers-vserver.hc, lib/syscall_ctxmigrate-v21.hc, + lib/syscall_ctxmigrate.c, lib/vserver.h, + lib_internal/switchtowatchxid.c, src/rpm-fake-resolver.c, + src/rpm-fake.c, src/vcontext.c: Add support for the migration + flags. + +2007-02-17 19:10 Daniel Hokka Zakrisson + + * scripts/vserver-setup.functions: Make nodev: silence the warning. + +2007-02-17 19:01 Daniel Hokka Zakrisson + + * lib/syscall-alternative.h: Update to latest shiny. + +2007-02-14 19:32 Daniel Hokka Zakrisson + + * scripts/functions: &>> doesn't exist. + +2007-02-14 19:24 Daniel Hokka Zakrisson + + * lib/syscall-alternative.h: Update to latest shiny. + +2007-02-11 20:21 Daniel Hokka Zakrisson + + * scripts/functions: Work better if the default tty is a file by + using /dev/null for input and appending the output. + +2007-02-11 20:16 Daniel Hokka Zakrisson + + * lib/syscall-alternative.h: Update to shiny15. + +2007-02-11 00:45 Daniel Hokka Zakrisson + + * scripts/vserver-build.clone, src/vclone.c: Remove the --source + and --dest "options" from vclone, both are required. + Catch error conditions about the arguments in vclone. + Attempt to figure out where the source if it's not a directory, + and make sure it is one before running vclone. + +2007-02-10 15:06 Daniel Hokka Zakrisson + + * lib/getxidtype.c: Xid 65535 is a static one when dynamic ones are + disabled. + +2007-02-09 06:17 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Add /usr/bin to exception list, to + make sure we keep the /usr mount around. + +2007-02-05 20:59 Daniel Hokka Zakrisson + + * src/Makefile-files, src/vkill.c: Fix the last, horribly broken + commit. + +2007-02-05 20:45 Daniel Hokka Zakrisson + + * src/vdevmap.c: Really silence the warning. + +2007-02-05 20:40 Daniel Hokka Zakrisson + + * src/vkill.c: Try to figure out the xid if not specified. + +2007-02-05 20:39 Daniel Hokka Zakrisson + + * src/vdevmap.c: Silence warning. + +2007-02-05 20:39 Daniel Hokka Zakrisson + + * distrib/gentoo/net.vserver: Make distrib/gentoo/net.vserver + non-executable so RPM doesn't pick up a dependency on + /sbin/runscript. + +2007-02-05 18:08 Benedikt Böhm + + * scripts/vdispatch-conf, scripts/vesync, scripts/vupdateworld: fix + vsomething arguments in gentoo wrappers + +2007-02-04 17:18 Enrico Scholz + + * lib_internal/unify-copy.c: - documented parts of the code were I + needed to think >1min about its + sense + - use ftruncate(2) instead of a lseek(2)+write(2) sequence to + create a + sparse file + - set O_NOCTTY flag for temp file + +2007-02-04 17:17 Enrico Scholz + + * lib_internal/testsuite/sigbus.c: - reworked the large pagesize + patch; it seems to be always PAGESIZE*2+1 + bytes required to trigger a SIGBUS. Since PAGESIZE is not + available + directly, use sysconf(3) to get this value and memset(3) to + initialize + buffer + - removed byte crap + +2007-02-01 12:56 Daniel Hokka Zakrisson + + * sysv/Makefile-files: Add missing hunk from the Gentoo initscripts + commit. + +2007-01-29 23:37 Daniel Hokka Zakrisson + + * Makefile.am, configure.ac, gentoo, gentoo/Makefile-files, + gentoo/util-vserver, gentoo/vprocunhide, gentoo/vservers.default, + util-vserver.spec.in: Add Gentoo initscripts. + Force sysv initscripts for the RPMs. + +2007-01-29 02:06 Daniel Hokka Zakrisson + + * scripts/vserver.stop, scripts/vserver.suexec: There's no need to + enter the filesystem namespaces twice. + +2007-01-28 11:35 Daniel Hokka Zakrisson + + * src/secure-mount.c: When we call the external mount, we need to + preserve all of the options so it can parse them on its own. + The option defaults should set nodev in the flags. + +2007-01-27 23:16 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: vserver-copy is legacy, put the + man page in the same package. + +2007-01-27 11:10 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, distrib/Makefile.am, + distrib/misc/context.start, doc/configuration.xml, + scripts/vserver-setup.functions: Move dynamic context generation + to userspace. + +2007-01-27 10:20 Daniel Hokka Zakrisson + + * scripts/vserver-setup.functions: Set nodev rather than just + warning about it. + +2007-01-27 10:05 Daniel Hokka Zakrisson + + * lib_internal/unify.h: Actually check the mtime when it's not + optional. + +2007-01-27 09:38 Daniel Hokka Zakrisson + + * lib_internal/unify.h, src/vhashify.c, src/vhashify.h: Add an + option (--ignore-mtime) to vhashify to hashify files with + differing mtimes. + +2007-01-25 13:14 Daniel Hokka Zakrisson + + * doc/configuration.xml: Add entries that were missing from + .defaults. + +2007-01-25 09:51 Daniel Hokka Zakrisson + + * src/chxid.c, src/fstool.c, src/fstool.h: Add option to chxid to + skip unified files. + +2007-01-23 16:43 Daniel Hokka Zakrisson + + * src/vclone.c: Don't overwrite files that already exist. + +2007-01-23 16:41 Benedikt Böhm + + * distrib/Makefile.am, distrib/gentoo/initpost, + distrib/gentoo/initpre, distrib/gentoo/net.vserver: cleanup + gentoo/initpost; add fixes for syslog-ng.conf and net dependency + in baselayout >= 1.13 + +2007-01-21 20:17 Daniel Hokka Zakrisson + + * scripts/Makefile-files: ... and the Makefile. + +2007-01-21 20:06 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add the build method to the + manifest too. + +2007-01-21 20:05 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, + scripts/util-vserver-vars.pathsubst, scripts/vserver-build, + scripts/vserver-build.clone: Add the clone build method. + +2007-01-21 18:26 Daniel Hokka Zakrisson + + * ensc_wrappers/wrappers-unistd.hc, lib_internal/pathinfo.h, + src/Makefile-files, src/vclone.c: Add vclone, to help with + cloning guests. + +2007-01-21 08:02 Daniel Hokka Zakrisson + + * scripts/vserver.start, src/vsysctl.c: If it doesn't exist, only + error if requested. + +2007-01-20 17:31 Benedikt Böhm + + * distrib/gentoo/initpost: fix runlevel scripts for older + baselayouts too; set hostname inside the guest + +2007-01-20 13:55 Daniel Hokka Zakrisson + + * lib/checkconfig.c: Return 0 on any error, older kernels will + return -EPERM for unknown syscalls. + +2007-01-20 09:36 Daniel Hokka Zakrisson + + * doc/configuration.xml: Document the configuration for vdevmap. + +2007-01-20 09:25 Daniel Hokka Zakrisson + + * doc/configuration.xml: Place-holder documentation for now, until + some better descriptions comes along. + +2007-01-20 07:43 Daniel Hokka Zakrisson + + * lib_internal/testsuite/sigbus.c: Add patch from David Woodhouse + to work with 64 KiB pages. + +2007-01-18 16:35 Daniel Hokka Zakrisson + + * scripts/util-vserver-vars.pathsubst, scripts/vserver.functions, + sysv/util-vserver: Add support for vdevmap in the configuration. + +2007-01-18 16:33 Daniel Hokka Zakrisson + + * src/vsysctl.c: Fix logic error. + +2007-01-18 13:38 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, + scripts/util-vserver-vars.pathsubst, scripts/vserver.start, + src/Makefile-files, src/vsysctl.c: Add support for setting sysctl + values in the configuration. + +2007-01-18 07:56 Enrico Scholz + + * contrib/Makefile-files, contrib/yum-3.0.3-chroot.patch: added + patch for yum-3.0.3 + +2007-01-18 04:38 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Remove the disk limits after saving + them. + +2007-01-17 09:56 Daniel Hokka Zakrisson + + * lib/vserver.h: Add VC_VXSM_MSEC. + +2007-01-17 09:56 Daniel Hokka Zakrisson + + * lib/syscall_setsched-v21.hc: Use VCMD_set_sched_v4 as intended. + +2007-01-17 09:54 Daniel Hokka Zakrisson + + * configure.ac, m4/ensc_dietlibc.m4: Remove the dietlibc sanity + check function, as what it's doing is already done elsewhere. + +2007-01-14 12:30 Benedikt Böhm + + * scripts/vupdateworld: fix missing world target in vupdateworld + +2007-01-10 22:23 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Teach the spec how to build prereleases and + release candidates. + +2007-01-10 19:27 Daniel Hokka Zakrisson + + * src/vserver-stat.c: The new method doesn't need to be a + spectator, and /proc/virtual isn't available there by default. + +2007-01-10 18:53 Daniel Hokka Zakrisson + + * kernel/sched_cmd.h, lib/Makefile-files, lib/issupported.c, + lib/issupportedstring.c, lib/syscall_schedinfo-v21.hc, + lib/syscall_schedinfo.c, lib/vserver.h, src/vserver-stat.c: Add + vc_sched_info API. + Make vserver-stat use the various APIs instead of parsing + per-process /proc entries. + + vc_virt_stat.uptime is a uint64_t. + vc_get_dlimit can handle a NULL limits argument. + +2007-01-10 18:49 Daniel Hokka Zakrisson + + * lib/syscall.c, src/rpm-fake.c, src/vcontext.c: There is no + vc_create_context. Stop referencing it. + +2007-01-10 11:52 Daniel Hokka Zakrisson + + * scripts/vserver.stop: Remove persistent on stop. + +2007-01-09 13:22 Daniel Hokka Zakrisson + + * lib/syscall-wrap.h, lib/vserver-internal.h, + lib_internal/sys_clone.h, lib_internal/sys_personality.h, + m4/ensc_dietlibc.m4: Check if dietlibc declares syscall + incompatibly, to avoid errors. + Move the syscall declaration to lib/syscall-wrap.h. + +2007-01-07 22:27 Daniel Hokka Zakrisson + + * sysv/util-vserver: Fix output. + +2007-01-03 11:55 Daniel Hokka Zakrisson + + * lib/getvserverbyctx.c: Support legacy guests on 2.6 kernels as + well. + +2007-01-02 20:54 Daniel Hokka Zakrisson + + * scripts/vserver.start: The CHBIND_OPTS need to be cleaned before + handing them to $_CHBIND_COMPAT, let $_CHBIND do that. + +2007-01-01 19:37 Daniel Hokka Zakrisson + + * configure.ac: Let glibc use the alternative syscalls as well. + +2006-12-30 00:52 Daniel Hokka Zakrisson + + * lib/vserver.h: Organize things. Structures and functions dealing + with similar things are now grouped together. + +2006-12-30 00:40 Daniel Hokka Zakrisson + + * scripts/functions: Use status for the process count instead since + persistent adds a task there. + +2006-12-30 00:37 Daniel Hokka Zakrisson + + * src: Add vdevmap to ignore. + +2006-12-29 20:34 Daniel Hokka Zakrisson + + * sysv/util-vserver: Return a sane value from kill_contexts. + +2006-12-29 20:33 Daniel Hokka Zakrisson + + * lib/vserver-internal.h: Use the correct type for the + configuration bitfield. + +2006-12-29 20:32 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Add util-vserver initscript handling. + Add %changelog comment. + +2006-12-29 20:30 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add vdevmap. + +2006-12-28 00:07 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, scripts/Makefile-files, + scripts/util-vserver-vars.pathsubst, + scripts/vserver-init.functions, scripts/vserver-wrapper, + sysv/Makefile-files, sysv/util-vserver, sysv/vprocunhide: Move + initscript functions to vserver-init.functions. + Make vprocunhide use said functions. + Add an initscript to set the helper and kill guest processes. + +2006-12-28 00:05 Daniel Hokka Zakrisson + + * util-vserver.spec.in: Add --without doc and --with legacy + options. + +2006-12-20 13:39 Benedikt Böhm + + * scripts/vserver-wrapper: cosmetic fixes for vserver-wrapper + +2006-12-19 19:18 Daniel Hokka Zakrisson + + * src/fstool.c, src/fstool.h, src/setattr.c: Add --immutable, + --~immutable and --!immutable. + +2006-12-18 11:26 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Don't check the VLAN stuff if + novlandev was specified. + +2006-12-12 13:18 Daniel Hokka Zakrisson + + * src/vdevmap.c: Error on too many arguments. + +2006-12-12 13:18 Daniel Hokka Zakrisson + + * distrib/misc/debootstrap.uri: Update debootstrap URL. + +2006-12-12 01:39 Daniel Hokka Zakrisson + + * kernel/device_cmd.h, kernel/switch.h, lib/Makefile-files, + lib/syscall_setmapping-v21.hc, lib/syscall_setmapping.c, + lib/virtual.h, lib/vserver.h, src/Makefile-files, src/vdevmap.c: + Add vdevmap and required functionality. + +2006-12-10 17:45 Daniel Hokka Zakrisson + + * scripts/functions: Improve the vshelper warning (common sign of + multiple installs). + +2006-12-10 12:56 Enrico Scholz + + * contrib/yum-2.6.0-chroot.patch, contrib/yum-2.9.6-chroot.patch: + fixed location of the lockfile; formerly, the chroot path was + prepended + twice + +2006-12-10 00:57 Daniel Hokka Zakrisson + + * sysv/vservers-legacy: Don't enable the legacy initscript by + default. + +2006-12-09 16:13 Daniel Hokka Zakrisson + + * NEWS, THANKS, configure.ac: Version 0.30.212. + +2006-12-09 16:12 Daniel Hokka Zakrisson + + * lib_internal/sys_clone.h, src/rpm-fake.c, src/vdlimit.c: + vserver.h defines CLONE_NEW*. + Remove unused include of sys_clone.h from vdlimit. + +2006-12-09 16:02 Daniel Hokka Zakrisson + + * scripts/functions: Make getFileArray handle multiple files as + well. + +2006-12-08 15:35 Daniel Hokka Zakrisson + + * lib/syscall_ctxmigrate-v21.hc: Only enter the namespaces for + static and dynamic xids (i.e. not the spectator). + +2006-12-08 13:28 Daniel Hokka Zakrisson + + * scripts/functions, scripts/vserver, scripts/vserver.functions: + Rather than keeping an unnecessary mount around just because it + was the cwd, cd to the root at the beginning while storing the + original cwd (so it can be used later). + +2006-12-08 13:25 Daniel Hokka Zakrisson + + * doc/configuration-xhtml.xsl: Change the default stylesheet. + +2006-12-08 13:25 Daniel Hokka Zakrisson + + * ensc_wrappers/wrappers-vserver.hc: Add missing hunks from last + commit. + +2006-12-08 13:24 Daniel Hokka Zakrisson + + * lib/Makefile-files, lib/checkconfig.c, lib/getxidtype.c, + lib/internal.h, lib/isdynamicxid.c, + lib/syscall_ctxmigrate-v21.hc, lib/syscall_ctxmigrate.c, + lib/syscall_enternamespace-v13.hc, + lib/syscall_enternamespace-v21.hc, lib/syscall_enternamespace.c, + lib/syscall_getspacemask-v21.hc, lib/syscall_getspacemask.c, + lib/syscall_getvci-v21.hc, lib/syscall_getvci.c, + lib/syscall_setnamespace-v13.hc, lib/syscall_setnamespace-v21.hc, + lib/syscall_setnamespace.c, lib/virtual.h, + lib/vserver-internal.h, lib/vserver.h, src/vcontext.c, + src/vnamespace.c: Work better on 2.6.19. + This includes adding a new kind of API that depends on the + VCI-bits, to detect the presence of spaces. + vnamespace now only enters the filesystem related namespaces + (CLONE_NEWNS|CLONE_FS). + vc_ctx_migrate_spaces enters the others. + Fix dynamic context detection by using the VCI-bits. + +2006-12-08 13:20 Daniel Hokka Zakrisson + + * src/ncontext.c: Remove unused argument. + +2006-12-08 13:05 Daniel Hokka Zakrisson + + * kernel/cacct.h, kernel/cacct_cmd.h, kernel/cacct_def.h, + kernel/cacct_int.h, kernel/context.h, kernel/context_cmd.h, + kernel/cvirt.h, kernel/cvirt_cmd.h, kernel/cvirt_def.h, + kernel/debug.h, kernel/debug_cmd.h, kernel/dlimit.h, + kernel/dlimit_cmd.h, kernel/global.h, kernel/history.h, + kernel/inode.h, kernel/inode_cmd.h, kernel/legacy.h, + kernel/limit.h, kernel/limit_cmd.h, kernel/limit_def.h, + kernel/limit_int.h, kernel/namespace.h, kernel/namespace_cmd.h, + kernel/network.h, kernel/network_cmd.h, kernel/sched.h, + kernel/sched_cmd.h, kernel/sched_def.h, kernel/signal.h, + kernel/signal_cmd.h, kernel/space_cmd.h, kernel/switch.h, + kernel/tag.h: Update kernel headers to 2.6.19-vs2.1.x-t7. + Use the headers from make headers_install to cut down on + unnecessary files/content. + +2006-12-01 21:10 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Add cwd to the list of paths to + exclude from namespace cleanup. + +2006-12-01 18:41 Daniel Hokka Zakrisson + + * m4/ensc_e2fscheck.m4: Correct package and distribution name. + +2006-11-28 17:42 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Make non-sysv initstyles work again. + +2006-11-27 14:18 Daniel Hokka Zakrisson + + * lib/vserver.h: Add VLIMIT_MAPPED, for mapped files that are in + RAM. + +2006-11-27 14:06 Daniel Hokka Zakrisson + + * src/vsched.c: Don't process unknown files. + +2006-11-25 19:18 Daniel Hokka Zakrisson + + * src/chroot-sh.c: Add missing quote. + +2006-11-25 19:17 Daniel Hokka Zakrisson + + * distrib/redhat/initpost: Use chroot-sh chmod to remove the + symlink attack vector. + +2006-11-25 02:04 Daniel Hokka Zakrisson + + * src/vsched.c: Add missing #include needed for offsetof + when using glibc. + +2006-11-25 00:38 Daniel Hokka Zakrisson + + * lib/nflags-net.c, lib/vserver.h: Add NXF_SINGLE_IP. + +2006-11-24 23:06 Daniel Hokka Zakrisson + + * src/capchroot.c, src/chbind.c, src/chcontext.c, src/fstool.c, + src/keep-ctx-alive.c, src/nattribute.c, src/ncontext.c, + src/rpm-fake-resolver.c, src/secure-mount.c, src/secure-umount.c, + src/vattribute.c, src/vcontext.c, src/vcopy.c, src/vhashify.c, + src/vkill.c, src/vlimit.c, src/vnamespace.c, src/vrsetup.c, + src/vserver-info.c, src/vserver-stat.c, src/vuname.c, + src/vunify.c, src/vwait.c: Make quoting consistent. + +2006-11-24 22:03 Daniel Hokka Zakrisson + + * scripts/legacy/vserver-copy: Use the same flags for legacy as the + rsync build method's default. + +2006-11-24 20:34 Daniel Hokka Zakrisson + + * scripts/vserver.functions, src/nattribute.c: Use --secure by + default. + Add VC_NXF_HIDE_NETIF to the secure default. + +2006-11-24 15:23 Daniel Hokka Zakrisson + + * scripts/vserver: Add forgotten backslash. + +2006-11-24 15:20 Daniel Hokka Zakrisson + + * scripts/vserver: Call vserver-build with --debug too, if it was + specified. + +2006-11-24 15:20 Daniel Hokka Zakrisson + + * configure.ac, contrib/manifest.dat.pathsubst, + scripts/Makefile-files, scripts/util-vserver-vars.pathsubst, + scripts/vserver-build, scripts/vserver-build.rsync: Add an rsync + build method. + +2006-11-24 14:12 Daniel Hokka Zakrisson + + * doc/configuration.xml: Add since. + +2006-11-23 23:56 Daniel Hokka Zakrisson + + * scripts/vserver.functions, src/vps.c, src/vserver-stat.c: Update + URL to the proc security page. + +2006-11-23 21:30 Daniel Hokka Zakrisson + + * src/vnamespace.c: Use CLONE_NEWUTS|CLONE_NEWIPC so it works with + 2.6.19. + +2006-11-23 21:12 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/chbind, scripts/vserver.functions: + Add support for the network flags and capabilities in the + configuration. + +2006-11-23 18:30 Daniel Hokka Zakrisson + + * lib/ccaps-v13.c, lib/cflags-v13.c, lib/ncaps-net.c, + lib/nflags-net.c, lib/vserver.h: Support the prefixes for all + types of flags and capabilities. + Add NXF_INFO_PRIVATE. + Add NXF_HIDE_NETIF. + Add aliases for the legacy flags/caps so using the kernel's names + will work. + Add alias for VXC_SET_RLIMIT. + +2006-11-20 21:12 Daniel Hokka Zakrisson + + * lib/ccaps-v13.c: Recognize set_utsname as a ccap too. + +2006-11-20 15:15 Daniel Hokka Zakrisson + + * scripts/vserver: Add --rescue-init to the --help message. + +2006-11-20 15:15 Daniel Hokka Zakrisson + + * distrib/redhat/initpost: Use --rescue-init. + +2006-11-20 15:10 Daniel Hokka Zakrisson + + * scripts/vserver.functions, scripts/vserver.start: Don't set + _IS_FAKEINIT on rescue, let the caller decide with --rescue-init. + +2006-11-20 15:09 Daniel Hokka Zakrisson + + * scripts/legacy/vserver, scripts/vserver.start: Use + $_CHBIND_COMPAT directly for legacy. + +2006-11-20 15:01 Daniel Hokka Zakrisson + + * src/naddress.c: Cosmetic fixes. + Make sure args.do_set is set to false initially. + +2006-11-20 12:46 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Make vserver start --rescue + ... work again. + +2006-11-20 00:23 Daniel Hokka Zakrisson + + * src/Makefile-files, src/naddress.c: Make the prefix-to-netmask + conversion work on big-endian too. + Check for invalid prefixes. + Improve help message. + Add --set operation that removes all the old IP addresses first. + +2006-11-19 17:25 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, + ensc_wrappers/wrappers-vserver.hc, lib/Makefile-files, + lib/nidopt2nid.c, lib/vserver.h, scripts/Makefile-files, + scripts/chbind, scripts/util-vserver-vars.pathsubst, src, + src/Makefile-files, src/chbind.c, src/naddress.c, + src/nattribute.c, src/ncontext.c: Break up the old chbind into + ncontext, nattribute, and naddress. + This is done mostly to add support for network flags and caps, + but also to get the same level of flexibility that the security + contexts have. + In addition, a vc_nidopt2nid was created to correctly map --nid + self to the current process's nid. + +2006-11-17 18:48 Daniel Hokka Zakrisson + + * scripts/chcontext: Fix chcontext --help and --version. + +2006-11-17 18:42 Daniel Hokka Zakrisson + + * doc/configuration.xml: soft-limit and hard-limit. + +2006-11-15 21:38 Daniel Hokka Zakrisson + + * distrib/fc5/yum.repos.d/fedora-core.repo, + distrib/fc5/yum.repos.d/fedora-extras-development.repo, + distrib/fc5/yum.repos.d/fedora-extras.repo, + distrib/fc5/yum.repos.d/fedora-legacy.repo, + distrib/fc5/yum.repos.d/fedora-updates-testing.repo, + distrib/fc5/yum.repos.d/fedora-updates.repo, + distrib/fc6/yum.repos.d/fedora-core.repo, + distrib/fc6/yum.repos.d/fedora-extras-development.repo, + distrib/fc6/yum.repos.d/fedora-extras.repo, + distrib/fc6/yum.repos.d/fedora-legacy.repo, + distrib/fc6/yum.repos.d/fedora-updates-testing.repo, + distrib/fc6/yum.repos.d/fedora-updates.repo: Use HTTP URLs for + the keys (insecure, I know), so it'll work on non-Fedora systems + as well. + +2006-11-15 20:14 Daniel Hokka Zakrisson + + * lib/Makefile-files, lib/syscall_ctxstat-v21.hc, + lib/syscall_ctxstat.c, lib/syscall_getvci-v21.hc, + lib/syscall_getvci.c, lib/syscall_resetminmax-v21.hc, + lib/syscall_resetminmax.c, lib/syscall_rlimitstat-v21.hc, + lib/syscall_rlimitstat.c, lib/syscall_virtstat-v21.hc, + lib/syscall_virtstat.c, lib/vserver.h: Add the new syscalls from + 2.1. + +2006-11-14 23:06 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/functions: Enable namespace + cleanup by default. + Various cleanups in the documentation, make sure references work. + +2006-11-14 22:09 Daniel Hokka Zakrisson + + * src/vlimit.c: strcpy copies \0, use memcpy instead. + +2006-11-13 21:53 Daniel Hokka Zakrisson + + * doc/configuration.xml, lib/vserver.h, src/vlimit.c: Add the + VLIMITs. + Add RLIMIT_MSGQUEUE, define it ourselves if not present (like on + 2.4). + +2006-11-13 18:35 Daniel Hokka Zakrisson + + * doc/configuration.xml, src/vsched.c: Cosmetic fixes for vsched. + Document the configuration format. + +2006-11-11 02:05 Daniel Hokka Zakrisson + + * scripts/vserver.start: Force update when starting the guest. + +2006-11-11 00:53 Daniel Hokka Zakrisson + + * src/vsched.c: Only bother with the first line of the files. + Add required cast. + +2006-11-11 00:29 Daniel Hokka Zakrisson + + * scripts/vserver.functions, src/Makefile-files, src/vsched.c: Make + vsched capable of configuring the new scheduler using a new + configuration format (one value per file). + +2006-11-05 17:48 Daniel Hokka Zakrisson + + * lib/syscall_setccaps-v21.hc, lib/syscall_setsched-v21.hc, + lib/vserver.h: Set svn:keywords. + Fix the vc_set_sched API to make more sense, and handle the logic + in the wrapper. + +2006-11-05 17:46 Daniel Hokka Zakrisson + + * src/exec-ulimit.c: Reset the limits unconditionally. + Treat RLIMIT_NOFILE specially, since the kernel does. + Fix dietlibc'isms, and handle sys_old_getrlimit's values. + +2006-11-04 19:36 Daniel Hokka Zakrisson + + * src/exec-ulimit.c: Reset all limits that aren't configured. + +2006-11-04 13:59 Daniel Hokka Zakrisson + + * lib/syscall_setsched-v21.hc, lib/vserver.h: Fix typos from last + commit. + +2006-11-03 22:37 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/functions, scripts/vserver: Make + vlogin optional. + +2006-11-03 19:59 Daniel Hokka Zakrisson + + * Makefile.am, configure.ac, kernel/cacct.h, kernel/cacct_cmd.h, + kernel/cacct_def.h, kernel/cacct_int.h, kernel/context.h, + kernel/context_cmd.h, kernel/cvirt.h, kernel/cvirt_cmd.h, + kernel/cvirt_def.h, kernel/debug.h, kernel/debug_cmd.h, + kernel/dlimit.h, kernel/dlimit_cmd.h, kernel/global.h, + kernel/history.h, kernel/inode.h, kernel/inode_cmd.h, + kernel/limit.h, kernel/limit_cmd.h, kernel/limit_def.h, + kernel/limit_int.h, kernel/monitor.h, kernel/namespace_cmd.h, + kernel/network.h, kernel/network_cmd.h, kernel/sched.h, + kernel/sched_cmd.h, kernel/sched_def.h, kernel/signal_cmd.h, + kernel/switch.h, kernel/tag.h, kernel/xid.h, lib/Makefile-files, + lib/ccaps-v13.c, lib/cflags-v13.c, lib/nflags-net.c, + lib/syscall_setccaps-v13.hc, lib/syscall_setccaps-v21.hc, + lib/syscall_setccaps.c, lib/syscall_setsched-v13.hc, + lib/syscall_setsched-v21.hc, lib/syscall_setsched.c, + lib/vserver-internal.h, lib/vserver.h: This commit adds support + for the 2.1 vserver API. + Update the kernel headers to 2.1.1-rc47. + Add the new ccapabilities, context flags, and network flags. + Use the correct VCMDs for the older calls. + Add vc_set_sched_v21, to configure the new scheduler. + Add vc_set_ccaps_v21, which sets the ccaps and bcaps using the + new interfaces for that. + +2006-11-03 16:20 Benedikt Böhm + + * distrib/gentoo/initpost: init style gentoo will also work with + older baselayout-vserver + +2006-11-03 15:02 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add vemerge, vesync, vupdateworld + and vdispatch-conf. + Fix the sort order a bit. + +2006-11-03 14:56 Daniel Hokka Zakrisson + + * doc/configuration.xml: bcapabilities and ccapabilities won't be + changing names any time soon, remove experimental marker. + ulimits are honored for 2.6 kernels as well. + Whitespace cleanup. + +2006-11-03 14:36 Benedikt Böhm + + * distrib/gentoo/init-vserver.sh, scripts/Makefile-files, + scripts/vdispatch-conf, scripts/vemerge, scripts/vesync, + scripts/vserver.functions, scripts/vupdateworld: add gentoo + specific wrappers: vemerge, vesync, vupdateworld and + vdispatch-conf; add RUNLEVEL_START to gentoo init style + +2006-11-02 19:32 Benedikt Böhm + + * distrib/gentoo/initpost: fix fstab fixing for gentoo/initpost + +2006-11-01 19:46 Daniel Hokka Zakrisson + + * scripts/vyum-worker: Add missing space. + +2006-11-01 19:23 Benedikt Böhm + + * distrib/Makefile.am, distrib/gentoo/init-vserver.sh, + distrib/gentoo/initpost, distrib/gentoo/initpre, + scripts/vserver.functions: reimplement gentoo init style + + prepare distrib/gentoo for baselayout-1.13 + +2006-11-01 15:34 Benedikt Böhm + + * src/Makefile-files, src/chroot-sh.c: add mkdir and chmod + functions to chroot-sh + +2006-10-31 14:33 Benedikt Böhm + + * scripts/vserver-build.template: fix no_dev_sanity logic + +2006-10-19 15:09 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver.functions: Improve + namespace cleanup to make sure some required directories stick + around, and add some configuration options to exclude further + paths. + +2006-10-12 14:39 Daniel Hokka Zakrisson + + * scripts/vyum-worker: Handle version 3.0 as well. + +2006-10-07 18:03 Daniel Hokka Zakrisson + + * NEWS, configure.ac, mkrelease: Version 0.30.211. + +2006-10-07 12:14 Daniel Hokka Zakrisson + + * doc/configuration.xml: Fix typoed URL. + +2006-10-07 12:13 Daniel Hokka Zakrisson + + * scripts/vserver-build.fai: Point to the FAI wiki for information + about how to use it. + Make AUTO the default. + Move the prompt to after the trap has been setup. + Run base.__cleanup as the last step of killprocs, so the files + needed are still around for the rest of the cleanup. + Use isVserverRunning so the runfile is cleaned up too. + Mount the NFS-root and the target with -o dev, to allow the + device nodes. + +2006-10-04 16:35 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst: Add vserver-build.fai. + +2006-10-04 16:35 Daniel Hokka Zakrisson + + * scripts/vserver-build.template: We can't remove dev/* if we're + not in the guest's root. + +2006-10-04 13:22 Daniel Hokka Zakrisson + + * scripts/vserver-build.fai: Have vuname set the context as well, + so we can find it with vserver-info CONTEXT. + +2006-10-04 13:20 Daniel Hokka Zakrisson + + * src/secure-mount.c: Remove options that we parse ourselves, so + the kernel doesn't see them (and fail). + Reenable MS_NODEV default. + +2006-10-04 12:33 Daniel Hokka Zakrisson + + * scripts/vserver.functions: If creation is failing, we want to see + the errors so it's debuggable. + +2006-10-03 18:37 Daniel Hokka Zakrisson + + * scripts/vserver-build.fai: Make sure we're running on a + sufficiently capable kernel. + Indent killprocs correctly. + Don't require a static xid by using save_ctxinfo. + Use secure-mount instead of mount. + Set a default hostname if none was specified. + +2006-10-03 15:48 Daniel Hokka Zakrisson + + * src/secure-mount.c: Revert NODEV default, as it makes it + impossible to mount (e.g.) a tmpfs that allows devices. + +2006-10-03 13:14 Daniel Hokka Zakrisson + + * doc/configuration.xml: Add since=... where appropriate. + +2006-10-03 12:47 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/fc6, + distrib/fc6/yum.repos.d/fedora-core.repo, + distrib/fc6/yum.repos.d/fedora-development.repo, + distrib/fc6/yum.repos.d/fedora-extras-development.repo, + distrib/fc6/yum.repos.d/fedora-extras.repo, + distrib/fc6/yum.repos.d/fedora-legacy.repo, + distrib/fc6/yum.repos.d/fedora-updates-testing.repo, + distrib/fc6/yum.repos.d/fedora-updates.repo: Add FC6 distribution + (doesn't work yet, but should once it's released). + +2006-10-03 11:15 Daniel Hokka Zakrisson + + * doc/configuration-wiki.xsl: Move auto-generated notice to the + top. + +2006-10-01 17:27 Daniel Hokka Zakrisson + + * scripts/Makefile-files, scripts/vserver-build, + scripts/vserver-build.fai: Add the fai build method based on Sam + Vilain's patch. + (https://savannah.nongnu.org/patch/?5058) + +2006-10-01 15:55 Daniel Hokka Zakrisson + + * doc/configuration.xml: Fix some spelling errors and update the + parameter lists to be correct. + +2006-09-29 22:15 Daniel Hokka Zakrisson + + * lib/syscall_ctxmigrate-v13.hc, lib/syscall_setnamespace-v13.hc: + Use the older versions of these syscalls, so the utils will work + on older kernels. + +2006-09-28 22:39 Daniel Hokka Zakrisson + + * doc/Makefile-files, doc/configuration-wiki.xsl: Add Tim Mecking's + XSL stylesheet for wiki exports. + +2006-09-28 15:15 Daniel Hokka Zakrisson + + * scripts/vserver-build: Cosmetic fixes to the help message. + +2006-09-28 15:13 Daniel Hokka Zakrisson + + * scripts/vserver: Use a new namespace for the build process, so + any mounts performed during the build will vanish when it's done. + +2006-09-28 15:10 Daniel Hokka Zakrisson + + * scripts/vapt-get, scripts/vserver: Make vserver ... + rpm/apt-get/apt-cache/apt-config work again. + +2006-09-28 15:08 Daniel Hokka Zakrisson + + * Makefile.am, contrib/Makefile-files: Add more forgotten files. + +2006-09-28 15:06 Daniel Hokka Zakrisson + + * Makefile.am, m4/changelog.am: Move flags to the same place they + were when cvs2cl was used. + +2006-09-28 15:05 Daniel Hokka Zakrisson + + * doc/configuration.xml: Fix URLs pointing to the source code. + +2006-09-26 17:15 Daniel Hokka Zakrisson + + * contrib/yum-2.9.6-chroot.patch, scripts/vyum-worker: Add a patch + for yum 2.9.6 (for FC6). + Make vyum-worker use the hack configuration if the yum version is + unknown (-> unsupported), rather than silently creating really + strange directories. + +2006-09-26 17:12 Daniel Hokka Zakrisson + + * scripts/vserver-build: Fix help message to correspond with + reality. + +2006-09-24 17:44 Daniel Hokka Zakrisson + + * scripts/vserver: This check was correct the first time, + (cond)restart just calls stop and start, so we need not handle + them specifically. + +2006-09-24 00:48 Daniel Hokka Zakrisson + + * src/chroot-sh.c: Fix wrapper prefix so error messages say + chroot-sh: x. + +2006-09-21 19:44 Daniel Hokka Zakrisson + + * m4/changelog.am, svnusers.map: Make ChangeLog prettier. + +2006-09-21 19:43 Daniel Hokka Zakrisson + + * src/secure-mount.c: Make nodev the default, but don't enforce it + for all mounts. + +2006-09-21 19:42 Daniel Hokka Zakrisson + + * src/vlogin.c: Add the reset atexit handler right after setting + the terminal to raw mode, so we don't end up with a raw terminal + if (e.g.) openpty fails. + +2006-09-19 17:29 Daniel Hokka Zakrisson + + * m4/ensc_pathprog.m4: Put /bin first in the searchpath when + looking for env, so we work around the /usr/bin/env-is-a-symlink + issue. + +2006-09-19 15:20 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, distrib/Makefile.am, + ensc_wrappers/Makefile-files: Fix Makefiles and the manifest to + include all the files needed. + +2006-09-18 15:20 Daniel Hokka Zakrisson + + * distrib/centos4, distrib/centos4/yum.repos.d/CentOS-Base.repo, + distrib/centos4/yum/yum.conf, distrib/centos42: Rename centos42 + to the more generic centos4, and change the URLs appropriately. + +2006-09-18 14:57 Daniel Hokka Zakrisson + + * scripts/vserver: Enter the namespace earlier so testing for files + (like /bin/bash, /etc/init.d/rc) works when the guest's root + filesystem is mounted from its fstab. + +2006-09-16 17:26 Daniel Hokka Zakrisson + + * src/secure-mount.c: Fix logic errors in secure-mount. + +2006-09-16 14:21 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver.functions: Make novlandev + the default, but easily overridable for all guests. + +2006-09-16 12:28 Daniel Hokka Zakrisson + + * kernel/limit_int.h, kernel/signal.h: Add forgotten kernel headers + (not important, but makes it easier to keep track). + +2006-09-15 21:18 Daniel Hokka Zakrisson + + * kernel/context.h, kernel/context_cmd.h, kernel/cvirt.h, + kernel/cvirt_cmd.h, kernel/debug.h, kernel/dlimit_cmd.h, + kernel/inode.h, kernel/inode_cmd.h, kernel/legacy.h, + kernel/limit.h, kernel/limit_cmd.h, kernel/limit_def.h, + kernel/namespace.h, kernel/namespace_cmd.h, kernel/network.h, + kernel/sched.h, kernel/sched_cmd.h, kernel/signal_cmd.h, + kernel/switch.h, kernel/xid.h, lib/cflags-v13.c, + lib/syscall_ctxmigrate-v13.hc, lib/syscall_setnamespace-v13.hc, + lib/syscall_waitexit-v13.hc, lib/vserver.h: - Update the kernel + headers to 2.0.2.1. + - Add missing flags. + - Fix the calls that got updated so they work as expected. + +2006-09-15 20:15 Benedikt Böhm + + * scripts/vserver-wrapper: make vserver-wrapper gentoo compliant + +2006-09-15 19:16 Benedikt Böhm + + * distrib/Makefile.am, distrib/gentoo, distrib/gentoo/initpost, + scripts/vserver-build.functions, scripts/vserver-build.template: + add gentoo distribution target; force sane /dev by default for + template build method + +2006-09-15 15:41 Daniel Hokka Zakrisson + + * scripts/vserver.start: env doesn't grok --. + +2006-09-15 08:31 Benedikt Böhm + + * ., ChangeLog.sed, Makefile.svn, configure.ac, contrib/.cvsignore, + cvsusers.map, distrib/.cvsignore, doc/.cvsignore, + ensc_fmt/.cvsignore, ensc_vector/.cvsignore, + ensc_vector/testsuite/.cvsignore, lib/.cvsignore, + lib/apidoc/.cvsignore, lib/testsuite/.cvsignore, + lib_internal/.cvsignore, lib_internal/testsuite/.cvsignore, + m4/changelog.am, m4/ensc_changelog.m4, mkrelease, + scripts/.cvsignore, scripts/legacy/.cvsignore, src/.cvsignore, + src/testsuite/.cvsignore, sysv/.cvsignore, tests/.cvsignore, + vserver-start/.cvsignore: cleanup old cvs cruft; add mkrelease + script; use svn2cl instead of cvs2cl + +2006-09-15 04:32 Daniel Hokka Zakrisson + + * scripts/functions, scripts/vserver.stop, scripts/vshelper: Make + vshelper reboot/halt work correctly when CONFIG_VSERVER_LEGACY is + disabled and the helper is run synchronously. + +2006-09-13 22:18 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions.rpm: Fix RPM-based builds on + RHEL/CentOS 4.4. + +2006-09-12 18:35 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, distrib/Makefile.am, + distrib/misc/environment, doc/configuration.xml, + scripts/vserver.functions, scripts/vserver.start: Add initial + environment support. Lets users work around their broken + initscripts inside guests when using the sysv initstyle. + +2006-09-12 17:19 Daniel Hokka Zakrisson + + * configure.ac: Add ugly hack to workaround yum's problems with + file:////. + (https://savannah.nongnu.org/bugs/?15517) + +2006-09-12 17:17 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver.start: Add Herbert Pötzl's + patch to support initialization scriptlets. + +2006-09-12 17:09 Daniel Hokka Zakrisson + + * ensc_wrappers/wrappers-unistd.hc, scripts/vserver, + src/capchroot.c, src/vcontext.c: - Teach vcontext about usernames + (if dietlibc is used). + - Teach capchroot about uid 0. + - Add Einitgroups. + - Specify uid 0 by default, so username lookups are avoided. + +2006-09-12 16:55 Daniel Hokka Zakrisson + + * configure.ac, ensc_wrappers/wrappers-termios.hc, + ensc_wrappers/wrappers.h, scripts/vserver, src/Makefile-files, + src/vcontext.c, src/vlogin.c: Add vlogin, a terminal proxy for + vserver ... enter. + (https://savannah.nongnu.org/patch/?4969) + +2006-09-12 16:54 Daniel Hokka Zakrisson + + * scripts/vserver-build.template, scripts/vserver.delete: Add + forgotten svn:keywords. + +2006-09-12 16:33 Daniel Hokka Zakrisson + + * configure.ac, contrib/manifest.dat.pathsubst, + scripts/Makefile-files, scripts/magic.mime, + scripts/util-vserver-vars.pathsubst, scripts/vserver-build, + scripts/vserver-build.template: Add support for vserver-build -m + template, which extracts tarballs. + +2006-09-12 12:39 Daniel Hokka Zakrisson + + * scripts/functions, scripts/vapt-get, scripts/vrpm, + scripts/vsomething: Make vrpm and vapt-get use vsomething. + Fix external package management so that the process is executed + in + the guest's network context, in case scriptlets restart daemons. + +2006-09-12 12:29 Daniel Hokka Zakrisson + + * contrib/manifest.dat.pathsubst, scripts/Makefile-files, + scripts/vserver, scripts/vserver.delete: Add a delete method to + remove guests, based on Thomas Champagne's + patch. + (https://savannah.nongnu.org/patch/?4899) + +2006-09-12 12:21 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/functions, + scripts/vserver.functions: Apply Bastian Blank's userspace + namespace cleanup patch. + +2006-09-12 12:16 Daniel Hokka Zakrisson + + * doc/configuration.xml, scripts/vserver-setup.functions, + scripts/vserver.functions, scripts/vserver.start, + scripts/vserver.stop, scripts/vserver.suexec: Apply Jan + Rekorajski's CPUSET patch. + (http://www.paul.sladen.org/vserver/archives/200511/0245.html) + +2006-09-12 11:29 Daniel Hokka Zakrisson + + * distrib/Makefile.am, distrib/fc5, distrib/fc5/apt, + distrib/fc5/apt/rpmpriorities, distrib/fc5/apt/sources.list, + distrib/fc5/pkgs, distrib/fc5/pkgs/01, distrib/fc5/pkgs/02, + distrib/fc5/pkgs/03, distrib/fc5/rpmlist.d, + distrib/fc5/rpmlist.d/00.lst, distrib/fc5/yum, + distrib/fc5/yum.repos.d, + distrib/fc5/yum.repos.d/fedora-core.repo, + distrib/fc5/yum.repos.d/fedora-development.repo, + distrib/fc5/yum.repos.d/fedora-extras-development.repo, + distrib/fc5/yum.repos.d/fedora-extras.repo, + distrib/fc5/yum.repos.d/fedora-legacy.repo, + distrib/fc5/yum.repos.d/fedora-updates-testing.repo, + distrib/fc5/yum.repos.d/fedora-updates.repo, + distrib/fc5/yum/yum.conf, distrib/redhat/initpost, + scripts/vyum-worker: Add support for Fedora Core 5 and yum 2.6. + +2006-09-12 11:21 Daniel Hokka Zakrisson + + * scripts/vserver-build, scripts/vserver-build.debootstrap: Add + support for specifying a debootstrap script. + +2006-09-12 11:14 Daniel Hokka Zakrisson + + * lib/syscall-alternative.h: Update to the latest version of + Herbert's alternative syscall + implementation. + +2006-09-12 11:11 Daniel Hokka Zakrisson + + * lib_internal/sys_clone.h: Fix sys_clone usage on sparc and s390, + sparc returns parent pid in + the child and s390 has the arguments reversed. + +2006-09-12 11:09 Daniel Hokka Zakrisson + + * scripts/legacy/vserver, scripts/vserver.functions: - Fix obsolete + nice usage. + - Make sure the correct nice value is used, even if the parent + process has a different one. + +2006-09-12 11:04 Daniel Hokka Zakrisson + + * configure.ac: Fix API option parsing so oldproc and olduts are + valid options + (allowing for cut'n'paste from vserver-info to ./configure) + +2006-09-12 10:54 Daniel Hokka Zakrisson + + * scripts/start-vservers: Fixes start-vservers to work on _all_ + guests when --all is specified, + as well as fixing the cleanup. + (https://savannah.nongnu.org/bugs/index.php?14525) + (https://savannah.nongnu.org/bugs/index.php?15632) + +2006-09-12 10:50 Daniel Hokka Zakrisson + + * scripts/vserver.functions: Apply Christian Heim's patch to + deprecate the Gentoo initstyle + +2006-09-12 10:47 Daniel Hokka Zakrisson + + * scripts/pkgmgmt, scripts/vserver.functions: Make fstab usage + consistent, fstab gets mounted first, then + fstab.local and then fstab.remote, unmounting in the reverse + order. + +2006-09-12 10:39 Daniel Hokka Zakrisson + + * scripts/vserver: Fix condrestart to actually do a conditional + restart + (https://savannah.nongnu.org/bugs/index.php?15678) + +2006-09-12 10:34 Daniel Hokka Zakrisson + + * scripts/vserver: Fix Usage: message for the main script. + (https://savannah.nongnu.org/bugs/index.php?15551) + +2006-09-12 10:32 Daniel Hokka Zakrisson + + * scripts/vserver-build.functions: Use $_SETATTR instead of chattr + to remove the barrier. + +2006-09-12 10:30 Daniel Hokka Zakrisson + + * scripts/chcontext: Fix chcontext so it passes --secure as the + first argument to + vattribute so it doesn't override the passed caps. + (https://savannah.nongnu.org/patch/?4993) + +2006-09-12 10:26 Daniel Hokka Zakrisson + + * lib/syscall_setccaps-v13.hc: Fix vc_set_ccaps to work the way the + kernel expects it to + (https://savannah.nongnu.org/patch/?4968) + +2006-09-12 10:22 Daniel Hokka Zakrisson + + * man/chcontext.8: Apply Micah Anderson's patch fixing chcontext's + man page section + (https://savannah.nongnu.org/bugs/index.php?16083) + +2006-09-10 17:26 Benedikt Böhm + + * util-vserver: remove util-vserver dir + +2006-09-10 17:07 Benedikt Böhm + + * AUTHORS, ChangeLog.sed, Makefile.am, NEWS, README, REQUIREMENTS, + THANKS, build-all, compat-c99.h, compat.h, configure.ac, contrib, + cvsusers.map, distrib, doc, ensc_fmt, ensc_vector, ensc_wrappers, + kernel, lib, lib_internal, m4, man, pathconfig.h.pathsubst, + scripts, src, sysv, tests, update-doc, util-vserver.spec.in, + util-vserver/AUTHORS, util-vserver/ChangeLog.sed, + util-vserver/Makefile.am, util-vserver/NEWS, util-vserver/README, + util-vserver/REQUIREMENTS, util-vserver/THANKS, + util-vserver/build-all, util-vserver/compat-c99.h, + util-vserver/compat.h, util-vserver/configure.ac, + util-vserver/contrib, util-vserver/cvsusers.map, + util-vserver/distrib, util-vserver/doc, util-vserver/ensc_fmt, + util-vserver/ensc_vector, util-vserver/ensc_wrappers, + util-vserver/kernel, util-vserver/lib, util-vserver/lib_internal, + util-vserver/m4, util-vserver/man, + util-vserver/pathconfig.h.pathsubst, util-vserver/scripts, + util-vserver/src, util-vserver/sysv, util-vserver/tests, + util-vserver/update-doc, util-vserver/util-vserver.spec.in, + util-vserver/vserver-start, vserver-start: skip duplicate + util-vserver dir + +2006-03-26 11:27 Enrico Scholz + + * util-vserver/contrib/Makefile-files, + util-vserver/contrib/yum-2.6.0-chroot.patch: added + yum-2.6.0-chroot.patch + +2006-01-22 19:32 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac, + util-vserver/util-vserver.spec.in: version 0.30.210 + +2006-01-22 19:31 Enrico Scholz + + * util-vserver/src/capchroot.c, util-vserver/src/chcontext.c, + util-vserver/src/reducecap.c: use stdout instead of stderr for + the no-compat API warnings on '--help'; + else, 'make distcheck' will fail + +2006-01-22 19:20 Enrico Scholz + + * util-vserver/lib_internal/testsuite, + util-vserver/lib_internal/testsuite/.cvsignore: updated + +2006-01-22 18:24 Enrico Scholz + + * util-vserver/build-all: added testcases for the + '--enable-apis=NOLEGACY' configure switch + +2006-01-22 18:24 Enrico Scholz + + * util-vserver/lib_internal/testsuite/Makefile-files: added + dietlibc + glibc versions of the isnumber and sigbus tests + +2006-01-22 18:22 Enrico Scholz + + * util-vserver/configure.ac: - declare the VC_ENABLE_API_* macros + through AH_TEMPLATE() + - provide only the v13,net APIs by default + - added support for v13obs API + +2006-01-22 18:20 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: do not provide + Evc_new_s_context() wrapper without the required API + +2006-01-22 18:19 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: use the new + VC_ENABLE_API_V13OBS define + +2006-01-22 18:19 Enrico Scholz + + * util-vserver/lib/syscall.c: added linktime warning for + vc_set_ipv4root() + +2006-01-22 18:18 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/syscall_setsched-v13.hc, + util-vserver/lib/syscall_setsched-v13obs.hc, + util-vserver/lib/syscall_setsched.c: split vc_set_sched_v13obs() + into an own file + +2006-01-22 18:17 Enrico Scholz + + * util-vserver/src/chbind.c, util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/vserver-info.c: fixed compilation for disabled + compat/legacy API + +2006-01-22 18:15 Enrico Scholz + + * util-vserver/src/capchroot.c, util-vserver/src/chcontext.c, + util-vserver/src/reducecap.c: added some workarounds so that it + build without compat/legacy API + resp. give out warnings explaining the situation + +2006-01-22 13:37 Enrico Scholz + + * util-vserver/Makefile.am: added support for $(pkgcachedir) + +2006-01-22 13:36 Enrico Scholz + + * util-vserver/doc/configuration.xml: - documented + /etc/vservers/.defaults/cachebase + /etc/vservers/.../cache + - documented default value of /etc/vservers/.../vdir + +2006-01-22 13:12 Enrico Scholz + + * util-vserver/util-vserver.spec.in: - do not require 'xalan' + anymore by default + - removed 'Requires: apt'; apt-rpm is not maintained upstream + anymore + - removed 'chattr' leftovers + - create the '/etc/vservers/.defaults/cachebase' symlink + - added /var/cache/vservers and the needed support + - set barrier attribute on /vservers/.pkg and /vservers/.hash + - added 'centos-release' to the list of packages in the + copy-the-keys + trigger script + - create '/vservers/.hash' and add initial configuration for it + +2006-01-22 13:04 Enrico Scholz + + * util-vserver/THANKS: - fixed ngnet -> non-legacy network + confusion + - mentioned improved dlimit support + +2006-01-22 12:36 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: - changed the way + how temporary files/directories will be created: + + * mktemp will now be called with the '-t' parameter and sometimes + with + '-p' + * absolutes paths (e.g. '/tmp') were removed from the templates + * with this changes, it is now possible to override the location + of + the temporary files by setting $TMPDIR. This should add a way to + solve problems like debootstrap on non-executable tmp-directories + (http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15447) + + These changes require that 'mktemp' understands the following + switches: + + * '-t' ... Generate a path rooted in a temporary directory. + * '-d' ... Make a directory instead of a file. + * '-p' ... Use the specified directory as a prefix when + generating + the temporary filename. + + Because 'mktemp' from Debian Woody's 'debianutils_1.16.2woody1' + supports these features every recent Linux distribution should do + it + also. + + - allow to override path of the debootstrap binary with the + $DEBOOTSTRAP + environment variable + +2006-01-22 12:24 Enrico Scholz + + * util-vserver/scripts/functions, util-vserver/scripts/pkgmgmt, + util-vserver/scripts/start-vservers, + util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/scripts/vserver-build.rpm, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start: changed the way how temporary + files/directories will be created: + + * mktemp will now be called with the '-t' parameter and sometimes + with + '-p' + * absolutes paths (e.g. '/tmp') were removed from the templates + * with this changes, it is now possible to override the location + of + the temporary files by setting $TMPDIR. This should add a way to + solve problems like debootstrap on non-executable tmp-directories + (http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15447) + + These changes require that 'mktemp' understands the following + switches: + + * '-t' ... Generate a path rooted in a temporary directory. + * '-d' ... Make a directory instead of a file. + * '-p' ... Use the specified directory as a prefix when + generating + the temporary filename. + + Because 'mktemp' from Debian Woody's 'debianutils_1.16.2woody1' + supports these features every recent Linux distribution should do + it + also. + +2006-01-22 12:11 Enrico Scholz + + * util-vserver/scripts/vserver.functions: - the 'dlimit' stuff uses + now a /etc/vservers/*/cache symlink pointing + somewhere to /var/cache + - _setSingleDiskLimit(): use one $_VDU call instead of two + - give out a warning when dlimit/ stuff is configured but no + cache + symlink is existing + +2006-01-22 12:09 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: create the + /etc/vservers/*/cache symlink + +2006-01-22 11:56 Enrico Scholz + + * util-vserver/src/vdu.c: rearranged some bits so that toplevel + directory will be counted too + +2006-01-22 11:28 Enrico Scholz + + * util-vserver/src/Makefile-files: link 'vdu' against + 'libinternal.a' + +2006-01-22 11:27 Enrico Scholz + + * util-vserver/src/vdu.c: - rewrote the directory traversal code to + use 'EsafeChdir()' and + friends + - allow to specify both '--inodes' and '--space' + - use 'isNumber()' + +2006-01-22 11:25 Enrico Scholz + + * util-vserver/src/vserver-info.c: apply new 'isNumber()' API + +2006-01-22 11:24 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + __PKGCACHEDIR + +2006-01-22 11:23 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files, + util-vserver/lib_internal/util-isnumber.c, + util-vserver/lib_internal/util-isnumber.hc, + util-vserver/lib_internal/util-isnumberunsigned.c, + util-vserver/lib_internal/util.h: enhanced the isNumber() method: + * now, it accepts units like 'm' or 'K'; 'isNumber()' needs now a + third parameter telling whether to interprete the number strictly + or + whether to accept such units + * an 'isNumberUnsigned()' method was created for unsigned types; + an + 'util-isnumber.hc' template file was created for this purpose + * proper tests for over/underflow were implemented + +2006-01-22 11:19 Enrico Scholz + + * util-vserver/lib_internal/testsuite/Makefile-files, + util-vserver/lib_internal/testsuite/isnumber.c: added isnumber.c + testcase which checks the isNumber() and + isNumberUnsigned() methods + +2006-01-22 11:18 Enrico Scholz + + * util-vserver/ensc_wrappers/Makefile-files, + util-vserver/ensc_wrappers/wrappers-stat.hc, + util-vserver/ensc_wrappers/wrappers.h: added wrappers-stat.hc + which implements wrappers for the *stat(2) + functions + +2006-01-21 13:22 Enrico Scholz + + * util-vserver/doc/configuration.xml, + util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, + util-vserver/src/Makefile-files, util-vserver/src/vdu.c: applied + http://savannah.nongnu.org/patch/?func=detailitem&item_id=4814 + (Daniel Hokka Zakrisson): + + This patch lets users configure disk limits in + /etc/vservers//dlimits/*/, and have them set on the start + of the + vserver, as well as saved when stopping the vserver. + + For counting the amount of inodes and space used by a certain + vserver + on a filesystem, I modified the old and broken vdu program (vdu + bin + etc would not find etc, for instance) and made it useful again. + + The cache files will probably need some love, I'm a bit uncertain + as + to where to put them (or rather, the symlink to their location). + + This is the last piece of the disk limits puzzle. A variant of + this + would be really nice to have in 0.30.210. (do you have an ETA on + that, + btw?) + +2006-01-18 23:59 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: + NETTYPE_USER2KERNEL/NETTYPE_KERNEL2USER: handle IPv6 bcast case, + too + +2006-01-18 23:55 Enrico Scholz + + * util-vserver/lib/vserver.h: adjusted the vc_net_nx_type enum so + that the NETTYPE_USER2KERNEL() can + be optimized + +2006-01-18 23:40 Enrico Scholz + + * util-vserver/THANKS, util-vserver/lib/syscall_netadd-net.hc, + util-vserver/lib/syscall_netadd.c, + util-vserver/lib/syscall_netremove-net.hc, + util-vserver/lib/syscall_netremove.c, + util-vserver/lib/vserver-internal.h, + util-vserver/scripts/vserver.functions, + util-vserver/src/chbind.c: applied vnet patch from Daniel Hokka + Zakrisson + (http://savannah.nongnu.org/patch/?func=detailitem&item_id=4799) + +2006-01-18 23:37 Enrico Scholz + + * util-vserver/lib/vserver.h: * vcFeatureSet: added vcFEATURE_VNET + enum + * applied vnet patch from Daniel Hokka Zakrisson + (http://savannah.nongnu.org/patch/?func=detailitem&item_id=4799) + +2006-01-18 23:35 Enrico Scholz + + * util-vserver/lib/issupported.c, + util-vserver/lib/issupportedstring.c: added support for + vcFEATURE_VNET feature + +2006-01-18 23:34 Enrico Scholz + + * util-vserver/lib/checkversion.c: minor formation fixups + +2006-01-04 17:28 Enrico Scholz + + * util-vserver/src/testsuite, + util-vserver/src/testsuite/.cvsignore, + util-vserver/src/testsuite/Makefile-files, + util-vserver/src/testsuite/hashcalc-plain.c, + util-vserver/src/testsuite/hashcalc-plain.sh: added + 'hashcalc-plain' tests to track down broken beecrypt/vhashify on + some Debians + +2006-01-04 13:29 Enrico Scholz + + * util-vserver/distrib/misc/vprocunhide-files: readded + /proc/version; it is expected by several programs + +2006-01-04 12:30 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: added csope.out + +2006-01-04 12:29 Enrico Scholz + + * util-vserver/lib/syscall_getvhiname-v13.hc: + vc_get_vhi_name_v13(): added comment near the strncpy(3) call + which + tells that an explicit termination with '\0' is not wanted + +2006-01-04 12:27 Enrico Scholz + + * util-vserver/lib_internal/util-unixsock.h: ENSC_INIT_UNIX_SOCK(): + be more effective in an strncpy(3) call and + avoid potential copying of an char which gets overridden later + +2006-01-03 00:13 Enrico Scholz + + * util-vserver/build-all: parameterized '-j' flag + +2006-01-03 00:11 Enrico Scholz + + * util-vserver/Makefile.am: removed old kernel headers + +2006-01-02 23:55 Enrico Scholz + + * util-vserver/distrib/misc/vprocunhide-files: hide /proc/cmdline + and /proc/version because they can reveal information + about the host system + +2006-01-02 23:51 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated url + +2006-01-02 23:50 Enrico Scholz + + * util-vserver/scripts/functions, + util-vserver/scripts/vserver-setup.functions: updated dates in + the copyright notices + +2006-01-02 23:48 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/cvirt_def.h, + util-vserver/kernel/debug.h, util-vserver/kernel/global.h, + util-vserver/kernel/inode.h, util-vserver/kernel/limit.h, + util-vserver/kernel/limit_def.h, util-vserver/kernel/network.h, + util-vserver/kernel/sched_def.h, util-vserver/kernel/signal.h, + util-vserver/kernel/xid.h: updated to 2.6.14.3-vs2.01 headers + +2006-01-02 18:02 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: + s!/etc/slackware-release!/etc/slackware-version! (reported by + bubulak) + +2005-12-31 10:58 Enrico Scholz + + * util-vserver/scripts/functions: isDirectoryEmpty(): really ignore + 'lost+found' by checking against the full + path + (https://savannah.nongnu.org/patch/?func=detailitem&item_id=4714, + patched by XeRO) + +2005-12-31 10:54 Enrico Scholz + + * util-vserver/scripts/functions: colpanic(): added missing 'error' + keyword for the colorize call (issue + 15281, reported and patched by Micah Anderson) + +2005-12-31 10:48 Enrico Scholz + + * util-vserver/lib/syscall-fallback.h: added syscall numbers for + hppa (263) and m32r (273) + +2005-12-31 10:41 Enrico Scholz + + * util-vserver/src/secure-mount.c: - mount some more filesystems + internally instead of calling the + external 'mount' command + - fixed MS_NODEV handling + +2005-12-31 10:39 Enrico Scholz + + * util-vserver/doc/configuration.xml, + util-vserver/scripts/vserver.functions: added 'novlandev' + interface flag + +2005-10-31 09:55 Enrico Scholz + + * util-vserver/scripts/vyum-worker: made it work with yum 2.4.0 + +2005-10-30 16:43 Enrico Scholz + + * util-vserver/distrib/centos42/yum/yum.conf, + util-vserver/distrib/fc3/yum/yum.conf, + util-vserver/distrib/fc4/yum/yum.conf: added + 'installonlypkgs=/exactarch=0' entries + +2005-10-30 16:43 Enrico Scholz + + * util-vserver/lib/Makefile-files: added + 'ensc_fmt/lib_libvserver_a-%' to DIETPROGS; this fixes problems + e.g. with FC5's stack-protector + +2005-10-30 10:17 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.209 + +2005-10-30 10:01 Enrico Scholz + + * util-vserver/scripts/vserver.functions: call 'vattribute' with + '--flag default' + +2005-10-30 10:01 Enrico Scholz + + * util-vserver/lib/cflags-v13.c: added 'default' and 'secure' + pseudo flags; they are open for enhancements + but VC_VXF_VIRT_UPTIME seems to be the only flag for 'default' + without + sideeffects + +2005-10-29 16:53 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: added code to execute + 'killall5 -15' in the halt script; this should + fix the minilogd issues with CentOS and older RH releases + +2005-10-29 16:52 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files, + util-vserver/src/testsuite/vwait-test.sh: added 'vwait-test.sh' + +2005-10-29 16:51 Enrico Scholz + + * util-vserver/scripts/vserver.functions: ok... try #3 of the new + vwait stuff: it seems to be a good idea to + read files *after* they are filled with content... + +2005-10-29 15:35 Enrico Scholz + + * util-vserver/scripts/vserver.stop: execute waitForSync everytime + and not only when the shutdown succeeded + +2005-10-29 15:34 Enrico Scholz + + * util-vserver/scripts/vserver.functions: fixed the TIMEOUT case in + yet another way: now, start 'vkill' and a + killall command in the same backgrounded subshell. Parameter + committal + between the different shell instances is a horror and just a + question + of time until it breaks :( + +2005-10-29 15:28 Enrico Scholz + + * util-vserver/scripts/start-vservers: add newlines in the makefile + generated for the 'stop' case; else, there + will be multiple target-dependency pairs on the same line + [reported by + Daniel Kraft] + +2005-10-29 15:08 Enrico Scholz + + * util-vserver/src/vdlimit.c: - revert a previous vc_add_dlimit() + when vc_set_dlimit() fails + - added some basic sanity checks for the parameters given on the + CLI + [both reported by Kevin Pendleton; + https://savannah.nongnu.org/bugs/?func=detailitem&item_id=14026] + +2005-10-29 14:55 Enrico Scholz + + * util-vserver/doc/configuration.xml: - removed documentation about + single flags; it was broken and outdated + - added link to http://linux-vserver.org/Scheduler+Parameters for + the + scheduler params + [both + https://savannah.nongnu.org/bugs/?func=detailitem&item_id=14331] + +2005-10-29 12:53 Enrico Scholz + + * util-vserver/scripts/vserver.functions: - initWait(): call + 'vwait' without --terminate; this is required to + give out a list of processes in _waitForVWait + - _waitForVWait(): when 'vwait' returns with 'TIMEOUT', give out + the + list of current processes and kill the context manually + +2005-10-29 12:09 Enrico Scholz + + * util-vserver/src/vserver-stat.c: fillName(): initialize + 'obj->cfgstyle' to vcCFG_AUTO + +2005-10-29 12:09 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: on non-debian + machines (resp. those without debootstrap), generate + '$DEBOOTSTRAP_DIR/arch' with the current architecture [reported + by + Nicolas Costes; + http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14589] + +2005-10-29 12:07 Enrico Scholz + + * util-vserver/scripts/start-vservers: - verifyVserver(): + implemented it + - added some sanity checks to make sure that the 'depends' files + are + containing valid vserver names; the verifyVserver() function is + used + by these checks + +2005-10-29 12:06 Enrico Scholz + + * util-vserver/lib/getvserverctx.c: vc_getVserverCtx(): allow + vc_get_vx_info() to fail but check for + errno==ESRCH; for xid!=0, this syscall will return ENOSYS always + +2005-10-29 10:33 Enrico Scholz + + * util-vserver/src/testsuite/hashcalc.c: added some stack checks + +2005-10-29 10:32 Enrico Scholz + + * util-vserver/src/vwait.c: do not include "linuxvirtual.h" + anymore; it's not needed + +2005-10-29 10:31 Enrico Scholz + + * util-vserver/lib/getnbipv4root.c, + util-vserver/lib/getversion-internal.hc, + util-vserver/lib/isdynamicxid.c, + util-vserver/lib/syscall_adddlimit.c, + util-vserver/lib/syscall_cleanupnamespace.c, + util-vserver/lib/syscall_ctxcreate.c, + util-vserver/lib/syscall_ctxmigrate.c, + util-vserver/lib/syscall_enternamespace.c, + util-vserver/lib/syscall_getccaps.c, + util-vserver/lib/syscall_getcflags.c, + util-vserver/lib/syscall_getdlimit.c, + util-vserver/lib/syscall_getiattr.c, + util-vserver/lib/syscall_getncaps.c, + util-vserver/lib/syscall_getnflags.c, + util-vserver/lib/syscall_getnxinfo.c, + util-vserver/lib/syscall_gettasknid.c, + util-vserver/lib/syscall_gettaskxid.c, + util-vserver/lib/syscall_getvhiname.c, + util-vserver/lib/syscall_getvxinfo.c, + util-vserver/lib/syscall_kill.c, + util-vserver/lib/syscall_netadd.c, + util-vserver/lib/syscall_netcreate.c, + util-vserver/lib/syscall_netmigrate.c, + util-vserver/lib/syscall_netremove.c, + util-vserver/lib/syscall_remdlimit.c, + util-vserver/lib/syscall_rlimit.c, + util-vserver/lib/syscall_setccaps.c, + util-vserver/lib/syscall_setcflags.c, + util-vserver/lib/syscall_setdlimit.c, + util-vserver/lib/syscall_setiattr.c, + util-vserver/lib/syscall_setnamespace.c, + util-vserver/lib/syscall_setncaps.c, + util-vserver/lib/syscall_setnflags.c, + util-vserver/lib/syscall_setsched.c, + util-vserver/lib/syscall_setvhiname.c, + util-vserver/lib/syscall_waitexit.c, util-vserver/src/vkill.c: + include "virtual.h" instead of "linuxvirtual.h" + +2005-10-29 09:26 Enrico Scholz + + * util-vserver/src/testsuite/hashcalc.c: use our 'assert' from + "lib_internal/coreassert.h" + use Vwrite() instead of write() + +2005-10-29 09:25 Enrico Scholz + + * util-vserver/src/vhashify.c: cleanups; undefine macros after + their use, set some UNUSED attributes + and 'return EXIT_SUCCESS' in main to make the testsuite happy + (where + main() is not main()) + +2005-10-29 09:04 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: start the vserver with the + '--rescue' option and execute operations + like 'chkconfig' there + +2005-10-29 08:51 Enrico Scholz + + * util-vserver/THANKS: mentioned Herbert and his alternative + syscall implementation + +2005-10-29 08:46 Enrico Scholz + + * util-vserver/src/fstool.c: when giving a directory and other + filesystem objects on the CLI, the + fstool based applications (showattr, setattr, chxid) changed into + this + directory without going back. So the other objects can not be + found + anymore (resp. the wrong ones) [reported and patched by Daniel + Hokka + Zakrisson; + http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14313] + +2005-10-28 18:41 Enrico Scholz + + * util-vserver/scripts/vserver.start: use new syntax for + '--rescue-cmd' + +2005-10-28 18:40 Enrico Scholz + + * util-vserver/scripts/vserver-build.skeleton: use new + getDistribution API + +2005-10-28 18:40 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: when building new + vservers allow empty directories for their roots + improved error messages a little bit + +2005-10-28 18:29 Enrico Scholz + + * util-vserver/scripts/vserver: updated help msg for '--rescue' + +2005-10-28 17:59 Enrico Scholz + + * util-vserver/scripts/functions: colorize/colpanic(): reset + attributes after giving out the message + +2005-10-28 17:53 Enrico Scholz + + * util-vserver/distrib/Makefile.am, util-vserver/distrib/centos42, + util-vserver/distrib/centos42/pkgs, + util-vserver/distrib/centos42/pkgs/01, + util-vserver/distrib/centos42/pkgs/02, + util-vserver/distrib/centos42/pkgs/03, + util-vserver/distrib/centos42/yum, + util-vserver/distrib/centos42/yum.repos.d, + util-vserver/distrib/centos42/yum.repos.d/CentOS-Base.repo, + util-vserver/distrib/centos42/yum/yum.conf, + util-vserver/util-vserver.spec.in: added centos42 support + +2005-10-28 17:52 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated debootstrap + url + +2005-10-28 17:51 Enrico Scholz + + * util-vserver/m4/ensc_syscall.m4: do not define + ENSC_SYSCALL_TRADITIONAL when alternative syscalls are available + +2005-10-28 17:51 Enrico Scholz + + * util-vserver/lib/syscall_ctxcreate-v13.hc: use VCMD_ctx_create_v0 + instead of VCMD_ctx_create + +2005-10-28 17:50 Enrico Scholz + + * util-vserver/lib/getvserverctx.c: include "internal.h" + +2005-10-28 17:49 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/kernel/context.h, + util-vserver/kernel/cvirt_def.h, util-vserver/kernel/debug.h, + util-vserver/kernel/global.h, util-vserver/kernel/limit.h, + util-vserver/kernel/limit_def.h, util-vserver/kernel/network.h, + util-vserver/kernel/sched_def.h, util-vserver/kernel/signal.h, + util-vserver/kernel/xid.h: updated to 2.6.13.3-vs2.1.0-rc4 + headers + +2005-10-28 16:38 Enrico Scholz + + * util-vserver/lib/syscall-alternative.h: updated to + http://vserver.13thfloor.at/Experimental/SYSCALL/syscall_shiny7.h + +2005-10-28 16:09 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/syscall-fallback.h: added syscall-fallback.h + +2005-10-28 16:03 Enrico Scholz + + * util-vserver/m4/pkgconfig.am: do not use multiline sed + expressions anymore; instead of, assign and + use a Makefile variable + +2005-10-28 16:01 Enrico Scholz + + * util-vserver/m4/ensc_syscallnr.m4: - do not use the local + kernelheaders anymore; this causes problems on + cross-compiling + - use a fallback headerfile to determine syscall # + +2005-10-28 16:00 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/configure.ac, + util-vserver/lib/syscall.c, util-vserver/m4/ensc_kerneldir.m4, + util-vserver/m4/ensc_syscall.m4: do not use the local + kernelheaders anymore; this causes problems on + cross-compiling + +2005-10-25 16:23 Enrico Scholz + + * util-vserver/lib/testsuite/fmt.c: improved tests by validating + that buffer gets not modified before or + after the indented space + +2005-10-25 16:22 Enrico Scholz + + * util-vserver/lib/getvserverctx.c: getCtxFromFile(): fixed + resource leaks in errorcase + vc_getVserverCtx(): validate result by calling getvserverbyctx() + +2005-10-25 16:21 Enrico Scholz + + * util-vserver/lib/internal.h: vc_getVserverByCtx_Internal(): added + prototype (with 'validate_result' + parameter) + +2005-10-25 16:20 Enrico Scholz + + * util-vserver/lib/getvserverbyctx-compat.hc, + util-vserver/lib/getvserverbyctx-v13.hc, + util-vserver/lib/getvserverbyctx.c: vc_getVserverByCtx_*(): added + 'validate_result' parameter to avoid + recursion when called by getvserverctx() + +2005-10-25 16:18 Enrico Scholz + + * util-vserver/lib/vserver.h: added vc_compareVserverById() + +2005-10-25 16:17 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/comparevserverbyid.c: added comparevserverbyid.c + +2005-10-25 16:11 Enrico Scholz + + * util-vserver/ensc_fmt/fmtx.hc: save some bytes on the stack... + +2005-10-25 16:09 Enrico Scholz + + * util-vserver/configure.ac: disable expensive tests by default + +2005-10-25 16:08 Enrico Scholz + + * util-vserver/Makefile.am: improved 'silent.%' target a little bit + (might be incompatible with + older grep but it's for developing only...) + +2005-10-25 16:06 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files, + util-vserver/src/testsuite/hashcalc.sh: added hashcalc.sh + +2005-10-25 16:06 Enrico Scholz + + * util-vserver/src/testsuite/hashcalc.c: fixed params in + calculateHashFromFD() call + +2005-10-23 22:55 Enrico Scholz + + * util-vserver/src/chroot-sh.c: testInternal(): fixed return value + for non-existing files + +2005-10-23 22:50 Enrico Scholz + + * util-vserver/src/testsuite, + util-vserver/src/testsuite/.cvsignore, + util-vserver/src/testsuite/Makefile-files, + util-vserver/src/testsuite/hashcalc.c: added hashcalc + +2005-10-23 22:49 Enrico Scholz + + * util-vserver/src/vhashify.c: added TESTSUITE mode + +2005-10-09 09:11 Enrico Scholz + + * util-vserver/scripts/vserver.functions: fixed VLAN setup: set the + name-type, honor the 'ip' value and use the + device name on removal (reported by Timothy Arnold, + https://savannah.nongnu.org/bugs/?func=detailitem&item_id=14148) + +2005-08-08 22:15 Enrico Scholz + + * util-vserver/scripts/vserver.functions: fixed detection of + commented lines in config-files; formerly, only a + single '#' was detected which does not really make sense for + comments... + +2005-07-25 15:52 Enrico Scholz + + * util-vserver/util-vserver.spec.in: updated URLs + +2005-07-25 15:50 Enrico Scholz + + * util-vserver/src/vwait.c: - made the alarm() code working with + glibc also; glibc restarts + vc_wait_exit() instead of interrupting it so an explicit + siginterrupt(2) is required + - call alarm(2) again when EINTR was seen + +2005-07-25 15:47 Enrico Scholz + + * util-vserver/scripts/vserver-build.skeleton: execute + 'base.setSuccess' finally + +2005-07-25 15:46 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.rpm: + rpm.sanityCheck(): added; it warns about missing initpre scripts + +2005-07-25 15:45 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: - + getDistribution(): added sanity checks to make sure that there + exist + a configuration for the selected distribution + - base.initFilesystem(): allow empty directories as root + directories + for new vservers; this uses the new isDirectoryEmpty() function + - base.__cleanup(): armed the cleanup code; formerly there was + still + the safety 'echo' giving out the resulting command instead of + executing it + +2005-07-25 15:42 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: use new calling + convention of getDistribution(); 'debootstrap' does + not require an explicit configuration of the distribution + +2005-07-25 15:41 Enrico Scholz + + * util-vserver/scripts/vsysvwrapper: fixed typo + (s!$CHBIND!$_CHBIND!) + +2005-07-25 15:40 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.rpm, + util-vserver/scripts/vserver-build.yum: call rpm.sanityCheck() + +2005-07-25 15:39 Enrico Scholz + + * util-vserver/scripts/functions: isDirectoryEmpty(): added + col*(): added + +2005-07-15 20:25 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.208 + +2005-07-15 19:40 Enrico Scholz + + * util-vserver/configure.ac, util-vserver/lib/personalityflag.c, + util-vserver/lib/personalitytype.c, + util-vserver/m4/ensc_personality.m4: check whether enums from + are available before using + them + (https://savannah.nongnu.org/bugs/?func=detailitem&item_id=12921) + +2005-07-15 19:06 Enrico Scholz + + * util-vserver/util-vserver.spec.in: - require the -lib subpackage + by -devel + - copy GPG keys from /etc/pki/rpm-gpg/ + +2005-07-15 19:02 Enrico Scholz + + * util-vserver/src/testsuite/rpm-fake-test.sh: fixed paths so that + it works again... + +2005-07-15 19:01 Enrico Scholz + + * util-vserver/sysv/vprocunhide: do not run when IATTR feature is + not supported + +2005-07-15 19:01 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.suexec: readded the + limit-ulimits-per-vserver stuff due to popular requests + (http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12840) + +2005-07-15 18:59 Enrico Scholz + + * util-vserver/lib/getinsecurebcaps.c: - adjusted insecure caps for + the added CAP_AUDIT* and removed + CAP_QUOTACTL stuff + - assume every unknown capability as insecure + +2005-07-15 18:58 Enrico Scholz + + * util-vserver/lib/testsuite, + util-vserver/lib/testsuite/.cvsignore: added 'personality' + +2005-07-15 18:07 Enrico Scholz + + * util-vserver/lib/syscall_netadd-net.hc, + util-vserver/lib/syscall_netremove-net.hc: changed code so that + it *compiles* with current kernel headers + +2005-07-15 18:06 Enrico Scholz + + * util-vserver/lib/syscall_getiattr-fscompat.hc, + util-vserver/lib/syscall_setiattr-fscompat.hc: Changed the + barrier-code so that it sets both the 't' ext2-flag and + chmod-0 permissions. This is required to work with 1.2.10 patch; + formerly the chmod-0 sufficed. [reported by Bjoern Steinbrink, + http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13170] + +2005-07-15 16:32 Enrico Scholz + + * util-vserver/lib/capabilities.c: use a static '29' for QUOTACTL + capability as VC_CAP_QUOTACTL was removed + +2005-07-15 16:28 Enrico Scholz + + * util-vserver/lib/ccaps-v13.c: added + VC_VXC_{SYSLOG,BINARY_MOUNT,QUOTA_CTL} + added/moved some aliases + +2005-07-15 16:27 Enrico Scholz + + * util-vserver/lib/bcaps-v13.c: removed VC_CAP_QUOTACTL + added VC_CAP_AUDIT* + +2005-07-15 16:27 Enrico Scholz + + * util-vserver/lib/vserver.h: removed VC_CAP_QUOTACTL + added VC_CAP_AUDIT* + added VC_VXC_{SYSLOG,BINARY_MOUNT,QUOTA_CTL} + +2005-07-15 16:25 Enrico Scholz + + * util-vserver/contrib/Makefile-files, + util-vserver/contrib/yum-2.3.4-chroot.patch: added + yum-2.3.4-chroot patch + +2005-07-15 16:25 Enrico Scholz + + * util-vserver/kernel/network.h, util-vserver/kernel/network_cmd.h, + util-vserver/kernel/switch.h, util-vserver/kernel/xid.h: updated + to patch-2.6.12.2-vs2.0-rc7 + +2005-07-04 22:38 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: check whether + context is already active before starting the build + (http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12849) + +2005-07-04 22:36 Enrico Scholz + + * util-vserver/src/vserver-info.c: allow to pass a numeric xid to + 'vserver-info ... RUNNING' + +2005-07-04 22:35 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files, + util-vserver/lib_internal/util-isnumber.c, + util-vserver/lib_internal/util.h: isNumber(): added + +2005-07-04 18:14 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: give out status + message before downloading debootstrap + (http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13472) + +2005-07-04 18:03 Enrico Scholz + + * util-vserver/lib/syscall-alternative.h: updated to + http://vserver.13thfloor.at/Experimental/SYSCALL/syscall.h + from 2005-05-07 + +2005-07-03 22:42 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: oops... set the wrong + value + +2005-07-03 22:40 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated + +2005-07-03 22:40 Enrico Scholz + + * util-vserver/distrib/Makefile.am: register fc4 as rh-style + distribution + +2005-07-03 20:15 Enrico Scholz + + * util-vserver/configure.ac: check for 'nohup' + +2005-07-03 17:53 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: removed chroot_* + + C++ programs + added chroot_sh + vwait + +2005-07-03 17:51 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/lib/virtual.h: updated + used kernel headers to 2.6.12.2-vs2.0-rc5 + +2005-07-03 17:49 Enrico Scholz + + * util-vserver/lib/syscall_getvhiname-v13.hc, + util-vserver/lib/syscall_setvhiname-v13.hc: - + s!VCMD_vx_.et_vhi_name!VCMD_.et_vhi_name! + - added workaround for older kernels not having the naming above + +2005-07-03 17:48 Enrico Scholz + + * util-vserver/scripts/vshelper: accept 'async' method + +2005-07-03 17:47 Enrico Scholz + + * util-vserver/scripts/vserver.start: pipe 'popd' output to + /dev/null + +2005-07-03 17:47 Enrico Scholz + + * util-vserver/scripts/vserver.functions: initSync(): fixed + parameter naming + initSync(): set 'async' method when 'vwait' is available + _waitForVWait(): read pipe after 'wait' returned + +2005-07-03 17:45 Enrico Scholz + + * util-vserver/scripts/vserver-build: do not set OPTION_KEEP + +2005-07-03 17:43 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added vwait + +2005-07-03 17:43 Enrico Scholz + + * util-vserver/scripts/pkgmgmt: - cleanups + - unset %_dbpath at 'internalize' operation + +2005-07-03 17:42 Enrico Scholz + + * util-vserver/scripts/functions: vshelper.initSync(): fixed + parameter naming + +2005-07-03 17:40 Enrico Scholz + + * util-vserver/src/chroot-sh.c: implemented 'testfile' subcommand + +2005-07-03 14:42 Enrico Scholz + + * util-vserver/contrib/Makefile-files, + util-vserver/contrib/yum-2.3.3-chroot.patch: added + yum-2.3.3-chroot.patch + +2005-07-03 14:10 Enrico Scholz + + * util-vserver/scripts/functions: do not quote $_VSHELPER in help + message (reported by Roman Barczynski, + https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13162) + +2005-07-03 14:03 Enrico Scholz + + * util-vserver/doc/configuration.xml: mentioned the working + directory for the scripts + +2005-07-03 14:02 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/context_cmd.h, + util-vserver/kernel/cvirt_cmd.h, util-vserver/kernel/debug.h, + util-vserver/kernel/namespace.h, + util-vserver/kernel/namespace_cmd.h, + util-vserver/kernel/network.h, util-vserver/kernel/network_cmd.h, + util-vserver/kernel/switch.h: updated to 2.6.12.2-vs2.0-rc5 + +2005-07-03 13:19 Enrico Scholz + + * util-vserver/scripts/vserver.start: execute the prepre script in + the configuration directory (*not* the + vdir directory); this should not cause legacy problems as + formerly the + directory was not changed overall + +2005-07-03 13:18 Enrico Scholz + + * util-vserver/scripts/vserver.functions: check whether filesystem + is mounted readonly; if so, execute + $_SECURE_MOUNT with the '-n' argument + +2005-07-03 13:17 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.debootstrap, + util-vserver/scripts/vserver-build.rpm: execute base.setSuccess() + at the end + +2005-07-03 13:16 Enrico Scholz + + * util-vserver/src/rpm-fake-resolver.c: implemented better + error-handling in the read() and write() functions + +2005-07-03 12:33 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-io.hc, + util-vserver/ensc_wrappers/wrappers-iosock.hc, + util-vserver/ensc_wrappers/wrappers-unistd.hc: store result of + read*(2) and write*(2) fucntions into signed variables; + error handling is more cleaner in this way + +2005-07-03 12:31 Enrico Scholz + + * util-vserver/src/vserver-stat.c: - cleanups + - multiply RSS value with PAGESIZE + (https://savannah.nongnu.org/bugs/?func=detailitem&item_id=13184) + - prepare the '-O' option: calculate vserver names earlier and + use + some more helper functions + +2005-07-03 12:26 Enrico Scholz + + * util-vserver/src/rpm-fake.c: - doPwStringRequest(): fixed x86_64 + issue; rpm-fake.so transmitted a + 'size_t' value, but rpm-fake-resolver expected an uint32_t + - minor cleanups + +2005-07-03 09:12 Enrico Scholz + + * util-vserver/ensc_vector/Makefile-files, + util-vserver/ensc_vector/vector-foreach.c, + util-vserver/ensc_vector/vector.h, + util-vserver/ensc_vector/vector.hc: added Vector_foreach*() + functions + +2005-07-02 09:17 Enrico Scholz + + * util-vserver/src/Makefile-files, util-vserver/src/vbuild.cc, + util-vserver/src/vcheck.cc, util-vserver/src/vfiles.cc, + util-vserver/src/vserver.cc, util-vserver/src/vserver.hh, + util-vserver/src/vutil.cc, util-vserver/src/vutil.h, + util-vserver/src/vutil.p: removed the C++ tools; they do not work + with recent configuration and + are adding huge dependencies + +2005-06-30 06:17 Enrico Scholz + + * util-vserver/scripts/vserver.stop: use vwait infrastructure + +2005-06-30 06:16 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.pkgmgmt, + util-vserver/scripts/vserver.functions: use CHROOT_SH instead of + CHROOT_* + use vwait + +2005-06-30 06:16 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: remove generated + vserver when build fails and '--keep' was not specified + +2005-06-30 06:13 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.debootstrap, + util-vserver/scripts/vserver-build.rpm, + util-vserver/scripts/vserver-build.skeleton, + util-vserver/scripts/vserver-build.yum: use 'base.init' instead + of 'base.initVariables' + +2005-06-30 06:12 Enrico Scholz + + * util-vserver/scripts/vserver-build: added '--keep' option + +2005-06-30 06:11 Enrico Scholz + + * util-vserver/scripts/X, + util-vserver/scripts/util-vserver-vars.pathsubst: removed + CHROOT_* + added CHROOT_SH + +2005-06-30 06:11 Enrico Scholz + + * util-vserver/scripts/pkgmgmt: use CHROOT_SH instead of CHROOT_* + +2005-06-30 06:10 Enrico Scholz + + * util-vserver/lib/virtual.h: include signal_cmd.h instead of + signal.h + +2005-06-30 06:10 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added %dist tag + buildrequire 'which' and 'diffutils' + require 'apt' on i386 only + +2005-06-30 06:07 Enrico Scholz + + * util-vserver/distrib/fc4, util-vserver/distrib/fc4/apt, + util-vserver/distrib/fc4/apt/rpmpriorities, + util-vserver/distrib/fc4/apt/sources.list, + util-vserver/distrib/fc4/pkgs, util-vserver/distrib/fc4/pkgs/01, + util-vserver/distrib/fc4/pkgs/02, + util-vserver/distrib/fc4/pkgs/03, + util-vserver/distrib/fc4/rpmlist.d, + util-vserver/distrib/fc4/rpmlist.d/00.lst, + util-vserver/distrib/fc4/yum, + util-vserver/distrib/fc4/yum.repos.d, + util-vserver/distrib/fc4/yum.repos.d/fedora-devel.repo, + util-vserver/distrib/fc4/yum.repos.d/fedora-updates-testing.repo, + util-vserver/distrib/fc4/yum.repos.d/fedora-updates.repo, + util-vserver/distrib/fc4/yum.repos.d/fedora.repo, + util-vserver/distrib/fc4/yum/yum.conf: initial checkin + +2005-06-30 06:06 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: use CHROOT_SH instead of + CHROOT_* + +2005-06-30 05:58 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore, + util-vserver/src/Makefile-files, util-vserver/src/chroot-cat.c, + util-vserver/src/chroot-rm.c, util-vserver/src/chroot-sh.c: + replaced all the small chroot-* programs with a single + 'chroot-sh' + program + +2005-05-19 18:17 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added @NOHUP@ + +2005-05-19 18:16 Enrico Scholz + + * util-vserver/scripts/pkgmgmt: use new chroot-cat CLI + +2005-05-19 18:10 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/cvirt.h, + util-vserver/kernel/dlimit.h, util-vserver/kernel/dlimit_cmd.h, + util-vserver/kernel/inode_cmd.h, util-vserver/kernel/legacy.h, + util-vserver/kernel/signal.h, util-vserver/kernel/signal_cmd.h, + util-vserver/kernel/xid.h: updated + +2005-05-19 18:05 Enrico Scholz + + * util-vserver/lib/issupported.c, + util-vserver/lib/issupportedstring.c, util-vserver/lib/vserver.h: + vc_isSupported() et.al: added VWAIT feature + +2005-05-19 18:04 Enrico Scholz + + * util-vserver/m4/ensc_syscall.m4: s!enable_val!enableval! + +2005-05-19 18:02 Enrico Scholz + + * util-vserver/src/vserver-stat.c: fixed calculation of hours (%24 + instead of %60); reported in + http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13048 by + Roman Barczynski + +2005-05-19 18:01 Enrico Scholz + + * util-vserver/src/chroot-cat.c: added '-i', '-o' and '-a' options + to cat or override a file, or to + append something + +2005-05-19 17:59 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: use safe chroot-cat + commands + +2005-05-05 19:13 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: - give out a more correct + helpstring for the '--enable/disable-dietlibc' + option + - use AS_HELP_STRING instead of AC_HELP_STRING + +2005-05-05 18:31 Enrico Scholz + + * util-vserver/configure.ac: - removed call to ENSC_FPIC_SYSCALL + - enhanced dietlibc version check to the 64 bit version of hppa + +2005-05-05 09:24 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added vwait + +2005-05-05 09:22 Enrico Scholz + + * util-vserver/src/vwait.c: initial checkin + +2005-05-05 09:21 Enrico Scholz + + * util-vserver/src/vshelper-sync.c: use '__linux__' instead of + '__linux' (reported by Ola Lundqvist) + +2005-05-05 09:20 Enrico Scholz + + * util-vserver/src/exec-cd.c: minor cosmetical cleanup + +2005-05-05 09:20 Enrico Scholz + + * util-vserver/src/chroot-cat.c: - added support for '--help' and + '--version' + - added '-a' option to append information instead of truncating + the + file + +2005-05-05 09:19 Enrico Scholz + + * util-vserver/src/Makefile-files: - 'chroot-cat' supports now the + '--help' and '--version' options so + removed it from AM_INSTALLCHECK_STD_OPTIONS_EXEMPT + - added vwait + +2005-05-05 09:17 Enrico Scholz + + * util-vserver/m4/install-notify.am: s!^# !## ! + +2005-05-05 09:17 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/syscall_waitexit-v13.hc, + util-vserver/lib/syscall_waitexit.c, util-vserver/lib/vserver.h: + vc_wait_exit(): implemented support for this syscall + +2005-05-02 21:44 Enrico Scholz + + * util-vserver/src/compat-pivot_root.h: use + +2005-05-02 21:43 Enrico Scholz + + * util-vserver/m4/ensc_syscall.m4: minor cosmetical cleanups + +2005-05-02 21:43 Enrico Scholz + + * util-vserver/m4/ensc_fpicsyscall.m4: obsoleted + +2005-05-02 21:43 Enrico Scholz + + * util-vserver/m4/ensc_fpicsyscall.m4: use ENSC_SYSCALL_ALTERNATIVE + +2005-05-02 21:42 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: cleaned up '#include + <*syscall.h>' stuff + +2005-05-02 21:42 Enrico Scholz + + * util-vserver/lib/syscall-legacy.hc, + util-vserver/lib/syscall-wrap.h: include also + +2005-05-02 21:41 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl: use class + 'directoryname' instead of 'directory' for '' + markup + +2005-05-02 21:40 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/distrib/Makefile.am, + util-vserver/m4/install-notify.am: give out additional + information about the 'make install' process + +2005-04-28 19:07 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.207 + +2005-04-28 18:48 Enrico Scholz + + * util-vserver/configure.ac: adjusted dietlibc requirements + +2005-04-28 18:08 Enrico Scholz + + * util-vserver/src/vcontext.c: allow to override the execution + domain (personality); added + '--personality-type' and '--personality-flags' options + +2005-04-28 18:08 Enrico Scholz + + * util-vserver/src/rpm-fake-resolver.c: added a TEMP_FAILURE_RETRY + around a read(2) + +2005-04-28 18:05 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.suexec: added support for a rescue + mode + +2005-04-28 18:04 Enrico Scholz + + * util-vserver/scripts/vserver.functions: * + _generatePersonalityOptions(): added and use it + * added support for a rescue mode + +2005-04-28 18:03 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.pkgmgmt: + YUM_RELEASEPKGS: added + +2005-04-28 18:03 Enrico Scholz + + * util-vserver/scripts/vserver: fixed docu for 'stop' and 'start' + +2005-04-28 18:03 Enrico Scholz + + * util-vserver/scripts/pkgmgmt: * verifyInternalPackages(): added + * added some sanity checks for a sany environment when + internalizing + the package management + +2005-04-28 18:02 Enrico Scholz + + * util-vserver/scripts/functions: * isRegularFile(): fixed + evaluation of params + * hasSubstring(): added + * getAllVservers(): fixed typo + +2005-04-28 18:01 Enrico Scholz + + * util-vserver/lib_internal/sys_clone.h: cleanups; do not include + + +2005-04-28 18:01 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files, + util-vserver/lib_internal/sys_personality.h: added + sys_personality.h + +2005-04-28 17:56 Enrico Scholz + + * util-vserver/scripts/legacy/vserver-copy, + util-vserver/scripts/vserver-copy: moved to legacy + +2005-04-28 17:54 Enrico Scholz + + * util-vserver/lib/testsuite/Makefile-files, + util-vserver/lib/testsuite/personality.c: added testcases for the + vc_*personality*() functions + +2005-04-28 17:53 Enrico Scholz + + * util-vserver/lib/vserver.h: added prototypes for vc_*personality* + support + +2005-04-28 17:53 Enrico Scholz + + * util-vserver/lib/virtual.h: updated to new kernel headers + +2005-04-28 17:53 Enrico Scholz + + * util-vserver/lib/cflags_list-v13.c: do not include + anymore + +2005-04-28 17:52 Enrico Scholz + + * util-vserver/lib/internal.h: utilvserver_listparser_uint*(): + removed the 'nonnull' attribute for the 'mask' param + +2005-04-28 17:51 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/personalityflag.c, + util-vserver/lib/personalityflag_list.c, + util-vserver/lib/personalitytype.c: added personality* files + +2005-04-28 17:50 Enrico Scholz + + * util-vserver/doc/configuration.xml: * added some markup + * documented 'personality' + +2005-04-28 17:50 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl, + util-vserver/doc/configuration.dtd: added support for + and markup + +2005-04-28 17:49 Enrico Scholz + + * util-vserver/distrib/fc3/yum/yum.conf: + s!redhat-release!fedora-release! + +2005-04-28 17:49 Enrico Scholz + + * util-vserver/distrib/fc3/pkgs/02: removed 'coreutils' + +2005-04-28 17:48 Enrico Scholz + + * util-vserver/distrib/fc3/rpmlist.d/00.lst: added some more + packages + +2005-04-28 17:46 Enrico Scholz + + * util-vserver/distrib/fc1/apt/rpmpriorities, + util-vserver/distrib/fc2/apt/rpmpriorities, + util-vserver/distrib/fc3/apt/rpmpriorities, + util-vserver/distrib/rh9/apt/rpmpriorities: added *-release + packages + +2005-04-28 17:45 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, + util-vserver/scripts/Makefile-files: moved vserver-copy to legacy + +2005-04-28 17:44 Enrico Scholz + + * util-vserver/Makefile.am: added new kernel headers + +2005-04-28 11:01 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/context_cmd.h, + util-vserver/kernel/cvirt.h, util-vserver/kernel/cvirt_cmd.h, + util-vserver/kernel/cvirt_def.h, util-vserver/kernel/debug.h, + util-vserver/kernel/debug_cmd.h, util-vserver/kernel/dlimit.h, + util-vserver/kernel/dlimit_cmd.h, util-vserver/kernel/inode.h, + util-vserver/kernel/inode_cmd.h, util-vserver/kernel/legacy.h, + util-vserver/kernel/limit.h, util-vserver/kernel/limit_cmd.h, + util-vserver/kernel/limit_def.h, util-vserver/kernel/namespace.h, + util-vserver/kernel/network.h, util-vserver/kernel/network_cmd.h, + util-vserver/kernel/sched.h, util-vserver/kernel/sched_cmd.h, + util-vserver/kernel/sched_def.h, util-vserver/kernel/switch.h, + util-vserver/kernel/xid.h: updated to headers from + patch-2.6.11.7-vs2.0-pre2 + +2005-04-24 20:31 Enrico Scholz + + * util-vserver/src/vserver-stat.c: showContexts(): added 'const' + qualifier + +2005-04-24 20:30 Enrico Scholz + + * util-vserver/scripts/start-vservers, + util-vserver/scripts/vsomething: use the new getAllVservers() + functionality to specify special kinds of + vservers + +2005-04-24 20:29 Enrico Scholz + + * util-vserver/scripts/functions: * isRegularFile(): allow to + override the '-f' classifier + * getAllVservers(): added several types of vservers (marked, + unmarked, + running...) + * getAllVserversByArg()" added + +2005-04-24 20:28 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc_compat.m4: * + ENSC_DIETLIBC_NEED_COMPAT: use the 'syscall-wrap.h' header and + the + results from ENSC_SYSCALL_ALTERNATIVE + +2005-04-24 20:26 Enrico Scholz + + * util-vserver/m4/ensc_syscall.m4: * ENSC_SYSCALL_ALTERNATIVE: + added + * ENSC_SYSCALL: use the 'syscall-wrap.h' header and the results + from + ENSC_SYSCALL_ALTERNATIVE + +2005-04-24 20:25 Enrico Scholz + + * util-vserver/lib/vserver-internal.h, + util-vserver/lib_internal/sys_clone.h: include "syscall-wrap.h" + +2005-04-24 20:25 Enrico Scholz + + * util-vserver/lib/ncaps-net.c, util-vserver/lib/nflags-net.c: + VALUES: added an empty field to make it compile with gcc4 + +2005-04-24 20:24 Enrico Scholz + + * util-vserver/lib/bcaps_list-v13.c, + util-vserver/lib/ccaps_list-v13.c, + util-vserver/lib/cflags_list-v13.c, + util-vserver/lib/ncaps_list-net.c, + util-vserver/lib/nflags_list-net.c: made it compatible to the new + utilvserver_listparser_uint*() API and + added wrappers with a third 'bool *' arg + +2005-04-24 20:23 Enrico Scholz + + * util-vserver/lib/listparser.hc: * parser function has now to set + a 'bool *' arg to signal errors + * when 'mask' argument is null, the special modifiers like '~', + '!' or + 'any' are not allowed + +2005-04-24 20:21 Enrico Scholz + + * util-vserver/lib/internal.h: utilvserver_listparser_uint*(): + added a third 'bool *' arg for the + parser function so that errors can be better propagated + +2005-04-24 20:17 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/syscall-alternative.h, + util-vserver/lib/syscall-wrap.h: added syscall-alternative.h and + syscall-wrap.h + +2005-04-24 20:17 Enrico Scholz + + * util-vserver/update-doc: exclude some static files + +2005-04-24 20:16 Enrico Scholz + + * util-vserver/build-all: remove config.cache when CLEAN is set + disabled gcc33 build + +2005-04-24 11:33 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl, + util-vserver/doc/configuration.dtd, + util-vserver/doc/configuration.xml: added new markup + added new CSS from Nicolas Costes + +2005-04-16 21:21 Enrico Scholz + + * util-vserver/configure.ac: cleanups + added '--disable-extra-optimizations' option + +2005-04-16 21:20 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions, + util-vserver/scripts/vserver-build.functions.apt, + util-vserver/scripts/vserver-build.functions.rpm, + util-vserver/scripts/vserver-build.functions.yum, + util-vserver/scripts/vserver.functions: use the common + isRegularFile() method to filter out backup-files + +2005-04-16 21:19 Enrico Scholz + + * util-vserver/scripts/functions: isRegularFile(): added + +2005-04-16 21:18 Enrico Scholz + + * util-vserver/util-vserver.spec.in: cleanups + added changelog entry for 0.30.206 + +2005-04-12 22:37 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.206 + +2005-04-12 21:54 Enrico Scholz + + * util-vserver/src/vserver-info.c: implemented VERIFYPROC method + +2005-04-12 21:53 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added verify-proc sanity + check + +2005-04-12 21:52 Enrico Scholz + + * util-vserver/scripts/functions: killContext(): commented out the + more correct + (but not working) kill-sequence + +2005-04-12 21:50 Enrico Scholz + + * util-vserver/util-vserver.spec.in: ship the yum patches + +2005-04-12 21:42 Enrico Scholz + + * util-vserver/Makefile.am: added '--no-wrap -S' to the + CVS2CL_AMFLAGS + +2005-04-12 19:27 Enrico Scholz + + * util-vserver/configure.ac: adjusted min-dietlibc requirements + +2005-04-12 19:23 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: ENSC_ENABLE_DIETLIBC(): allow + 'min_ver' to be a shell variable + +2005-04-12 18:26 Enrico Scholz + + * util-vserver/scripts/functions: vshelper.isDebug(): fixed logic + +2005-04-10 12:27 Enrico Scholz + + * util-vserver/src/rpm-fake.c: send the signals for endgrent() and + endpwent() + +2005-04-10 12:26 Enrico Scholz + + * util-vserver/contrib/Makefile-files, + util-vserver/contrib/yum-2.2.1-chroot.patch, + util-vserver/contrib/yum-2.3.2-chroot.patch: added patches for + yum + +2005-04-10 12:26 Enrico Scholz + + * util-vserver/Makefile.am: include m4/libsel.am + +2005-04-10 01:01 Enrico Scholz + + * util-vserver/src/context-sync.hc: ignore errors during setsid(2) + execution (required for vs1.9.5.12+) + +2005-04-10 01:00 Enrico Scholz + + * util-vserver/scripts/vshelper: * kill vserver processes + explicitly with 'killContext'; userspace + reboot helper may assume that 'reboot(2)' never returns... + * added 'async' method + +2005-04-10 00:59 Enrico Scholz + + * util-vserver/scripts/vserver.stop: implicate '--sync' option; it + is not possible to stop asynchronously + send SIGINT to pid 1 instead of trying to determine initpid + +2005-04-10 00:57 Enrico Scholz + + * util-vserver/scripts/vserver.functions: use 'killContext()' + instead of invoking 'vkill' manually + set an initial runlevel for 'minit' style also + set 'async' vshelper method for non-sync mode + +2005-04-10 00:55 Enrico Scholz + + * util-vserver/scripts/vprocunhide: fixed missing quoting of '~'; + this may cause very slow booting when + NIS/LDAP servers are local vservers as bash tries to expand this + to a + homedir... + +2005-04-10 00:54 Enrico Scholz + + * util-vserver/scripts/functions: spawn(), killContext(): added + +2005-04-10 00:53 Enrico Scholz + + * util-vserver/m4/libsel.am: initial checkin + +2005-04-10 00:53 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: use a more modern version which + accepts 'DIET' and 'DIETFLAGS' as + global configure variables + +2005-04-10 00:52 Enrico Scholz + + * util-vserver/m4/ensc_cxxcompiler.m4: fixed typo + +2005-04-10 00:52 Enrico Scholz + + * util-vserver/configure.ac: defined ENSC_USE_DIETLIBC + + ENSC_USE_GLIBC + +2005-04-10 00:52 Enrico Scholz + + * util-vserver/Makefile.am: removed 'DIET' and 'DIETFLAGS' + variables; they are set by configure now + +2005-04-08 19:18 Enrico Scholz + + * util-vserver/scripts/vyum-worker: added better test for patched + yum + +2005-04-08 19:17 Enrico Scholz + + * util-vserver/src/vserver-info.c: fixed typo + +2005-04-08 19:17 Enrico Scholz + + * util-vserver/scripts/vserver.suexec: fixed typo (reported by Paul + S. Gumerman) + +2005-04-08 19:15 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.yum: substitute + @YUMLOCKDIR@ + +2005-04-08 19:14 Enrico Scholz + + * util-vserver/scripts/chcontext: fixed operation when context was + not specified + +2005-04-08 19:13 Enrico Scholz + + * util-vserver/distrib/redhat/initpre: reverted the patch adding + '/usr/X11' + create '/sbin/new-kernel-pkg'; 'initpost' would be too late for + FC4 + +2005-04-08 19:12 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: use 'ln -sf' instead of 'ln + -s' + +2005-04-08 19:12 Enrico Scholz + + * util-vserver/distrib/fc3/yum/yum.conf: add 'lockfile' + +2005-04-08 19:12 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added 'fc3' to 'redhat_style' + +2005-04-08 19:11 Enrico Scholz + + * util-vserver/Makefile.am: use DIETFLAGS instead of DIET_FLAGS + +2005-03-29 02:10 Enrico Scholz + + * util-vserver/ensc_vector/Makefile-files: use $(LIBENSCVECTOR) + instead of libensc_vector.a + +2005-03-25 21:19 Enrico Scholz + + * util-vserver/scripts/vserver.stop: fixed typo + +2005-03-25 17:11 Enrico Scholz + + * util-vserver/scripts/vserver.functions: minor cleanups: call + vkill with '--xid' instead of '-c' + +2005-03-25 16:56 Enrico Scholz + + * util-vserver/scripts/vserver.stop: address both the context and + the pid when sending SIGINT to init + +2005-03-25 02:38 Enrico Scholz + + * util-vserver/lib_internal/testsuite/copy-check: do not use '-s' + with 'cmp' but display verbose error reason + +2005-03-25 02:37 Enrico Scholz + + * util-vserver/lib_internal/switchtowatchxid.c: simplified it and + made it work with recent kernels + +2005-03-25 02:37 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl: use 'alternate + stylesheet' instead of 'stylesheet' (reported by Herbert + Poetzl) + +2005-03-25 02:35 Enrico Scholz + + * util-vserver/util-vserver.spec.in: fixed quoting of % in + %description + +2005-03-24 14:08 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/REQUIREMENTS: added + REQUIREMENTS + +2005-03-24 13:53 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac, + util-vserver/util-vserver.spec.in: version 0.30.205 + +2005-03-24 13:50 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added some %descriptions + +2005-03-24 12:46 Enrico Scholz + + * util-vserver/src/vhashify.c: s!write()!Vwrite()! at some places + add 'volatile' qualifier at variables used around 'setjmp' + use sigsetjmp() instead of setjmp() + minor code cleanups + +2005-03-24 12:45 Enrico Scholz + + * util-vserver/src/secure-mount.c: s!write()!Vwrite()! at some + places + use Echdir() instead of chdir() + +2005-03-24 12:44 Enrico Scholz + + * util-vserver/src/filetime.c, util-vserver/src/lsxid.c, + util-vserver/src/readlink.c, util-vserver/src/reducecap.c, + util-vserver/src/showattr.c, util-vserver/src/vattribute.c, + util-vserver/src/vcontext.c, util-vserver/src/vcopy.c, + util-vserver/src/vdlimit.c, util-vserver/src/vlimit.c, + util-vserver/src/vps.c, util-vserver/src/vserver-stat.c, + util-vserver/src/vuname.c, util-vserver/src/vunify.c, + util-vserver/vserver-start/interface-read.c: s!write()!Vwrite()! + at some places + +2005-03-24 12:42 Enrico Scholz + + * util-vserver/lib_internal/testsuite/sigbus.c: use Etruncate() + instead of truncate() + +2005-03-24 12:42 Enrico Scholz + + * util-vserver/lib_internal/testsuite/copy-check: added new tests + and better diagnostic + +2005-03-24 12:42 Enrico Scholz + + * util-vserver/lib_internal/unify-copy.c: moved 'volatile' + qualifiers to a better place + minor code cleanups + +2005-03-24 12:41 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-unistd.hc: E*truncate(): + added + +2005-03-24 12:41 Enrico Scholz + + * util-vserver/ensc_vector/testsuite/test2.c: #undef NDEBUG + +2005-03-24 01:12 Enrico Scholz + + * util-vserver/lib_internal/testsuite/sigbus.c: unlink temporary + files on exit + +2005-03-24 00:12 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c: Unify_unify(): block + signals while executing the non-atomic operations + +2005-03-24 00:12 Enrico Scholz + + * util-vserver/src/vhashify.c: optimized directory creation + +2005-03-24 00:11 Enrico Scholz + + * util-vserver/lib_internal/unify-copy.c: prepared for sigbus + testcase + added some 'volatile' modifiers + use siglongjmp() instead of longjmp() + +2005-03-24 00:09 Enrico Scholz + + * util-vserver/lib_internal/matchvserverinfo-init.c: minor code + cleanups + +2005-03-24 00:09 Enrico Scholz + + * util-vserver/lib_internal/testsuite, + util-vserver/lib_internal/testsuite/.cvsignore, + util-vserver/lib_internal/testsuite/Makefile-files, + util-vserver/lib_internal/testsuite/sigbus.c: added sigbus + testcase + +2005-03-23 02:17 Enrico Scholz + + * util-vserver/ensc_vector/testsuite, + util-vserver/ensc_vector/testsuite/.cvsignore: updated + +2005-03-23 02:10 Enrico Scholz + + * util-vserver/src/vhashify-init.hc, util-vserver/src/vhashify.c: + added lots of new code... + +2005-03-23 02:08 Enrico Scholz + + * util-vserver/src/rpm-fake.c: is_selinux_enabled(): added + +2005-03-23 02:08 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.rpm, + util-vserver/scripts/vserver-build.yum: execute '--initdb' before + importing pubkeys + import pubkeys from /etc/vservers/.distributions/.common/pubkeys + also + +2005-03-23 02:05 Enrico Scholz + + * util-vserver/scripts/vserver: added 'hashify' target + +2005-03-23 02:05 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_VHASHIFY + +2005-03-23 02:05 Enrico Scholz + + * util-vserver/lib_internal/matchlist-initrefserverlist.c: fixed + initialization of 'vserver' + +2005-03-23 02:04 Enrico Scholz + + * util-vserver/distrib/Makefile.am: create + /etc/.../.distributions/.common/pubkeys/ + create /etc/.../.defaults/apps/vunify/hash + +2005-03-23 02:04 Enrico Scholz + + * util-vserver/util-vserver.spec.in: copy GPG keys from the system + into the confdir + buildrequire dietlibc-0.25 + +2005-03-23 02:03 Enrico Scholz + + * util-vserver/build-all: build with debug settings + +2005-03-22 15:27 Enrico Scholz + + * util-vserver/src/rpm-fake.c: honor return codes of read(2) and + write(2) when communication with the rpm-fake-helper + call read(2) and write(2) through TEMP_FAILURE_RETRY() + use Vwrite() instead of write(2) at some places + +2005-03-22 15:25 Enrico Scholz + + * util-vserver/lib_internal/command-exec.c: call write(2) through + TEMP_FAILURE_RETRY() + +2005-03-22 15:25 Enrico Scholz + + * util-vserver/util-vserver.spec.in: BuildRequire beecrypt-devel + +2005-03-22 15:05 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/vhashify.c: + workaround warning messages regarding 'warn_unused_return_value' + when + using _FORTIFY_SOURCE. + +2005-03-22 14:59 Enrico Scholz + + * util-vserver/lib/getvservervdir.c, + util-vserver/lib_internal/coreassert.h, + util-vserver/lib_internal/matchlist-initmanually.c, + util-vserver/lib_internal/matchlist-printid.c, + util-vserver/lib_internal/util-exitlikeprocess.c, + util-vserver/lib_internal/util-io.h: workaround warning messages + regarding 'warn_unused_return_value' when + using _FORTIFY_SOURCE. + +2005-03-22 14:57 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added vhashify + + vdlimit + +2005-03-22 14:57 Enrico Scholz + + * util-vserver/util-vserver.spec.in: cleanups + use %global instead of %define + +2005-03-22 14:48 Enrico Scholz + + * util-vserver/build-all: set _FORTIFY_SOURCE + +2005-03-19 03:59 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: updated + +2005-03-19 03:58 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: updated + +2005-03-19 02:35 Enrico Scholz + + * util-vserver/update-doc: initial checkin + +2005-03-19 02:33 Enrico Scholz + + * util-vserver/scripts/chcontext: do not use '--create' for dynamic + contexts + +2005-03-19 02:21 Enrico Scholz + + * util-vserver/distrib/apps: removed... + +2005-03-19 02:20 Enrico Scholz + + * util-vserver/distrib/apps, util-vserver/distrib/apps/vshelper, + util-vserver/distrib/apps/vshelper/action: added to be removed... + +2005-03-19 02:16 Enrico Scholz + + * util-vserver/distrib/redhat/initsignal, + util-vserver/src/testsuite/data/vserver1, + util-vserver/src/testsuite/data/vserver2, + util-vserver/src/testsuite/vuname, util-vserver/sysv/vkillall, + util-vserver/tests/attack.spec, util-vserver/tests/ulimit: + obsoleted + +2005-03-19 02:16 Enrico Scholz + + * util-vserver/src/testsuite/data/vserver1, + util-vserver/src/testsuite/data/vserver1/apps, + util-vserver/src/testsuite/data/vserver1/apps/pkgmgmt, + util-vserver/src/testsuite/data/vserver1/apps/pkgmgmt/style, + util-vserver/src/testsuite/data/vserver1/apps/vunify, + util-vserver/src/testsuite/data/vserver1/apps/vunify/exclude, + util-vserver/src/testsuite/data/vserver2, + util-vserver/src/testsuite/data/vserver2/apps, + util-vserver/src/testsuite/data/vserver2/apps/vunify, + util-vserver/src/testsuite/data/vserver2/apps/vunify/exclude, + util-vserver/src/testsuite/vuname, + util-vserver/src/testsuite/vuname/nodename, + util-vserver/sysv/vkillall, util-vserver/tests/attack.spec, + util-vserver/tests/ulimit, util-vserver/tests/ulimit/cpu: added + to be removed... + +2005-03-19 02:12 Enrico Scholz + + * util-vserver/distrib/redhat/initsignal: added to be removed + soon... + +2005-03-19 02:11 Enrico Scholz + + * util-vserver/src/vnet.c: obsoleted... + +2005-03-19 02:10 Enrico Scholz + + * util-vserver/doc/vunify-verbosity.txt, + util-vserver/lib/apidoc/list2xxx.descr, util-vserver/scripts/X, + util-vserver/src/vnet.c: initial checkin + +2005-03-19 02:07 Enrico Scholz + + * util-vserver/vserver-start/interface-add.c, + util-vserver/vserver-start/interface-print.c, + util-vserver/vserver-start/interface-remove.c, + util-vserver/vserver-start/main.c: avoid warnings regarding + unused params + +2005-03-19 02:07 Enrico Scholz + + * util-vserver/src/Makefile-files: moved vdlimit into the only-C99 + section + build vhashify only with C99 and beecrypt + cleanups + +2005-03-19 02:06 Enrico Scholz + + * util-vserver/lib_internal/testsuite/copy-check: cleanups + conditionalize expensive tests + +2005-03-19 02:05 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib_internal/Makefile-files: moved *dlimit* files + into the only-C99 section + clean all potentially built libraries + +2005-03-19 02:03 Enrico Scholz + + * util-vserver/ensc_vector/list-free.c: some minor C89 + compatibility changes + +2005-03-19 02:03 Enrico Scholz + + * util-vserver/ensc_vector/Makefile-files: use + 'lib-dietlibc-not-enabled-error.a' consistently + clean all libraries inclusive those which might not be built + +2005-03-19 02:01 Enrico Scholz + + * util-vserver/doc/configuration.dtd: readded + +2005-03-19 02:01 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented the 'vhashify' + configuration + moved '' tags before '' + +2005-03-19 02:00 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl: applied changes + regarding the new www-location on savannah + +2005-03-19 01:59 Enrico Scholz + + * util-vserver/doc/Makefile-files: (re)added xsltproc support + +2005-03-19 01:57 Enrico Scholz + + * util-vserver/configure.ac: added tests for XSLTPROC + added '--disable-expensive-tests' + added beecrypt tests + cosmetical cleanups + enhancements + +2005-03-19 01:56 Enrico Scholz + + * util-vserver/Makefile.am: set some values in TESTS_ENVIRONMENT + added some hacks for lib-dietlibc-not-enabled-error.a + +2005-03-18 03:56 Enrico Scholz + + * util-vserver/lib_internal/testsuite, + util-vserver/lib_internal/testsuite/.cvsignore: updated + +2005-03-18 03:56 Enrico Scholz + + * util-vserver/lib_internal/unify.h, util-vserver/src/vunify.h: + include instead of defining a 'struct stat'; this + prevents + problems with the 64bit interface of the filesystem functions + +2005-03-18 03:54 Enrico Scholz + + * util-vserver/lib_internal/unify-copy.c: use a sparse-file + friendly method for copying files + +2005-03-18 03:33 Enrico Scholz + + * util-vserver/lib_internal/testsuite/Makefile-files, + util-vserver/lib_internal/testsuite/copy-check, + util-vserver/lib_internal/testsuite/copy.c: added testcases for + Unify_copy() + +2005-03-18 00:33 Enrico Scholz + + * util-vserver/vserver-start/Makefile-files: use $(LIBENSCVECTOR) + instead of libensc_vector.a + +2005-03-18 00:25 Enrico Scholz + + * util-vserver/src/vhashify-init.hc, util-vserver/src/vhashify.c, + util-vserver/src/vhashify.h: made it work... + +2005-03-18 00:24 Enrico Scholz + + * util-vserver/src/vcopy-init.hc, util-vserver/src/vunify-init.hc: + applied changes in the MatchList-API + +2005-03-18 00:23 Enrico Scholz + + * util-vserver/src/Makefile-files: use $(LIBENSCVECTOR) instead of + libensc_vector.a + use $(LIBVSERVER_GLIBC) instead of lib/libvserver.la + +2005-03-18 00:23 Enrico Scholz + + * util-vserver/scripts/vpkg: exit with returncode of '2' when + pkgmgmt can not be determined + +2005-03-18 00:22 Enrico Scholz + + * util-vserver/lib_internal/testsuite/Makefile-files: use + $(LIBENSCVECTOR) instead of libensc_vector.a + +2005-03-18 00:22 Enrico Scholz + + * util-vserver/lib_internal/unify-isiunlinkable.c, + util-vserver/lib_internal/unify.h: Unify_isIUnlinkable(): changed + return-type + +2005-03-18 00:21 Enrico Scholz + + * util-vserver/lib_internal/unify-copy.c: implemented copyReg() + with mmap(2) instead of read(2)+write(2) sequences + +2005-03-18 00:20 Enrico Scholz + + * util-vserver/lib_internal/string.hc: String_free(): added + +2005-03-18 00:20 Enrico Scholz + + * util-vserver/lib_internal/string.h: renamed String_destroy() to + String_free() + +2005-03-18 00:20 Enrico Scholz + + * util-vserver/lib_internal/string-destroy.c: obsoleted; + String_free() is now inlined + +2005-03-18 00:20 Enrico Scholz + + * util-vserver/lib_internal/matchlist-initbyvserver.c, + util-vserver/lib_internal/matchlist-initmanually.c, + util-vserver/lib_internal/matchlist-initrefserverlist.c, + util-vserver/lib_internal/matchlist.h: applied lot of API changes + +2005-03-18 00:18 Enrico Scholz + + * util-vserver/lib_internal/matchlist-destroy.c: use String_free() + instead of String_destroy() + +2005-03-18 00:18 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added + matchvserverinfo-* + removed string-destroy.c + +2005-03-18 00:17 Enrico Scholz + + * util-vserver/lib_internal/matchvserverinfo-free.c, + util-vserver/lib_internal/matchvserverinfo-init.c: initial + checkin + +2005-03-18 00:15 Enrico Scholz + + * util-vserver/ensc_vector/Makefile-files, + util-vserver/lib/Makefile-files: split into a -glibc and a -diet + part + +2005-03-18 00:13 Enrico Scholz + + * util-vserver/ensc_vector/testsuite/Makefile-files, + util-vserver/lib/testsuite/Makefile-files: use $(LIBENSCVECTOR) + instead of libensc_vector.a + +2005-03-18 00:12 Enrico Scholz + + * util-vserver/configure.ac: HACK: set 'enable_static=no' for + dietlibc case and postpone AC_PROG_LIBTOOL execution + +2005-03-18 00:11 Enrico Scholz + + * util-vserver/Makefile.am: use $(LIBVSERVER) instead of + lib/libvserver.la + use $(LIBENSCVECTOR_DIET) instead of $(ENSC_VECTOR_LIBS) + +2005-03-17 14:59 Enrico Scholz + + * util-vserver/build-all, util-vserver/src, + util-vserver/src/.cvsignore: updated + +2005-03-17 14:58 Enrico Scholz + + * util-vserver/src/vunify.c: use new Unify_unify() API + rearranged some code; I do not try to be C89 compliant in C99 + progams anymore... + +2005-03-17 14:58 Enrico Scholz + + * util-vserver/src/vcopy.c: use new Unify_unify() API + +2005-03-17 14:57 Enrico Scholz + + * util-vserver/src/vhashify-init.hc, util-vserver/src/vhashify.c, + util-vserver/src/vhashify.h: initial checkin + +2005-03-17 14:56 Enrico Scholz + + * util-vserver/src/Makefile-files: use $(LIBINTERNAL) instead of + lib_internal/libinternal.a + added vhashify* + +2005-03-17 14:54 Enrico Scholz + + * util-vserver/lib_internal/testsuite/Makefile-files, + util-vserver/src/testsuite/Makefile-files, + util-vserver/vserver-start/Makefile-files: use $(LIBINTERNAL) + instead of lib_internal/libinternal.a + +2005-03-17 14:53 Enrico Scholz + + * util-vserver/lib_internal/unify.h: * added an 'ignore_zero' + argument to Unify_unify() + * Unify_isIUnlinkable(): added + +2005-03-17 14:52 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c: added an 'ignore_zero' + argument to Unify_unify() + +2005-03-17 14:51 Enrico Scholz + + * util-vserver/ensc_vector/list-add.c, + util-vserver/ensc_vector/list-at.c, + util-vserver/ensc_vector/list-free.c, + util-vserver/ensc_vector/list-init.c, + util-vserver/ensc_vector/list-insertinternal.c, + util-vserver/ensc_vector/list-internal.h, + util-vserver/ensc_vector/list-search.c, + util-vserver/ensc_vector/list-searchselforg.c, + util-vserver/ensc_vector/list.h, + util-vserver/ensc_vector/list.hc, + util-vserver/ensc_vector/testsuite/test2.c, + util-vserver/ensc_vector/vector-searchselforg.c, + util-vserver/lib_internal/unify-isiunlinkable.c: initial checkin + +2005-03-17 14:51 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: * create both + libinternal-diet.a and libinternal-glibc.a. This is + needed to avoid segfaults with gcc4 when linking against glibc + based + libraries like 'beecrypt'. Perhaps, these segfaults are a problem + with gcc4 as they do not happen with gcc33... + + * added unify-isiunlinkable.c + +2005-03-17 14:49 Enrico Scholz + + * util-vserver/ensc_vector/testsuite/test1.c: added tests for + Vector_searchSelfOrg() + +2005-03-17 14:48 Enrico Scholz + + * util-vserver/ensc_vector/testsuite/Makefile-files: added test2 + +2005-03-17 14:47 Enrico Scholz + + * util-vserver/ensc_vector/vector.h, + util-vserver/ensc_vector/vector.hc: Vector_searchSelfOrg*(): + added + +2005-03-17 14:47 Enrico Scholz + + * util-vserver/ensc_vector/Makefile-files: added list-* files + added vector-searchselforg.c + +2005-03-17 14:46 Enrico Scholz + + * util-vserver/ensc_fmt/fmt.h, util-vserver/ensc_fmt/fmtx-32.c: + fixed declaration of the *_x*int() methods; they do not take a + 'base' argument + +2005-03-09 14:53 Enrico Scholz + + * util-vserver/src/vserver-info.c: added XIDTYPE support + +2005-03-09 14:43 Enrico Scholz + + * util-vserver/src/context-sync.hc: use EopenD() instead of Eopen() + +2005-03-09 14:42 Enrico Scholz + + * util-vserver/m4/ensc_initrddir.m4: fixed typo + +2005-03-09 14:39 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_getXIDType(): added + +2005-03-09 14:39 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: added some magic to avoid + warnings with gcc4 + +2005-03-09 14:38 Enrico Scholz + + * util-vserver/lib/Makefile-files, util-vserver/lib/getxidtype.c: + added getxidtype.c + +2005-03-09 14:37 Enrico Scholz + + * util-vserver/distrib/redhat/initpre: create /usr/X11 also + +2005-03-09 14:37 Enrico Scholz + + * util-vserver/distrib/Makefile.am, util-vserver/distrib/fc3/apt, + util-vserver/distrib/fc3/apt/rpmpriorities, + util-vserver/distrib/fc3/apt/sources.list: added apt support for + FC3 + +2005-03-02 01:29 Enrico Scholz + + * util-vserver/lib/syscall_adddlimit-v13.hc, + util-vserver/lib/syscall_adddlimit.c, + util-vserver/lib/syscall_getdlimit-v13.hc, + util-vserver/lib/syscall_getdlimit.c, + util-vserver/lib/syscall_remdlimit-v13.hc, + util-vserver/lib/syscall_remdlimit.c, + util-vserver/lib/syscall_setdlimit-v13.hc, + util-vserver/lib/syscall_setdlimit.c: use CALL_VC_V13B instead of + CALL_VC_V13 + +2005-03-02 01:24 Enrico Scholz + + * util-vserver/scripts/vyum: allow '--all' param + +2005-03-02 01:24 Enrico Scholz + + * util-vserver/lib/testsuite/cflags.c: avoid some compiler warnings + +2005-03-02 01:23 Enrico Scholz + + * util-vserver/lib/vserver.h: added some VC_ATTR_NONNULL() + statements + +2005-03-02 01:23 Enrico Scholz + + * util-vserver/lib/syscall_adddlimit-v13.hc, + util-vserver/lib/syscall_remdlimit-v13.hc, + util-vserver/lib/vserver-internal.h: minor cleanups + +2005-03-02 00:54 Enrico Scholz + + * util-vserver/src/secure-mount.c: do not assume 'nodev' on + 'devpts' + +2005-03-02 00:54 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: + CDLIM_USER2KERNEL/CDLIM_KERNEL2USER(): added + +2005-03-02 00:52 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/syscall_adddlimit-v13.hc, + util-vserver/lib/syscall_adddlimit.c, + util-vserver/lib/syscall_getdlimit-v13.hc, + util-vserver/lib/syscall_getdlimit.c, + util-vserver/lib/syscall_remdlimit-v13.hc, + util-vserver/lib/syscall_remdlimit.c, + util-vserver/lib/syscall_setdlimit-v13.hc, + util-vserver/lib/syscall_setdlimit.c, util-vserver/lib/virtual.h, + util-vserver/lib/vserver.h, util-vserver/src/Makefile-files, + util-vserver/src/vdlimit.c: added *vdlimit functions + tools + (patch provided by Daniel Hokka Zakrisson) + +2005-02-25 23:32 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: added some sanity + checks + +2005-02-25 23:31 Enrico Scholz + + * util-vserver/ensc_wrappers/Makefile-files, + util-vserver/ensc_wrappers/wrappers-string.hc, + util-vserver/ensc_wrappers/wrappers.h: added wrapper around + string functions + +2005-02-25 23:30 Enrico Scholz + + * util-vserver/src/secure-mount.c: /me should learn to differ + between script-languages and C... strings in C are still marked + by >"< but not by >'<... + fixed allocation of the newly generated option string + +2005-02-25 21:51 Enrico Scholz + + * util-vserver/scripts/vapt-get-worker, + util-vserver/scripts/vyum-worker: deprecate usage of $_YUM and + $_APT_GET + +2005-02-25 21:37 Enrico Scholz + + * util-vserver/distrib/redhat/initpost, + util-vserver/scripts/functions, + util-vserver/scripts/legacy/distrib-info, + util-vserver/scripts/legacy/rootshell, + util-vserver/scripts/legacy/vserver, + util-vserver/scripts/pkgmgmt, + util-vserver/scripts/start-vservers, + util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/scripts/vprocunhide, util-vserver/scripts/vpstree, + util-vserver/scripts/vserver, util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.debootstrap, + util-vserver/scripts/vserver-build.functions, + util-vserver/scripts/vserver-build.functions.apt, + util-vserver/scripts/vserver-build.functions.pkgmgmt, + util-vserver/scripts/vserver-build.functions.rpm, + util-vserver/scripts/vserver-build.functions.yum, + util-vserver/scripts/vserver-build.rpm, + util-vserver/scripts/vserver-build.yum, + util-vserver/scripts/vserver-copy, + util-vserver/scripts/vserver-setup.functions, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, + util-vserver/scripts/vservers.grabinfo.sh, + util-vserver/scripts/vshelper, util-vserver/scripts/vsysvwrapper, + util-vserver/scripts/vtop, util-vserver/sysv/rebootmgr, + util-vserver/sysv/vservers-legacy: LEGACY BREAKAGE FOR 3RD PARTY + PATCHES: introduced a more common naming + scheme: global, immutable variables names are now named like + '$__ABC' + instead of '$ABC'. This happens at much places and will break a + lot of + patches therefore. + +2005-02-25 21:33 Enrico Scholz + + * util-vserver/configure.ac: changed my GPG key + +2005-02-25 21:33 Enrico Scholz + + * util-vserver/src/secure-mount.c: assume 'nodev' by default + +2005-02-25 20:55 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.yum, + util-vserver/scripts/vyum-worker: added preliminary support for + the patch from + https://bugzilla.redhat.com/beta/attachment.cgi?id=111435&action=view + +2005-02-25 20:52 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.pkgmgmt: avoid + ambiguous usage of $PKGDIR, use $PKGINSTALLDIR instead of + use $SETUP_CONFDIR instead of $confdir + +2005-02-25 20:51 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.yum: avoid ambiguous usage of + $PKGDIR, use $PKGINSTALLDIR instead of + +2005-02-20 23:21 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.rpm: + rpm.initFilesystem(): fixed variable-names; this caused e.g. an + unset %_dbpath macro formerly + +2005-02-15 23:13 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.204 + +2005-02-15 22:24 Enrico Scholz + + * util-vserver/configure.ac: added information where the 'ip' and + 'vconfig' programs can be found + +2005-02-15 22:18 Enrico Scholz + + * util-vserver/scripts/vshelper: adjusted the order of cli options + evaluation; automake-1.9.5 redirects + input from /dev/null so the 'tty -s' check gets triggered and + 'make + distcheck' fails in the '... --version/--help' tests + +2005-02-15 18:04 Enrico Scholz + + * util-vserver/src/save_ctxinfo.c: fixed name of the run.rev + symlink; there was a '/' missing which + caused a pollution of the /etc/vservers/.defaults directory with + 'run.revXXX' entries. (reported and analyzed by Olivier Poitrey). + +2005-02-07 18:02 Enrico Scholz + + * util-vserver/scripts/functions, + util-vserver/scripts/vserver-build.functions.pkgmgmt, + util-vserver/src/vunify.c: fixed typos + +2005-02-07 18:01 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented the *namespace + options + +2005-02-04 12:18 Enrico Scholz + + * util-vserver/scripts/vserver.functions: SECURITY: fixed detection + of the mtab-location (Georg Glas) + https://savannah.nongnu.org/bugs/?func=detailitem&item_id=11844 + +2005-02-04 02:55 Enrico Scholz + + * util-vserver/scripts/vserver.functions: fixed one of the + previously added 'test -n' + +2005-02-02 14:09 Enrico Scholz + + * util-vserver/m4/ensc_pathprog.m4: ENSC_PATHPROG_INIT(): fixed doc + ENSC_PATHPROG(): added a '' parameter + +2005-02-02 13:42 Enrico Scholz + + * util-vserver/doc/compatibility-xhtml.xsl, + util-vserver/doc/compatibility.css: applied + http://vserver.lauft.net/wegen/util-vserver/patches/merge/util-vserver--merge--0.0--patch-2.patch + +2005-02-01 17:28 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.203 + +2005-02-01 17:23 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added vyum-worker to + AM_INSTALLCHECK_STD_OPTIONS_EXEMPT + +2005-02-01 17:23 Enrico Scholz + + * util-vserver/scripts/vyum-worker: minor cosmetical change + +2005-02-01 17:22 Enrico Scholz + + * util-vserver/scripts/functions, util-vserver/scripts/pkgmgmt: + fixed 'local VAR=$(ACTION) || ERROR' constructs; the 'local + VAR=$(ACTION)' + succeeds everytime so ERROR will be never executed. So, it is + rewritten to + 'local VAR; VAR=$(ACTION) || ERROR'. + +2005-02-01 17:02 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.202 + +2005-02-01 16:57 Enrico Scholz + + * util-vserver/distrib/fc3/rpmlist.d, + util-vserver/distrib/fc3/rpmlist.d/00.lst: initial checkin + +2005-02-01 16:56 Enrico Scholz + + * util-vserver/scripts/vserver-build.rpm: moved installPackages + into vserver-build.functions.rpm + added support for preconfigured package-lists + +2005-02-01 16:55 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.rpm: rpmlist.*(): + added + +2005-02-01 16:55 Enrico Scholz + + * util-vserver/scripts/vserver-build: documented the '--empty' + switch for the '-m rpm' method + allow an increasing debug-level + +2005-02-01 16:54 Enrico Scholz + + * util-vserver/scripts/functions: vshelper.isDebug(): fixed it... + +2005-02-01 16:53 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added the fc3 rpmlist.d + directory + content + +2005-02-01 16:53 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added + vserver-build.rpm + +2005-02-01 02:08 Enrico Scholz + + * util-vserver/lib_internal/matchlist-initbyvserver.c, + util-vserver/lib_internal/matchlist-initmanually.c, + util-vserver/lib_internal/matchlist-initrefserverlist.c, + util-vserver/src/vcopy-init.hc, util-vserver/src/vunify-init.hc: + changed matchlist-API to pass additional information about a + vserver. This allows to turn off pkgmgmt-queries for not-yet + existent vservers in 'vcopy' + +2005-02-01 02:06 Enrico Scholz + + * util-vserver/lib_internal/matchlist.h: struct MatchVserverInfo: + added; it allows to pass additional information about the vserver + +2005-02-01 02:06 Enrico Scholz + + * util-vserver/lib_internal/unify-copy.c: copyReg(): open out_fd + with O_RDWR, fixed resource leak in error-case + +2005-02-01 00:55 Enrico Scholz + + * util-vserver/lib/createskeleton-full.hc: argl... fixed overflow + when appending the '/' + +2005-01-31 23:06 Enrico Scholz + + * util-vserver/doc/configuration.xml, + util-vserver/scripts/functions, util-vserver/scripts/vshelper: + added 'debug' option for vshelper + +2005-01-31 23:04 Enrico Scholz + + * util-vserver/scripts/vshelper: added delegation support (Herbert + Poetzl) + http://vserver.13thfloor.at/Experimental/NGNET/delta-vshelper-delegate.diff + +2005-01-31 22:47 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: getDistribution(): + added support for a default distribution + +2005-01-31 22:45 Enrico Scholz + + * util-vserver/scripts/Makefile-files, + util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-build.rpm: added the '-m rpm' method + +2005-01-31 22:45 Enrico Scholz + + * util-vserver/distrib/Makefile.am, util-vserver/distrib/template, + util-vserver/distrib/template/initpost, + util-vserver/distrib/template/initpre: added the 'template' + distribution + +2005-01-31 17:48 Enrico Scholz + + * util-vserver/src/rpm-fake.c: fixed environment unsetting: it will + be now done shortly before execve(2) + but not on initialization anymore. This solves the problem when + 'rpm' is + a wrapper only calling the real 'rpm?'. Then, LD_PRELOAD et.al. + was unset + and the wrapper not used. + +2005-01-31 17:45 Enrico Scholz + + * util-vserver/scripts/vshelper: fixed the (currently non-existent) + child->parent traversal + +2005-01-31 17:44 Enrico Scholz + + * util-vserver/lib/apidoc/Doxyfile.in: added DOT_TRANSPARENT + + DOT_MULTI_TARGET + +2005-01-31 17:44 Enrico Scholz + + * util-vserver/doc/configuration.xml: updated + +2005-01-31 17:43 Enrico Scholz + + * util-vserver/Makefile.am, + util-vserver/lib/createskeleton-full.hc, + util-vserver/scripts/vserver-build.functions, + util-vserver/scripts/vserver-setup.functions, + util-vserver/src/save_ctxinfo.c, + util-vserver/util-vserver.spec.in: removed 'run.rev' as a + vserver-local variable and made it a system-wide setting + +2005-01-28 01:21 Enrico Scholz + + * util-vserver/doc/configuration.xml: reindented it + fixed vshelper documentation + +2005-01-27 21:24 Enrico Scholz + + * util-vserver/scripts/functions, util-vserver/scripts/pkgmgmt, + util-vserver/scripts/start-vservers, + util-vserver/scripts/vapt-get, util-vserver/scripts/vpkg, + util-vserver/scripts/vprocunhide, util-vserver/scripts/vrpm, + util-vserver/scripts/vrpm-preload, util-vserver/scripts/vserver, + util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-build.debootstrap, + util-vserver/scripts/vserver-build.functions.rpm, + util-vserver/scripts/vserver-setup.functions, + util-vserver/scripts/vserver-wrapper, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, util-vserver/scripts/vshelper, + util-vserver/scripts/vsomething: use 'test -n "..."' instead of + 'test "..."'; when "..." expands to '-v' + or a similar string, the expression will be misinterpreted + (noticed by + Werner Schalk) + +2005-01-27 20:53 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.201 + +2005-01-27 20:38 Enrico Scholz + + * util-vserver/src/reducecap.c, util-vserver/src/vserver-info.c: + reworked the capability.h stuff + +2005-01-27 20:38 Enrico Scholz + + * util-vserver/src/Makefile-files, + util-vserver/src/capability-compat.h: added capability-compat.h + +2005-01-27 20:37 Enrico Scholz + + * util-vserver/configure.ac: added check for + header + +2005-01-27 20:37 Enrico Scholz + + * util-vserver/Makefile.am: removed the linuxcaps.h bits + +2005-01-27 19:17 Enrico Scholz + + * util-vserver/src/vserver-info.c: implemented capability-support + check + +2005-01-27 19:16 Enrico Scholz + + * util-vserver/src/rpm-fake.c: fixed execution order of chroot(2) + and context-creation; this caused + errors on kernel 2.6 when the vserver is not running yet + +2005-01-27 19:15 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore, + util-vserver/src/Makefile-files: added check-unixfile + +2005-01-27 19:15 Enrico Scholz + + * util-vserver/scripts/vserver.start: execute sanityCheck() + +2005-01-27 19:15 Enrico Scholz + + * util-vserver/scripts/vserver.functions: moved sanity checks which + were spread in various functions into the sanityCheck() method + implemented checks for non-newline terminated files and missing + capability support + +2005-01-27 19:13 Enrico Scholz + + * util-vserver/distrib/fc3, util-vserver/distrib/fc3/pkgs, + util-vserver/distrib/fc3/pkgs/01, + util-vserver/distrib/fc3/pkgs/02, + util-vserver/distrib/fc3/pkgs/03, util-vserver/distrib/fc3/yum, + util-vserver/distrib/fc3/yum.repos.d, + util-vserver/distrib/fc3/yum.repos.d/fedora-devel.repo, + util-vserver/distrib/fc3/yum.repos.d/fedora-updates-testing.repo, + util-vserver/distrib/fc3/yum.repos.d/fedora-updates.repo, + util-vserver/distrib/fc3/yum.repos.d/fedora.repo, + util-vserver/distrib/fc3/yum/yum.conf, + util-vserver/scripts/vserver-build.functions.yum, + util-vserver/scripts/vserver-build.yum, + util-vserver/scripts/vsomething, util-vserver/scripts/vyum, + util-vserver/scripts/vyum-worker, + util-vserver/src/check-unixfile.c: initial checkin + +2005-01-27 19:11 Enrico Scholz + + * util-vserver/scripts/vserver-build: added 'yum' support + +2005-01-27 19:11 Enrico Scholz + + * util-vserver/scripts/vrpm-preload: reorganized; moved lots of + code into the 'functions' file + +2005-01-27 19:10 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added yum* + files + vsomething + check-unixfile + +2005-01-27 19:10 Enrico Scholz + + * util-vserver/scripts/functions: added yum* support + reorganized the rpmFake stuff + +2005-01-27 19:09 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added the yum* files + + vsomething + +2005-01-27 19:09 Enrico Scholz + + * util-vserver/distrib/redhat/initpre: added missing newline + +2005-01-27 19:08 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added the yum* stuff for fc3 + +2005-01-27 19:07 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added the yum* files + + check-unixfile + +2005-01-27 19:07 Enrico Scholz + + * util-vserver/README: mentioned the '-m yum' buildmethod + +2005-01-26 23:29 Enrico Scholz + + * util-vserver/lib/getvservercfgstyle.c: allow dangling symlinks as + /etc/vservers/.../vdir also + +2005-01-26 23:27 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.199 + +2005-01-26 21:15 Enrico Scholz + + * util-vserver/util-vserver.spec.in: do not ship the /vservers + directory itself; as it is immutable, the + extraction will fail else + +2005-01-26 20:44 Enrico Scholz + + * util-vserver/lib_internal/testsuite, + util-vserver/lib_internal/testsuite/.cvsignore: updated + +2005-01-26 20:09 Enrico Scholz + + * util-vserver/util-vserver.spec.in: rearranged some scriptlets to + avoid comments after '-p /sbin/ldconfig' + +2005-01-26 15:35 Enrico Scholz + + * util-vserver/scripts/vserver.start: added (untested) support for + '/' in the vserver fstab + +2005-01-26 15:34 Enrico Scholz + + * util-vserver/scripts/vserver.functions: use unique prefixes for + variables used in functions with 'eval' statements + mountRootFS(): added + +2005-01-26 15:34 Enrico Scholz + + * util-vserver/scripts/functions: use unique prefixes for variables + used in functions with 'eval' statements + +2005-01-26 15:32 Enrico Scholz + + * util-vserver/lib_internal/testsuite/filecfg-ml.c: include + + + +2005-01-26 15:31 Enrico Scholz + + * util-vserver/scripts/Makefile-files: moved rootshell to legacy + +2005-01-26 15:30 Enrico Scholz + + * util-vserver/vserver-start/defaulttty.c: include + +2005-01-26 15:29 Enrico Scholz + + * util-vserver/src/secure-mount.c: added '--rootfs' option + +2005-01-26 15:28 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: moved the v_* + initscripts to legacy + +2005-01-26 14:23 Enrico Scholz + + * util-vserver/util-vserver.spec.in: updated BuildRequires: + use 'setattr --barrier' instead of 'chattr +t' in the %post + scriptlet + moved the v_* initscripts to legacy + +2005-01-25 16:01 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, + util-vserver/scripts/legacy/rootshell, + util-vserver/scripts/rootshell: moved rootshell script to legacy + +2005-01-21 13:51 Enrico Scholz + + * util-vserver/scripts/legacy/vserver: fixed + http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11570: + + "vserver myvserver start" gives exit code 1 if there is no file + /etc/vservers/myvserver.sh, since the last statement in vserver + ("test -x /etc/vservers/$1.sh && ...") evaluates to 1 in this + case. + + [Daniel Hermann] + +2005-01-21 13:44 Enrico Scholz + + * util-vserver/scripts/vserver: be more verbosely when vserver + could not be determined and give hints + about possible solutions (based upon ideas by Thorsten Gunkel) + +2005-01-21 13:42 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: + interface-configuration: give out a warning when no device was + configured + +2005-01-21 13:41 Enrico Scholz + + * util-vserver/scripts/vserver.functions: * + interface-configuration: accept 'nodev' without a configured + 'dev'; + formerly the interface was silently ignored when 'dev' was + missing + * added some sanity checks for the behaviour described above + +2005-01-21 13:38 Enrico Scholz + + * util-vserver/src/rpm-fake.c: added rpm_execcon() wrapper to make + it work in SELinux environments + call execve(2) directly instead of execv(3) + +2005-01-07 17:40 Enrico Scholz + + * util-vserver/README: fixed typos + cleanups + enhancements + +2005-01-07 16:44 Enrico Scholz + + * util-vserver/README: "Notes for distributors" + "Which version + shall I use?" added + +2005-01-07 16:41 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: Fixed last patch: use '[[' + instead of '[' (found by Hans Ulrich Niedermann) + +2005-01-06 23:59 Enrico Scholz + + * util-vserver/configure.ac: call ENSC_DIETLIBC_SANITYCHECK, + AC_CANONICAL_HOST + AC_CANONICAL_BUILD + +2005-01-06 23:53 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: ENSC_DIETLIBC_SANITYCHECK(): + added + made ENSC_VERSION_DIETLIBC uppercase + ignore extra specifiers in dietlibc's minor version (reported by + Hans Ulrich Niedermann) + +2005-01-06 23:26 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: fix typo in + $_MKTEMPDIR: Use $_MKTEMP not $MKTEMP (fixed by Hans Ulrich + Niedermann) + +2004-12-28 19:07 Enrico Scholz + + * util-vserver/scripts/vserver.functions: use $_ (which + expands to absolute paths) instead of trusting into a good $PATH + a small VLAN fix (do not quote the splitted dev) + minor cleanups + +2004-12-28 19:07 Enrico Scholz + + * util-vserver/scripts/functions, util-vserver/scripts/pkgmgmt, + util-vserver/scripts/start-vservers, + util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/scripts/vpkg, util-vserver/scripts/vrpm-preload, + util-vserver/scripts/vserver-build.debootstrap, + util-vserver/scripts/vserver-build.functions.apt, + util-vserver/scripts/vserver-wrapper, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop: use $_ (which expands to + absolute paths) instead of trusting into a good $PATH + +2004-12-28 19:04 Enrico Scholz + + * util-vserver/configure.ac: use ENSC_PATHPROG & friends + +2004-12-28 19:03 Enrico Scholz + + * util-vserver/m4/ensc_pathprog.m4: initial checkin + +2004-12-28 19:02 Enrico Scholz + + * util-vserver/Makefile.am: use ${ENSC_PATHPROG_SED} when + substituting prognames + +2004-12-28 12:00 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc_compat.m4: check more syscall + variants + +2004-12-28 12:00 Enrico Scholz + + * util-vserver/lib/vserver.h: s!\params!\param! + added doc about vc_get_iattr() + +2004-12-28 11:58 Enrico Scholz + + * util-vserver/doc/cfg.txt: removed since obsoleted by + configuration.xml + +2004-12-21 07:19 Enrico Scholz + + * util-vserver/src/vsched.c: fixed segfault when no arguments are + given (reported by Adrian Reyer) + +2004-12-16 00:11 Enrico Scholz + + * util-vserver/src/keep-ctx-alive.c: renamed the 'fd_set' variable + to 'fdset'. former name causes problems + with certain FD_* implementations (reported by Adrian Reyer) + +2004-12-09 13:07 Enrico Scholz + + * util-vserver/build-all: added fc-3 host + +2004-12-09 13:06 Enrico Scholz + + * util-vserver/lib/Makefile-files: getfilecontext.c: added + +2004-12-09 13:05 Enrico Scholz + + * util-vserver/lib/getfilecontext.c, util-vserver/lib/vserver.h: + vc_getfilecontext(): as noticed by daniel_hozac in IRC, this + function + was horribly broken. Fixed and moved it into an own file as it is + too + complex for an inline function. Documentation was added also. + +2004-12-07 11:15 Enrico Scholz + + * util-vserver/vserver-start/main.c: include + +2004-12-07 11:14 Enrico Scholz + + * util-vserver/scripts/vserver.functions: read enter-shell from the + defaults-directory also + use prio-bias instead of cpu-mask + +2004-12-07 11:13 Enrico Scholz + + * util-vserver/lib_internal/filecfg-iteratemultiline.c: include + + +2004-12-07 11:13 Enrico Scholz + + * util-vserver/lib/testsuite/cflags.c: added some new flags + +2004-12-07 11:10 Enrico Scholz + + * util-vserver/doc/configuration.xml: do not mention the /hostname + + /domainname params anymore + removed vsched/cpu-mask + added vsched/priority-bias + +2004-10-21 19:02 Enrico Scholz + + * util-vserver/lib/vserver.h: added/updated flags and capabilities + +2004-10-21 19:01 Enrico Scholz + + * util-vserver/lib/islink.c: initial checkin + +2004-10-21 19:01 Enrico Scholz + + * util-vserver/lib/internal.h: utilvserver_isLink(): added + prototype + +2004-10-21 19:00 Enrico Scholz + + * util-vserver/lib/cflags-v13.c: added lots of new flags + +2004-10-21 18:59 Enrico Scholz + + * util-vserver/lib/ccaps-v13.c: added 'remount' + 'icmp' cap; + 'ping' is kept for compatibility reasons + +2004-10-21 18:58 Enrico Scholz + + * util-vserver/lib/Makefile-files: added islink.c + +2004-10-19 23:59 Enrico Scholz + + * util-vserver/scripts/functions: getFileValue(): modified to + accept a list of candidates + +2004-10-19 23:39 Enrico Scholz + + * util-vserver/src/vcontext.c: merged from + UV_NAMESPACE_AFTER_CHROOT branch + +2004-10-19 23:19 Enrico Scholz + + * util-vserver/Makefile.am: added 'update-doc' target + +2004-10-19 23:11 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: + Evc_{new,enter}_namespace(): added + +2004-10-19 21:47 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.196 + +2004-10-19 21:47 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/cvirt.h: + updated to vs1.9.3-rc4 + +2004-10-19 21:11 Enrico Scholz + + * util-vserver/vserver-start/configuration-init.c, + util-vserver/vserver-start/configuration.c, + util-vserver/vserver-start/configuration.h, + util-vserver/vserver-start/interface.c, + util-vserver/vserver-start/interface.h, + util-vserver/vserver-start/main.c, + util-vserver/vserver-start/scriptlets.c, + util-vserver/vserver-start/vserver-start.h: added lots of new + code + +2004-10-19 21:10 Enrico Scholz + + * util-vserver/lib_internal/filecfg-iteratemultiline.c, + util-vserver/lib_internal/testsuite/filecfg-ml.c, + util-vserver/vserver-start/defaulttty.c: initial checkin + +2004-10-19 21:09 Enrico Scholz + + * util-vserver/vserver-start/Makefile-files: added defaulttty.c + +2004-10-19 21:08 Enrico Scholz + + * util-vserver/src/reducecap.c: use some dirty hacks to include + cleanly + +2004-10-19 21:08 Enrico Scholz + + * util-vserver/scripts/vserver.stop: execute 'prepareStop()' + +2004-10-19 21:07 Enrico Scholz + + * util-vserver/scripts/vserver.functions: made + runlevel_{start,stop} global variables + prepareStop(): added + set PREVLEVEL on 'vserver ... stop' (required by Debian) + +2004-10-19 21:06 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: s!prefix!prefixlen! + +2004-10-19 21:06 Enrico Scholz + + * util-vserver/lib_internal/testsuite/Makefile-files: added + filecfg-ml test + +2004-10-19 21:06 Enrico Scholz + + * util-vserver/lib_internal/string.hc: String_c_str(): added + +2004-10-19 21:05 Enrico Scholz + + * util-vserver/lib_internal/string.h: ENSC_STRING_*FIXED(): added + +2004-10-19 21:05 Enrico Scholz + + * util-vserver/lib_internal/filecfg.h: + FileCfg_iterateOverMultiLine(): added prototypes and related + declarations + +2004-10-19 21:04 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added + filecfg-iteratemultiline.c + +2004-10-19 21:04 Enrico Scholz + + * util-vserver/lib/syscall_setsched-v13.hc: vc_set_sched_v13obs(): + use VCMD_set_sched_v2 instead of VCMD_set_sched + +2004-10-19 21:03 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-unistd.hc: Enice(): added + +2004-10-19 21:03 Enrico Scholz + + * util-vserver/doc/configuration.xml: s!prefix!prefix-length! + +2004-10-19 21:03 Enrico Scholz + + * util-vserver/Makefile.am: added new kernel headers + changed substition of linuxcaps.h; oldish 'sed' versions do not + understand '\<' regexs + +2004-10-18 16:11 Enrico Scholz + + * util-vserver/src/vcontext.c: do not include "linuxcaps.h" anymore + +2004-10-18 16:08 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/cvirt.h, + util-vserver/kernel/inode.h, util-vserver/kernel/legacy.h, + util-vserver/kernel/limit.h, util-vserver/kernel/namespace.h, + util-vserver/kernel/network.h, util-vserver/kernel/sched.h, + util-vserver/kernel/signal.h, util-vserver/kernel/switch.h, + util-vserver/kernel/xid.h: updated + +2004-10-18 16:07 Enrico Scholz + + * util-vserver/doc/Makefile-files: removed stylesheets and images + from the main-package; they are now in the web-CVS + +2004-10-18 16:07 Enrico Scholz + + * util-vserver/doc/configuration-flower.css, + util-vserver/doc/configuration-lsd.css, + util-vserver/doc/configuration-lsd1.css, + util-vserver/doc/flowers.png, util-vserver/doc/flowers1.png, + util-vserver/doc/flowers2.png: moved into web-CVS + +2004-10-18 15:46 Enrico Scholz + + * util-vserver/kernel/debug.h, util-vserver/kernel/dlimit.h: + updated + +2004-10-06 03:20 Enrico Scholz + + * util-vserver/README: updated note about 'vserver-stat' and differ + between 2.4 and 2.6 + kernel + +2004-10-06 03:19 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c: retain 'errno' on the + final unlink() + +2004-10-06 03:19 Enrico Scholz + + * util-vserver/src/Makefile-files: link secure-mount against + libvserver + +2004-10-06 03:18 Enrico Scholz + + * util-vserver/src/secure-mount.c: added better diagnostic when + fstab-parsing fails + use strsep() instead of strtok_r() in the parser to make the + line-number counter work + +2004-10-01 12:16 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.195 + +2004-10-01 12:08 Enrico Scholz + + * util-vserver/scripts/functions: _getProcNumberCount(): + s!$_ctx!$1! + +2004-10-01 11:50 Enrico Scholz + + * util-vserver/configure.ac, util-vserver/m4/ensc_dietlibc.m4: give + out information about version of the found dietlibc + +2004-10-01 11:04 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: fixed version-detection when + additional information are following the + number + +2004-10-01 11:00 Enrico Scholz + + * util-vserver/scripts/functions: use more efficient ways to detect + number of processes in a context + (access /proc/virtual/... information instead of executing vps) + +2004-10-01 10:58 Enrico Scholz + + * util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-build.debootstrap: allowed to + specify additional debootstrap options + +2004-10-01 10:57 Enrico Scholz + + * util-vserver/src/vps.c, util-vserver/src/vserver-stat.c: added + warnings regarding procfs-security + +2004-09-24 15:10 Enrico Scholz + + * util-vserver/src/rpm-fake.c: removed a __THROW which is not + needed and causes errors with newer gcc + +2004-09-24 15:08 Enrico Scholz + + * util-vserver/lib/syscall_setvhiname-v13.hc: use a better method + to copy labels; formerly, bad parameters could + cause undefined behaviour + +2004-09-24 15:06 Enrico Scholz + + * util-vserver/doc/Makefile-files: fixed typo + +2004-09-23 23:13 Enrico Scholz + + * util-vserver/doc/configuration.xml: added some comments for + interfaces/../{name,nodev} + +2004-09-23 23:12 Enrico Scholz + + * util-vserver/doc/configuration-flower.css, + util-vserver/doc/configuration-lsd.css, + util-vserver/doc/configuration-lsd1.css, + util-vserver/doc/configuration-xhtml.xsl, + util-vserver/doc/configuration.css: made it validate as xhtml + +2004-09-23 22:05 Enrico Scholz + + * util-vserver/build-all: fixed CLEAN=1 usecase + use gcc4 instead of gcc35 + +2004-09-23 22:04 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: added better + diagnostic for failed debootstrap download + +2004-09-23 22:03 Enrico Scholz + + * util-vserver/doc/configuration.css: added *.elements templates + +2004-09-23 22:02 Enrico Scholz + + * util-vserver/doc/configuration.xml: updated rlimits description + (reported by Nikola Donev) + added warning about explicit 'fakeinit' usage + +2004-09-23 22:02 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl: added new stylesheets + implemented ... support + +2004-09-23 22:01 Enrico Scholz + + * util-vserver/doc/Makefile-files: added new stylesheets and images + +2004-09-23 22:01 Enrico Scholz + + * util-vserver/doc/configuration-flower.css, + util-vserver/doc/configuration-lsd1.css, + util-vserver/doc/flowers.png, util-vserver/doc/flowers1.png, + util-vserver/doc/flowers2.png: initial checkin + +2004-09-23 22:00 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated + +2004-09-22 20:56 Enrico Scholz + + * util-vserver/util-vserver.spec.in: s!commented!documented! + +2004-09-22 20:55 Enrico Scholz + + * util-vserver/util-vserver.spec.in: commented the possible options + for 'rpmbuild' + +2004-09-22 20:54 Enrico Scholz + + * util-vserver/src/vsched.c: use new vc_set_sched structure + generalized CLI options a little bit + +2004-09-22 20:53 Enrico Scholz + + * util-vserver/src/vattribute.c: set the "secure" flags on + '--secure' manually. This is a crude hack + and must be solved better. + +2004-09-22 20:51 Enrico Scholz + + * util-vserver/lib/vserver.h: struct vc_set_sched: updated + added + some flags + vc_get_insecureflags(): removed again; it is now handled by the + utilities + +2004-09-22 20:49 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: ENSC_STRUCT_IDX, + ENSC_SAME_STRUCT_IDX: added + +2004-09-22 20:45 Enrico Scholz + + * util-vserver/lib/syscall_setsched.c: added support for the new + 'struct vcmd_set_sched_v3' + +2004-09-22 20:45 Enrico Scholz + + * util-vserver/lib/syscall_setsched-v13.hc: updated to new 'struct + vcmd_set_sched_v3' + added some optimizations + +2004-09-22 20:42 Enrico Scholz + + * util-vserver/kernel/sched.h: added 'struct vcmd_set_sched_v3' + plus macros + +2004-09-10 11:23 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: CALL_VC_V13B(), + CALL_VC_V13OBS(): added + +2004-09-10 00:01 Enrico Scholz + + * util-vserver/src/vlimit.c: fixed missing argument for '--xid' + switch + +2004-09-07 20:37 Enrico Scholz + + * util-vserver/src/vattribute.c: use vc_get_insecureflags() on + '--secure' option + +2004-09-07 20:37 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_get_insecureflags(): added (does + this really make sense??) + +2004-09-07 20:36 Enrico Scholz + + * util-vserver/scripts/chcontext: fixed concatenation of flags + + caps + +2004-09-07 20:27 Enrico Scholz + + * util-vserver/configure.ac: added an explicit requirement for + version 1.9 of automake + +2004-08-27 21:07 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.193 + +2004-08-27 21:06 Enrico Scholz + + * util-vserver/scripts/vserver, util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop: follow LSB behavior when + starting/stopping a vserver (no error, when already + running/stopped) + adjusted some exit-codes + +2004-08-27 14:14 Enrico Scholz + + * util-vserver/src/secure-mount.c: showHelp(): improved message + +2004-08-27 08:58 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated again... + +2004-08-27 08:58 Enrico Scholz + + * util-vserver/src/save_ctxinfo.c: append '\0' to the buffer read + by readlink() + +2004-08-27 08:57 Enrico Scholz + + * util-vserver/src/keep-ctx-alive.c: include + +2004-08-27 08:57 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-unistd.hc: Ereadlink*(): + return the count of written chars + +2004-08-25 00:11 Enrico Scholz + + * util-vserver/scripts/functions, util-vserver/scripts/pkgmgmt, + util-vserver/scripts/vserver.functions, + util-vserver/vserver-start/mount.c: use the new 'secure-mount' + CLI + +2004-08-25 00:08 Enrico Scholz + + * util-vserver/src/secure-mount.c: reworked it; '--chroot' does not + accept an argument now, and '--secure' + is deprecated. Lots of code was modernized + +2004-08-19 16:06 Enrico Scholz + + * util-vserver/vserver-start/configuration-init.c, + util-vserver/vserver-start/configuration.c, + util-vserver/vserver-start/configuration.h, + util-vserver/vserver-start/interface-add.c, + util-vserver/vserver-start/interface-read.c, + util-vserver/vserver-start/interface.c, + util-vserver/vserver-start/interface.h, + util-vserver/vserver-start/main.c, + util-vserver/vserver-start/scriptlets.c, + util-vserver/vserver-start/vshelper.c: added lots of new code + +2004-08-19 15:02 Enrico Scholz + + * util-vserver/vserver-start/interface-print.c, + util-vserver/vserver-start/interface-remove.c, + util-vserver/vserver-start/mount.c, + util-vserver/vserver-start/mount.h, + util-vserver/vserver-start/undo.c, + util-vserver/vserver-start/undo.h: initial checkin + +2004-08-19 14:31 Enrico Scholz + + * util-vserver/src/vnamespace.c: fixed some #includes for the new + position of sys_clone.h + +2004-08-19 14:30 Enrico Scholz + + * util-vserver/src/vkill.c: define ENSC_WRAPPERS_UNISTD; it is used + for some legacy code + +2004-08-19 14:30 Enrico Scholz + + * util-vserver/src/rpm-fake.c: fixed some #includes to reflect + changed position of sys_clone.h + +2004-08-19 14:29 Enrico Scholz + + * util-vserver/src/fstool.h: checkForRace(), resolveCtx(): removed + prototypes + +2004-08-19 14:29 Enrico Scholz + + * util-vserver/src/fstool.c: checkForRace(): removed as unused + +2004-08-19 14:28 Enrico Scholz + + * util-vserver/src/chxid.c: use vc_xidopt2xid() instead of + resolveCtx() + +2004-08-19 14:28 Enrico Scholz + + * util-vserver/src/sys_clone.h: moved into lib_internal/ + +2004-08-19 14:27 Enrico Scholz + + * util-vserver/src/fstool-resolvectx.c: obsoleted; functionality is + already in libvserver + +2004-08-19 14:10 Enrico Scholz + + * util-vserver/lib_internal/testsuite/command.c: applied API + changes + +2004-08-19 14:09 Enrico Scholz + + * util-vserver/lib_internal/command.h: added support for + plain-style char** args + +2004-08-19 14:09 Enrico Scholz + + * util-vserver/lib_internal/command-appendparameter.c, + util-vserver/lib_internal/command-exec.c, + util-vserver/lib_internal/command-free.c, + util-vserver/lib_internal/command-init.c: handle plain-style + char** args also + +2004-08-19 14:08 Enrico Scholz + + * util-vserver/lib_internal/command-setparams.c, + util-vserver/lib_internal/sys_clone.h: initial checkin + +2004-08-19 14:07 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added + command-setparams.c and sys_clone.h + +2004-08-19 14:07 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: marked + vserver.start.bin as C99-only + +2004-08-19 14:06 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added some new paths + +2004-08-19 14:06 Enrico Scholz + + * util-vserver/Makefile.am: automake-1.9 fixes: + s!VSERVER_LDFLAGS!VSERVER_LDFLGS! + removed some libtool-hacks which are not needed with automake-1.9 + anymore + +2004-08-19 14:04 Enrico Scholz + + * util-vserver/vserver-start/Makefile-files: automake-1.9 fixes: + s!VSERVER_LDFLAGS!VSERVER_LDFLGS! + added lots of new files + +2004-08-19 14:03 Enrico Scholz + + * util-vserver/src/Makefile-files: automake-1.9 fixes: + s!VSERVER_LDFLAGS!VSERVER_LDFLGS! + removed src/sys_clone.h (now in lib_internal/) + removed src/fstool-resolvectx.c + +2004-08-19 14:01 Enrico Scholz + + * util-vserver/lib/testsuite/Makefile-files, + util-vserver/tests/Makefile-files: automake-1.9 fixes: + s!VSERVER_LDFLAGS!VSERVER_LDFLGS! + +2004-08-19 13:58 Enrico Scholz + + * util-vserver/lib/xidopt2xid.c: removed code without an effect + +2004-08-19 13:57 Enrico Scholz + + * util-vserver/lib/syscall-syscall.c: gcc35 fixes: do not make + vc_syscall() an alias for vserver() but execute it. + +2004-08-19 13:56 Enrico Scholz + + * util-vserver/lib/isfile.c: initial checkin + +2004-08-19 13:56 Enrico Scholz + + * util-vserver/lib/internal.h: utilvserver_isFile(): added + prototype + +2004-08-19 13:56 Enrico Scholz + + * util-vserver/lib/getvservercfgstyle.c: fixed detection of + legacy-style (check for file but not directory) + +2004-08-19 13:55 Enrico Scholz + + * util-vserver/lib/Makefile-files: addded 'isfile.c' + +2004-08-19 13:54 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-stdlib.hc: Esetenv(): added + +2004-08-19 13:54 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-socket.hc: Esend(), + Esocketpair(): added + +2004-08-19 13:53 Enrico Scholz + + * util-vserver/ensc_fmt/fmt-internal.h: minor optimizations + +2004-08-19 13:53 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl: add '' tag + +2004-07-08 11:44 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented vdir, run, run.rev + (provided by Olivier Poitrey) + added some links about [bc]capabilities and flags + added more scheduler doc (provided by Olivier Poitrey) + added some comments about 2.4 vs. 2.6 at rlimits/ulimits + added doc about rlimit's 'min' setting + +2004-07-03 02:06 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.30.190 + +2004-07-03 01:57 Enrico Scholz + + * util-vserver/doc/configuration.xml: fixed path of the xsd file + +2004-07-03 01:54 Enrico Scholz + + * util-vserver/build-all: added fc-2 + +2004-07-03 01:38 Enrico Scholz + + * util-vserver/scripts/vserver.functions: prepareInit(): fixed case + when .autofsck does not exist + +2004-07-03 01:35 Enrico Scholz + + * util-vserver/scripts/chcontext: accept --xid and prefer it + against --ctx in the doc + added --silentexist option at --create + +2004-07-03 01:34 Enrico Scholz + + * util-vserver/distrib/suse91/apt/rpmpriorities: initial checkin + +2004-07-03 01:34 Enrico Scholz + + * util-vserver/distrib/redhat/rc.sysinit: call 'true' finally + +2004-07-03 01:34 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: added comment about + possible races + fixed /etc/inittab substitution + +2004-07-03 01:34 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added redhat/rc.sysinit + added suse/apt/rpmpriorities + moved suse/apt/sources.list into the cfgdir + +2004-07-03 01:33 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added + vserver.start.bin + +2004-07-03 01:31 Enrico Scholz + + * util-vserver/vserver-start/Makefile-files: use + AM_INSTALLCHECK_STD_OPTIONS_EXEMPT for now + +2004-07-03 00:28 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added suse91 files + +2004-07-03 00:26 Enrico Scholz + + * util-vserver/distrib/redhat/rc.sysinit, + util-vserver/distrib/suse91, util-vserver/distrib/suse91/apt, + util-vserver/distrib/suse91/apt/sources.list, + util-vserver/distrib/suse91/initpost, + util-vserver/distrib/suse91/pkgs, + util-vserver/distrib/suse91/pkgs/01, + util-vserver/distrib/suse91/pkgs/02, + util-vserver/distrib/suse91/rpm, + util-vserver/distrib/suse91/rpm/macros, + util-vserver/vserver-start, + util-vserver/vserver-start/.cvsignore: initial checkin + +2004-07-03 00:24 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: some enhancements for + 'plain' initstyle + +2004-07-03 00:22 Enrico Scholz + + * util-vserver/lib_internal/testsuite, + util-vserver/lib_internal/testsuite/.cvsignore: added some files + +2004-07-03 00:07 Enrico Scholz + + * util-vserver/vserver-start/configuration-init.c, + util-vserver/vserver-start/configuration.c, + util-vserver/vserver-start/configuration.h, + util-vserver/vserver-start/interface-add.c, + util-vserver/vserver-start/interface-free.hc, + util-vserver/vserver-start/interface-init.hc, + util-vserver/vserver-start/interface-read.c, + util-vserver/vserver-start/interface.c, + util-vserver/vserver-start/interface.h, + util-vserver/vserver-start/main.c, + util-vserver/vserver-start/scriptlets.c, + util-vserver/vserver-start/vserver-start.h, + util-vserver/vserver-start/vshelper.c, + util-vserver/vserver-start/vshelper.h: initial checkin + +2004-07-03 00:07 Enrico Scholz + + * util-vserver/vserver-start/Makefile-files: added lots of files + +2004-07-03 00:05 Enrico Scholz + + * util-vserver/src/vserver-info.c: added CANONIFY tag + +2004-07-03 00:05 Enrico Scholz + + * util-vserver/src/secure-mount.c: rewrite 'ext*' to 'ufs' + +2004-07-02 23:55 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop: use a canonified lockfile-name + +2004-07-02 23:54 Enrico Scholz + + * util-vserver/scripts/vserver.functions: function prepareInit(): + do some cleanups in the plain-mode + +2004-07-02 23:54 Enrico Scholz + + * util-vserver/scripts/functions: vshelper.initSync(): use $1 + instead of $VSERVER_DIR + +2004-07-02 23:49 Enrico Scholz + + * util-vserver/lib_internal/util.h: include util-lockfile.h + canonifyVserverName(): added prototype + +2004-07-02 23:45 Enrico Scholz + + * util-vserver/lib_internal/util-mem.h: optimized it a little bit + +2004-07-02 23:44 Enrico Scholz + + * util-vserver/lib_internal/pathinfo.h: ENSC_PI_DECLARE(): added + +2004-07-02 23:44 Enrico Scholz + + * util-vserver/lib_internal/command-wait.c: fixed stupid typo + +2004-07-02 23:35 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added lots of new files + +2004-07-02 23:34 Enrico Scholz + + * util-vserver/lib_internal/errinfo-writeerrno.c, + util-vserver/lib_internal/errinfo.h, + util-vserver/lib_internal/filecfg-readentryflag.c, + util-vserver/lib_internal/filecfg-readentrystr.c, + util-vserver/lib_internal/filecfg.h, + util-vserver/lib_internal/util-canonify.c, + util-vserver/lib_internal/util-lockfile.c, + util-vserver/lib_internal/util-lockfile.h: initial checkin + +2004-07-02 23:31 Enrico Scholz + + * util-vserver/lib/vserver.h: small cosmetical cleanups + +2004-07-02 23:27 Enrico Scholz + + * util-vserver/distrib/misc/mtab: s!ext2!ufs! + +2004-07-02 23:27 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added lots of PATH_* and + PROG_* macros needed for vserver-start.bin + +2004-07-02 23:26 Enrico Scholz + + * util-vserver/build-all: removed gcc34 target (now default) + added gcc35 target (not working currently) + +2004-07-01 11:00 Enrico Scholz + + * util-vserver/scripts/vserver.start: (re)enabled nice-support for + 2.6 vservers which was omitted inadvertently + +2004-07-01 10:33 Enrico Scholz + + * util-vserver/src/vlimit.c: fixed misinterpretation of '--xid' + introduced by rev 1.17 + +2004-06-29 16:22 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm: fixed installation at + non-standard places + +2004-06-29 16:22 Enrico Scholz + + * util-vserver/scripts/vserver-build: fixed doc ('pkgcfgbase' vs. + 'pkgbase') + +2004-06-27 14:40 Enrico Scholz + + * util-vserver/build-all, + util-vserver/lib_internal/command-appendparameter.c, + util-vserver/lib_internal/command-exec.c, + util-vserver/lib_internal/command-free.c, + util-vserver/lib_internal/command-init.c, + util-vserver/lib_internal/command-reset.c, + util-vserver/lib_internal/command-wait.c, + util-vserver/lib_internal/command.h, + util-vserver/lib_internal/testsuite, + util-vserver/lib_internal/testsuite/.cvsignore, + util-vserver/lib_internal/testsuite/Makefile-files, + util-vserver/lib_internal/testsuite/command.c: initial checkin + +2004-06-27 14:38 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added command* files + and testsuite/ + +2004-06-27 13:57 Enrico Scholz + + * util-vserver/src/vserver-stat.c: enhanced output for old-style + vservers + +2004-06-27 13:13 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated... + +2004-06-27 13:08 Enrico Scholz + + * util-vserver/src/vserver-info.c: assume '- SYSINFO' when no other + options are given + +2004-06-27 13:06 Enrico Scholz + + * util-vserver/src/vcopy.c: made it work... + +2004-06-27 13:06 Enrico Scholz + + * util-vserver/scripts/vserver-build.skeleton: do not fail when + '-d' is not specified and distribution can not be detected + +2004-06-27 13:05 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: getDistribution(): + added detection for slackware and gentoo + +2004-06-27 13:04 Enrico Scholz + + * util-vserver/scripts/vprocunhide: fixed typos + +2004-06-27 13:04 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c: Unify_unify(): made it + work also when destination file does not exist (needed for vcopy) + +2004-06-27 13:03 Enrico Scholz + + * util-vserver/lib_internal/unify-settime.c: Unify_setTime(): skip + operation on symlinks + +2004-06-27 13:03 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_syscall(): added prototype + added/updated some doc + +2004-06-27 13:02 Enrico Scholz + + * util-vserver/lib/syscall-syscall.c: initial checkin + +2004-06-27 13:02 Enrico Scholz + + * util-vserver/lib/getvserverbyctx-compat.hc, + util-vserver/lib/getvserverctx.c: added legacy support + +2004-06-27 13:01 Enrico Scholz + + * util-vserver/lib/Makefile-files: added syscall-syscall.c + +2004-06-27 13:00 Enrico Scholz + + * util-vserver/ensc_fmt/fmt.h: cleanups; removed unneeded #undef's + +2004-06-27 12:59 Enrico Scholz + + * util-vserver/doc/configuration.xml: added comment about + 'capabilities' file and kernelversion + +2004-06-17 21:32 Enrico Scholz + + * util-vserver/vserver-start, + util-vserver/vserver-start/Makefile-files: initial checkin + +2004-06-17 21:31 Enrico Scholz + + * util-vserver/Makefile.am: added silent.% target + include ensc_fmt/ and vserver-start/ files + minor cosmetical fixes + +2004-06-16 10:10 Enrico Scholz + + * util-vserver/ensc_vector/Makefile-files, + util-vserver/ensc_vector/vector-zeroend.c, + util-vserver/ensc_vector/vector.h: added Vector_zeroEnd() + function + +2004-06-16 10:07 Enrico Scholz + + * util-vserver/lib/Makefile-files: moved fmt* functionality into + the 'ensc_fmt' module + removed '-D_REENTRANT' as it is defined globally + +2004-06-16 10:06 Enrico Scholz + + * util-vserver/ensc_fmt, util-vserver/ensc_fmt/.cvsignore, + util-vserver/ensc_fmt/Makefile-files, + util-vserver/ensc_fmt/fmt-32.c, util-vserver/ensc_fmt/fmt-64.c, + util-vserver/ensc_fmt/fmt-internal.h, + util-vserver/ensc_fmt/fmt-tai64n.c, util-vserver/ensc_fmt/fmt.h, + util-vserver/ensc_fmt/fmt.hc, util-vserver/ensc_fmt/fmtx-32.c, + util-vserver/ensc_fmt/fmtx-64.c, util-vserver/ensc_fmt/fmtx.hc, + util-vserver/lib/fmt-32.c, util-vserver/lib/fmt-64.c, + util-vserver/lib/fmt-internal.h, util-vserver/lib/fmt.h, + util-vserver/lib/fmt.hc, util-vserver/lib/fmtx-32.c, + util-vserver/lib/fmtx-64.c, util-vserver/lib/fmtx.hc: moved fmt* + functionality into the 'ensc_fmt' module + +2004-05-27 00:55 Enrico Scholz + + * util-vserver/scripts/chcontext, util-vserver/src/vcontext.c: + s!fakeinit!initpid! at some places + +2004-05-27 00:54 Enrico Scholz + + * util-vserver/scripts/vserver.functions: use '--fakeinit' by + default; users will have to disable it explicitly + by putting '~fakeinit' into the 'flags' configuration file + +2004-05-27 00:54 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: cleanups + +2004-05-27 00:53 Enrico Scholz + + * util-vserver/README: fixed typos + +2004-05-27 00:51 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated + +2004-05-27 00:50 Enrico Scholz + + * util-vserver/util-vserver.spec.in: (re)added the MANIFEST_* + variables which were lost some time ago; this + will preserve %%config files... + +2004-05-27 00:48 Enrico Scholz + + * util-vserver/Makefile.am: make util-vserver.spec readonly to + prevent losing of changes + +2004-05-27 00:46 Enrico Scholz + + * util-vserver/README: added content + +2004-05-22 00:39 Enrico Scholz + + * util-vserver/sysv/vprocunhide: fixed rc conflict with + /etc/rc.d/functions; reported by taxcollector + in https://savannah.nongnu.org/bugs/?func=detailitem&item_id=9052 + +2004-05-21 15:46 Enrico Scholz + + * util-vserver/configure.ac, util-vserver/m4/gpgsig.am: added + support for the default GPG key + +2004-05-21 15:27 Enrico Scholz + + * util-vserver/scripts/functions, util-vserver/scripts/vapt-get, + util-vserver/scripts/vrpm: added some color to the life + +2004-05-20 00:38 Enrico Scholz + + * util-vserver/scripts/pkgmgmt, util-vserver/scripts/vserver: mount + filesystems on 'vserver ... pkgmgmt ...' operations + +2004-05-18 23:25 Enrico Scholz + + * util-vserver/NEWS: version 0.29.214 + +2004-05-18 23:24 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated URL (again...) + +2004-05-18 23:23 Enrico Scholz + + * util-vserver/distrib/Makefile.am, util-vserver/distrib/fc2, + util-vserver/distrib/fc2/apt, + util-vserver/distrib/fc2/apt/rpmpriorities, + util-vserver/distrib/fc2/apt/sources.list, + util-vserver/distrib/fc2/pkgs, util-vserver/distrib/fc2/pkgs/01, + util-vserver/distrib/fc2/pkgs/02: added fc2 support + +2004-05-18 23:21 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: removed clearenv, + added sigexec + +2004-05-18 23:20 Enrico Scholz + + * util-vserver/util-vserver.spec.in: s!@PACAKGE@!%name! at some + places + +2004-05-18 23:20 Enrico Scholz + + * util-vserver/Makefile.am: substitute ENV + +2004-05-11 18:49 Enrico Scholz + + * util-vserver/configure.ac, + util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/scripts/vserver.start, + util-vserver/src/Makefile-files, util-vserver/src/clearenv.c: use + 'env' instead of 'clearenv'; the '-i' switch is SUSv3 and every + implementation should have it... + +2004-05-11 18:32 Enrico Scholz + + * util-vserver/src/sigexec.c: initial checkin + +2004-05-11 18:31 Enrico Scholz + + * util-vserver/src/context-sync.hc, util-vserver/src/vnamespace.c, + util-vserver/src/vps.c: set SIGCHLD sigmask to an expected value + (SIG_DFL) + use new exitLikeProcess() interface + +2004-05-11 18:30 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/secure-mount.c, + util-vserver/src/vcontext.c, util-vserver/src/vkill.c: set + SIGCHLD sigmask to an expected value (SIG_DFL) + +2004-05-11 18:28 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore, + util-vserver/src/Makefile-files: added sigexec + +2004-05-11 18:28 Enrico Scholz + + * util-vserver/scripts/vshelper: execute vshelper through 'sigexec' + to set expected sigmask + +2004-05-11 18:25 Enrico Scholz + + * util-vserver/lib_internal/util-exitlikeprocess.h: + exitLikeProcess(): readded the 'NORETURN' and added a 'ret' + parameter + +2004-05-11 18:24 Enrico Scholz + + * util-vserver/lib_internal/util-exitlikeprocess.c: + exitLikeProcess(): never return... + +2004-05-11 18:23 Enrico Scholz + + * util-vserver/lib_internal/switchtowatchxid.c: switchToWatchXid(): + modified the new migrate-path to work when there exists a process + in xid 1 already + +2004-05-08 02:05 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.213 + +2004-05-08 01:40 Enrico Scholz + + * util-vserver/src/exec-ulimit.c: added support for 'core' + +2004-05-08 01:38 Enrico Scholz + + * util-vserver/src/vps.c: use new exitLikeProcess() interface + better error-handling + +2004-05-08 01:33 Enrico Scholz + + * util-vserver/src/context-sync.hc, util-vserver/src/vnamespace.c: + use new exitLikeProcess() interface + +2004-05-08 01:33 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop: added locking + call setDefaultTTY() correctly + +2004-05-08 01:31 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm: call 'vapt-get -- + clean' after building the vserver + +2004-05-08 01:30 Enrico Scholz + + * util-vserver/scripts/functions: setDefaultTTY(): redirect every + descriptors + +2004-05-08 01:30 Enrico Scholz + + * util-vserver/lib_internal/util-exitlikeprocess.h: + exitLikeProcess(): removed the 'NORETURN'; this causes strange + error when the function returns + exitLikeProcess(): added a second, 'char *' parameter for the + human readable command + +2004-05-08 01:28 Enrico Scholz + + * util-vserver/lib_internal/util-exitlikeprocess.c: be more verbose + when sending a signal + +2004-05-08 01:28 Enrico Scholz + + * util-vserver/lib/testsuite/cflags.c: some changes to make gcc34 + happy + +2004-05-08 01:27 Enrico Scholz + + * util-vserver/lib/val2text.hc: include + +2004-05-08 01:27 Enrico Scholz + + * util-vserver/lib/getvservername.c: getRecentName(): use + realpath(3) instead of errorprone 'chdir()' calls + +2004-05-08 01:26 Enrico Scholz + + * util-vserver/lib/getvserverbyctx-compat.hc, + util-vserver/lib/getvserverctx.c: optimized buffersizes + +2004-05-08 01:25 Enrico Scholz + + * util-vserver/doc/configuration.xml: fixed apps/vunify/logfile + documentation; it must be configured on a + per-system, but not per-vserver base + +2004-05-08 01:25 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated again + +2004-05-05 19:40 Enrico Scholz + + * util-vserver/src/clearenv.c: fixed case when '--' is used + +2004-05-05 19:39 Enrico Scholz + + * util-vserver/scripts/vshelper: fixed typo + +2004-05-05 19:39 Enrico Scholz + + * util-vserver/scripts/vserver.start: use 'clearenv' in the new + path also + +2004-05-05 19:39 Enrico Scholz + + * util-vserver/scripts/vserver.functions: sendKillSequence(): be + silent and succeed everytime + +2004-05-05 19:38 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: removed legacy code + +2004-05-05 19:37 Enrico Scholz + + * util-vserver/scripts/vrpm-preload, + util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/rpm-fake.c: added code to preserve capabilities + and flags + +2004-05-05 19:37 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c: added some doc + +2004-05-05 19:36 Enrico Scholz + + * util-vserver/lib/syscall_setiattr-fscompat.hc: be more carefully + regarding signed vs. unsigned int... + +2004-05-05 19:36 Enrico Scholz + + * util-vserver/lib/bcaps-v13.c: removePrefix(): fixed another 'len' + issue + include + +2004-04-30 10:24 Enrico Scholz + + * util-vserver/lib/bcaps-v13.c: removePrefix(): fixed case when + len<4 + +2004-04-28 19:18 Enrico Scholz + + * util-vserver/doc/changelog.txt: removed since unused + +2004-04-28 18:12 Enrico Scholz + + * util-vserver/lib/apidoc/Makefile-files: added list2xxx.syntax + +2004-04-28 18:11 Enrico Scholz + + * util-vserver/src/readlink.c: enhanced errormessages + +2004-04-28 18:10 Enrico Scholz + + * util-vserver/src/rpm-fake.c, util-vserver/src/vattribute.c: use + vc_get_insecurebcaps() instead of vc_get_insecurecaps() + set secure ccapabilities + +2004-04-28 18:09 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/reducecap.c: use + vc_get_insecurebcaps() instead of vc_get_insecurecaps() + +2004-04-28 18:08 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added coreassert.h + +2004-04-28 18:08 Enrico Scholz + + * util-vserver/lib/apidoc/list2xxx.syntax, + util-vserver/lib_internal/coreassert.h: initial checkin + +2004-04-28 18:08 Enrico Scholz + + * util-vserver/lib/testsuite/cflags.c: use + + added new testcases + +2004-04-28 18:07 Enrico Scholz + + * util-vserver/lib/testsuite/fmt.c, + util-vserver/lib/testsuite/parselimit.c: use + + +2004-04-28 18:07 Enrico Scholz + + * util-vserver/lib/testsuite/Makefile-files: define ENSC_TESTSUITE + +2004-04-28 18:06 Enrico Scholz + + * util-vserver/lib/apidoc/Doxyfile.in: set EXAMPLE_PATH + +2004-04-28 18:04 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_get_insecureccaps(): added + cleanups + added documentation + +2004-04-28 18:04 Enrico Scholz + + * util-vserver/lib/val2text.hc: use strncasecmp() instead of + strncmp() + +2004-04-28 18:04 Enrico Scholz + + * util-vserver/lib/listparser.hc: improved error-detection for the + '^' prefix + added support for 'none' + allow '0' + +2004-04-28 17:57 Enrico Scholz + + * util-vserver/lib/bcaps-v13.c: added bcapability names + added code to remove a 'CAP_' prefix + +2004-04-28 17:56 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/getinsecurebcaps.c, + util-vserver/lib/getinsecurecaps.c: renamed getinsecurecaps.c to + getinsecurebcaps.c + +2004-04-23 16:47 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac, + util-vserver/doc/configuration-lsd.css: version 0.29.211 + +2004-04-23 16:47 Enrico Scholz + + * util-vserver/util-vserver.spec.in: readjusted Release: + +2004-04-23 14:04 Enrico Scholz + + * util-vserver/util-vserver.spec.in: cleaned up the %file-lists + buildrequire 'xalan-j' (can be disabled with '--without xalan') + removed 'libxslt' buildrequire + +2004-04-23 14:03 Enrico Scholz + + * util-vserver/doc/Makefile-files: remove *.html only, when we can + recreate them + +2004-04-23 11:10 Enrico Scholz + + * util-vserver/lib/Makefile-files: fixed typo + +2004-04-23 11:09 Enrico Scholz + + * util-vserver/doc/Makefile-files: removed FAQ.txt and + configuration.dtd + added configuration.xsd + +2004-04-23 11:09 Enrico Scholz + + * util-vserver/doc/FAQ.txt: obsoleted + +2004-04-22 20:47 Enrico Scholz + + * util-vserver/configure.ac: added 'net' API + disable 'legacy' API by default + +2004-04-22 20:47 Enrico Scholz + + * util-vserver/compat.h: added nid_t + +2004-04-22 20:47 Enrico Scholz + + * util-vserver/src/reducecap.c: fixed warnings when compiled + without legacy-mode + +2004-04-22 20:46 Enrico Scholz + + * util-vserver/lib/Makefile-files, util-vserver/lib/ncaps-net.c, + util-vserver/lib/ncaps_list-net.c, util-vserver/lib/nflags-net.c, + util-vserver/lib/nflags_list-net.c, + util-vserver/lib/syscall_getncaps-net.hc, + util-vserver/lib/syscall_getncaps.c, + util-vserver/lib/syscall_getnflags-net.hc, + util-vserver/lib/syscall_getnflags.c, + util-vserver/lib/syscall_getnxinfo-net.hc, + util-vserver/lib/syscall_getnxinfo.c, + util-vserver/lib/syscall_gettasknid-net.hc, + util-vserver/lib/syscall_gettasknid.c, + util-vserver/lib/syscall_netadd-net.hc, + util-vserver/lib/syscall_netadd.c, + util-vserver/lib/syscall_netcreate-net.hc, + util-vserver/lib/syscall_netcreate.c, + util-vserver/lib/syscall_netmigrate-net.hc, + util-vserver/lib/syscall_netmigrate.c, + util-vserver/lib/syscall_netremove-net.hc, + util-vserver/lib/syscall_netremove.c, + util-vserver/lib/syscall_setncaps-net.hc, + util-vserver/lib/syscall_setncaps.c, + util-vserver/lib/syscall_setnflags-net.hc, + util-vserver/lib/syscall_setnflags.c, + util-vserver/lib/vserver-internal.h, util-vserver/lib/vserver.h: + added network layer functions + +2004-04-22 20:45 Enrico Scholz + + * util-vserver/lib/syscall_ctxcreate-v13.hc: fixed return value + +2004-04-22 19:33 Enrico Scholz + + * util-vserver/doc/configuration.dtd: obsoleted by + configuration.xsd + +2004-04-22 19:28 Enrico Scholz + + * util-vserver/THANKS: added Olivier Poitrey + +2004-04-22 19:27 Enrico Scholz + + * util-vserver/configure.ac: use xalan instead of xsltproc + +2004-04-22 19:24 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl, + util-vserver/doc/configuration.xml, + util-vserver/doc/configuration.xsd: use the new, XSD-based format + which was defined by Olivier Poitrey + +2004-04-22 19:01 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl: made it work with xalan + removed debug message + +2004-04-22 19:00 Enrico Scholz + + * util-vserver/doc/beautify.xsl: obsoleted + +2004-04-22 19:00 Enrico Scholz + + * util-vserver/doc/Makefile-files: use xalan + +2004-04-22 18:10 Enrico Scholz + + * util-vserver/kernel/network.h, util-vserver/kernel/sched.h: + updated to vs1.9.0pre12 + +2004-04-22 15:43 Enrico Scholz + + * util-vserver/lib/cflags-v13.c, + util-vserver/lib/testsuite/cflags.c: use more specific names for + the flags + +2004-04-21 21:17 Enrico Scholz + + * util-vserver/scripts/vserver.start: give correct vserver-name in + the hints ($VSERVER_DIR instead of $VSERVER_NAME) + +2004-04-21 21:16 Enrico Scholz + + * util-vserver/scripts/vserver.functions: moved the 'ip_only' + handling to the right place + +2004-04-21 09:44 Enrico Scholz + + * util-vserver/src/vshelper-sync.c: fixed missing initialization of + a timeout struct + +2004-04-21 09:43 Enrico Scholz + + * util-vserver/src/vserver-stat.c: use uint64_t for the uptime + counter to handle medium+large uptimes + (>49 days) correctly + +2004-04-21 00:24 Enrico Scholz + + * util-vserver/scripts/vserver.functions: made 'nodev' work + +2004-04-20 18:13 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added chain-echo + +2004-04-20 18:07 Enrico Scholz + + * util-vserver/src/Makefile-files: added chain-echo + +2004-04-20 18:07 Enrico Scholz + + * util-vserver/scripts/vshelper: use '--defaulttty' + +2004-04-20 18:07 Enrico Scholz + + * util-vserver/scripts/vserver.stop: use setDefaultTTY() + +2004-04-20 18:02 Enrico Scholz + + * util-vserver/scripts/vserver.start: use setDefaultTTY() + added explicit synchronization step for fakeinit with the old + methods + +2004-04-20 18:01 Enrico Scholz + + * util-vserver/scripts/vserver: added '--defaulttty' option + +2004-04-20 18:00 Enrico Scholz + + * util-vserver/scripts/start-vservers: use --defaulttty options + instead of setting tty manually + +2004-04-20 18:00 Enrico Scholz + + * util-vserver/scripts/functions: setDefaultTTY(): added + +2004-04-20 17:59 Enrico Scholz + + * util-vserver/lib/getvservercfgstyle.c: * vc_getVserverCfgStyle(): + interprete relative ('./') and absolute + paths ('/...') as vcCFG_RECENT_FULL only + * vc_getVserverCfgStyle(): use utilvserver_isDirectory (fstat(2)) + instead of access(2) to check for directories + +2004-04-20 17:57 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-unistd.hc: Edup(): added + +2004-04-20 17:57 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-fcntl.hc: Efcntl(): added + +2004-04-20 17:57 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: added some entries + +2004-04-20 17:56 Enrico Scholz + + * util-vserver/distrib/misc/vunify-exclude: updated + +2004-04-20 17:55 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, + util-vserver/scripts/util-vserver-vars.pathsubst: added + chain-echo + +2004-04-20 17:54 Enrico Scholz + + * util-vserver/src/chain-echo.c: initial checkin + +2004-04-15 02:33 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.209 + +2004-04-15 02:01 Enrico Scholz + + * util-vserver/src/vcontext.c: setFlags(): optimized (nearly state + of 1.10) + +2004-04-15 02:00 Enrico Scholz + + * util-vserver/scripts/vserver.suexec: call chbind when entering + vservers + +2004-04-15 01:59 Enrico Scholz + + * util-vserver/scripts/vserver.functions: call vattribute with + '--flag fakeinit' additionally to the '--fakeinit' flag of + vcontext + +2004-04-15 01:59 Enrico Scholz + + * util-vserver/scripts/functions: callInNamespace(): do not accept + non-running vservers + +2004-04-15 01:58 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated + +2004-04-14 23:31 Enrico Scholz + + * util-vserver/src/vcontext.c: applied new kernel API (*flags* -> + *cflags*, *_context -> ctx_*) + fixed '--fakeinit' option + +2004-04-14 23:29 Enrico Scholz + + * util-vserver/scripts/vshelper: fixed another brokeness in CLI + option handling + +2004-04-14 23:28 Enrico Scholz + + * util-vserver/scripts/functions: lock(): do not execute the pipe; + this does not work on 2.6 + +2004-04-14 23:28 Enrico Scholz + + * util-vserver/lib/testsuite, + util-vserver/lib/testsuite/.cvsignore: added cflags + +2004-04-14 23:27 Enrico Scholz + + * util-vserver/doc/configuration.xml: added some comments about + uts/context + +2004-04-14 23:27 Enrico Scholz + + * util-vserver/doc/configuration-xhtml.xsl: added a new boring + stylesheet + +2004-04-14 23:27 Enrico Scholz + + * util-vserver/doc/configuration.css: initial checkin + +2004-04-14 23:26 Enrico Scholz + + * util-vserver/contrib/make-manifest, + util-vserver/contrib/manifest.dat.pathsubst: added support for + '%config(...)' (or whatever) annotations + +2004-04-14 23:25 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc, + util-vserver/lib_internal/switchtowatchxid.c, + util-vserver/src/chcontext.c, util-vserver/src/reducecap.c, + util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/rpm-fake.c, util-vserver/src/vattribute.c: + applied new kernel API (*flags* -> *cflags*, *_context -> ctx_*) + +2004-04-14 23:22 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files, + util-vserver/lib_internal/util.h: added util-debug.h + +2004-04-14 23:22 Enrico Scholz + + * util-vserver/lib_internal/util-debug.h: initial checkin + +2004-04-14 23:21 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/cvirt.h, + util-vserver/kernel/inode.h, util-vserver/kernel/legacy.h, + util-vserver/kernel/limit.h, util-vserver/kernel/namespace.h, + util-vserver/kernel/network.h, util-vserver/kernel/sched.h, + util-vserver/kernel/switch.h, util-vserver/kernel/xid.h: updated + to vs1.90pre9 + +2004-04-14 23:21 Enrico Scholz + + * util-vserver/lib/syscall-compat.hc, + util-vserver/lib/testsuite/Makefile-files, + util-vserver/lib/testsuite/cflags.c, + util-vserver/lib/testsuite/flags.c, util-vserver/lib/vserver.h: + applied new kernel API + renamed functions so that they correspond to the new kernel API + +2004-04-14 23:19 Enrico Scholz + + * util-vserver/lib/Makefile-files, + util-vserver/lib/cflags-compat.c, util-vserver/lib/cflags-v13.c, + util-vserver/lib/cflags_list-compat.c, + util-vserver/lib/cflags_list-v13.c, + util-vserver/lib/flags-compat.c, util-vserver/lib/flags-v13.c, + util-vserver/lib/flags_list-compat.c, + util-vserver/lib/flags_list-v13.c, + util-vserver/lib/syscall_createcontext-v13.hc, + util-vserver/lib/syscall_createcontext.c, + util-vserver/lib/syscall_ctxcreate-v13.hc, + util-vserver/lib/syscall_ctxcreate.c, + util-vserver/lib/syscall_ctxmigrate-v13.hc, + util-vserver/lib/syscall_ctxmigrate.c, + util-vserver/lib/syscall_getcflags-v13.hc, + util-vserver/lib/syscall_getcflags.c, + util-vserver/lib/syscall_getflags-v13.hc, + util-vserver/lib/syscall_getflags.c, + util-vserver/lib/syscall_migratecontext-v13.hc, + util-vserver/lib/syscall_migratecontext.c, + util-vserver/lib/syscall_setcflags-v13.hc, + util-vserver/lib/syscall_setcflags.c, + util-vserver/lib/syscall_setflags-v13.hc, + util-vserver/lib/syscall_setflags.c: renamed files so that their + names are corresponding the kernel + API. Especially, *_context was renamed to ctx_*, and *flags* to + *cflags*. + +2004-04-13 08:28 Enrico Scholz + + * util-vserver/scripts/functions: further locking fixes + +2004-04-13 08:27 Enrico Scholz + + * util-vserver/src/lockfile.c: propagate errors + +2004-04-13 08:20 Enrico Scholz + + * util-vserver/src/chroot-rm.c: cleanups + +2004-04-13 08:09 Enrico Scholz + + * util-vserver/scripts/vshelper: open FD 0 + evaluate CLI options depending on used kernel API + +2004-04-13 08:08 Enrico Scholz + + * util-vserver/scripts/functions: use new locking mechanism + +2004-04-13 08:04 Enrico Scholz + + * util-vserver/lib/issupported.c, + util-vserver/lib/issupportedstring.c, util-vserver/lib/vserver.h: + added VSHELPER0 feature + +2004-04-08 08:33 Enrico Scholz + + * util-vserver/scripts/vserver.functions: execScriptlets(): fixed + initialization of 'start' + execScriptlets(): declare some variables as readonly + _sourceWrap(): added some variables + +2004-04-08 06:06 Enrico Scholz + + * util-vserver/scripts/vserver.functions: implemented support for + default-scriptlets (inspired by ideas of + Olivier Poitrey) + +2004-04-08 06:05 Enrico Scholz + + * util-vserver/scripts/rootshell, + util-vserver/scripts/vapt-get-worker, + util-vserver/scripts/vprocunhide, util-vserver/scripts/vrpm, + util-vserver/scripts/vrpm-worker, + util-vserver/scripts/vserver-build, + util-vserver/scripts/vshelper: give more verbose error-messages + +2004-04-08 06:04 Enrico Scholz + + * util-vserver/lib/syscall.c: added link-warning for + vc_new_s_context() + +2004-04-08 06:04 Enrico Scholz + + * util-vserver/doc/configuration.xml: added general description for + the scripts and documented + $DONT_SKIP_DEFAULTS + +2004-04-08 06:03 Enrico Scholz + + * util-vserver/compat.h: LINK_WARNING(): added + +2004-04-06 23:12 Enrico Scholz + + * util-vserver/scripts/chcontext, + util-vserver/scripts/legacy/distrib-info, + util-vserver/scripts/legacy/vserver, + util-vserver/scripts/pkgmgmt, + util-vserver/scripts/start-vservers, + util-vserver/scripts/vapt-get, util-vserver/scripts/vpkg, + util-vserver/scripts/vpstree, util-vserver/scripts/vrpm-preload, + util-vserver/scripts/vserver, util-vserver/scripts/vserver-copy, + util-vserver/scripts/vserver-wrapper, + util-vserver/scripts/vservers.grabinfo.sh, + util-vserver/scripts/vsysvwrapper, util-vserver/scripts/vtop, + util-vserver/sysv/rebootmgr, util-vserver/sysv/vprocunhide, + util-vserver/sysv/vservers-legacy: give more comprehensive + error-message + +2004-04-06 23:00 Enrico Scholz + + * util-vserver/src/vps.c, util-vserver/src/vserver-info.c, + util-vserver/src/vserver-stat.c: use switchToWatchXid() + +2004-04-06 22:59 Enrico Scholz + + * util-vserver/src/Makefile-files: link some files against + libinternal.a + +2004-04-06 22:58 Enrico Scholz + + * util-vserver/lib_internal/util.h: switchToWatchXid(): added + prototype + +2004-04-06 22:58 Enrico Scholz + + * util-vserver/lib_internal/switchtowatchxid.c: initial checkin + +2004-04-06 22:58 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added + switchtowatchxid.c + +2004-04-06 22:57 Enrico Scholz + + * util-vserver/lib/vserver.h: VC_ATTR_DEPRECATED: added + +2004-04-06 22:57 Enrico Scholz + + * util-vserver/lib/syscall-compat.hc: vc_chrootsafe_compat(): + removed + +2004-04-06 08:47 Enrico Scholz + + * util-vserver/src/vunify.c: applied new MatchList_compare() + interface + +2004-04-06 08:46 Enrico Scholz + + * util-vserver/src/vserver-stat.c: started support for HZ!=100 + cleanups + +2004-04-06 08:44 Enrico Scholz + + * util-vserver/src/vcopy.c: implement support for SKIP files + +2004-04-06 08:44 Enrico Scholz + + * util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/rpm-fake.c: do not call vc_new_s_context() when + COMPAT API is not available + +2004-04-06 08:43 Enrico Scholz + + * util-vserver/scripts/functions: cleanups + vshelper.doInit(): added another sanity check + +2004-04-06 08:43 Enrico Scholz + + * util-vserver/lib_internal/matchlist-appendfiles.c, + util-vserver/lib_internal/matchlist-compare.c, + util-vserver/lib_internal/matchlist.h: implemented support for + SKIP (~) files + +2004-04-06 08:42 Enrico Scholz + + * util-vserver/lib/testsuite/flags.c: added tests for new flags + +2004-04-06 08:41 Enrico Scholz + + * util-vserver/lib/vserver.h: updated VC_VXF_* constants + added VC_VXC_* constants + +2004-04-06 08:41 Enrico Scholz + + * util-vserver/lib/flags-v13.c: added/updated flaglist + +2004-04-06 08:41 Enrico Scholz + + * util-vserver/lib/ccaps-v13.c: added ccap names + +2004-04-06 08:40 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: cleanups + +2004-04-06 08:40 Enrico Scholz + + * util-vserver/distrib/misc/vunify-exclude: exclude keyfiles + completely + made some big files in /etc canditates for unify + +2004-04-06 08:39 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/inode.h, + util-vserver/kernel/legacy.h, util-vserver/kernel/limit.h, + util-vserver/kernel/namespace.h, util-vserver/kernel/sched.h, + util-vserver/kernel/signal.h, util-vserver/kernel/xid.h: updated + to 2.6.5-vs1.9.0pre4 + +2004-03-31 03:27 Enrico Scholz + + * util-vserver/src/lockfile.c: optimized some things + now check, if getppid()==original_parent instead of getppid()!=1 + (might make a difference in vservers) + +2004-03-31 03:26 Enrico Scholz + + * util-vserver/scripts/functions: added some doc + s!_UV_LOCKS!_VS_LOCKS! + +2004-03-31 00:15 Enrico Scholz + + * util-vserver/src/lockfile.c: fixed '--help' output + +2004-03-31 00:10 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, util-vserver/src, + util-vserver/src/.cvsignore: added lockfile + +2004-03-31 00:05 Enrico Scholz + + * util-vserver/src/lockfile.c: initial checkin + +2004-03-31 00:04 Enrico Scholz + + * util-vserver/src/Makefile-files: added lockfile + +2004-03-31 00:04 Enrico Scholz + + * util-vserver/scripts/vserver.functions: enableInterfaces(), + disableInterfaces(): added locking + enableInterfaces(), disableInterfaces(): added IP_ADDR_FLUSH type + +2004-03-31 00:03 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: $_LOCKFILE, + $LOCKDIR: added + +2004-03-31 00:03 Enrico Scholz + + * util-vserver/scripts/functions: lock(),unlock(): added + isNumber(): added doc + +2004-03-30 20:26 Enrico Scholz + + * util-vserver/scripts/vserver.functions: made it work... + +2004-03-30 20:25 Enrico Scholz + + * util-vserver/scripts/functions: isNumber(): fixed '0' case + +2004-03-30 19:07 Enrico Scholz + + * util-vserver/scripts/vserver.functions: implemented parts of Liam + Helmer's dummy-interface method + +2004-03-30 19:00 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/configure.ac, + util-vserver/scripts/util-vserver-vars.pathsubst: added + substitutions/tests for iptables, modprobe, rmmod and nameif + (required for Liam Helmer's dummy-interfaces) + +2004-03-30 19:00 Enrico Scholz + + * util-vserver/scripts/functions: isNumber(): added + +2004-03-30 17:20 Enrico Scholz + + * util-vserver/src/vshelper-sync.c: implemented it with select() + instead of alarm(); races are much nicer to handle + +2004-03-30 16:10 Enrico Scholz + + * util-vserver/src/vshelper-sync.c: use sigaction() instead of + signal() to remove SA_RESTART flag explicitly + +2004-03-30 16:04 Enrico Scholz + + * util-vserver/src/pipe-sync.c: obsoleted by vshelper-sync + +2004-03-30 15:51 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, + util-vserver/src/Makefile-files: removed pipe-sync + +2004-03-30 15:50 Enrico Scholz + + * util-vserver/kernel/context.h, util-vserver/kernel/cvirt.h, + util-vserver/kernel/limit.h, util-vserver/kernel/network.h, + util-vserver/kernel/sched.h, util-vserver/kernel/switch.h: + updated from vs0.09.28 + +2004-03-27 04:58 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.207 + +2004-03-26 09:50 Enrico Scholz + + * util-vserver/scripts/vshelper: use 'findObject -e' instead of + 'findFile' to find /dev/null also + +2004-03-26 09:50 Enrico Scholz + + * util-vserver/scripts/vserver.start: fixed call of + vshelper.isEnabled + +2004-03-26 09:49 Enrico Scholz + + * util-vserver/doc/configuration.xml: fixed some typos + +2004-03-26 09:05 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented + apps/vshelper/logfile symlink + +2004-03-26 09:03 Enrico Scholz + + * util-vserver/scripts/vshelper: ignore 'restart2' event; this + seems to be issued at vserver *start* + added support for a logfile + enable logfile-logging when invoked from kernel (no tty) + +2004-03-26 08:29 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: fixed order of + variables + fixed _VSHELPER path + +2004-03-26 08:28 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: fixed vshelper path + added vshelper-sync + +2004-03-26 08:27 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added some Requires: + own %dir /var/run/vshelper + +2004-03-26 08:27 Enrico Scholz + + * util-vserver/Makefile.am: added substition for @VSHELPERSTATEDIR@ + minor cosmetical cleanups + +2004-03-26 07:45 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added + vshelper-sync + +2004-03-26 07:40 Enrico Scholz + + * util-vserver/scripts/vshelper, util-vserver/src/vshelper-sync.c: + initial checkin + +2004-03-26 07:40 Enrico Scholz + + * util-vserver/src/vserver-info.c: - added tgID and tgPXID support + - accept 'true' as boolean value + - optimized the code a little bit so that the xid will be looked + up + only when really needed + +2004-03-26 07:38 Enrico Scholz + + * util-vserver/src/vps.c: in output, added a ' ' on overlong + vserver-names + +2004-03-26 07:38 Enrico Scholz + + * util-vserver/src/secure-mount.c: rewrote some parts to cope + better with '-o' options (required for -bme + patches to work) + +2004-03-26 07:37 Enrico Scholz + + * util-vserver/src/Makefile-files: added vshelper-sync + +2004-03-26 07:36 Enrico Scholz + + * util-vserver/scripts/vserver.stop: added VSHELPER & + synchronization code + +2004-03-26 07:36 Enrico Scholz + + * util-vserver/scripts/vserver.start: added documentation about + failure reasons + added VSHELPER code + +2004-03-26 07:35 Enrico Scholz + + * util-vserver/scripts/vserver.functions: adapted code to new + getFileArray() behavior + added VSHELPER support + added "LEGACY ALERT" messages + initSync(),waitForSync(): added + +2004-03-26 07:33 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: added a "LEGACY + ALERT" + +2004-03-26 07:33 Enrico Scholz + + * util-vserver/scripts/vserver-build: fixed code to work with new + behavior of getFileArray + +2004-03-26 07:32 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added some + missing variables + added the vshelper variables + +2004-03-26 07:31 Enrico Scholz + + * util-vserver/scripts/pkgmgmt: use pkgmgmt.isAptAvailable() + +2004-03-26 07:30 Enrico Scholz + + * util-vserver/scripts/functions: + logging(),warning(),panic(),execute(): added + pkgmgmt.isAptAvailable(): added + vshelper.*(): added + getFileArray(): fail, when file does not exist + +2004-03-26 07:29 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, + util-vserver/scripts/Makefile-files: added vshelper + +2004-03-26 07:28 Enrico Scholz + + * util-vserver/lib/vserver.h: - minor cleanups + - added vcFEATURE_VSHELPER + - vc_isSupported(): annotated it + - vc_get_insecurecaps(): moved it into an own file; CAP_SYS_BOOT + requires a special handling so inlining is not really usefully + anymore + +2004-03-26 07:26 Enrico Scholz + + * util-vserver/lib/issupported.c, + util-vserver/lib/issupportedstring.c: added VSHELPER + +2004-03-26 07:26 Enrico Scholz + + * util-vserver/lib/Makefile-files: added getinsecurecaps.c + +2004-03-26 07:26 Enrico Scholz + + * util-vserver/lib/getinsecurecaps.c: initial checkin + +2004-03-26 07:25 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented the vshelper stuff + +2004-03-26 07:25 Enrico Scholz + + * util-vserver/doc/configuration.dtd: added a type for 'script' + +2004-03-26 07:24 Enrico Scholz + + * util-vserver/distrib/Makefile.am: cleanups in the directory + creation rules + +2004-03-26 07:23 Enrico Scholz + + * util-vserver/util-vserver.spec.in: use 'install-distribution' + instead of 'install-vserverdir' + added vshelper stuff + +2004-03-26 07:23 Enrico Scholz + + * util-vserver/Makefile.am: cleanups and enhancements in the + directory installation rules + +2004-03-24 05:51 Enrico Scholz + + * util-vserver/NEWS: version 0.29.205 + +2004-03-24 05:51 Enrico Scholz + + * util-vserver/src/Makefile-files: fixed LDADD flags for capchroot + +2004-03-24 05:30 Enrico Scholz + + * util-vserver/src/vsched.c: enhanced the in-chain operation; make + it a noop when called without opts + enhanced error messages + +2004-03-24 05:23 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start: added scheduler support + +2004-03-24 05:23 Enrico Scholz + + * util-vserver/doc/configuration.xml: added basic documentation for + bcapabilities, ccapabilities and schedule + +2004-03-24 04:56 Enrico Scholz + + * util-vserver/lib/vserver.h, util-vserver/src/chcontext.c, + util-vserver/src/reducecap.c, util-vserver/src/rpm-fake.c, + util-vserver/src/vattribute.c, util-vserver/src/vps.c: renamed + vc_get_securecaps() to vc_get_insecurecaps() + +2004-03-24 04:47 Enrico Scholz + + * util-vserver/scripts/vserver.start: added missing '\' + +2004-03-24 04:46 Enrico Scholz + + * util-vserver/src/vattribute.c, util-vserver/src/vcontext.c, + util-vserver/src/vlimit.c, util-vserver/src/vnamespace.c, + util-vserver/src/vserver-info.c, util-vserver/src/vuname.c: use + vc_xidopt2xid() + +2004-03-24 04:45 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/vkill.c, + util-vserver/src/vsched.c: prefer '--xid' instead of '--ctx' + use vc_xidopt2xid() + +2004-03-24 04:43 Enrico Scholz + + * util-vserver/scripts/vserver.start: added support for + $VSERVER_EXTRA_CMDS[] which can be set in userscripts + +2004-03-24 04:43 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: call 'wget' with + '-nv' instead of '-q' + +2004-03-24 04:42 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_xidopt2xid(): added prototype + +2004-03-24 04:42 Enrico Scholz + + * util-vserver/lib/Makefile-files: added xidopt2xid.c + +2004-03-24 04:41 Enrico Scholz + + * util-vserver/lib/xidopt2xid.c: initial checkin + +2004-03-24 04:41 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: Evc_xidopt2xid(): + added + +2004-03-24 04:41 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: updated to recent + version + +2004-03-24 04:40 Enrico Scholz + + * util-vserver/util-vserver.spec.in: fixed Requires() + fixed some %dir's + +2004-03-24 01:48 Enrico Scholz + + * util-vserver/src/vlimit.c: cleaned up CLI: '--xid' is supported + now, removed '-h' and '-v' options + minor cleanups + +2004-03-24 01:45 Enrico Scholz + + * util-vserver/sysv/vservers-legacy: initial checkin + +2004-03-24 01:44 Enrico Scholz + + * util-vserver/sysv/rebootmgr, util-vserver/sysv/rebootmgr.subst: + 'rebootmgr' is now a src-script + +2004-03-24 01:44 Enrico Scholz + + * util-vserver/sysv/Makefile-files: 'rebootmgr' is now a src-script + added vservers-legacy + +2004-03-24 01:43 Enrico Scholz + + * util-vserver/src/vattribute.c: initialize 'bmask' member of + struct vc_ctx_caps + use negative logic of --bcap (this should be the 'old' behavior + of '--cap') + +2004-03-24 01:42 Enrico Scholz + + * util-vserver/src/rpm-fake.c: initialize 'bmask' member of struct + vc_ctx_caps + +2004-03-24 01:41 Enrico Scholz + + * util-vserver/src/capchroot.c, util-vserver/src/filetime.c, + util-vserver/src/readlink.c: rewrote it + +2004-03-24 01:41 Enrico Scholz + + * util-vserver/src/Makefile-files: cleanups; moved some programs + into $legacydir + +2004-03-24 01:40 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added more + legacy programs + +2004-03-24 01:32 Enrico Scholz + + * util-vserver/scripts/legacy/vserver: use $_XXXX variables instead + of static commandnames + use variables for paths + +2004-03-24 01:21 Enrico Scholz + + * util-vserver/scripts/legacy/distrib-info: moved parserpmdump to + legacy + +2004-03-24 01:15 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_REBOOTMGR + +2004-03-24 01:15 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: fixed copy&paste error + +2004-03-24 01:12 Enrico Scholz + + * util-vserver/ChangeLog.sed, util-vserver/cvsusers.map, + util-vserver/ensc_vector, util-vserver/ensc_vector/.cvsignore, + util-vserver/lib_internal, util-vserver/lib_internal/.cvsignore: + initial checkin + +2004-03-24 01:11 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore, util-vserver/distrib, + util-vserver/distrib/.cvsignore, + util-vserver/ensc_vector/testsuite, + util-vserver/ensc_vector/testsuite/.cvsignore, util-vserver/lib, + util-vserver/lib/.cvsignore, util-vserver/lib/testsuite, + util-vserver/lib/testsuite/.cvsignore, util-vserver/src, + util-vserver/src/.cvsignore, util-vserver/src/testsuite, + util-vserver/src/testsuite/.cvsignore, util-vserver/tests, + util-vserver/tests/.cvsignore: added some standardfiles; I do not + want to wait until Savannah fixes + its scripts and allows access to CVSROOT/cvsignore again. + +2004-03-24 01:07 Enrico Scholz + + * util-vserver/lib_internal/util-perror.h: placed a 'do ... while + (0)' block around the macros + +2004-03-24 01:07 Enrico Scholz + + * util-vserver/lib/bcaps_list-v13.c, + util-vserver/lib/syscall_getccaps-v13.hc, + util-vserver/lib/syscall_setccaps-v13.hc: handle the new struct + vc_ctx_caps::bmask member + +2004-03-24 01:05 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: moved some files + into legacy + handle sysv scripts + +2004-03-24 01:05 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added formerly missing + 'v_gated' registration + updated -legacy subpackage and moved some initscripts into it + +2004-03-24 01:04 Enrico Scholz + + * util-vserver/lib/vserver.h: do not use PURE before gcc 3.3.3 + use a more effective way to determine gcc revision + struct vc_ctx_caps: added 'bmask' member + +2004-03-24 01:03 Enrico Scholz + + * util-vserver/compat.h: do not use PURE before gcc 3.3.3 + use a more effective way to determine gcc revision + +2004-03-23 01:15 Enrico Scholz + + * util-vserver/scripts/vserver-wrapper: fixed typo (missing 's') + +2004-03-22 23:27 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: added basic support + for SuSE (patch from Thomas Guettler) + give more hints in errormessages (patch from Thomas Guettler) + +2004-03-22 23:18 Enrico Scholz + + * util-vserver/scripts/vpkg: give out errormessage on unknown + distribution type + +2004-03-22 23:13 Enrico Scholz + + * util-vserver/scripts/functions: added basic support for SuSE + +2004-03-19 16:58 Enrico Scholz + + * util-vserver/src/vserver-stat.c: fixed race when process + disappeared shortly after reading /proc + +2004-03-19 16:57 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented + apps/init/{mark,depends} + mentioned the gentoo initstyle + +2004-03-19 16:57 Enrico Scholz + + * util-vserver/doc/configuration-lsd.css: followed Bertl's + suggestion and added a subliminal message + +2004-03-19 16:51 Enrico Scholz + + * util-vserver/configure.ac: require at least version 0.24 of + dietlibc + +2004-03-19 16:51 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: allow to specify a + + +2004-03-18 06:06 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.204 + +2004-03-18 06:06 Enrico Scholz + + * util-vserver/lib_internal/util-dotfile.h: do not use PURE; it is + not applicable for inline declarations + +2004-03-18 05:59 Enrico Scholz + + * util-vserver/compat.h: fixed broken condition for PURE + define __builtin_expect() when needed + +2004-03-18 05:36 Enrico Scholz + + * util-vserver/src/vunify.c: cleanups in the verbosity code + +2004-03-18 05:35 Enrico Scholz + + * util-vserver/scripts/legacy/vps.pathsubst, + util-vserver/scripts/legacy/vserver: use 'chcontext-compat' + instead of 'chcontext' + +2004-03-18 05:35 Enrico Scholz + + * util-vserver/scripts/vserver.stop: call isVserverRunning to + cleanup rundir + +2004-03-18 05:35 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.pkgmgmt: ignore + candidates for location of pkgmgmt-dir when $ROOTDIR is empty + +2004-03-18 05:33 Enrico Scholz + + * util-vserver/scripts/vserver-build: cleanups; use full + parenthesis in case ... esac + +2004-03-18 05:33 Enrico Scholz + + * util-vserver/scripts/vserver: implemenented 'pkgmgmt' command + +2004-03-18 05:32 Enrico Scholz + + * util-vserver/scripts/vrpm: allow both internal and external + packagemanagement + +2004-03-18 05:32 Enrico Scholz + + * util-vserver/scripts/vpkg: cleanups; generalized some functions + and moved them into the 'functions' file + +2004-03-18 05:32 Enrico Scholz + + * util-vserver/scripts/vapt-get: support both internal and external + packagemanagement + +2004-03-18 05:31 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added $_PKGMGMT + and $_TAR + +2004-03-18 05:31 Enrico Scholz + + * util-vserver/scripts/start-vservers: filter out non-matching + vservers *before* adding them to the makefile + +2004-03-18 05:30 Enrico Scholz + + * util-vserver/scripts/functions: getVserverStatus(): fix problems + with leading whitespaces in numerical values + pkgmgmt.guessStyle(), pkgmgmt.isInternal(): added + +2004-03-18 05:29 Enrico Scholz + + * util-vserver/scripts/pkgmgmt: initial checkin + +2004-03-18 05:29 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added pkgmgmt + +2004-03-18 05:28 Enrico Scholz + + * util-vserver/lib_internal/matchlist-initmanually.c: some cleanups + in the verbosity code + +2004-03-18 05:28 Enrico Scholz + + * util-vserver/lib/getvservercfgstyle.c: filter out relative and + absolute paths; when they are not pointing to + an existing directory, the function fails + +2004-03-18 05:27 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers_handler.hc: use + __builtin_expect + +2004-03-18 05:27 Enrico Scholz + + * util-vserver/distrib/defaults/apt/apt.conf: added + '@autogenerated@' tag plus small warning + +2004-03-18 05:26 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added pkgmgmt script + +2004-03-18 05:26 Enrico Scholz + + * util-vserver/configure.ac: look for tar + +2004-03-18 05:25 Enrico Scholz + + * util-vserver/Makefile.am: substitute @TAR@ + +2004-03-16 14:30 Enrico Scholz + + * util-vserver/src/chbind.c: use vc_get_nb_ipv4root() instead of + hardcoded '16' value + +2004-03-16 14:29 Enrico Scholz + + * util-vserver/compat.h: CONST: added + +2004-03-16 14:28 Enrico Scholz + + * util-vserver/lib/vserver.h: VC_ATTR_CONST: added + vc_get_nb_ipv4root(): added + +2004-03-16 14:28 Enrico Scholz + + * util-vserver/lib/Makefile-files: added getnbipv4root.c + +2004-03-16 14:27 Enrico Scholz + + * util-vserver/lib/getnbipv4root.c: initial checkin + +2004-03-16 04:37 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added the sysvwrappers to + AM_INSTALLCHECK_STD_OPTIONS_EXEMPT + +2004-03-16 04:26 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.202 + +2004-03-16 03:51 Enrico Scholz + + * util-vserver/sysv/Makefile-files: added vservers-default + removed vservers + +2004-03-16 03:50 Enrico Scholz + + * util-vserver/sysv/vservers.subst: obsoleted by new initscript + +2004-03-16 03:49 Enrico Scholz + + * util-vserver/distrib/redhat/initpre, + util-vserver/lib/isdynamicxid.c, + util-vserver/scripts/vserver-wrapper, + util-vserver/sysv/vservers-default: initial checkin + +2004-03-16 03:49 Enrico Scholz + + * util-vserver/src/vserver-info.c: implemented INITPID for the + compat API + +2004-03-16 03:49 Enrico Scholz + + * util-vserver/src/rpm-fake.c: implemented/fixed the non-legacy + part + cleanups + +2004-03-16 03:48 Enrico Scholz + + * util-vserver/src/rpm-fake-resolver.c: implemented/fixed the + non-legacy part + +2004-03-16 03:48 Enrico Scholz + + * util-vserver/scripts/vserver.suexec: added internal mode to use + 'suexec' for stopped vservers also + +2004-03-16 03:47 Enrico Scholz + + * util-vserver/scripts/vserver.stop: added a more efficient stop + method for fakeinit vservers + +2004-03-16 03:47 Enrico Scholz + + * util-vserver/scripts/vserver.start: finxed incomplete quoting + +2004-03-16 03:46 Enrico Scholz + + * util-vserver/scripts/vserver.functions: handle fakeinit + separately + cleanups and fixes in the flag-generation + +2004-03-16 03:45 Enrico Scholz + + * util-vserver/scripts/vserver: added support for an internal + command mode + +2004-03-16 03:43 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_INITSYNC_MINIT_* variables + added $_START_VSERVERS + +2004-03-16 03:43 Enrico Scholz + + * util-vserver/scripts/start-vservers: added ok/passed/failed logic + +2004-03-16 03:42 Enrico Scholz + + * util-vserver/scripts/Makefile-files: ship vsyswrapper again + +2004-03-16 03:42 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_is_dynamic_xid(): added + +2004-03-16 03:42 Enrico Scholz + + * util-vserver/lib/Makefile-files: added isdynamicxid.c + +2004-03-16 03:41 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: Evc_set_ccaps(): + added + +2004-03-16 03:41 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: use internal 'chkconfig' + command + +2004-03-16 03:40 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added initpre to handle rpm's + misclassification of %_netsharedpath + +2004-03-16 03:39 Enrico Scholz + + * util-vserver/contrib/make-manifest, + util-vserver/contrib/manifest.dat.pathsubst: handle some sysv + files too + +2004-03-16 03:39 Enrico Scholz + + * util-vserver/util-vserver.spec.in: updated the -sysv package + +2004-03-15 21:41 Enrico Scholz + + * util-vserver/src/vcontext.c: cleanups; remove unused code + added '--silentexist' + use context-sync.hc + +2004-03-15 21:40 Enrico Scholz + + * util-vserver/src/chcontext.c: use code from context-sync.hc + +2004-03-15 21:39 Enrico Scholz + + * util-vserver/src/context-sync.hc: initial checkin + +2004-03-15 21:39 Enrico Scholz + + * util-vserver/src/Makefile-files: added context-sync.hc + +2004-03-15 21:39 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm: cleanups; full + parenthesis for case ... esac statements + +2004-03-15 21:38 Enrico Scholz + + * util-vserver/scripts/vserver: cleanups; full parenthesis for case + ... esac statements + give more helpful error messages + +2004-03-15 21:37 Enrico Scholz + + * util-vserver/lib_internal/jail.h, + util-vserver/lib_internal/jailintotempdir.c: return indication + about place of error + +2004-03-15 20:01 Enrico Scholz + + * util-vserver/configure.ac: print correct $prefix when '--prefix' + is not specified + +2004-03-13 03:39 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.201 + +2004-03-13 03:39 Enrico Scholz + + * util-vserver/src/vcontext.c: added another #warning + +2004-03-13 03:23 Enrico Scholz + + * util-vserver/src/vcontext.c: fixed '--uid' option (it's + required_argument but not no_argument) + drop privileges after migrate() + +2004-03-13 03:22 Enrico Scholz + + * util-vserver/scripts/vserver.start: call $_SAVE_CTXINFO until we + have something better + +2004-03-13 02:57 Enrico Scholz + + * util-vserver/src/vcontext.c: updated to new kernel behavior + +2004-03-13 02:56 Enrico Scholz + + * util-vserver/src/vattribute.c: renamed set*() to parse*() + set the correct secure attributes + call set_flags/set_ccaps only, when there is something to do + +2004-03-13 02:55 Enrico Scholz + + * util-vserver/scripts/chcontext, + util-vserver/scripts/vserver.start: applied new CLI + +2004-03-13 02:54 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added jail* files + +2004-03-13 02:53 Enrico Scholz + + * util-vserver/lib_internal/jail.h, + util-vserver/lib_internal/jailintotempdir.c: initial checkin + +2004-03-13 02:52 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: Evc_get_ccaps(): + added declaration + +2004-03-12 19:31 Enrico Scholz + + * util-vserver/src/vuname.c: rewrote it; CLI should be more usable + now + +2004-03-12 19:30 Enrico Scholz + + * util-vserver/scripts/chcontext, + util-vserver/scripts/vserver.start: use new vuname syntax + +2004-03-12 06:02 Enrico Scholz + + * util-vserver/src/vattribute.c: set caps before flags so that caps + can be changed in the same transaction + which deletes 'setup' + +2004-03-12 04:53 Enrico Scholz + + * util-vserver/scripts/vserver.suexec: added some explicit '--' + +2004-03-12 04:52 Enrico Scholz + + * util-vserver/scripts/functions: added some doc + getVserverStatus(): fixed it + +2004-03-12 04:51 Enrico Scholz + + * util-vserver/src/save_ctxinfo.c: use strncat() instead of + strcat() to enforce correct length + +2004-03-12 03:38 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.200 + +2004-03-12 03:37 Enrico Scholz + + * util-vserver/scripts/chcontext, + util-vserver/scripts/vserver.start: remove the setup flag + +2004-03-12 03:37 Enrico Scholz + + * util-vserver/lib/virtual.h: cleanups + +2004-03-12 03:19 Enrico Scholz + + * util-vserver/scripts/chcontext: give '--xid' in migrate case + +2004-03-12 03:17 Enrico Scholz + + * util-vserver/scripts/chcontext: fixed migrate vs. migrate-self + +2004-03-12 03:13 Enrico Scholz + + * util-vserver/Makefile.am: added kernel headers + +2004-03-12 03:12 Enrico Scholz + + * util-vserver/kernel, util-vserver/kernel/context.h, + util-vserver/kernel/inode.h, util-vserver/kernel/legacy.h, + util-vserver/kernel/limit.h, util-vserver/kernel/namespace.h, + util-vserver/kernel/network.h, util-vserver/kernel/sched.h, + util-vserver/kernel/signal.h, util-vserver/kernel/switch.h: + initial checkin + +2004-03-12 03:02 Enrico Scholz + + * util-vserver/sysv/vprocunhide: do not use /dev/null as lockfile + +2004-03-12 03:02 Enrico Scholz + + * util-vserver/src/vsched.c: updated to new API + +2004-03-12 03:02 Enrico Scholz + + * util-vserver/src/vattribute.c: implemented --secure + +2004-03-12 03:01 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop: allow '--debug' in the + destructors + +2004-03-12 03:00 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added gentoo startup + style + +2004-03-12 02:59 Enrico Scholz + + * util-vserver/scripts/chcontext: fixed params + do not call vuname/vattribute when not needed + +2004-03-12 02:58 Enrico Scholz + + * util-vserver/lib/testsuite/flags.c: added testsuite for the flags + +2004-03-12 02:58 Enrico Scholz + + * util-vserver/lib/vserver.h: updated interface + added flags + +2004-03-12 02:58 Enrico Scholz + + * util-vserver/lib/virtual.h: use kernel headers + +2004-03-12 02:57 Enrico Scholz + + * util-vserver/lib/syscall_getiattr-v13.hc, + util-vserver/lib/syscall_setiattr-v13.hc, + util-vserver/lib/syscall_setsched-v13.hc: updated interface + +2004-03-12 02:56 Enrico Scholz + + * util-vserver/lib/listparser.hc: added '^' modifier which marks + bit numbers + +2004-03-12 02:55 Enrico Scholz + + * util-vserver/lib/flags-v13.c: added the flags + +2004-03-11 04:44 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.199 + +2004-03-11 04:42 Enrico Scholz + + * util-vserver/src/vuname.c: added more documentation + fixed '--version' conflicts + +2004-03-11 04:41 Enrico Scholz + + * util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/rpm-fake.c: implemented most parts of the new + migrate method + +2004-03-11 04:41 Enrico Scholz + + * util-vserver/scripts/vserver.start: set context-name + +2004-03-11 04:41 Enrico Scholz + + * util-vserver/lib/Makefile-files: added getvserverbyctx-* files + +2004-03-11 04:40 Enrico Scholz + + * util-vserver/lib/getvserverbyctx.c: implemented new + context-naming method + +2004-03-11 04:39 Enrico Scholz + + * util-vserver/lib/getvserverbyctx-compat.hc, + util-vserver/lib/getvserverbyctx-v13.hc: initial checkin + +2004-03-11 04:39 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: + Evc_set_vhi_name(): added + +2004-03-10 05:34 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented 'fstab.local' and + enhanced 'fstab' doc + +2004-03-10 05:33 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added support for + 'fstab.local' files + +2004-03-10 05:04 Enrico Scholz + + * util-vserver/sysv/vprocunhide: made it a little bit more portable + by providing own implementations of + RH's /etc/init.d/functions when this file can not be found + (inspired + by a patch from Olivier Poitrey) + +2004-03-10 04:55 Enrico Scholz + + * util-vserver/scripts/functions: callInNamespace(): call 'shift' + to remove the vserver-name from $@ + +2004-03-10 02:58 Enrico Scholz + + * util-vserver/doc, util-vserver/doc/.cvsignore: added + configuration.html + +2004-03-10 02:49 Enrico Scholz + + * util-vserver/src/vserver-info.c: added an option the 'CONTEXT' + query so that it can be choosen between + running/non running + +2004-03-10 02:37 Enrico Scholz + + * util-vserver/src/vlimit.c, util-vserver/src/vuname.c: prefix + option string for getopt with '+' to avoid option reordering + +2004-03-10 02:36 Enrico Scholz + + * util-vserver/scripts/vapt-get, util-vserver/scripts/vrpm: use + callInNamespace + +2004-03-10 02:35 Enrico Scholz + + * util-vserver/scripts/functions: isAvoidNamespace(): determine + full cfgdir path of vserver before checking for 'namespace' file + callInNamespace(): added + +2004-03-10 02:34 Enrico Scholz + + * util-vserver/scripts/vserver.functions: minor cosmetical + cleanups... + +2004-03-10 02:34 Enrico Scholz + + * util-vserver/scripts/chcontext, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, + util-vserver/scripts/vserver.suexec: use '--' delimiter + +2004-03-10 02:32 Enrico Scholz + + * util-vserver/doc/configuration.xml: added/updated some + descriptions + +2004-03-10 02:32 Enrico Scholz + + * util-vserver/doc/configuration-lsd.css: flowers... where are all + the flowers coming from? + +2004-03-10 02:30 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/contrib/Makefile-files, + util-vserver/doc/Makefile-files, + util-vserver/ensc_vector/Makefile-files, + util-vserver/ensc_vector/testsuite/Makefile-files, + util-vserver/ensc_wrappers/Makefile-files, + util-vserver/lib/Makefile-files, + util-vserver/lib/testsuite/Makefile-files, + util-vserver/lib_internal/Makefile-files, + util-vserver/man/Makefile-files, + util-vserver/scripts/Makefile-files, + util-vserver/src/Makefile-files, + util-vserver/src/testsuite/Makefile-files, + util-vserver/tests/Makefile-files: modernized the Makefiles; use + '+=' where possible to remove complexity + from the toplevel Makefile.am + +2004-03-09 17:52 Enrico Scholz + + * util-vserver/scripts/vprocunhide: remove the correct prefix + +2004-03-09 16:38 Enrico Scholz + + * util-vserver/scripts/vserver.stop, + util-vserver/scripts/vserver.suexec: use $_CHONTEXT_COMPAT + explicitly + +2004-03-09 16:38 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: use/create 'uts' + directory + +2004-03-09 16:37 Enrico Scholz + + * util-vserver/scripts/chcontext: updated copyright date + +2004-03-09 16:37 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented the vunify + configuration + +2004-03-09 14:50 Enrico Scholz + + * util-vserver/scripts/chcontext: rewrote the non-legacy part + +2004-03-09 14:35 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: aded + _KEEP_CTX_ALIVE + +2004-03-09 14:32 Enrico Scholz + + * util-vserver/scripts/chcontext: added missing ';' in case + expression + s!_CTX_KEEP_ALIVE!_KEEP_CTX_ALIVE! + +2004-03-09 04:06 Enrico Scholz + + * util-vserver/NEWS: version 0.29.198 + +2004-03-09 03:58 Enrico Scholz + + * util-vserver/scripts/vserver.stop, + util-vserver/scripts/vserver.suexec: removed superfluous '--' + +2004-03-09 03:58 Enrico Scholz + + * util-vserver/scripts/vserver.start: added explicit cleanup trap + removed superfluous '--' + +2004-03-09 03:57 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added some parenthesis + +2004-03-09 03:57 Enrico Scholz + + * util-vserver/scripts/vserver: made 'status' really silent + +2004-03-09 03:56 Enrico Scholz + + * util-vserver/scripts/start-vservers: initial checkin + +2004-03-09 03:56 Enrico Scholz + + * util-vserver/scripts/functions: getVserverStatus(): fixed it for + the non-running & non-cleanup case + +2004-03-09 03:55 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, + util-vserver/scripts/Makefile-files: added start-vservers + +2004-03-09 03:55 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers.h: fixed typo + fixed overflow + +2004-03-09 03:54 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added Requires: make + +2004-03-09 02:01 Enrico Scholz + + * util-vserver/scripts/vserver: made 'status' silent when + '--silent' is used + +2004-03-09 02:01 Enrico Scholz + + * util-vserver/lib/apidoc, util-vserver/lib/apidoc/.cvsignore: + added man + +2004-03-09 02:00 Enrico Scholz + + * util-vserver/doc/configuration.html: removed since autogenerated + +2004-03-09 02:00 Enrico Scholz + + * util-vserver/doc/configuration-lsd.css: use official HTML 4 + colornames + +2004-03-09 01:59 Enrico Scholz + + * util-vserver/doc/beautify.xsl, + util-vserver/doc/compatibility-xhtml.xsl, + util-vserver/doc/configuration-xhtml.xsl: use official XHTML + namespace + +2004-03-09 01:58 Enrico Scholz + + * util-vserver/distrib/defaults/rpm/macros, + util-vserver/distrib/redhat/initpost: added hack for + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117827 + +2004-03-08 19:55 Enrico Scholz + + * util-vserver/m4/ensc_syscallnr.m4: stopped to confuse users with + wrong error messages + +2004-03-08 19:55 Enrico Scholz + + * util-vserver/lib/apidoc/Makefile-files: handle man directory + +2004-03-08 19:54 Enrico Scholz + + * util-vserver/lib/apidoc/Doxyfile.in: updated + +2004-03-08 19:53 Enrico Scholz + + * util-vserver/doc/Makefile-files: filled it with content... + +2004-03-08 19:52 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added documentation + +2004-03-08 18:14 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented tty symlink + use documentation.dtd instead of cfgdirdoc.dtd + some small corrections/adjustments + +2004-03-08 18:13 Enrico Scholz + + * util-vserver/doc/beautify.xsl, + util-vserver/doc/configuration-lsd.css, + util-vserver/doc/configuration-xhtml.xsl, + util-vserver/doc/configuration.html: initial checkin + +2004-03-08 18:12 Enrico Scholz + + * util-vserver/doc/compat-xhtml.xsl, + util-vserver/doc/compatibility-xhtml.xsl: renamed + compat-xhtml.xsl to compatibility-xhtml.xsl + +2004-03-08 18:12 Enrico Scholz + + * util-vserver/doc/cfgdirdoc.dtd, + util-vserver/doc/configuration.dtd: renamed cfgdirdoc.dtd to + configuration.dtd + +2004-03-08 08:07 Enrico Scholz + + * util-vserver/lib/vserver.h: added more doc + +2004-03-08 01:22 Enrico Scholz + + * util-vserver/lib/testsuite/flags.c: fixed uninitialized variable + +2004-03-08 00:08 Enrico Scholz + + * util-vserver/lib/apidoc, util-vserver/lib/apidoc/.cvsignore, + util-vserver/lib/apidoc/Doxyfile.in, + util-vserver/lib/apidoc/Makefile-files: initial checkin + +2004-03-08 00:06 Enrico Scholz + + * util-vserver/scripts/vserver.start: use '--migrate-self' instead + of '--migrate' + +2004-03-07 23:59 Enrico Scholz + + * util-vserver/src/vcontext.c: added '--migrate-self' support + +2004-03-07 23:58 Enrico Scholz + + * util-vserver/scripts/vserver.functions: use different files for + 'bcap' and 'ccap' for now + +2004-03-07 23:58 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added changelog entry + +2004-03-07 22:43 Enrico Scholz + + * util-vserver/src/vunify.h: fixed NONNULL annotations + +2004-03-07 22:36 Enrico Scholz + + * util-vserver/lib/vserver.h: added doxygen annnotations + added special compiler annotations + +2004-03-07 22:34 Enrico Scholz + + * util-vserver/lib/internal.h: added doxygen annnotations + fixed NONNULL statements + +2004-03-07 22:31 Enrico Scholz + + * util-vserver/lib/fmt.h: added doxygen annnotations + +2004-03-07 22:31 Enrico Scholz + + * util-vserver/lib/Makefile-files: added apidoc directory + +2004-03-07 22:29 Enrico Scholz + + * util-vserver/configure.ac, util-vserver/util-vserver.spec.in: + added doxygen support + +2004-03-07 22:24 Enrico Scholz + + * util-vserver/compat.h: fixed typo in __GNUC_MINOR__ + +2004-03-07 19:41 Enrico Scholz + + * util-vserver/src/vattribute.c: use new interface of the list2... + functions + implemented --bcaps and --ccaps + +2004-03-07 19:41 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/reducecap.c: use + new interface of the list2... functions + +2004-03-07 19:40 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added + .../interfaces/.../nodev option and deprecated 'only_ip' + +2004-03-07 19:40 Enrico Scholz + + * util-vserver/lib/testsuite/flags.c: applied new interface + +2004-03-07 19:39 Enrico Scholz + + * util-vserver/lib/vserver.h: added some documentation + added some flag/caps support functions + +2004-03-07 19:39 Enrico Scholz + + * util-vserver/lib/virtual.h: renamed scaps to bcaps + +2004-03-07 19:38 Enrico Scholz + + * util-vserver/lib/syscall_setflags.c: added EFAULT check + +2004-03-07 19:38 Enrico Scholz + + * util-vserver/lib/syscall_getflags-v13.hc, + util-vserver/lib/syscall_setflags-v13.hc: minor cosmetical + cleanups + +2004-03-07 19:38 Enrico Scholz + + * util-vserver/lib/listparser.hc: interpret numbers too + +2004-03-07 19:37 Enrico Scholz + + * util-vserver/lib/internal.h: added the text2value functions + +2004-03-07 19:37 Enrico Scholz + + * util-vserver/lib/flags-v13.c, + util-vserver/lib/flags_list-compat.c, + util-vserver/lib/flags_list-v13.c: cleanups; use modern + methods... + +2004-03-07 19:35 Enrico Scholz + + * util-vserver/lib/bcaps-v13.c, util-vserver/lib/bcaps_list-v13.c, + util-vserver/lib/ccaps-v13.c, util-vserver/lib/ccaps_list-v13.c, + util-vserver/lib/syscall_getccaps-v13.hc, + util-vserver/lib/syscall_getccaps.c, + util-vserver/lib/syscall_setccaps-v13.hc, + util-vserver/lib/syscall_setccaps.c, + util-vserver/lib/val2text-t2v-uint32.c, + util-vserver/lib/val2text-t2v-uint64.c, + util-vserver/lib/val2text-v2t-uint32.c, + util-vserver/lib/val2text-v2t-uint64.c, + util-vserver/lib/val2text.hc: initial checkin + +2004-03-07 19:35 Enrico Scholz + + * util-vserver/lib/Makefile-files: added the caps-files + added the val2text-files + +2004-03-07 19:34 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented + '.../interfaces/.../nodev' + +2004-03-06 02:02 Enrico Scholz + + * util-vserver/util-vserver.spec.in: s!Require!Requires! + +2004-03-06 01:54 Enrico Scholz + + * util-vserver/sysv/vprocunhide: initial checkin + +2004-03-06 01:54 Enrico Scholz + + * util-vserver/sysv/Makefile-files: modernized; use '+=' syntax + added vprocunhide + +2004-03-06 01:54 Enrico Scholz + + * util-vserver/src/vuname.c: made it chainable + added '--dir' option + +2004-03-06 01:53 Enrico Scholz + + * util-vserver/src/vlimit.c: cleanups + +2004-03-06 01:53 Enrico Scholz + + * util-vserver/scripts/vserver.start: call vuname + +2004-03-06 01:53 Enrico Scholz + + * util-vserver/scripts/vprocunhide: implemented exclude/include + syntax + fixed exit codes + +2004-03-06 01:53 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added $_VUNAME + +2004-03-06 01:52 Enrico Scholz + + * util-vserver/doc/configuration.xml: documents uts/ and rlimit/ + subdirs + +2004-03-06 01:52 Enrico Scholz + + * util-vserver/distrib/misc/vprocunhide-files: added some files + +2004-03-06 01:52 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added vprocunhide initscript + +2004-03-06 01:51 Enrico Scholz + + * util-vserver/Makefile.am: modernized it a little bit; use '+=' + syntax for sysv/ now + +2004-03-05 22:10 Enrico Scholz + + * util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, + util-vserver/scripts/vserver.suexec: added support for new + migrate feature + +2004-03-05 22:09 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_VCONTEXT and $_VLIMIT + +2004-03-05 22:09 Enrico Scholz + + * util-vserver/scripts/functions: isAvoidNamespace(): use + 'vserver-info - FEATURE namespace' inforamtion too + +2004-03-05 19:51 Enrico Scholz + + * util-vserver/distrib/misc/vprocunhide-files, + util-vserver/scripts/vprocunhide: initial checkin + +2004-03-05 19:51 Enrico Scholz + + * util-vserver/src/vlimit.c: try to read limits from dir only, when + '--dir' was used + +2004-03-05 19:50 Enrico Scholz + + * util-vserver/src/setattr.c: allow '--!...' syntax too + +2004-03-05 19:50 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.pkgmgmt: added a + missing '\' + +2004-03-05 19:49 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added setattr + and vprocunhide + +2004-03-05 19:48 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added vprocunhide + +2004-03-05 19:47 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented vprocunhide + documentation + +2004-03-05 19:47 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added vprocunhide-files + +2004-03-05 19:47 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added vprocunhide + files + +2004-03-05 17:56 Enrico Scholz + + * util-vserver/scripts/chcontext, util-vserver/scripts/functions, + util-vserver/scripts/rootshell, util-vserver/scripts/vapt-get, + util-vserver/scripts/vapt-get-worker, util-vserver/scripts/vpkg, + util-vserver/scripts/vpstree, util-vserver/scripts/vrpm, + util-vserver/scripts/vrpm-preload, + util-vserver/scripts/vrpm-worker, util-vserver/scripts/vserver, + util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.debootstrap, + util-vserver/scripts/vserver-build.functions, + util-vserver/scripts/vserver-build.functions.pkgmgmt, + util-vserver/scripts/vserver-build.skeleton, + util-vserver/scripts/vserver-copy, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, + util-vserver/scripts/vservers.grabinfo.sh, + util-vserver/scripts/vsysvwrapper, util-vserver/scripts/vtop: + added some '>&2' + +2004-03-05 17:24 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: added FEATURES.txt + +2004-03-05 17:24 Enrico Scholz + + * util-vserver/lib/testsuite, + util-vserver/lib/testsuite/.cvsignore, + util-vserver/lib/testsuite/Makefile-files: added parselimit + +2004-03-05 17:23 Enrico Scholz + + * util-vserver/src/vlimit.c: added '--dir' parameter + allow command-chaining + support limits with suffixes + make '-c' optionally and assume current ctx by default + +2004-03-05 17:21 Enrico Scholz + + * util-vserver/lib/parselimit.c, + util-vserver/lib/testsuite/parselimit.c: initial checkin + +2004-03-05 17:21 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_parseLimit(): added prototype + +2004-03-05 17:20 Enrico Scholz + + * util-vserver/lib/Makefile-files: added parselimit.c + +2004-03-05 04:44 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: updated; added + vattribute and keep-ctx-alive + +2004-03-05 04:43 Enrico Scholz + + * util-vserver/src/vcontext.c: implement the vc_set_flags() part + +2004-03-05 04:43 Enrico Scholz + + * util-vserver/src/vattribute.c: setFlags(): implemented it + +2004-03-05 04:42 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added util-unixsock.hc + +2004-03-05 04:42 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: fixed + error-checking + +2004-03-05 04:40 Enrico Scholz + + * util-vserver/lib/getprocentry-legacy.c, + util-vserver/lib/syscall-compat.hc, + util-vserver/lib/syscall_getflags-v13.hc, + util-vserver/lib/syscall_getiattr.c, + util-vserver/lib/syscall_getvxinfo-oldproc.hc, + util-vserver/lib/syscall_getvxinfo.c, + util-vserver/lib/syscall_setflags-v13.hc: return better + errorcodes + +2004-03-05 04:40 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: fixed copy&paste + error + +2004-03-05 04:40 Enrico Scholz + + * util-vserver/ensc_wrappers/Makefile-files: added + wrappers-socket.hc + +2004-03-05 04:39 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added vattribute and + keep-ctx-alive + +2004-03-05 03:27 Enrico Scholz + + * util-vserver/src/vserver-info.c: added 'FEATURE' tag + +2004-03-05 03:27 Enrico Scholz + + * util-vserver/src/vcontext.c: added support for external + synchronization + +2004-03-05 03:27 Enrico Scholz + + * util-vserver/src/reducecap.c: use vc_list2flag_compat() instead + of vc_textlist2flag + +2004-03-05 03:26 Enrico Scholz + + * util-vserver/src/keep-ctx-alive.c, util-vserver/src/vattribute.c: + initial checkin + +2004-03-05 03:26 Enrico Scholz + + * util-vserver/src/fstool.c, util-vserver/src/fstool.h, + util-vserver/src/setattr.c, util-vserver/src/showattr.c: added + support for VC_IATTR_IMMUTABLE flag + +2004-03-05 03:23 Enrico Scholz + + * util-vserver/src/enter-namespace.c, + util-vserver/src/new-namespace.c: obsoleted by vnamespace + +2004-03-05 03:23 Enrico Scholz + + * util-vserver/src/chcontext.c: use vc_list2flag_compat() instead + of vc_textlist2flag() + +2004-03-05 03:22 Enrico Scholz + + * util-vserver/src/Makefile-files: removed new-namespace and + enter-namespace + added keep-ctx-alive and vattribute + added src_legacy_* variables + +2004-03-05 03:21 Enrico Scholz + + * util-vserver/scripts/vapt-get, util-vserver/scripts/vrpm, + util-vserver/scripts/vserver: use $_VNAMESPACE instead of + $_NEW_NAMESPACE + +2004-03-05 03:21 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_VATTRIBUTE and $_VNAMESPACE + removed $_NEW_NAMESPACE + +2004-03-05 03:20 Enrico Scholz + + * util-vserver/scripts/chcontext: began to implement the new + vcontext part... + +2004-03-05 03:20 Enrico Scholz + + * util-vserver/m4/ensc_syscallnr.m4: use + $ensc_cv_path_kernelheaders instead of $kernelincludedir + +2004-03-05 03:19 Enrico Scholz + + * util-vserver/lib_internal/util.h: include "util-unixsock.h" + +2004-03-05 03:19 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c: use VC_IATTR_IMMUTABLE + flag too + +2004-03-05 03:17 Enrico Scholz + + * util-vserver/lib_internal/util-unixsock.h: initial checkin + +2004-03-05 03:17 Enrico Scholz + + * util-vserver/lib/testsuite/flags.c: updated to new flag functions + +2004-03-05 03:16 Enrico Scholz + + * util-vserver/lib/vserver.h: use uint_leastX_t instead of uintX_t + added -compat versions for the flag-parsers + vc_isSupportedString(): added + +2004-03-05 03:15 Enrico Scholz + + * util-vserver/lib/internal.h: added utilvserver_listparser_uint* + declarations + +2004-03-05 03:15 Enrico Scholz + + * util-vserver/lib/fmt-32.c, util-vserver/lib/fmt-64.c, + util-vserver/lib/fmt.h, util-vserver/lib/fmt.hc, + util-vserver/lib/fmtx-32.c, util-vserver/lib/fmtx-64.c, + util-vserver/lib/fmtx.hc: fixed aliased functions; they are now + in the *.c files and will not be + used anymore by every file including 'fmt.h' + +2004-03-05 03:13 Enrico Scholz + + * util-vserver/lib/flags.c, util-vserver/lib/flags_list.c: renamed + to -compat.c + +2004-03-05 03:12 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-socket.hc, + util-vserver/lib/flags-compat.c, util-vserver/lib/flags-v13.c, + util-vserver/lib/flags_list-compat.c, + util-vserver/lib/flags_list-v13.c, + util-vserver/lib/issupportedstring.c, + util-vserver/lib/listparser.hc, + util-vserver/lib/listparser_uint32.c, + util-vserver/lib/listparser_uint64.c: initial checkin + +2004-03-05 03:11 Enrico Scholz + + * util-vserver/lib/Makefile-files: updated to new flags* files + added listparser* files + removed unused statements + +2004-03-05 03:10 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers.h: added wrappers-socket.hc + +2004-03-05 03:10 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-iosock.hc: modernized + declarations (use WRAPPER_DECL) + WsendAll(),WrecvAll(): added 'int *err' parameter and do not use + perror() anymore + +2004-03-05 03:09 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: removed + new-namespace and enter-namespace; they are obsoleted by + vnamespace + +2004-03-05 03:08 Enrico Scholz + + * util-vserver/Makefile.am: added $(src_legacy_*) + +2004-03-04 04:05 Enrico Scholz + + * util-vserver/m4/ensc_syscallnr.m4: requires AC_PROG_CPP + +2004-03-04 04:04 Enrico Scholz + + * util-vserver/lib/vserver.h: added VC_IATTR_IMMUTABLE + +2004-03-04 04:04 Enrico Scholz + + * util-vserver/lib/virtual.h: added IATTR_IMMUTABLE + +2004-03-04 04:04 Enrico Scholz + + * util-vserver/lib/Makefile-files: do not use -I $kernelincludedir + anymore + +2004-03-04 03:01 Enrico Scholz + + * util-vserver/m4/ensc_syscallnr.m4: rewrote it... + +2004-03-04 03:00 Enrico Scholz + + * util-vserver/m4/ensc_cflags.m4, util-vserver/m4/ensc_dietlibc.m4, + util-vserver/m4/ensc_dietlibc_compat.m4, + util-vserver/m4/ensc_fpicsyscall.m4, + util-vserver/m4/ensc_syscall.m4: use unique identifiers + +2004-02-27 19:58 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.197 + +2004-02-27 19:55 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: fixed kernel-pkg + installation + fixed initscript update + +2004-02-27 19:24 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added vsched + +2004-02-27 19:23 Enrico Scholz + + * util-vserver/lib/testsuite/fmt.c: include + +2004-02-27 18:58 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added vsched + +2004-02-27 18:57 Enrico Scholz + + * util-vserver/src/chbind.c: removed unused variable + +2004-02-27 18:57 Enrico Scholz + + * util-vserver/src/testsuite/rpm-fake-test.c: include + +2004-02-27 18:57 Enrico Scholz + + * util-vserver/src/Makefile-files, util-vserver/src/vsched.c, + util-vserver/src/vschedule.c: renamed vschedule to vsched + +2004-02-27 18:48 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added + chcontext-compat and vschedule + +2004-02-27 18:46 Enrico Scholz + + * util-vserver/lib/syscall_setsched-v13.hc, + util-vserver/lib/syscall_setsched.c, + util-vserver/src/vschedule.c: initial checkin + +2004-02-27 18:46 Enrico Scholz + + * util-vserver/src/Makefile-files: added vschedule + +2004-02-27 18:45 Enrico Scholz + + * util-vserver/lib/vserver.h: added vc_set_sched declarations + +2004-02-27 18:45 Enrico Scholz + + * util-vserver/lib/virtual.h: removed 'otpions' field from + vcmd_set_sched_v1 + +2004-02-27 18:44 Enrico Scholz + + * util-vserver/lib/Makefile-files: added *setsched* files + +2004-02-27 18:02 Enrico Scholz + + * util-vserver/src/chcontext.c: cleanups; applied name-change from + 'chcontext' to 'chcontext-compat' + +2004-02-27 18:02 Enrico Scholz + + * util-vserver/src/Makefile-files: renamed 'chcontext' to + 'chcontext-compat' + +2004-02-27 18:01 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_CHCONTEXT_COMPAT + updated $_CHCONTEXT + +2004-02-27 18:01 Enrico Scholz + + * util-vserver/scripts/functions: isKernelAPI(): added + +2004-02-27 18:00 Enrico Scholz + + * util-vserver/lib/issupported.c, util-vserver/scripts/chcontext: + initial checkin + +2004-02-27 18:00 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added chcontext wrapper + +2004-02-27 17:59 Enrico Scholz + + * util-vserver/lib/vserver.h: added vc_isSupported() + cleanups + +2004-02-27 17:59 Enrico Scholz + + * util-vserver/lib/virtual.h: updated scheduler definitions + +2004-02-27 17:57 Enrico Scholz + + * util-vserver/lib/Makefile-files: added issupported.c + +2004-02-27 17:57 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added + chcontext-compat + +2004-02-27 04:44 Enrico Scholz + + * util-vserver/src/vcontext.c: cleanups; restructured code + +2004-02-27 04:43 Enrico Scholz + + * util-vserver/src/new-namespace.c: cleanups; do not include + "stack-start.h" anymore + +2004-02-27 04:42 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore, + util-vserver/src/Makefile-files: added vnamespace + +2004-02-27 04:42 Enrico Scholz + + * util-vserver/lib/syscall_cleanupnamespace-v13.hc, + util-vserver/lib/syscall_cleanupnamespace.c, + util-vserver/lib/syscall_setnamespace-v13.hc, + util-vserver/lib/syscall_setnamespace.c, + util-vserver/src/vnamespace.c: initial checkin + +2004-02-27 04:42 Enrico Scholz + + * util-vserver/src/fakerunlevel.c, + util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/save_ctxinfo.c, util-vserver/src/vrsetup.c, + util-vserver/src/vserver-stat.c: use wrappers with detailed + error-messages + +2004-02-27 04:40 Enrico Scholz + + * util-vserver/lib/testsuite/fmt.c: made non-C99 compilers happy + +2004-02-27 04:40 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_set_namespace(), + vc_cleanup_namespace(): added prototypes + +2004-02-27 04:40 Enrico Scholz + + * util-vserver/lib/virtual.h: added VCMD_set_namespace and + VCMD_cleanup_namespace declarations + +2004-02-27 04:39 Enrico Scholz + + * util-vserver/lib/Makefile-files: added *setnamespace* and + *cleanupnamespace* files + +2004-02-27 04:38 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-fcntl.hc, + util-vserver/ensc_wrappers/wrappers-unistd.hc: added some + wrappers with detailed error-messages + +2004-02-27 04:38 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers.h: added ENSC_DETAIL macros + +2004-02-27 04:37 Enrico Scholz + + * util-vserver/distrib/defaults/rpm/macros: added + /etc/rc.d/init.d/halt and /sbin/new-kernel-pkg to %_netsharedpath + +2004-02-27 04:37 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added vcontext and + vnamespace + +2004-02-26 13:10 Enrico Scholz + + * util-vserver/src/util-exitlikeprocess.c: moved to lib_internal/ + +2004-02-26 13:10 Enrico Scholz + + * util-vserver/src/util.h: removed everything an include + only + +2004-02-26 13:09 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added vcontext + +2004-02-26 13:08 Enrico Scholz + + * util-vserver/src/chcontext.c, + util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/rpm-fake.c: use VC_DYNAMIC_XID instead of + VC_RANDCTX + +2004-02-26 13:07 Enrico Scholz + + * util-vserver/lib/syscall_createcontext-v13.hc, + util-vserver/lib/syscall_createcontext.c, + util-vserver/lib/syscall_getflags-v13.hc, + util-vserver/lib/syscall_getflags.c, + util-vserver/lib/syscall_migratecontext-v13.hc, + util-vserver/lib/syscall_migratecontext.c, + util-vserver/lib/syscall_setflags-v13.hc, + util-vserver/lib/syscall_setflags.c, + util-vserver/lib_internal/util-cast.h, + util-vserver/lib_internal/util-commonstrings.h, + util-vserver/lib_internal/util-declarecmd.h, + util-vserver/lib_internal/util-dimof.h, + util-vserver/lib_internal/util-exitlikeprocess.c, + util-vserver/lib_internal/util-exitlikeprocess.h, + util-vserver/lib_internal/util.h, util-vserver/src/vcontext.c: + initial checkin + +2004-02-26 13:06 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files: removed + 'util-exitlikeprocess.c'; link against libinternal.a now + +2004-02-26 13:06 Enrico Scholz + + * util-vserver/src/Makefile-files: added vcontext + removed 'util-exitlikeprocess.c'; link against libinternal.a now + +2004-02-26 13:05 Enrico Scholz + + * util-vserver/scripts/functions: s!/vservers!$DEFAULT_VSERVERDIR! + (reported in IRC by broo) + +2004-02-26 13:03 Enrico Scholz + + * util-vserver/lib_internal/util-mem.h: include + +2004-02-26 13:03 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added lots of util-* + headers + added util-exitlikeprocess + +2004-02-26 13:02 Enrico Scholz + + * util-vserver/lib/vserver.h: * vc_create_context(), + vc_migrate_context(), vc_[sg]et_flags(): added + prototypes plus structures + * use VC_DYNAMIC_XID instead of VC_RANDCTX + +2004-02-26 13:01 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: added CALL_VC_V13A macro + (for API >= 0x00010012) + use VC_DYNAMIC_XID instead of VC_RANDCTX + +2004-02-26 13:01 Enrico Scholz + + * util-vserver/lib/virtual.h: added create+migrate+flags+caps + declarations + +2004-02-26 13:00 Enrico Scholz + + * util-vserver/lib/Makefile-files: added createcontext + + migratecontext + [sg]etflags files + +2004-02-26 12:59 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-vserver.hc: + Evc_create_context(), Evc_migrate_context(): added + use WRAPPER_DECL instead of UNUSED + +2004-02-25 11:47 Enrico Scholz + + * util-vserver/src/vlimit.c: enhanced output + added -nd options + allow literal limits + assume '-H' by default + +2004-02-25 11:46 Enrico Scholz + + * util-vserver/lib/testsuite, + util-vserver/lib/testsuite/.cvsignore: added 'fmt' + +2004-02-25 11:45 Enrico Scholz + + * util-vserver/src/util.h: include util-perror.h + +2004-02-25 11:45 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/secure-mount.c: + use more verbose perror() + +2004-02-25 11:44 Enrico Scholz + + * util-vserver/lib/testsuite/fmt.c, + util-vserver/lib_internal/util-perror.h: initial checkin + +2004-02-25 11:44 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added better namespace + supportc + +2004-02-25 11:43 Enrico Scholz + + * util-vserver/lib/testsuite/Makefile-files: added fmt.c + +2004-02-25 11:43 Enrico Scholz + + * util-vserver/lib/fmt.h: fmt_[u]int{32,64}(): added + +2004-02-20 23:36 Enrico Scholz + + * util-vserver/lib/flags.c: cosmetical cleanups + +2004-02-20 23:33 Enrico Scholz + + * util-vserver/lib/flags.c, util-vserver/lib/vserver.h: added + NAMESPACE flag + +2004-02-20 21:14 Enrico Scholz + + * util-vserver/src/Makefile-files: install enter-namespace into + $(sbindir) instead of $(pkglibdir) + +2004-02-20 21:08 Enrico Scholz + + * util-vserver/src/new-namespace.c: added missing '#include + ' + +2004-02-20 20:53 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.29.196 + +2004-02-20 20:33 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added + enter-namespace + +2004-02-20 20:27 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst, + util-vserver/src/Makefile-files: added enter-namespace + +2004-02-20 20:27 Enrico Scholz + + * util-vserver/src/enter-namespace.c: initial checkin + +2004-02-20 20:05 Enrico Scholz + + * util-vserver/src/vlimit.c: merged with 0.29.2 + +2004-02-20 19:06 Enrico Scholz + + * util-vserver/src/vlimit.c: changed logic to skip entries without + chance for success + +2004-02-20 19:04 Enrico Scholz + + * util-vserver/lib/Makefile-files: cleanups + +2004-02-20 19:03 Enrico Scholz + + * util-vserver/lib/syscall_rlimit-v11.hc: vc_get_rlimit_mask_v11(): + use correct datastructure + +2004-02-20 17:59 Enrico Scholz + + * util-vserver/lib/Makefile-files, util-vserver/lib/virtual.h, + util-vserver/lib/vserver.h: added the enter-namespace stuff + +2004-02-20 17:58 Enrico Scholz + + * util-vserver/lib/syscall_enternamespace-v13.hc, + util-vserver/lib/syscall_enternamespace.c: initial checkin + +2004-02-20 17:06 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers_handler.hc: added support for + more extensive output + +2004-02-20 17:05 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: moved vserver-info + into core + +2004-02-20 17:05 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: VC_ENABLE_API_V13(): + incremented needed API-version + +2004-02-20 17:04 Enrico Scholz + + * util-vserver/lib/syscall_getvxinfo-v13.hc: vc_get_vx_info_v13(): + handle xid==0 and xid==1 case manually + +2004-02-20 17:02 Enrico Scholz + + * util-vserver/src/vlimit.c: cleanup output in error-case + +2004-02-20 17:02 Enrico Scholz + + * util-vserver/src/stack-start.h: fixed begin of STACK_START for + non-growing stacks + +2004-02-20 17:01 Enrico Scholz + + * util-vserver/src/fakerunlevel.c: use more extensive errormessages + use + +2004-02-20 17:01 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-v13.hc, + util-vserver/lib/fscompat_getiattr.c, + util-vserver/lib/fscompat_setiattr-v13.hc, + util-vserver/lib/fscompat_setiattr.c: obsoleted + +2004-02-20 16:59 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/clearenv.c, + util-vserver/src/exec-cd.c, util-vserver/src/exec-ulimit.c, + util-vserver/src/ifspec.c, util-vserver/src/listdevip.c, + util-vserver/src/new-namespace.c, util-vserver/src/reducecap.c, + util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/rpm-fake.c, util-vserver/src/save_ctxinfo.c, + util-vserver/src/secure-mount.c, util-vserver/src/vkill.c: do not + do the lo-check anymore + +2004-02-20 16:57 Enrico Scholz + + * util-vserver/src/chbind.c: use more extensive errormessages + do not do the lo-check anymore + +2004-02-20 02:38 Enrico Scholz + + * util-vserver/src/vserver-info.c: fix copy&paste error when giving + out initpid + +2004-02-19 22:42 Enrico Scholz + + * util-vserver/NEWS: version 0.29.195 + +2004-02-19 22:32 Enrico Scholz + + * util-vserver/src/vserver-info.c: added SYSINFO command + internal cleanups + +2004-02-19 22:31 Enrico Scholz + + * util-vserver/m4/ensc_e2fscheck.m4: tell correct packagename for + Debian's e2fsprogs-devel + tell packagename for Mandrake + +2004-02-19 22:29 Enrico Scholz + + * util-vserver/src/chxid.c, util-vserver/src/fstool.c, + util-vserver/src/fstool.h, util-vserver/src/lsxid.c, + util-vserver/src/setattr.c, util-vserver/src/showattr.c: applied + new iattr interface and changed some internal functions + +2004-02-19 22:25 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c, + util-vserver/lib_internal/util-safechdir.c: applied new iattr + interface + +2004-02-19 22:25 Enrico Scholz + + * util-vserver/lib/vserver.h: * changed iattr interface + * removed *iattr_compat() functions; functionality is covered by + new + iattr interface already + +2004-02-19 22:23 Enrico Scholz + + * util-vserver/lib/virtual.h: added new iattr definitions + +2004-02-19 22:22 Enrico Scholz + + * util-vserver/lib/syscall_getiattr-v13.hc, + util-vserver/lib/syscall_getiattr.c, + util-vserver/lib/syscall_setiattr-v13.hc, + util-vserver/lib/syscall_setiattr.c: implemented new iattr + interface + +2004-02-19 22:21 Enrico Scholz + + * util-vserver/lib/syscall-compat.hc: vc_set_ipv4root_compat(): + fixed off-by-one error while checking number + of allowed IPs + +2004-02-19 22:19 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-fscompat.hc, + util-vserver/lib/fscompat_setiattr-fscompat.hc, + util-vserver/lib/syscall_getiattr-fscompat.hc, + util-vserver/lib/syscall_setiattr-fscompat.hc: moved fscompat* + files to *iattr-fscompat* and applied the changed iattr interface + +2004-02-19 22:14 Enrico Scholz + + * util-vserver/lib/createskeleton-full.hc: use new iattr interface + +2004-02-19 22:14 Enrico Scholz + + * util-vserver/lib/Makefile-files: removed the fscompat* files + added *iattr-fscompat files + +2004-02-19 22:09 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added FEATURES.txt + and vcopy + +2004-02-19 22:08 Enrico Scholz + + * util-vserver/configure.ac: create FEATURES.txt and rearranged + code a little bit + +2004-02-19 22:08 Enrico Scholz + + * util-vserver/Makefile.am: added FEATURES.txt + +2004-02-18 04:50 Enrico Scholz + + * util-vserver/lib/vserver.h: added vc_createSkeleton() plus + defines + +2004-02-18 04:50 Enrico Scholz + + * util-vserver/lib/fscompat_setiattr-fscompat.hc: + vc_set_iattr_compat_fscompat(): fixed usage of the mode argument + +2004-02-18 04:49 Enrico Scholz + + * util-vserver/lib_internal/unify-unify.c, + util-vserver/lib_internal/unify.h: Unify_deUnify(): fixed + parameters + Unify_copy(), Unify_setTime(): added prototype + +2004-02-18 04:48 Enrico Scholz + + * util-vserver/lib_internal/unify-deunify.c: fixed parameters + +2004-02-18 04:48 Enrico Scholz + + * util-vserver/lib_internal/matchlist.h: MatchList_printId(): added + prototype + +2004-02-18 04:47 Enrico Scholz + + * util-vserver/lib_internal/Makefile-files: added unify* and util-* + files + +2004-02-18 04:46 Enrico Scholz + + * util-vserver/src/vunify.c, util-vserver/src/vunify.h: cleanups; + outsourced a lot to libinternal.a + +2004-02-18 04:45 Enrico Scholz + + * util-vserver/src/util.h: cleanups; outsourced some macros/inlines + to libinternal.a + +2004-02-18 04:44 Enrico Scholz + + * util-vserver/src/Makefile-files: added vcopy + link the fstool programs against libinternal.a + removed vserver-visitdir + +2004-02-18 04:43 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added vcopy + +2004-02-18 04:43 Enrico Scholz + + * util-vserver/src/util-safechdir.c: moved into libinternal.a + +2004-02-18 04:42 Enrico Scholz + + * util-vserver/lib/createskeleton-full.hc, + util-vserver/lib/createskeleton-short.hc, + util-vserver/lib/createskeleton.c, + util-vserver/lib_internal/matchlist-printid.c, + util-vserver/lib_internal/unify-copy.c, + util-vserver/lib_internal/unify-settime.c, + util-vserver/lib_internal/util-dotfile.h, + util-vserver/lib_internal/util-safechdir.c, + util-vserver/lib_internal/util-safechdir.h, + util-vserver/src/vcopy-init.hc, util-vserver/src/vcopy.c, + util-vserver/src/vserver-visitdir.hc: initial checkin + +2004-02-18 04:41 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-io.hc: rewrote the W*all() + function to accept an additional argument holding + the error, instead of giving out the error + +2004-02-18 04:40 Enrico Scholz + + * util-vserver/lib/Makefile-files: added createskeleton* files + +2004-02-18 04:39 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added DEFAULT_PKGSTATEDIR + +2004-02-18 04:39 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/configure.ac: do not + redefine 'LIBTOOL'; the '--tag' causes problems on install + +2004-02-18 04:38 Enrico Scholz + + * util-vserver/compat.h: added PURE + +2004-02-17 19:59 Enrico Scholz + + * util-vserver/configure.ac: call ENSC_DIETLIBC_NEED_COMPAT to + determine if '-lcompat' is needed for dietlibc + +2004-02-17 19:59 Enrico Scholz + + * util-vserver/Makefile.am: define $(VSERVER_LDADDS) + generalized some LIBTOOL stuff + do not install libinternal.a anymore + +2004-02-17 19:58 Enrico Scholz + + * util-vserver/tests/Makefile-files: use $(VSERVER_LDADDS) instead + of lib/libvserver.la to use '-lcompat' on purpose + +2004-02-17 19:57 Enrico Scholz + + * util-vserver/scripts/functions: _pkgMountRPM(): do not mount + /proc when it is already mounted + +2004-02-17 19:56 Enrico Scholz + + * util-vserver/src/rpm-fake.c: rearranged inclusion of + to fix compilation problems + with fc1.90 + +2004-02-17 19:55 Enrico Scholz + + * util-vserver/src/rebootmgr.c: include + +2004-02-17 19:55 Enrico Scholz + + * util-vserver/src/Makefile-files: use $(VSERVER_LDADDS) instead of + lib/libvserver.la to use '-lcompat' on purpose + fixed capchroot compilation + +2004-02-17 19:52 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc_compat.m4: initial checkin + +2004-02-17 19:51 Enrico Scholz + + * util-vserver/ensc_vector/testsuite/test1.c, + util-vserver/src/testsuite/vunify-functest.c: make non-C99 + compilers happy + +2004-02-17 02:54 Enrico Scholz + + * util-vserver/NEWS: version 0.29.192 + +2004-02-17 02:46 Enrico Scholz + + * util-vserver/Makefile.am: added missing backslash + +2004-02-17 02:39 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files, + util-vserver/src/testsuite/vunify-functest.c, + util-vserver/src/vunify.h: use new lib_internal/ + +2004-02-17 02:38 Enrico Scholz + + * util-vserver/src/vunify-init.hc: moved most function into + lib_internal/ + +2004-02-17 02:36 Enrico Scholz + + * util-vserver/src/vunify.c: use new lib_internal + +2004-02-17 02:36 Enrico Scholz + + * util-vserver/src/util.h: moved some functions/macros into + lib_internal/util-* + +2004-02-17 02:36 Enrico Scholz + + * util-vserver/src/Makefile-files: removed vunify-* files which + went into lib_internal + +2004-02-17 02:35 Enrico Scholz + + * util-vserver/Makefile.am: added lib_internal/ files + +2004-02-17 02:34 Enrico Scholz + + * util-vserver/src/vunify-compare.hc, + util-vserver/src/vunify-debug.c, util-vserver/src/vunify-doit.hc, + util-vserver/src/vunify-matchlist.c, + util-vserver/src/vunify-matchlist.h: moved functionality into + lib_internal library + +2004-02-17 02:33 Enrico Scholz + + * util-vserver/lib_internal, + util-vserver/lib_internal/Makefile-files, + util-vserver/lib_internal/matchlist-appendfiles.c, + util-vserver/lib_internal/matchlist-compare.c, + util-vserver/lib_internal/matchlist-destroy.c, + util-vserver/lib_internal/matchlist-init.c, + util-vserver/lib_internal/matchlist-initbyvserver.c, + util-vserver/lib_internal/matchlist-initmanually.c, + util-vserver/lib_internal/matchlist-initrefserverlist.c, + util-vserver/lib_internal/matchlist.h, + util-vserver/lib_internal/pathinfo-append.c, + util-vserver/lib_internal/pathinfo-test.c, + util-vserver/lib_internal/pathinfo.h, + util-vserver/lib_internal/string-destroy.c, + util-vserver/lib_internal/string.h, + util-vserver/lib_internal/string.hc, + util-vserver/lib_internal/unify-deunify.c, + util-vserver/lib_internal/unify-unify.c, + util-vserver/lib_internal/unify.h, + util-vserver/lib_internal/util-io.h, + util-vserver/lib_internal/util-mem.h: initial checkin + +2004-02-17 02:32 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-unistd.hc, + util-vserver/ensc_wrappers/wrappers_handler.hc: fixed some + 'noreturn' warnings for the execv() functions + +2004-02-16 19:18 Enrico Scholz + + * util-vserver/contrib/make-manifest: ignore lines beginning with + '#' + +2004-02-16 19:18 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: set + @ENSC_HAVE_*_COMPILER_TRUE@ tags + +2004-02-16 19:18 Enrico Scholz + + * util-vserver/ensc_vector/testsuite/test1.c: #undef NDEBUG + +2004-02-16 19:17 Enrico Scholz + + * util-vserver/scripts/functions: use $_READLINK + mount /proc when doing pkg-management + +2004-02-16 19:17 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added readlink + +2004-02-16 19:16 Enrico Scholz + + * util-vserver/scripts/vrpm-preload: made rpm-flavor configurable + (e.g. 'i' for install (default), 'q' for + query, 'd' for database) + +2004-02-16 19:16 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: register generated + files so that they + can be cleaned up when needed + +2004-02-16 19:15 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm: call rpm.initDB() + +2004-02-16 19:15 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.rpm: rpm.initDB(): + added + +2004-02-16 19:14 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: added --initstyle + support (-> /etc/vservers/.../apps/init/style) + +2004-02-16 19:14 Enrico Scholz + + * util-vserver/src/chbind.c: refined test-routine to work in + vservers without 'lo' interface + +2004-02-16 19:14 Enrico Scholz + + * util-vserver/src/secure-mount.c: define MS_REC when needed + +2004-02-16 19:13 Enrico Scholz + + * util-vserver/configure.ac, util-vserver/src/rpm-fake-resolver.c: + added big, fat warning when not using dietlibc + +2004-02-16 18:11 Enrico Scholz + + * util-vserver/Makefile.am: added ENSC_HAVE_*_COMPILER_* to + pathsubst-rules + +2004-02-14 01:22 Enrico Scholz + + * util-vserver/scripts/vserver: use isAvoidNamespace() from + main-functions file + +2004-02-14 01:21 Enrico Scholz + + * util-vserver/scripts/functions, + util-vserver/scripts/vserver.functions: moved isAvoidNamespace() + into main-functions file + +2004-02-14 01:21 Enrico Scholz + + * util-vserver/m4/ensc_syscallnr.m4: fixed auto-case + improved message + +2004-02-14 01:20 Enrico Scholz + + * util-vserver/m4/ensc_kerneldir.m4: ENSC_KERNEL_HEADERS: made + argument optionally + +2004-02-14 01:19 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added clearenv + +2004-02-14 01:19 Enrico Scholz + + * util-vserver/configure.ac: use ENSC_SYSCALLNR() + +2004-02-13 23:43 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: use results from + ENSC_SYSCALLNR + +2004-02-13 23:42 Enrico Scholz + + * util-vserver/m4/ensc_syscallnr.m4: initial checkin + +2004-02-11 23:46 Enrico Scholz + + * util-vserver/src/clearenv.c: use VSERVER_DECLARE_CMD + +2004-02-11 23:46 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added clearenv + +2004-02-11 23:39 Enrico Scholz + + * util-vserver/scripts/vserver.start: use clearenv + +2004-02-11 23:39 Enrico Scholz + + * util-vserver/scripts/vserver.functions: made namespace stuff + configurable at a global place + +2004-02-11 23:38 Enrico Scholz + + * util-vserver/scripts/vrpm-preload: give more rights... (same like + at --secure) + +2004-02-11 23:37 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/src/Makefile-files: added clearenv + +2004-02-11 23:34 Enrico Scholz + + * util-vserver/src/clearenv.c: initial checkin + +2004-02-10 17:20 Enrico Scholz + + * util-vserver/src/chxid.c, util-vserver/src/setattr.c: handle + dot-files by default; it does not make sense to use a special + '-a' flag for the set-operations + +2004-02-10 17:06 Enrico Scholz + + * util-vserver/configure.ac: version 0.28.200 + +2004-02-10 17:05 Enrico Scholz + + * util-vserver/src/secure-mount.c: recognize 'rbind' in fstab + use internal mount(2) on MOVE too + +2004-02-10 14:22 Enrico Scholz + + * util-vserver/scripts/vserver, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start: implemented CLONE_NS and + --rbind mounting + +2004-02-10 14:21 Enrico Scholz + + * util-vserver/src/secure-mount.c: implemented '--rbind' + +2004-02-10 12:24 Enrico Scholz + + * util-vserver/ensc_vector/testsuite, + util-vserver/ensc_vector/testsuite/.cvsignore, + util-vserver/lib/testsuite, + util-vserver/lib/testsuite/.cvsignore: initial checkin + +2004-02-10 12:22 Enrico Scholz + + * util-vserver/lib/flags.c, util-vserver/lib/testsuite/flags.c: + s!init!fakeinit! + +2004-02-10 12:18 Enrico Scholz + + * util-vserver/configure.ac: version 0.28.199 + +2004-02-10 12:18 Enrico Scholz + + * util-vserver/util-vserver.spec.in: moved the 'chattr' into the + right %post scriptlet + +2004-02-10 02:36 Enrico Scholz + + * util-vserver/configure.ac: version 0.28.198 + +2004-02-09 23:53 Enrico Scholz + + * util-vserver/contrib/make-manifest, + util-vserver/contrib/manifest.dat.pathsubst: moved *.so.* files + from -core to -lib + +2004-02-09 23:52 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added -lib subpackage + moved *.so.* files from -core to -lib + removed the '%exclude ...vrpm.8' + added a 'make check' + +2004-02-09 23:48 Enrico Scholz + + * util-vserver/src/testsuite, + util-vserver/src/testsuite/.cvsignore: initial checkin + +2004-02-09 23:43 Enrico Scholz + + * util-vserver/ensc_wrappers/wrappers-unistd.hc: Eexecvp(): added + added some 'NORETURN' specifiers + +2004-02-09 23:42 Enrico Scholz + + * util-vserver/Makefile.am: added lib/testsuite + +2004-02-09 23:42 Enrico Scholz + + * util-vserver/src/testsuite/vunify-test.sh: redirect output to + /dev/null + +2004-02-09 23:41 Enrico Scholz + + * util-vserver/src/testsuite/rpm-fake-test.c: fixed compilation + warnings + +2004-02-09 23:40 Enrico Scholz + + * util-vserver/src/testsuite/chcontext-test.c: added explicite + 'return' for non-C99 compilers + +2004-02-09 23:40 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files: added chbind-test + +2004-02-09 23:39 Enrico Scholz + + * util-vserver/man/Makefile-files: renoved vrpm.8 for now + +2004-02-09 23:39 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_text2cap(): take 'unsigned int' + instead of 'int' argument + vc_textlist2flag(), vc_text2flag(), vc_hiflag2text(): added + prototypes + +2004-02-09 23:38 Enrico Scholz + + * util-vserver/lib/capabilities.c: vc_text2cap(): take 'unsigned + int' instead of 'int' argument + +2004-02-09 23:38 Enrico Scholz + + * util-vserver/lib/Makefile-files: added flags* files + added testsuite + -programs + +2004-02-09 23:36 Enrico Scholz + + * util-vserver/src/chcontext.c: setFlags(): use vc_textlist2flag() + function + rearranged code to avoid unremovable zombie processes + +2004-02-09 23:35 Enrico Scholz + + * util-vserver/src/chbind.c, util-vserver/src/reducecap.c: rewrote + it + +2004-02-09 23:35 Enrico Scholz + + * util-vserver/src/Makefile-files: made reducecap & chbind native + dietlibc programs + +2004-02-09 23:30 Enrico Scholz + + * util-vserver/lib/flags.c, util-vserver/lib/flags_list.c, + util-vserver/lib/testsuite, + util-vserver/lib/testsuite/Makefile-files, + util-vserver/lib/testsuite/flags.c, + util-vserver/src/testsuite/chbind-test.c: initial checkin + +2004-02-06 22:50 Enrico Scholz + + * util-vserver/src/Makefile-files: added sys_clone.h + +2004-02-06 22:50 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added 'chattr -t /vservers' + + needed Requires: + +2004-02-06 22:49 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: call 'chattr -t' on + newly create vserverdirs + cleanups; parenthesize case-expressions + +2004-02-06 21:34 Enrico Scholz + + * util-vserver/src/util.h: exitLikeProcess(): added NORETURN + attribute to prototype + +2004-02-06 21:33 Enrico Scholz + + * util-vserver/src/rpm-fake.c: cleanups; use sys_clone() + +2004-02-06 21:33 Enrico Scholz + + * util-vserver/src/new-namespace.c: cleanups; modernized it + +2004-02-06 21:33 Enrico Scholz + + * util-vserver/src/Makefile-files: link new-namespace against + util-exitlikeprocess + cleanups + +2004-02-06 21:32 Enrico Scholz + + * util-vserver/src/sys_clone.h: initial checkin + +2004-02-06 18:15 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files: do not call + vunify-test when no C99 compiler is available + +2004-02-06 17:43 Enrico Scholz + + * util-vserver/ensc_vector/testsuite, + util-vserver/ensc_vector/testsuite/Makefile-files, + util-vserver/ensc_vector/testsuite/test1.c: initial checkin + +2004-02-06 17:43 Enrico Scholz + + * util-vserver/src/testsuite/vunify-test.sh: use '-n' flag + +2004-02-06 17:42 Enrico Scholz + + * util-vserver/src/vutil.cc: minor cosmetical changes + +2004-02-06 17:42 Enrico Scholz + + * util-vserver/src/vunify-init.hc: initModeManually(): added + missing strdup() + +2004-02-06 17:41 Enrico Scholz + + * util-vserver/Makefile.am, + util-vserver/ensc_vector/Makefile-files: added ensc_vector + testsuite + +2004-02-06 16:42 Enrico Scholz + + * util-vserver/ensc_vector/vector-insert.c: fixed it + +2004-02-06 16:40 Enrico Scholz + + * util-vserver/src/vserver-stat.c: use ensc_vector + cleanups + +2004-02-06 16:40 Enrico Scholz + + * util-vserver/src/lsxid.c: use ensc_vector to cache xid->name + mappings + +2004-02-06 16:39 Enrico Scholz + + * util-vserver/src/Makefile-files: link vserver-stat against + libensc_vector.a + +2004-02-06 15:02 Enrico Scholz + + * util-vserver/doc/configuration.xml: enumerated possible resources + +2004-02-06 15:01 Enrico Scholz + + * util-vserver/src/chxid.c: fixed do-display-dir behavior + +2004-02-06 14:56 Enrico Scholz + + * util-vserver/scripts/vserver.functions: _generateFlagOptions(): + fixed a case expression; formerly x"foo" == + foo checks which would never succeed + +2004-02-06 14:53 Enrico Scholz + + * util-vserver/src/chcontext.c, util-vserver/src/chroot-cat.c, + util-vserver/src/chroot-rm.c, util-vserver/src/exec-cd.c, + util-vserver/src/exec-ulimit.c, util-vserver/src/fstool.c, + util-vserver/src/new-namespace.c, util-vserver/src/pipe-sync.c, + util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/save_ctxinfo.c, + util-vserver/src/testsuite/rpm-fake-test.c, + util-vserver/src/vps.c, util-vserver/src/vrsetup.c, + util-vserver/src/vserver-info.c, util-vserver/src/vserver-stat.c, + util-vserver/src/vunify-doit.hc, util-vserver/src/vunify-init.hc, + util-vserver/src/vunify-matchlist.c, util-vserver/src/vunify.c: + use new ensc_wrappers/ headers + +2004-02-06 14:49 Enrico Scholz + + * util-vserver/src/Makefile-files: removed wrappers-* + link lsxid against libensc_vector.a + +2004-02-06 14:48 Enrico Scholz + + * util-vserver/src/wrappers-dirent.h, + util-vserver/src/wrappers-io.h, + util-vserver/src/wrappers-vserver.h, util-vserver/src/wrappers.h: + moved and generalized into an own /ensc_wrappers subdir + +2004-02-06 14:47 Enrico Scholz + + * util-vserver/ensc_vector, + util-vserver/ensc_vector/Makefile-files, + util-vserver/ensc_vector/vector-clear.c, + util-vserver/ensc_vector/vector-free.c, + util-vserver/ensc_vector/vector-init.c, + util-vserver/ensc_vector/vector-insert.c, + util-vserver/ensc_vector/vector-internal.h, + util-vserver/ensc_vector/vector-popback.c, + util-vserver/ensc_vector/vector-pushback.c, + util-vserver/ensc_vector/vector-resize.c, + util-vserver/ensc_vector/vector-resizeinternal.hc, + util-vserver/ensc_vector/vector-search.c, + util-vserver/ensc_vector/vector-sort.c, + util-vserver/ensc_vector/vector-unique.c, + util-vserver/ensc_vector/vector.h, + util-vserver/ensc_vector/vector.hc, util-vserver/ensc_wrappers, + util-vserver/ensc_wrappers/Makefile-files, + util-vserver/ensc_wrappers/wrappers-clone.hc, + util-vserver/ensc_wrappers/wrappers-dirent.hc, + util-vserver/ensc_wrappers/wrappers-fcntl.hc, + util-vserver/ensc_wrappers/wrappers-io.hc, + util-vserver/ensc_wrappers/wrappers-ioctl.hc, + util-vserver/ensc_wrappers/wrappers-iosock.hc, + util-vserver/ensc_wrappers/wrappers-mount.hc, + util-vserver/ensc_wrappers/wrappers-pivot.hc, + util-vserver/ensc_wrappers/wrappers-resource.hc, + util-vserver/ensc_wrappers/wrappers-stdlib.hc, + util-vserver/ensc_wrappers/wrappers-unistd.hc, + util-vserver/ensc_wrappers/wrappers-vserver.hc, + util-vserver/ensc_wrappers/wrappers-wait.hc, + util-vserver/ensc_wrappers/wrappers.h, + util-vserver/ensc_wrappers/wrappers_handler.hc: initial checkin + +2004-02-06 14:46 Enrico Scholz + + * util-vserver/Makefile.am: added ensc_vector/ & ensc_wrappers/ + subdirs and files + +2004-02-05 22:16 Enrico Scholz + + * util-vserver/src/setattr.c: documented --barrier + fixed do-display-dir behavior + +2004-02-05 04:20 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added another path for + the template mtab file + +2004-02-05 04:14 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.28.195 + +2004-02-05 04:02 Enrico Scholz + + * util-vserver/distrib/defaults/apt.conf: initial checkin + +2004-02-05 03:43 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added default apt.conf + +2004-02-05 03:43 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented default apt.conf + +2004-02-05 03:43 Enrico Scholz + + * util-vserver/lib/syscall-legacy.hc: minor code cleanups + added a missing '#ifdef ENSC_SYSCALL_TRADITIONAL' + +2004-02-05 03:42 Enrico Scholz + + * util-vserver/m4/ensc_syscall.m4: enhanced check by using kernel + headers + +2004-02-05 03:42 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.apt: added default + apt.conf/vendors.conf files + +2004-02-05 03:41 Enrico Scholz + + * util-vserver/src/chcontext.c: use sethostname(2)/setdomainname(2) + again... + +2004-02-04 23:39 Enrico Scholz + + * util-vserver/configure.ac: use ENSC_SYSCALL + enhanced diagnostic output + +2004-02-04 23:38 Enrico Scholz + + * util-vserver/lib/syscall-legacy.hc, + util-vserver/lib/vserver-internal.h: use ENSC_SYSCALL_TRADITIONAL + +2004-02-04 23:38 Enrico Scholz + + * util-vserver/lib/syscall.c: cleanups; do not include "compat.h" + anymore explicitly + +2004-02-04 23:37 Enrico Scholz + + * util-vserver/Makefile.am: added @WGET@ substitution + +2004-02-04 21:26 Enrico Scholz + + * util-vserver/m4/ensc_syscall.m4: initial checkin + +2004-02-04 21:23 Enrico Scholz + + * util-vserver/scripts/vpkg: implemented Debian support + +2004-02-04 21:22 Enrico Scholz + + * util-vserver/scripts/vserver: cleanups + added '--silent' option + +2004-02-04 21:22 Enrico Scholz + + * util-vserver/src/vunify-init.hc, util-vserver/src/vunify.c: minor + cleanups + +2004-02-04 03:28 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-v13.hc: fixed 'xid' parameter + transmission + +2004-02-04 03:17 Enrico Scholz + + * util-vserver/NEWS: version 0.28.193 + +2004-02-04 03:17 Enrico Scholz + + * util-vserver/configure.ac: added check for wget + version 0.28.193 + +2004-02-04 03:10 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added some (Build)Requires: + +2004-02-04 03:10 Enrico Scholz + + * util-vserver/contrib/manifest.dat.pathsubst: added debootstrap + files + +2004-02-04 03:09 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented debootstrap + configuration + +2004-02-04 03:07 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: fixed path of + default-uri file + +2004-02-04 02:51 Enrico Scholz + + * util-vserver/distrib/misc/debootstrap.uri: initial checkin + +2004-02-04 02:51 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added debootstrap.uri + +2004-02-04 02:48 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: use + $PKGLIBDEFAULTDIRc + +2004-02-04 02:48 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.functions, + util-vserver/scripts/vserver-build.skeleton: cleanups; use + 'base.' namespace + +2004-02-04 02:46 Enrico Scholz + + * util-vserver/scripts/vserver-build: added debootstrap + +2004-02-04 02:46 Enrico Scholz + + * util-vserver/scripts/vpkg: added basic support for Debian + +2004-02-04 02:46 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added $_WGET + +2004-02-04 02:45 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added debootstrap and + pkgmgmt files + +2004-02-04 02:44 Enrico Scholz + + * util-vserver/scripts/vserver-build.debootstrap: initial checkin + +2004-02-03 22:22 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.28.192 + +2004-02-03 22:21 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added 'vuname' + +2004-02-03 22:20 Enrico Scholz + + * util-vserver/contrib, util-vserver/contrib/.cvsignore, + util-vserver/contrib/Makefile-files, + util-vserver/contrib/make-manifest, + util-vserver/contrib/manifest.dat.pathsubst: initial checkin + +2004-02-03 21:58 Enrico Scholz + + * util-vserver/configure.ac: added more details to the final + summary + +2004-02-03 21:57 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added misc/fstab + +2004-02-03 21:57 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.functions, + util-vserver/scripts/vserver-build.functions.apt, + util-vserver/scripts/vserver-build.functions.rpm: splitted some + functions into a separate vserver-build.functions.pkgmgmt file + use XXX.yyy namespace-style notation + +2004-02-03 21:55 Enrico Scholz + + * util-vserver/distrib/misc/fstab, + util-vserver/scripts/vserver-build.functions.pkgmgmt, + util-vserver/scripts/vserver-build.skeleton: initial checkin + +2004-02-03 21:54 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: allow to configure + fstab-file + +2004-02-03 21:52 Enrico Scholz + + * util-vserver/scripts/vserver-build: added skeleton support + fixed help message + +2004-02-03 21:52 Enrico Scholz + + * util-vserver/scripts/vserver: added '--debug' option + +2004-02-03 21:51 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT + +2004-02-03 21:48 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added vserver-build.skeleton + +2004-02-03 21:47 Enrico Scholz + + * util-vserver/src/vkill.c: cleanups; use modern interfaces + +2004-02-03 21:47 Enrico Scholz + + * util-vserver/src/util.h: VSERVER_DECLARE_CMD macro: added + +2004-02-03 21:46 Enrico Scholz + + * util-vserver/src/Makefile-files: added vuname + +2004-02-03 21:45 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files: added workaround for + automake bug + +2004-02-03 21:45 Enrico Scholz + + * util-vserver/src/vuname.c: initial checkin + +2004-02-03 12:59 Enrico Scholz + + * util-vserver/configure.ac: use ENSC_C99COMPILER + give out summary at end of ./configure + +2004-02-03 12:57 Enrico Scholz + + * util-vserver/src/Makefile-files: * added support for + ENSC_HAVE_C99_COMPILER and conditionalized build + of 'vunify' + * renamed *_CXX_X_* variables to *_CXX_* + +2004-02-03 12:55 Enrico Scholz + + * util-vserver/src/vunify.cc: removed since rewritten in C + +2004-02-03 12:55 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: use 'yes' instead of '1' + +2004-02-03 12:55 Enrico Scholz + + * util-vserver/m4/ensc_cxxcompiler.m4: added ENSC_C99COMPILER + added warning-messages + +2004-02-03 12:54 Enrico Scholz + + * util-vserver/lib/syscall_getvhiname-v13.hc, + util-vserver/lib/syscall_setvhiname-v13.hc: #include + +2004-02-02 19:34 Enrico Scholz + + * util-vserver/doc/compatibility.xml: added note about chcontext + rewrite + +2004-02-02 19:34 Enrico Scholz + + * util-vserver/configure.ac: added support for olduts API + +2004-02-02 19:33 Enrico Scholz + + * util-vserver/Makefile.am: substitute @PACKAGE@ too + +2004-02-02 19:32 Enrico Scholz + + * util-vserver/src/testsuite/Makefile-files: added chcontext-test.c + +2004-02-02 19:32 Enrico Scholz + + * util-vserver/src/testsuite/chcontext-test.c: initial checkin + +2004-02-02 19:32 Enrico Scholz + + * util-vserver/src/wrappers.h: added Esetsid() + +2004-02-02 19:32 Enrico Scholz + + * util-vserver/src/wrappers-vserver.h: return xid_t instead of void + +2004-02-02 19:31 Enrico Scholz + + * util-vserver/src/vserver-stat.c: cleanups + added missing '\n' in error-msg + +2004-02-02 19:31 Enrico Scholz + + * util-vserver/src/vserver-info.c: added UTS tag + +2004-02-02 19:30 Enrico Scholz + + * util-vserver/src/reducecap.c: cleanups in the vc_new_s_context() + call + +2004-02-02 19:06 Enrico Scholz + + * util-vserver/src/chcontext.c: rewrote and enhanced it + +2004-02-02 19:05 Enrico Scholz + + * util-vserver/src/Makefile-files: made chcontext a dietlibc + program and updated its SOURCES + +2004-02-02 19:00 Enrico Scholz + + * util-vserver/lib/vserver.h: return xid_t on vc_new_s_context() + added VHOST/vhi functions and types + +2004-02-02 18:59 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: cleanups + added CALL_VC_OLDUTS() + added VHI_USER2KERNEL/VHI_KERNEL2USER() wrappers + +2004-02-02 18:58 Enrico Scholz + + * util-vserver/lib/virtual.h: added VHOST support + +2004-02-02 18:58 Enrico Scholz + + * util-vserver/lib/syscall_gettaskxid-oldproc.hc, + util-vserver/lib/syscall_getvxinfo-oldproc.hc: renamed *_X to + *_oldproc + +2004-02-02 18:57 Enrico Scholz + + * util-vserver/lib/syscall-compat.hc, + util-vserver/lib/syscall-legacy.hc, util-vserver/lib/syscall.c: + fixed vc_new_s_context() to return the context instead of 0/1 + +2004-02-02 18:55 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-v13.hc, + util-vserver/lib/fscompat_setiattr-v13.hc, + util-vserver/lib/syscall_getiattr-v13.hc, + util-vserver/lib/syscall_getvxinfo-v13.hc, + util-vserver/lib/syscall_kill-v11.hc, + util-vserver/lib/syscall_setiattr-v13.hc: use CTX_USER2KERNEL to + wrap xid + +2004-02-02 18:54 Enrico Scholz + + * util-vserver/lib/capabilities.c: allow both 'CAP_xxx' and 'xxx' + +2004-02-02 18:36 Enrico Scholz + + * util-vserver/lib/Makefile-files: added *vhiname* files + +2004-02-02 18:32 Enrico Scholz + + * util-vserver/lib/syscall_getvhiname-olduts.hc, + util-vserver/lib/syscall_getvhiname-v13.hc, + util-vserver/lib/syscall_getvhiname.c, + util-vserver/lib/syscall_setvhiname-olduts.hc, + util-vserver/lib/syscall_setvhiname-v13.hc, + util-vserver/lib/syscall_setvhiname.c: initial checkin + +2004-01-29 11:09 Enrico Scholz + + * util-vserver/doc, util-vserver/doc/.cvsignore: initial checkin + +2004-01-29 11:08 Enrico Scholz + + * util-vserver/NEWS: version 0.28.190 + +2004-01-29 11:07 Enrico Scholz + + * util-vserver/Makefile.am: cleanups; use $(SED) instead of sed + fix $pkglibdir in install-data-hook + put some hooks into own targets + +2004-01-29 11:06 Enrico Scholz + + * util-vserver/configure.ac: added tests for sed and cmp + outsourced ext2fs test (merged from 0.28) + +2004-01-29 11:05 Enrico Scholz + + * util-vserver/src/vserver-stat.c: fixed insert-into-list function + give out warning when vc_get_task_xid() fails + +2004-01-29 11:04 Enrico Scholz + + * util-vserver/src/vserver-info.c: use DIM_OF() macro + added APIVER tag + fixed help message + +2004-01-29 11:04 Enrico Scholz + + * util-vserver/src/util.h: added DIM_OF() macro + +2004-01-29 11:03 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added vrsetup + +2004-01-29 11:03 Enrico Scholz + + * util-vserver/scripts/legacy/distrib-info, + util-vserver/scripts/legacy/vserver, + util-vserver/scripts/legacy/vserverkillall, + util-vserver/scripts/rootshell, util-vserver/scripts/vapt-get, + util-vserver/scripts/vapt-get-worker, util-vserver/scripts/vpkg, + util-vserver/scripts/vpstree, util-vserver/scripts/vrpm, + util-vserver/scripts/vrpm-preload, + util-vserver/scripts/vrpm-worker, util-vserver/scripts/vserver, + util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-copy, + util-vserver/scripts/vservers.grabinfo.sh, + util-vserver/scripts/vsysvwrapper, util-vserver/scripts/vtop: + fixed/changed path-detection for $UTIL_VSERVER_VARS + +2004-01-29 11:02 Enrico Scholz + + * util-vserver/scripts/Makefile-files: cleanups + do not install util-vserver-vars in SBINDIR anymore + +2004-01-29 11:01 Enrico Scholz + + * util-vserver/m4/ensc_e2fscheck.m4: initial checkin + +2004-01-29 11:00 Enrico Scholz + + * util-vserver/lib/ext2fs.h, util-vserver/lib/getversion.c, + util-vserver/lib/vserver.h: merged with 0.28 + +2004-01-23 21:07 Enrico Scholz + + * util-vserver/doc/Makefile-files: added some files to doc_DAT + +2004-01-23 20:51 Enrico Scholz + + * util-vserver/configure.ac: version 0.27.199 + added check for xsltproc + +2004-01-23 20:51 Enrico Scholz + + * util-vserver/NEWS: version 0.27.199 + +2004-01-23 20:50 Enrico Scholz + + * util-vserver/compat.h: added ENSC_FIX_IOCTL() + +2004-01-23 20:49 Enrico Scholz + + * util-vserver/Makefile.am: added $(doc_DAT) + +2004-01-23 20:48 Enrico Scholz + + * util-vserver/doc/Makefile-files: added compat-doc + +2004-01-23 20:48 Enrico Scholz + + * util-vserver/doc/compat-xhtml.xsl, + util-vserver/doc/compatibility.dtd, + util-vserver/doc/compatibility.xml: initial checkin + +2004-01-23 20:47 Enrico Scholz + + * util-vserver/lib/ioctl-getext2flags.hc, + util-vserver/lib/ioctl-getfilecontext.hc, + util-vserver/lib/ioctl-setext2flags.hc, + util-vserver/lib/ioctl-setfilecontext.hc, + util-vserver/lib/ioctl-setxflg.hc: use ENSC_FIX_IOCTL() to fix + dietlibc's ioctl() return values + +2004-01-22 21:35 Enrico Scholz + + * util-vserver/lib/getversion-internal.hc, + util-vserver/lib/syscall-compat.hc, + util-vserver/lib/syscall_getiattr-v13.hc, + util-vserver/lib/syscall_gettaskxid-v13.hc, + util-vserver/lib/syscall_getvxinfo-v13.hc, + util-vserver/lib/syscall_kill-v11.hc, + util-vserver/lib/syscall_rlimit-v11.hc, + util-vserver/lib/syscall_setiattr-v13.hc: use the VCMD_* macros + instead of the VC_CMD(...) macros + +2004-01-22 15:42 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.27.198 + +2004-01-22 15:40 Enrico Scholz + + * util-vserver/src/vrsetup.c: fixed copyright date + +2004-01-22 14:24 Enrico Scholz + + * util-vserver/src/wrappers.h: added Eioctl() wrapper + +2004-01-22 14:22 Enrico Scholz + + * util-vserver/src/Makefile-files: added vrsetup + +2004-01-22 14:22 Enrico Scholz + + * util-vserver/src/vrsetup.c: initial checkin + +2004-01-22 13:43 Enrico Scholz + + * util-vserver/src/vunify-doit.hc: * provide st_mode at + vc_set_iattr_compat() call + +2004-01-22 13:42 Enrico Scholz + + * util-vserver/src/lsxid.c, util-vserver/src/showattr.c: * provide + st_mode at vc_set_iattr_compat() call + * do not stop on non-regular files; vc_set_iattr_compat() handles + this + already + +2004-01-22 13:41 Enrico Scholz + + * util-vserver/src/setattr.c: * removed the race-check; this is + done by vc_set_iattr_compat() already + * provide st_mode at vc_set_iattr_compat() call + * do not stop on non-regular files; vc_set_iattr_compat() handles + this + already + * moved setFlags() code into handleFile() + * added 'iunlink' option + +2004-01-22 13:40 Enrico Scholz + + * util-vserver/src/chxid.c: * removed the race-check; this is done + by vc_set_iattr_compat() already + * provide st_mode at vc_set_iattr_compat() call + * do not stop on non-regular files; vc_set_iattr_compat() handles + this + already + * moved setFile() code into handleFile() + +2004-01-22 13:38 Enrico Scholz + + * util-vserver/src/Makefile-files: removed 'vunify' from list of + C++ files + +2004-01-22 13:37 Enrico Scholz + + * util-vserver/lib/syscall_gettaskxid-v13.hc: fixed call + +2004-01-22 13:36 Enrico Scholz + + * util-vserver/lib/ioctl-getext2flags.hc, + util-vserver/lib/ioctl-getfilecontext.hc, + util-vserver/lib/ioctl-getxflg.hc, + util-vserver/lib/ioctl-setext2flags.hc, + util-vserver/lib/ioctl-setfilecontext.hc, + util-vserver/lib/ioctl-setxflg.hc: when ioctl() returns a value + <-1, assign errno manually and return -1 + +2004-01-22 13:35 Enrico Scholz + + * util-vserver/lib/syscall_getiattr-v13.hc, + util-vserver/lib/syscall_setiattr-v13.hc: updated to changed API; + removed 'dev' field from 'struct vcmd_ctx_iattr_v0' + +2004-01-22 13:34 Enrico Scholz + + * util-vserver/lib/virtual.h: updated; removed 'dev' field from + 'struct vcmd_ctx_iattr_v0' + +2004-01-22 13:34 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: CALL_VC(): return ENOSYS in + errorcase + +2004-01-22 13:33 Enrico Scholz + + * util-vserver/lib/vserver.h: * vc_[sg]et_iattr_compat(): added + additional 'mode' parameter to avoid + an additional 'lstat' + +2004-01-22 13:30 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr.c, + util-vserver/lib/fscompat_setiattr.c: * added additional 'mode' + parameter to avoid an additional 'lstat' + +2004-01-22 13:29 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-fscompat.hc, + util-vserver/lib/fscompat_setiattr-fscompat.hc: * added + additional 'mode' parameter to avoid an additional 'lstat' + * operate on regular files and directories only + +2004-01-21 21:32 Enrico Scholz + + * util-vserver/lib/syscall_gettaskxid-v13.hc: return VC_NOCTX + instead of -1 + +2004-01-21 19:06 Enrico Scholz + + * util-vserver/tests/getinitpid.c: updated to new API + +2004-01-21 19:06 Enrico Scholz + + * util-vserver/src/vserver-info.c: added INITPID* and XID tags + +2004-01-21 19:01 Enrico Scholz + + * util-vserver/src/save_ctxinfo.c, util-vserver/src/vps.c, + util-vserver/src/vserver-stat.c, + util-vserver/src/wrappers-vserver.h, util-vserver/tests/getctx.c: + use vc_get_task_xid() instead of vc_X_getctx() + +2004-01-21 18:59 Enrico Scholz + + * util-vserver/lib/vserver.h: * vc_get_vx_info(), + vc_get_task_xid(): added prototypes plus required + typedefinitions + * vc_X_getctx(), vc_X_getinitpid(): removed since obsoleted by + functions + above + +2004-01-21 18:57 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: * added fscompat & oldproc + API + * added support for VC_MULTIVERSION_SYSCALL which chooses the + optimal + CALL_VC variant + * changed CALL_VC() so that it looks for version greater than + requested + one now + +2004-01-21 18:55 Enrico Scholz + + * util-vserver/lib/virtual.h: updated; added VINFO commands + +2004-01-21 18:55 Enrico Scholz + + * util-vserver/lib/syscall_kill.c, + util-vserver/lib/syscall_rlimit.c: cleanups; optimize CALL_VC() + usage + +2004-01-21 18:54 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr.c, + util-vserver/lib/fscompat_setiattr.c: cleanups; use CALL_VC() + macro + +2004-01-21 18:53 Enrico Scholz + + * util-vserver/lib/checkversion.c, + util-vserver/lib/getversion-internal.hc, + util-vserver/lib/getversion.c, + util-vserver/lib/ioctl-getext2flags.hc, + util-vserver/lib/ioctl-getfilecontext.hc, + util-vserver/lib/ioctl-getxflg.hc, + util-vserver/lib/ioctl-setext2flags.hc, + util-vserver/lib/ioctl-setfilecontext.hc, + util-vserver/lib/ioctl-setxflg.hc, + util-vserver/lib/syscall-compat.hc, util-vserver/lib/syscall.c, + util-vserver/lib/syscall_getiattr-v13.hc, + util-vserver/lib/syscall_setiattr-v13.hc: cleanups; fixed/changed + "vserver-internal.h" including + +2004-01-21 18:50 Enrico Scholz + + * util-vserver/lib/Makefile-files: added get_task_xid & get_vc_info + files + removed obsoleted getctx/getinitpid files + renamed some -v11 files to -fscompat + +2004-01-21 18:48 Enrico Scholz + + * util-vserver/lib/getctx-compat.hc, + util-vserver/lib/getctx-legacy.hc, util-vserver/lib/getctx.c, + util-vserver/lib/getinitpid-compat.hc, + util-vserver/lib/getinitpid-legacy.hc, + util-vserver/lib/getinitpid.c: obsoleted by v13/oldproc functions + +2004-01-21 18:47 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-v13.hc, + util-vserver/lib/fscompat_setiattr-v13.hc, + util-vserver/lib/syscall_gettaskxid-oldproc.hc, + util-vserver/lib/syscall_gettaskxid-v13.hc, + util-vserver/lib/syscall_gettaskxid.c, + util-vserver/lib/syscall_getvxinfo-oldproc.hc, + util-vserver/lib/syscall_getvxinfo-v13.hc, + util-vserver/lib/syscall_getvxinfo.c: initial checkin + +2004-01-21 18:46 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-fscompat.hc, + util-vserver/lib/fscompat_getiattr-v11.hc, + util-vserver/lib/fscompat_setiattr-fscompat.hc, + util-vserver/lib/fscompat_setiattr-v11.hc: renamed *-v11 to + *-fscompat + +2004-01-21 18:45 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: added 'Build-*' + +2004-01-21 18:43 Enrico Scholz + + * util-vserver/configure.ac: added 'oldproc' API + +2004-01-21 01:35 Enrico Scholz + + * util-vserver/src/Makefile-files, + util-vserver/src/vunify-compare.hc, + util-vserver/src/vunify-compare.ic, + util-vserver/src/vunify-doit.hc, util-vserver/src/vunify-doit.ic, + util-vserver/src/vunify-init.hc, util-vserver/src/vunify-init.ic, + util-vserver/src/vunify.c: renamed *.ic to *.hc + +2004-01-21 01:30 Enrico Scholz + + * util-vserver/src/vunify.h: added changes for new API + added rsSPECIAL reason + +2004-01-21 01:29 Enrico Scholz + + * util-vserver/src/vunify.c: added changes for new API + +2004-01-21 01:27 Enrico Scholz + + * util-vserver/src/vunify-doit.ic: updated to new API + +2004-01-21 01:27 Enrico Scholz + + * util-vserver/src/vlimit.c: fixed help message + +2004-01-21 01:26 Enrico Scholz + + * util-vserver/src/chxid.c, util-vserver/src/fstool.c, + util-vserver/src/fstool.h, util-vserver/src/lsxid.c, + util-vserver/src/setattr.c, util-vserver/src/showattr.c: + updated/enhanced for new API + +2004-01-21 01:24 Enrico Scholz + + * util-vserver/lib/virtual.h: updated + +2004-01-21 01:19 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: added v13 API + +2004-01-21 01:19 Enrico Scholz + + * util-vserver/lib/vserver.h: added fscompat and v13 functions + removed ioctl functions + +2004-01-21 01:18 Enrico Scholz + + * util-vserver/lib/Makefile-files: added fscompat and v13 functions + +2004-01-21 01:17 Enrico Scholz + + * util-vserver/lib/ioctl-getext2flags.c, + util-vserver/lib/ioctl-getext2flags.hc, + util-vserver/lib/ioctl-getfilecontext.c, + util-vserver/lib/ioctl-getfilecontext.hc, + util-vserver/lib/ioctl-setext2flags.c, + util-vserver/lib/ioctl-setext2flags.hc, + util-vserver/lib/ioctl-setfilecontext.c, + util-vserver/lib/ioctl-setfilecontext.hc: do not provide the + ioctl-functions anymore; use them only internally + and include them directly. Therefore, renamed them from *.c to + *.hc + +2004-01-21 01:14 Enrico Scholz + + * util-vserver/lib/fscompat_getiattr-v11.hc, + util-vserver/lib/fscompat_getiattr.c, + util-vserver/lib/fscompat_setiattr-v11.hc, + util-vserver/lib/fscompat_setiattr.c, + util-vserver/lib/ioctl-getxflg.hc, + util-vserver/lib/ioctl-setxflg.hc, + util-vserver/lib/syscall_getiattr-v13.hc, + util-vserver/lib/syscall_getiattr.c, + util-vserver/lib/syscall_setiattr-v13.hc, + util-vserver/lib/syscall_setiattr.c: initial checkin + +2004-01-21 01:12 Enrico Scholz + + * util-vserver/configure.ac: added v13 & fscompat APIs + +2004-01-19 18:23 Enrico Scholz + + * util-vserver/distrib/misc/vunify-exclude: added .rpmdb + +2004-01-19 18:22 Enrico Scholz + + * util-vserver/src/chxid.c, util-vserver/src/lsxid.c, + util-vserver/src/setattr.c, util-vserver/src/showattr.c: + s/S_ISLNK/!S_ISREG/ -> ignore any non-regular files + +2004-01-19 18:21 Enrico Scholz + + * util-vserver/src/Makefile-files: removed vunify-operations + +2004-01-19 18:19 Enrico Scholz + + * util-vserver/src/vunify.h: cleanups; moved structure declarations + from vunify.c into this headerfile + +2004-01-19 18:16 Enrico Scholz + + * util-vserver/src/vunify.c: cleanups + added 'skip_reason' support + added debug output + +2004-01-19 18:14 Enrico Scholz + + * util-vserver/src/vunify-init.ic: added debug output + fixed descriptor leak + +2004-01-19 18:11 Enrico Scholz + + * util-vserver/src/vunify-compare.ic, + util-vserver/src/vunify-doit.ic: initial checkin + +2004-01-19 18:11 Enrico Scholz + + * util-vserver/src/vunify-operations.c, + util-vserver/src/vunify-operations.h: obsoleted by more + straight-forward code + +2004-01-19 18:04 Enrico Scholz + + * util-vserver/src/vlimit.c: fixed copy&paste error + +2004-01-17 05:35 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.27.196 + +2004-01-17 05:25 Enrico Scholz + + * util-vserver/tests/vserver-info.c: updated to new + vc_getVserverVdir() API + +2004-01-17 05:24 Enrico Scholz + + * util-vserver/src/vunify.c: moved init*() functions to + vunify-init.c + +2004-01-17 05:23 Enrico Scholz + + * util-vserver/src/vunify-operations.c: compareUnify(): check mtime + too + +2004-01-17 05:23 Enrico Scholz + + * util-vserver/src/vunify-matchlist.h: made 'buf' constant + +2004-01-17 05:22 Enrico Scholz + + * util-vserver/src/vunify-matchlist.c: allow cmp-pointer to be NULL + +2004-01-17 05:22 Enrico Scholz + + * util-vserver/src/vunify-init.ic: use VPKG_PROG instead of + PKGMGMT_INFO_PROG + register 'vdir' + use default exclude-lists + +2004-01-17 05:16 Enrico Scholz + + * util-vserver/src/vunify-debug.c: added a const_cast + +2004-01-17 05:15 Enrico Scholz + + * util-vserver/src/vserver-info.c: updated VDIR tag to new + interface + +2004-01-17 05:15 Enrico Scholz + + * util-vserver/scripts/vserver: added 'unify' and 'pkg' commands + +2004-01-17 05:14 Enrico Scholz + + * util-vserver/scripts/vpkg: initial checkin + +2004-01-17 05:14 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added $_VUNIFY + and $_VPKG + +2004-01-17 05:13 Enrico Scholz + + * util-vserver/scripts/distrib-info, + util-vserver/scripts/legacy/distrib-info: moved distrib-info to + legacy/ + +2004-01-17 05:13 Enrico Scholz + + * util-vserver/scripts/Makefile-files: moved distrib-info to + legacy/ + added vpkg + +2004-01-17 05:12 Enrico Scholz + + * util-vserver/lib/getvservervdir.c, util-vserver/lib/vserver.h: + added 'physical' parameter to vc_getVserverVdir() which resolves + the + complete physical path of the vdir + +2004-01-17 05:06 Enrico Scholz + + * util-vserver/distrib/misc/vunify-exclude: initial checkin + +2004-01-17 05:06 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added vunify-exclude + +2004-01-17 05:05 Enrico Scholz + + * util-vserver/util-vserver.spec.in: use manifest-data for -legacy + +2004-01-17 05:04 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added VPKG_PROG + minor cleanups + +2004-01-16 18:41 Enrico Scholz + + * util-vserver/src/testsuite/vunify-test.sh: applied new calling + scheme + +2004-01-16 18:41 Enrico Scholz + + * util-vserver/src/testsuite/vunify-functest.c: added + wrapper_exit_code + +2004-01-16 18:40 Enrico Scholz + + * util-vserver/src/wrappers.h: Elseek(), Emkstemp(): added + Emalloc(), Erealloc(): fixed declarations + +2004-01-16 18:39 Enrico Scholz + + * util-vserver/src/vunify-matchlist.c, + util-vserver/src/vunify-matchlist.h, + util-vserver/src/vunify-operations.c, util-vserver/src/vunify.c: + added exclude-list support + +2004-01-16 18:04 Enrico Scholz + + * util-vserver/src/vserver-info.c: added APPDIR tag + made it possible to supply additional paramaters + +2004-01-16 18:03 Enrico Scholz + + * util-vserver/src/new-namespace.c, util-vserver/src/rpm-fake.c: do + not use CLONE_VFORK in debug mode; lockups with 'strace' are too + annoying + +2004-01-16 18:03 Enrico Scholz + + * util-vserver/src/Makefile-files: updated vunify setup + added files for vunify + +2004-01-16 18:00 Enrico Scholz + + * util-vserver/lib/getvserverappdir.c, + util-vserver/lib/getvservercfgdir.c, + util-vserver/lib/isdirectory.c, util-vserver/scripts/legacy, + util-vserver/scripts/legacy/.cvsignore, + util-vserver/src/vunify-debug.c, util-vserver/src/vunify-init.ic, + util-vserver/src/vunify.h, util-vserver/src/wrappers-io.h: + initial checkin + +2004-01-16 17:59 Enrico Scholz + + * util-vserver/scripts/functions: accept vservers beginning with + './' + +2004-01-16 17:57 Enrico Scholz + + * util-vserver/lib/vserver.h: added new management functions + doc + +2004-01-16 17:57 Enrico Scholz + + * util-vserver/lib/internal.h: added utilvserver_isDirectory() + prototype + +2004-01-16 17:57 Enrico Scholz + + * util-vserver/lib/getvservervdir.c: use utilvserver_isDirectory() + +2004-01-16 17:56 Enrico Scholz + + * util-vserver/lib/Makefile-files: added new management sources + +2004-01-16 17:55 Enrico Scholz + + * util-vserver/util-vserver.spec.in: use filelists from + contrib/make-manifest + +2004-01-16 17:53 Enrico Scholz + + * util-vserver/configure.ac: fixed CVS tag + +2004-01-16 17:52 Enrico Scholz + + * util-vserver/Makefile.am: added contrib/ dir + substitute MANDIR too + +2004-01-14 02:43 Enrico Scholz + + * util-vserver/src/util-exitlikeprocess.c: added missing + +2004-01-14 02:33 Enrico Scholz + + * util-vserver/src/fstool.h: added 'local_fs' struct-member + +2004-01-14 02:32 Enrico Scholz + + * util-vserver/src/fstool.c: added support for '-x' (do not cross + filesystems) + fixed invocation with directory-name + implemented '-a' (show dot) + +2004-01-14 02:30 Enrico Scholz + + * util-vserver/src/vps.c: minor documentation fix + +2004-01-14 02:30 Enrico Scholz + + * util-vserver/src/chxid.c, util-vserver/src/lsxid.c, + util-vserver/src/setattr.c, util-vserver/src/showattr.c: added + and documented '-x' switch + +2004-01-14 00:27 Enrico Scholz + + * util-vserver/src/vps.c: makde it compilable with gcc296 + +2004-01-14 00:26 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added -legacy subpackage + +2004-01-14 00:05 Enrico Scholz + + * util-vserver/Makefile.am: removed timestamps in legacy-dir also + substitute LEGACYDIR and PS + +2004-01-14 00:03 Enrico Scholz + + * util-vserver/src/vps.c: added native '--version' and '--help' + +2004-01-14 00:02 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added legacy-scripts to + $(scripts_OPTIONS_EXEMPT) + added scripts_legacy_gen_SCRPTS to $(scripts_CLEANFILES) + +2004-01-14 00:01 Enrico Scholz + + * util-vserver/m4/validate.am: fixed parallel build + +2004-01-13 23:38 Enrico Scholz + + * util-vserver/configure.ac: added check for PS + +2004-01-13 23:37 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added PS_PROG + +2004-01-13 23:37 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added vps + +2004-01-13 23:36 Enrico Scholz + + * util-vserver/src/Makefile-files: made vps a dietprog + +2004-01-13 23:36 Enrico Scholz + + * util-vserver/lib/getctx.c: minor code cleanups + +2004-01-13 23:30 Enrico Scholz + + * util-vserver/lib/getctx.c: added VC_BE_VALGRIND_FRIENDLY support + +2004-01-13 23:29 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_get_securecaps(): added prototype + +2004-01-13 23:29 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: made CALL_VC-macro a block + +2004-01-13 23:28 Enrico Scholz + + * util-vserver/src/util-exitlikeprocess.c: include + +2004-01-13 23:22 Enrico Scholz + + * util-vserver/scripts/Makefile-files: moved legacy scripts into + legacy/ and updated variables + +2004-01-13 23:21 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: updated legacy + paths + +2004-01-13 23:21 Enrico Scholz + + * util-vserver/src/Makefile-files: added vps + +2004-01-13 23:20 Enrico Scholz + + * util-vserver/src/util.h: exitLikeProcess(): added prototype + +2004-01-13 23:20 Enrico Scholz + + * util-vserver/src/wrappers.h: Emalloc(), Erealloc(): added + +2004-01-13 23:19 Enrico Scholz + + * util-vserver/src/util-exitlikeprocess.c, util-vserver/src/vps.c: + initial checkin + +2004-01-13 23:18 Enrico Scholz + + * util-vserver/scripts/save_s_context, + util-vserver/scripts/vps.pathsubst, + util-vserver/scripts/vserver-legacy, + util-vserver/scripts/vserverkillall: moved into legacy + +2004-01-13 23:18 Enrico Scholz + + * util-vserver/scripts/legacy, + util-vserver/scripts/legacy/save_s_context, + util-vserver/scripts/legacy/vps.pathsubst, + util-vserver/scripts/legacy/vserver, + util-vserver/scripts/legacy/vserverkillall: initial checkin + (moved from ../) + +2004-01-13 20:05 Enrico Scholz + + * util-vserver/scripts/vserver-legacy: use 'exec' to call commands + on 'suexec' (patch by Alec Thomas) + +2004-01-13 14:57 Enrico Scholz + + * util-vserver/src/Makefile-files: added missing fstool.h header + +2004-01-13 14:57 Enrico Scholz + + * util-vserver/lib/virtual.h: updated (added scheduler stuff) + +2004-01-13 14:56 Enrico Scholz + + * util-vserver/src/vkill.c: removed warnings about unused + parameters + +2004-01-13 14:56 Enrico Scholz + + * util-vserver/lib/getvserverbyctx.c, + util-vserver/lib/getvserverctx.c, util-vserver/src/exec-cd.c, + util-vserver/tests/escaperoot.c, util-vserver/tests/testipc.c, + util-vserver/tests/testlimit.c, util-vserver/tests/testopenf.c: + made it compilable with gcc296 + +2004-01-13 14:20 Enrico Scholz + + * util-vserver/Makefile.am: use $(src_sbin_SCRPTS) + +2004-01-13 14:19 Enrico Scholz + + * util-vserver/lib/vserver.h: added declarations for the ext2fs + functions + +2004-01-13 14:18 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: added EXT2FS macros + +2004-01-13 14:18 Enrico Scholz + + * util-vserver/lib/fmt.h: fixed xulong/xlong declarations + +2004-01-13 14:17 Enrico Scholz + + * util-vserver/lib/Makefile-files: added the ioctl-* files + added ext2fs.h + +2004-01-13 14:17 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: updated + +2004-01-13 14:16 Enrico Scholz + + * util-vserver/src/Makefile-files: removed ext2fs.h + added the fstools (lsxid,chxid,showattr,setattr) plus deps + +2004-01-13 14:15 Enrico Scholz + + * util-vserver/src/chxid.c, util-vserver/src/fstool.c, + util-vserver/src/fstool.h, util-vserver/src/lsxid.c, + util-vserver/src/setattr.c, util-vserver/src/showattr.c: + minor/medium cleanups + +2004-01-13 14:15 Enrico Scholz + + * util-vserver/src/fstool-resolvectx.c: initial checkin + +2004-01-13 13:49 Enrico Scholz + + * util-vserver/src/showattr.c: rewrote completely + +2004-01-13 13:48 Enrico Scholz + + * util-vserver/lib/ext2fs.h, util-vserver/src/ext2fs.h: moved + ext2fs.h from src/ into lib/ directory; we are providing the + needed functionality through libvserver now + +2004-01-13 13:46 Enrico Scholz + + * util-vserver/lib/ioctl-getext2flags.c, + util-vserver/lib/ioctl-getfilecontext.c, + util-vserver/lib/ioctl-setext2flags.c, + util-vserver/lib/ioctl-setfilecontext.c, + util-vserver/src/chxid.c, util-vserver/src/fstool.c, + util-vserver/src/fstool.h, util-vserver/src/lsxid.c, + util-vserver/src/setattr.c: initial checkin + +2004-01-07 15:46 Enrico Scholz + + * util-vserver/lib/vserver.h: added URL which describes + context-creation + +2004-01-07 15:40 Enrico Scholz + + * util-vserver/src/chcontext.c: * removed obsolete and unused + 'fakeinit' variable + * fixed ctx-creation with fakeinit and static ctx-id's; fakeinit + requires a second call for ctx -2 to take effect + +2004-01-05 22:19 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added vserver-info + +2004-01-05 22:19 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: updated + +2004-01-05 22:18 Enrico Scholz + + * util-vserver/src/wrappers.h: Edup2(): added + +2004-01-05 22:18 Enrico Scholz + + * util-vserver/src/vserver-stat.c: use existing syscall-wrappers + instead of checking return-codes manually + +2004-01-05 22:17 Enrico Scholz + + * util-vserver/src/vserver-info.c: initial checkin + +2004-01-05 22:16 Enrico Scholz + + * util-vserver/src/rpm-fake.c: use fd3 for synchronization with + resolver + adding some missing '\n' in messages + ignore empty environment variables too + exitRPMFake(): conditionalized debug-message + +2004-01-05 22:15 Enrico Scholz + + * util-vserver/src/rpm-fake-resolver.c: daemonize(): child waits + for parent to finish now + use fd3 for synchronisation + enable fork on default + +2004-01-05 22:13 Enrico Scholz + + * util-vserver/src/Makefile-files: added vserver-info + minor cosmetical fixes + +2004-01-05 22:12 Enrico Scholz + + * util-vserver/scripts/vserver.stop: fixed error-handling + +2004-01-05 22:12 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: added '--context' + option + minor cosmetical cleanups + +2004-01-05 22:11 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions.apt: + initVariablesApt(): fixed empty function body + +2004-01-05 21:57 Enrico Scholz + + * util-vserver/scripts/vrpm-preload: major cleanups; use + 'vserver-info' to retrieve information about vserver + +2004-01-05 21:57 Enrico Scholz + + * util-vserver/scripts/vapt-get-worker: removed old, unused debug + code + +2004-01-05 21:56 Enrico Scholz + + * util-vserver/scripts/vapt-get, util-vserver/scripts/vrpm: use + modern '--help' & '--version' output + +2004-01-05 21:55 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_VSERVER_INFO + +2004-01-05 21:55 Enrico Scholz + + * util-vserver/scripts/functions: getVserverStatus(): fixed usage + of 2nd parameter + +2004-01-05 21:53 Enrico Scholz + + * util-vserver/lib/fmtx.hc, util-vserver/lib/getvserverbyctx.c, + util-vserver/lib/getvserverctx.c, + util-vserver/lib/vserver-internal.h, util-vserver/lib/vserver.h: + small cosmetical fix + +2003-12-30 20:15 Enrico Scholz + + * util-vserver/configure.ac: version 0.27.190 + +2003-12-30 19:20 Enrico Scholz + + * util-vserver/util-vserver.spec.in: - since dynamic libraries will + be installed now, call /sbin/ldconfig + - other updates... + +2003-12-30 19:15 Enrico Scholz + + * util-vserver/src/compat-pivot_root.h: use instead + of to fix problems with + RH's headers + +2003-12-30 18:09 Enrico Scholz + + * util-vserver/src/testsuite/vunify-test.sh: fixed paths + +2003-12-30 18:08 Enrico Scholz + + * util-vserver/scripts/vserver.stop: use sendKillSequence instead + of ctx-kill + +2003-12-30 18:08 Enrico Scholz + + * util-vserver/scripts/vserver.functions: sendKillSequence(): added + +2003-12-30 18:07 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: removed + _CTX_KILL + added _VKILL + +2003-12-30 18:06 Enrico Scholz + + * util-vserver/scripts/functions: getVserverStatus(): fixed usage + if ctx + isCtxRunning(): added + +2003-12-30 17:42 Enrico Scholz + + * util-vserver/Makefile.am: added missing compat-c99.h header-file + +2003-12-30 17:41 Enrico Scholz + + * util-vserver/src/chroot-rm.c: fixed order of chroot() and + parameter evaluation so that '--version' + and '--help' are working as non-root also + +2003-12-30 17:40 Enrico Scholz + + * util-vserver/src/Makefile-files: added missing headers + removed 'ctx-kill'; it is obsoleted through 'vkill' + +2003-12-30 17:38 Enrico Scholz + + * util-vserver/src/ctx-kill.c: replaced by 'vkill' + +2003-12-30 17:09 Enrico Scholz + + * util-vserver/compat.h: use results from dietlib's C99 + compatibility-check + +2003-12-30 17:08 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: added check for C99 + compatibility + +2003-12-30 17:08 Enrico Scholz + + * util-vserver/m4/ensc_fpicsyscall.m4: fixed AC_LANG_PUSH/POP + mismatch + +2003-12-30 16:26 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore, util-vserver/lib, + util-vserver/lib/.cvsignore, util-vserver/scripts, + util-vserver/scripts/.cvsignore, util-vserver/src, + util-vserver/src/.cvsignore: updated + +2003-12-30 16:24 Enrico Scholz + + * util-vserver/lib/syscall_kill-v11.hc, + util-vserver/lib/syscall_kill.c, util-vserver/src/vkill.c: merged + with 0.26.90 + +2003-12-30 16:22 Enrico Scholz + + * util-vserver/src/testsuite/rpm-fake-test.sh: fixed LD_PRELOAD + path + +2003-12-30 16:22 Enrico Scholz + + * util-vserver/scripts/vserver: updated start/stop help-messages + +2003-12-30 16:21 Enrico Scholz + + * util-vserver/scripts/functions: getAllVservers(): ignore backup + vservers + +2003-12-30 16:20 Enrico Scholz + + * util-vserver/distrib/Makefile.am: fixed multiple 'make install' + by using '-f' on 'ln' + +2003-12-30 16:19 Enrico Scholz + + * util-vserver/configure.ac: - merged with 0.26.90 (fixed + --enable-apis, renamed ctx_t to xid_t, + renamed syscall, use C++ for ext2fs.h test) + - libtool'ized it + +2003-12-30 16:04 Enrico Scholz + + * util-vserver/src/Makefile-files: * added vkill (merged from + 0.26.90) + * libtool'ized it + +2003-12-30 16:03 Enrico Scholz + + * util-vserver/lib/Makefile-files: * added vc_kill() syscall + (merged from 0.26.90) + * libtool'ized it + +2003-12-30 15:59 Enrico Scholz + + * util-vserver/Makefile.am: * added legacy-dir (merged from + 0.26.90) + * libtool'ized it + +2003-12-30 15:56 Enrico Scholz + + * util-vserver/compat.h, util-vserver/lib/getctx-compat.hc, + util-vserver/lib/getctx-legacy.hc, util-vserver/lib/getctx.c, + util-vserver/lib/getversion-internal.hc, + util-vserver/lib/getversion.c, + util-vserver/lib/getvserverbyctx.c, + util-vserver/lib/getvserverctx.c, + util-vserver/lib/syscall-compat.hc, + util-vserver/lib/syscall-legacy.hc, util-vserver/lib/syscall.c, + util-vserver/lib/syscall_rlimit-v11.hc, + util-vserver/lib/syscall_rlimit.c, util-vserver/lib/virtual.h, + util-vserver/lib/vserver-internal.h, util-vserver/lib/vserver.h, + util-vserver/scripts/Makefile-files, + util-vserver/scripts/vps.pathsubst, + util-vserver/scripts/vserver-legacy, util-vserver/src, + util-vserver/src/.cvsignore, util-vserver/src/ctx-kill.c, + util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/rpm-fake.c, util-vserver/src/save_ctxinfo.c, + util-vserver/src/vlimit.c, util-vserver/src/vserver-stat.c, + util-vserver/src/wrappers-vserver.h, util-vserver/tests/getctx.c: + merged with 0.26.90 + +2003-12-29 19:02 uid68581 + + * util-vserver/src/capchroot.c: do not use vc_chrootsafe() anymore + +2003-12-29 19:01 uid68581 + + * util-vserver/tests/Makefile-files: removed chrootsafe + libtool'ized + +2003-12-26 00:50 uid68581 + + * util-vserver/compat-c99.h, util-vserver/src/testsuite, + util-vserver/src/testsuite/Makefile-files, + util-vserver/src/testsuite/data, + util-vserver/src/testsuite/data/rpm-fake-test.inp, + util-vserver/src/testsuite/data/rpm-fake-test.out, + util-vserver/src/testsuite/rpm-fake-test.c, + util-vserver/src/testsuite/rpm-fake-test.sh, + util-vserver/src/testsuite/vunify-functest.c, + util-vserver/src/testsuite/vunify-test.sh: initial checkin + +2003-12-26 00:49 uid68581 + + * util-vserver/pathconfig.h.pathsubst: added RESOLVER_PROG + +2003-12-26 00:48 uid68581 + + * util-vserver/scripts/vprofile: removed since obsoleted + +2003-12-26 00:48 uid68581 + + * util-vserver/tests/escaperoot.c, util-vserver/tests/forkbomb.c, + util-vserver/tests/testlimit.c, util-vserver/tests/testopenf.c: + used workarounds to make it compilable with non-C99 compilers + +2003-12-26 00:47 uid68581 + + * util-vserver/src/wrappers.h: added setgid/setuid/setgroups + wrappers + +2003-12-26 00:47 uid68581 + + * util-vserver/src/util.h: added Xmemcpy() + added safeChdir() prototype + +2003-12-26 00:46 uid68581 + + * util-vserver/src/rpm-fake.c: rewrote large parts + added NSS functions (getpwnam(), getgrnam(), ...) + +2003-12-26 00:45 uid68581 + + * util-vserver/src/fakerunlevel.c: use setgroups() also + +2003-12-26 00:45 uid68581 + + * util-vserver/src/chroot-rm.c: added '--help' and '--version' + +2003-12-26 00:44 uid68581 + + * util-vserver/src, util-vserver/src/.cvsignore: added exec-cd and + rpm-fake-resolver + removed secure-umount + +2003-12-26 00:42 uid68581 + + * util-vserver/src/exec-cd.c, util-vserver/src/rpm-fake-resolver.c, + util-vserver/src/util-safechdir.c, + util-vserver/src/vunify-matchlist.c, + util-vserver/src/vunify-matchlist.h, + util-vserver/src/vunify-operations.c, + util-vserver/src/vunify-operations.h, util-vserver/src/vunify.c, + util-vserver/src/wrappers-dirent.h: initial checkin + +2003-12-26 00:38 uid68581 + + * util-vserver/src/Makefile-files: removed secure-umount + added exec-cd + vunify will be a dietlibc program soonly + +2003-12-26 00:34 uid68581 + + * util-vserver/scripts/rootshell, util-vserver/scripts/vpstree, + util-vserver/scripts/vsysvwrapper, util-vserver/scripts/vtop: + fixed quoting + +2003-12-26 00:34 uid68581 + + * util-vserver/scripts/vserver.functions: use 'exec-cd' instead of + 'secure-umount' + +2003-12-26 00:33 uid68581 + + * util-vserver/scripts/vserver-build.functions.apt: fixed + initVariablesApt() + added support for default apt.conf + +2003-12-26 00:33 uid68581 + + * util-vserver/scripts/vserver-build.functions: rename package-cfg + directory on '--force' also + +2003-12-26 00:32 uid68581 + + * util-vserver/scripts/vserver-build.apt-rpm: added '--debug' + option + +2003-12-26 00:32 uid68581 + + * util-vserver/scripts/vserver: added package-management options + (atleast their documention) + +2003-12-26 00:30 uid68581 + + * util-vserver/scripts/vapt-get-worker: set RPM::PM to 'external' + +2003-12-26 00:29 uid68581 + + * util-vserver/scripts/util-vserver-vars.pathsubst: added _EXEC_CD + removed _SECURE_UMOUNT + +2003-12-26 00:29 uid68581 + + * util-vserver/scripts/functions: added support for default + apt.conf + +2003-12-26 00:23 uid68581 + + * util-vserver/scripts/Makefile-files: removed vprofile + +2003-12-26 00:22 uid68581 + + * util-vserver/m4/ensc_cflags.m4, util-vserver/m4/ensc_dietlibc.m4, + util-vserver/m4/ensc_kerneldir.m4, + util-vserver/m4/ensc_release.m4, + util-vserver/m4/ensc_uv_vrootdir.m4: fixed broken quoting which + is complained by recent automake + +2003-12-26 00:22 uid68581 + + * util-vserver/lib/getvserverbyctx.c, + util-vserver/lib/getvserverctx.c: added workarounds for non-C99 + compilers + +2003-12-26 00:21 uid68581 + + * util-vserver/distrib/defaults/apt, + util-vserver/distrib/defaults/apt/apt.conf: initial checkin + +2003-12-26 00:20 uid68581 + + * util-vserver/distrib/Makefile.am: added default apt.conf + +2003-12-26 00:20 uid68581 + + * util-vserver/compat.h: differ between >=3.3 and below at certain + options + added 'restrict' workarounds + +2003-12-26 00:19 uid68581 + + * util-vserver/Makefile.am: - removed m4_FILES; it is handled by + automake >=2.8 automatically + - added basic test support + +2003-12-02 02:19 Enrico Scholz + + * util-vserver/scripts/vserver.functions: evaluate CHBIND_OPTS + lazily + +2003-12-02 02:17 Enrico Scholz + + * util-vserver/lib/getvservername.c: getRecentName(): return + basename of directory but not this of the link anymore + +2003-11-22 02:44 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.26.193 + +2003-11-22 02:43 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore, util-vserver/Makefile.am, + util-vserver/configure.ac, util-vserver/src/ifspec.c: merged with + 0.26 + +2003-11-22 02:35 Enrico Scholz + + * util-vserver/Makefile.am: generate some .defaults symlinks + +2003-11-22 02:35 Enrico Scholz + + * util-vserver/util-vserver.spec.in: generate %ghost symlinks in + %post + added vlimit + added some .default directories + +2003-11-22 02:31 Enrico Scholz + + * util-vserver/lib/getvserverctx.c: added missing includes + +2003-11-22 02:31 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: use + '$CONFDIR/.defaults/run.rev' instead of '$PKGSTATEREVDIR' + +2003-11-20 18:10 Enrico Scholz + + * util-vserver/util-vserver.spec.in: use 'vservers.rev' directory + instead of 'vservers/rev' + +2003-11-20 18:09 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: use PKGSTATEREVDIR + +2003-11-20 18:09 Enrico Scholz + + * util-vserver/scripts, util-vserver/scripts/.cvsignore: added vps + +2003-11-20 18:08 Enrico Scholz + + * util-vserver/Makefile.am: added separate 'pkgstaterevdir' + variable + +2003-11-20 18:08 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added DEFAULT_PKGSTATEREVDIR + +2003-11-20 18:07 Enrico Scholz + + * util-vserver/lib/Makefile-files: added getvserverctx & + getvserverbyctx files + added fmtx* files + +2003-11-20 18:06 Enrico Scholz + + * util-vserver/lib/syscall-legacy.hc: has_chrootsafe(), + call_set_ctxlimit(): removed + +2003-11-20 18:06 Enrico Scholz + + * util-vserver/lib/vserver.h: vc_getVserverByCtx(), + vc_getVserverCtx(): added + +2003-11-20 18:05 Enrico Scholz + + * util-vserver/lib/fmt.h, util-vserver/lib/fmt.hc: added/use + specialized hex-formating functions + +2003-11-20 18:04 Enrico Scholz + + * util-vserver/lib/fmt-internal.h, util-vserver/lib/fmtx-32.c, + util-vserver/lib/fmtx-64.c, util-vserver/lib/fmtx.hc, + util-vserver/lib/getvserverbyctx.c, + util-vserver/lib/getvserverctx.c: initial checkin + +2003-11-20 18:03 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + PKGSTATEREVDIR + +2003-11-20 18:03 Enrico Scholz + + * util-vserver/src/vserver-stat.c: rewrote it to + * use the new management function + * remove all traces of printf() + * remove stacked functions + +2003-11-20 18:01 Enrico Scholz + + * util-vserver/src/vlimit.c: use the specialized + utilvserver_fmt_xuint64() function + +2003-11-20 18:01 Enrico Scholz + + * util-vserver/src/Makefile-files: made 'vserver-stat' a + dietlibc-compiled program + +2003-11-20 15:37 Enrico Scholz + + * util-vserver/compat.h: define FMT_PREFIX + +2003-11-20 15:37 Enrico Scholz + + * util-vserver/lib/Makefile-files, util-vserver/lib/fmt-32.c, + util-vserver/lib/fmt-64.c, util-vserver/lib/fmt.h, + util-vserver/lib/fmt.hc, util-vserver/lib/getprocentry-legacy.c, + util-vserver/lib/int2str.c, util-vserver/lib/internal.h, + util-vserver/lib/uint2str.c, util-vserver/src/save_ctxinfo.c, + util-vserver/src/vlimit.c, util-vserver/tests/getctx.c, + util-vserver/tests/getinitpid.c: use fmt_*() functions instead of + *int2str() + +2003-11-20 02:26 Enrico Scholz + + * util-vserver/scripts/vps: removed since autogenerated from + vps.pathsubst + +2003-11-18 23:56 Enrico Scholz + + * util-vserver/distrib/fdr0.95, util-vserver/distrib/rh9.0.93: + obsoleted by fc1 + +2003-11-18 23:55 Enrico Scholz + + * util-vserver/distrib/fc1, util-vserver/distrib/fc1/apt, + util-vserver/distrib/fc1/apt/rpmpriorities, + util-vserver/distrib/fc1/apt/sources.list, + util-vserver/distrib/fc1/pkgs, util-vserver/distrib/fc1/pkgs/01, + util-vserver/distrib/fc1/pkgs/02: initial checkin (based on + fdr0.95) + +2003-11-18 23:52 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added Fedora Core 1 + removed Fedora Beta + +2003-11-18 23:51 Enrico Scholz + + * util-vserver/scripts/vapt-get: do not set $_APT_GET + +2003-11-18 23:47 Enrico Scholz + + * util-vserver/compat.h: merged/added from 0.25 + added workaround for broken 'long long' handling of dietlibc + +2003-11-18 23:46 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/THANKS, + util-vserver/configure.ac, util-vserver/lib/Makefile-files, + util-vserver/lib/syscall-compat.hc, + util-vserver/lib/syscall_rlimit-v11.hc, + util-vserver/lib/syscall_rlimit.c, util-vserver/lib/virtual.h, + util-vserver/lib/vserver-internal.h, util-vserver/lib/vserver.h, + util-vserver/scripts/vserver-legacy, util-vserver/src, + util-vserver/src/.cvsignore, util-vserver/src/Makefile-files, + util-vserver/src/ext2fs.h, util-vserver/src/setctxlimit.c, + util-vserver/src/showattr.c, util-vserver/src/vlimit.c, + util-vserver/src/vutil.cc, util-vserver/util-vserver.spec.in: + merged/added from 0.25 + +2003-11-18 23:22 Enrico Scholz + + * util-vserver/sysv/rebootmgr.subst, + util-vserver/sysv/vservers.subst: merged in changes from 0.25 + +2003-11-04 23:25 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.24.191 + +2003-11-04 23:25 Enrico Scholz + + * util-vserver/util-vserver.spec.in: added '--without dietlibc' + option + +2003-11-04 23:25 Enrico Scholz + + * util-vserver/m4/ensc_dietlibc.m4: fixed typos ('withval' instead + of 'enableval') + +2003-11-04 23:24 Enrico Scholz + + * util-vserver/lib/getvservername.c, + util-vserver/lib/getvservervdir.c: added '#include ' to + fix compilation problems with glibc + +2003-11-04 13:56 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.24.190 + +2003-11-04 13:55 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: added linuxcaps.h (merged + from stable) + +2003-11-04 13:55 Enrico Scholz + + * util-vserver/Makefile.am: - separated and completed m4_FILES + - added '--show-dead' to cvs2cl params + - fix linuxcaps.h (merged from stable) + +2003-11-04 13:53 Enrico Scholz + + * util-vserver/lib/getvservercfgstyle.c: added some additional + logic + +2003-11-04 13:53 Enrico Scholz + + * util-vserver/lib/virtual.h: do not include the + kernel-header anymore + +2003-11-04 13:52 Enrico Scholz + + * util-vserver/scripts/functions: - getAllVservers: use _tmp + instead of tmp to avoid clashes when caller + wants to have results in 'tmp', fixed array assignment + +2003-11-04 13:51 Enrico Scholz + + * util-vserver/src/rebootmgr.c: fixed typo + +2003-11-04 13:50 Enrico Scholz + + * util-vserver/tests/vserver-info.c: added '--help' and '--version' + +2003-11-04 01:37 Enrico Scholz + + * util-vserver/configure.ac: merged from SYSCALL_SWITCH + +2003-11-04 01:31 Enrico Scholz + + * util-vserver/m4/ensc_changelog.m4: merged from SYSCALL_SWITCH + +2003-11-04 01:07 Enrico Scholz + + * util-vserver/scripts/distrib-info, + util-vserver/scripts/vserver-copy, + util-vserver/scripts/vserver-legacy, + util-vserver/scripts/vservers.grabinfo.sh, + util-vserver/src/rebootmgr.c, util-vserver/sysv/Makefile-files, + util-vserver/sysv/rebootmgr.subst: merged in changes from 0.23.96 + (/vservers -> $DEFAULT_VSERVERDIR) + +2003-11-04 00:59 Enrico Scholz + + * util-vserver/m4/validate.am: updated from vserver-djinni + +2003-11-04 00:59 Enrico Scholz + + * util-vserver/lib/vserver-internal.h: ignore lower 8bit on version + +2003-11-03 19:38 Enrico Scholz + + * util-vserver/util-vserver.spec.in: removed 'vkill' for now + call 'install-vserverdir' + +2003-11-03 19:37 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: create + /etc/sysconfig/network + +2003-11-03 19:37 Enrico Scholz + + * util-vserver/scripts/vserver.functions: - fixed some statements + which would fail with 'set -e' + - made 'disableInterface' smart so that it calculates parameters + automatically + +2003-11-03 19:35 Enrico Scholz + + * util-vserver/scripts/vserver-setup.functions: added support for + '--netbcast' + +2003-11-03 19:34 Enrico Scholz + + * util-vserver/lib/getvservername.c: terminate name with '\0' + +2003-10-30 17:42 Enrico Scholz + + * util-vserver/scripts/vserver-legacy: merged from 0.23.95: + - reenabled the copy-all mode; can be disabled by setting the + $UTIL_VSERVER_AVOID_COPY environment variable + - use '-HS' ulimit switch for newly created vservers + +2003-10-30 17:36 Enrico Scholz + + * util-vserver/Makefile.am: - large cleanup; use changed variables + from scripts/Makefile + - try to keep modes of pathsubstituted files + - create own install-rule for vserver-dir; 'make distcheck' does + not + like /vservers... + +2003-10-30 17:35 Enrico Scholz + + * util-vserver/src/reducecap.c: use QUOTACTL (merged from 0.23.94) + +2003-10-30 17:34 Enrico Scholz + + * util-vserver/src/rebootmgr.c: use configured SBINDIR instead of + hardcoded /usr/sbin + +2003-10-30 17:34 Enrico Scholz + + * util-vserver/src/chcontext.c: added QUOTACTL to 'secure' caps + (merged from 0.23.94) + +2003-10-30 17:30 Enrico Scholz + + * util-vserver/src/Makefile-files: create 'setattr' program + +2003-10-30 17:30 Enrico Scholz + + * util-vserver/scripts/distrib-info, + util-vserver/scripts/rootshell, util-vserver/scripts/vpstree, + util-vserver/scripts/vserver-copy, + util-vserver/scripts/vsysvwrapper, util-vserver/scripts/vtop: + merged in changes from 0.24.94 (s!/usr/sbin!$SBINDIR!) + +2003-10-30 17:29 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop: use 'set -e' instead of 'set + +e' + +2003-10-30 17:28 Enrico Scholz + + * util-vserver/scripts/functions: added 'checkComponents()' + function + +2003-10-30 17:27 Enrico Scholz + + * util-vserver/scripts/vps.pathsubst: initial check (was: vps) + +2003-10-30 17:27 Enrico Scholz + + * util-vserver/scripts/vkill: removed; is obsoleted by ctx-kill + +2003-10-30 17:26 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + INITRDDIR, LIBDIR and INCLUDEDIR + +2003-10-30 17:25 Enrico Scholz + + * util-vserver/scripts/Makefile-files: large cleanup + removed 'vkill' (obsoleted by ctx-kill) + vps is now vps.subst + +2003-10-30 17:21 Enrico Scholz + + * util-vserver/lib/capabilities.c, util-vserver/lib/vserver.h, + util-vserver/man/reducecap.8: use CAP_QUOTACTL instead of + CAP_OPENDEV + +2003-10-30 14:38 Enrico Scholz + + * util-vserver/Makefile.am: use ENSC_UV_VROOTDIR to set + 'vserverdir' + added missing path-substitutions + +2003-10-30 14:37 Enrico Scholz + + * util-vserver/configure.ac: use ENSC_UV_VROOTDIR to set + 'vserverdir' + +2003-10-30 14:36 Enrico Scholz + + * util-vserver/m4/ensc_uv_vrootdir.m4: initial checkin + +2003-10-23 20:55 Enrico Scholz + + * util-vserver/lib/getvservercfgstyle.c, + util-vserver/lib/getvservername.c, + util-vserver/lib/getvservervdir.c, + util-vserver/tests/vserver-info.c: initial checkin + +2003-10-23 20:55 Enrico Scholz + + * util-vserver/tests, util-vserver/tests/.cvsignore, + util-vserver/tests/Makefile-files: added vserver-info + +2003-10-23 20:54 Enrico Scholz + + * util-vserver/compat.h: define TEMP_FAILURE_RETRY for + dietlibc-compilation + +2003-10-23 20:54 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: define DEFAULT_VSERVERDIR + and DEFAULT_VSERVERPKGDIR + +2003-10-23 20:53 Enrico Scholz + + * util-vserver/lib/Makefile-files: added files for higher-level + management + +2003-10-23 20:53 Enrico Scholz + + * util-vserver/lib/vserver.h: added functions for + vserver-management + +2003-10-22 23:23 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, + util-vserver/scripts/vserver.suexec: cleanups; go into + vserver-dir before *and* after executing scriptlets + +2003-10-22 23:23 Enrico Scholz + + * util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-build.functions: used + $DEFAULT_VSERVERDIR and $DEFAULT_VSERVERPKGDIR instead of the + hardcoded '/vservers' values + +2003-10-22 22:19 Enrico Scholz + + * util-vserver/util-vserver.spec.in: rewrote it + added -build subpackage + +2003-10-22 22:18 Enrico Scholz + + * util-vserver/configure.ac: moved ENSC_INITRDDIR, ENSC_RELEASE, + ENSC_ENABLE_DIETLIBC and + ENSC_KERNEL_HEADERS checks into own m4/* files + +2003-10-22 22:17 Enrico Scholz + + * util-vserver/Makefile.am: renamed sysvdir to initrddir + use $(RELEASE_CPPFLAGS) (-DNDEBUG) + substitute $(vserverdir) and $(vserverpkgdir) + create the $(vserverdir) and $(vserverpkgdir) directories + +2003-10-22 22:12 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added sample 'mtab' file + create the config-dirs + +2003-10-22 22:12 Enrico Scholz + + * util-vserver/distrib/redhat/initpost: $2 is no longer $_VSERVER + but the 'util-vserver-vars' file + +2003-10-22 22:11 Enrico Scholz + + * util-vserver/distrib/rh9/apt/sources.list: added some mirrors + +2003-10-22 22:10 Enrico Scholz + + * util-vserver/distrib/fdr0.95, util-vserver/distrib/fdr0.95/apt, + util-vserver/distrib/fdr0.95/apt/rpmpriorities, + util-vserver/distrib/fdr0.95/apt/sources.list, + util-vserver/distrib/fdr0.95/pkgs, + util-vserver/distrib/fdr0.95/pkgs/01, + util-vserver/distrib/fdr0.95/pkgs/02, util-vserver/distrib/misc, + util-vserver/distrib/misc/mtab, util-vserver/m4/ensc_dietlibc.m4, + util-vserver/m4/ensc_initrddir.m4, + util-vserver/m4/ensc_kerneldir.m4, + util-vserver/m4/ensc_release.m4: initial checkin + +2003-10-22 22:08 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + DEFAULT_VSERVERDIR and DEFAULT_VSERVERPKGDIR + +2003-10-22 22:08 Enrico Scholz + + * util-vserver/scripts/vserver-build.apt-rpm: call pre/post + scriplets with "$UTIL_VSERVER_VARS" as second param + instead of "$_VSERVER" + +2003-10-22 22:07 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: fixed broken quotes + +2003-10-22 18:34 Enrico Scholz + + * util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start: - reorganized + CHCONTEXT_INIT_OPTS/CHCONTEXT_DISCONNECT: dropped the + separate CHCONTEXT_DISCONNECT variable completetly and put + '--flag + fakeinit --disconnect' into CHCONTEXT_INIT_OPTS, which is used by + 'vserver ... start' command only + +2003-10-22 18:23 Enrico Scholz + + * util-vserver/src/secure-umount.c: use real 'umount' program to + unmount directories + +2003-10-22 18:22 Enrico Scholz + + * util-vserver/src/exec-ulimit.c: added [mMkK] modifies for limits + +2003-10-22 18:22 Enrico Scholz + + * util-vserver/scripts/vserver-build, + util-vserver/scripts/vserver-setup.functions: fixed getopt + long-option string + +2003-10-22 18:20 Enrico Scholz + + * util-vserver/scripts/vserver-build.functions: added support for + copying some default files (resolv.conf, localtime, + krb-conf,...) + +2003-10-22 18:19 Enrico Scholz + + * util-vserver/scripts/functions: implemented findAndCopy + +2003-10-21 14:15 Enrico Scholz + + * util-vserver/NEWS, util-vserver/configure.ac: version 0.23.194 + +2003-10-21 14:15 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added scripts to + AM_INSTALLCHECK_STD_OPTIONS_EXEMPT + +2003-10-21 14:14 Enrico Scholz + + * util-vserver/src/exec-ulimit.c: implemented '--help' and + '--version' + +2003-10-21 13:55 Enrico Scholz + + * util-vserver/src/vbuild.cc: removed warning about unused + parameters + +2003-10-21 13:55 Enrico Scholz + + * util-vserver/tests/Makefile-files: renamed to .cc files to .c + +2003-10-21 13:54 Enrico Scholz + + * util-vserver/tests/chrootsafe.c, + util-vserver/tests/chrootsafe.cc, + util-vserver/tests/escaperoot.c, + util-vserver/tests/escaperoot.cc, util-vserver/tests/forkbomb.c, + util-vserver/tests/forkbomb.cc, util-vserver/tests/testipc.c, + util-vserver/tests/testipc.cc, util-vserver/tests/testlimit.c, + util-vserver/tests/testlimit.cc, util-vserver/tests/testopenf.c, + util-vserver/tests/testopenf.cc: renamed to .cc files to .c and + made some little changes to make them + compilable with C compilers + +2003-10-21 13:40 Enrico Scholz + + * util-vserver/Makefile.am: added new m4/*.m4 macros + added conditional build of CXX files + added support for libtool + +2003-10-21 13:35 Enrico Scholz + + * util-vserver/distrib/redhat, + util-vserver/distrib/redhat/initpost: initial checkin + +2003-10-21 13:34 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added Fedora Core 0.95 + removed Red Hat 9.0.93 + use common redhat/initpost script + +2003-10-21 13:33 Enrico Scholz + + * util-vserver/lib/Makefile-files: - use dietlibc compilation only + for library-built, but not e.g. when + building object for rpm-fake.so. This is very dark magic... + +2003-10-21 13:32 Enrico Scholz + + * util-vserver/scripts/Makefile-files: removed vunify.old.sh + +2003-10-21 13:32 Enrico Scholz + + * util-vserver/src/Makefile-files: - conditionalized built of C++ + programs + - added very dark magic to build everything of rpm-fake.so with + '-fPIC' + flag (when possible); on ia32 this will not work/is not + necessarily + but x86_64 seems to have problems with current method + +2003-10-21 13:27 Enrico Scholz + + * util-vserver/configure.ac: added check for C++ compiler + added some CXX flags + use ENSC_FPIC_SYSCALL + +2003-10-21 13:27 Enrico Scholz + + * util-vserver/lib/checkversion.c: fixed stupid thinko (EAGAIN vs. + EINVAL) + +2003-10-21 13:26 Enrico Scholz + + * util-vserver/m4/ensc_cxxcompiler.m4, + util-vserver/m4/ensc_fpicsyscall.m4, util-vserver/src/vserver.cc, + util-vserver/src/vserver.hh: initial checkin + +2003-10-21 13:25 Enrico Scholz + + * util-vserver/src/rpm-fake.c: made it compilabe with non-C99 + compilers and older kernels + +2003-10-21 13:25 Enrico Scholz + + * util-vserver/src/secure-mount.c: made it compilabe with non-C99 + compilers + +2003-10-21 13:25 Enrico Scholz + + * util-vserver/src/vbuild.cc: use 'Vserver' class instead of + 'string' + !!BROKE LOTS OF THINGS!! this version does not work yet + +2003-10-21 13:24 Enrico Scholz + + * util-vserver/src/vunify.cc: use 'Vserver' class instead of + 'string' + use getopt() + reindented large parts + +2003-10-21 13:23 Enrico Scholz + + * util-vserver/src/vutil.cc: use 'Vserver' class instead of + 'string' + fixed format-string error + +2003-10-21 13:23 Enrico Scholz + + * util-vserver/src/vutil.h, util-vserver/src/vutil.p: use 'Vserver' + class instead of 'string' + +2003-10-21 13:22 Enrico Scholz + + * util-vserver/src/wrappers.h: make it compilable with non-C99 + compilers + +2003-10-20 23:07 Enrico Scholz + + * util-vserver/doc/configuration.xml: documented 'ulimits' + directory + +2003-10-20 22:58 Enrico Scholz + + * util-vserver/scripts/vunify.old.sh: as the name ('*old*') is + saying already: it is old and obsoleted... + +2003-10-20 22:45 Enrico Scholz + + * util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop, + util-vserver/scripts/vserver.suexec: added ulimits support + +2003-10-20 22:45 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + _EXEC_ULIMIT + +2003-10-20 22:44 Enrico Scholz + + * util-vserver/src/exec-ulimit.c: work also, when ulimit-directory + does not exist + +2003-10-20 22:30 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added exec-ulimit + +2003-10-20 22:30 Enrico Scholz + + * util-vserver/src/exec-ulimit.c: initial checkin + +2003-10-20 22:29 Enrico Scholz + + * util-vserver/src/Makefile-files: added exec-ulimit.c + +2003-10-20 22:29 Enrico Scholz + + * util-vserver/src/wrappers.h: Egetrlimit(),Esetrlimit(): added + +2003-10-20 21:30 Enrico Scholz + + * util-vserver/src/reducecap.c: use capability support from the + library as far as possible + +2003-10-20 21:29 Enrico Scholz + + * util-vserver/src/capchroot.c, util-vserver/src/chcontext.c: use + capability support from the library instead of including + kernel-headers + +2003-10-20 21:28 Enrico Scholz + + * util-vserver/lib/capabilities.c: initial checkin + +2003-10-20 21:28 Enrico Scholz + + * util-vserver/lib/vserver.h: added capability support + +2003-10-20 21:28 Enrico Scholz + + * util-vserver/lib/Makefile-files: added support for '-DNDEBUG' in + the library + added capability.c + +2003-10-20 21:28 Enrico Scholz + + * util-vserver/configure.ac: added support for '-DNDEBUG' in the + library + +2003-10-20 18:08 Enrico Scholz + + * util-vserver/Makefile.am: added PKGSTATEDIR substitution + +2003-10-20 18:07 Enrico Scholz + + * util-vserver/doc/cfgdirdoc.dtd, + util-vserver/doc/configuration.xml, + util-vserver/scripts/vserver-build.apt-rpm, + util-vserver/scripts/vserver-build.functions, + util-vserver/scripts/vserver-build.functions.apt, + util-vserver/scripts/vserver-build.functions.rpm, + util-vserver/scripts/vserver-setup.functions: initial checkin + +2003-10-20 18:06 Enrico Scholz + + * util-vserver/scripts/Makefile-files: - removed vserver-init file + - added vserver-build* files + +2003-10-20 18:05 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: - added + PKGSTATEDIR, RUNDIR, LIB_VSERVER_SETUP_FUNCTIONS, + LIB_VSERVER_BUILD_FUNCTIONS* and _VSERVER variables + - added WORKAROUND_APT_DBPATH variable + +2003-10-20 18:04 Enrico Scholz + + * util-vserver/scripts/vserver-build: implemented it... + +2003-10-20 18:04 Enrico Scholz + + * util-vserver/scripts/vserver: added '--sync' and '--verbose' + options + sync the 'stop' stage on restart + fixed invocation of 'vserver-build' + +2003-10-20 18:02 Enrico Scholz + + * util-vserver/scripts/vapt-get, util-vserver/scripts/vrpm: made it + more mature by using arrays for the vserver-list + +2003-10-20 18:01 Enrico Scholz + + * util-vserver/scripts/vserver.functions: - moved + getFileValue/getFileArray from 'vserver.functions' into + 'functions' + +2003-10-20 18:00 Enrico Scholz + + * util-vserver/scripts/functions: - moved getFileValue/getFileArray + from 'vserver.functions' into 'functions' + - implemented '/' style vserver specification + - made getAllVservers more mature by using arrays + +2003-10-20 17:57 Enrico Scholz + + * util-vserver/scripts/vserver-init: moved 'vserver-init' + functionality into the more general vserver-build* + files + +2003-10-18 02:31 Enrico Scholz + + * util-vserver/configure.ac: gnit'ified + +2003-10-18 02:31 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added pipe-sync + +2003-10-18 02:30 Enrico Scholz + + * util-vserver/src/Makefile-files: gnit'ified + added pipe-sync + +2003-10-18 02:30 Enrico Scholz + + * util-vserver/src/chroot-cat.c: minor cosmetical changes + +2003-10-18 02:29 Enrico Scholz + + * util-vserver/src/chroot-rm.c: use "wrapper.h" + +2003-10-18 02:26 Enrico Scholz + + * util-vserver/src/wrappers.h: Eunlink(): added + +2003-10-18 02:25 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + $_VSERVER_BUILD + +2003-10-18 02:25 Enrico Scholz + + * util-vserver/scripts/vserver: added help/version + added 'build' option + made 'running' silently + +2003-10-18 02:24 Enrico Scholz + + * util-vserver/scripts/vserver-build, util-vserver/src/pipe-sync.c: + initial checkin + +2003-10-18 02:23 Enrico Scholz + + * util-vserver/Makefile.am: - gnit'ified it + +2003-10-18 02:23 Enrico Scholz + + * util-vserver/scripts/Makefile-files: - gnit'ified it + - added vserver-build + +2003-10-18 02:22 Enrico Scholz + + * util-vserver/sysv/Makefile-files: gnit'ified it + +2003-10-18 01:54 Enrico Scholz + + * util-vserver/lib/checkversion.c: restored compatibility for case + when old syscall interface uses the + new syscall-number (merged from SYSCALL_SWITCH branch) + +2003-10-17 21:07 Enrico Scholz + + * util-vserver/configure.ac: add '#include "compat.h'" at bottom of + config.h + version 0.23.191 + +2003-10-17 21:06 Enrico Scholz + + * util-vserver/Makefile.am: cleaned up pathsubst rule + +2003-10-17 21:05 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + _CHROOT_CAT + +2003-10-17 21:05 Enrico Scholz + + * util-vserver/scripts/vserver-init: create link to reverse + ctx->vserver mapping + +2003-10-17 21:05 Enrico Scholz + + * util-vserver/scripts/vserver.functions: - removed '#! /bin/bash' + header + - added separate CHCONTEXT_DISCONNECT option + - use default runlevels only when sysv init-style is used + - create/empty mtab file before mounting the vserver + +2003-10-17 21:03 Enrico Scholz + + * util-vserver/scripts/vserver.start: - removed '#! /bin/bash' + header + - added separate CHCONTEXT_DISCONNECT option + +2003-10-17 21:03 Enrico Scholz + + * util-vserver/scripts/vserver.stop: - removed '#! /bin/bash' + header + - disable interfaces when vserver is not running + +2003-10-17 21:02 Enrico Scholz + + * util-vserver/scripts/vserver.suexec: removed '#! /bin/bash' + header + +2003-10-17 21:02 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added chroot-cat + +2003-10-17 21:02 Enrico Scholz + + * util-vserver/sysv/vservers.subst: stop vservers only, when they + do not have the ONSTOP flag + +2003-10-17 21:01 Enrico Scholz + + * util-vserver/sysv/Makefile-files: removed some noise from the + substrule + +2003-10-17 20:31 Enrico Scholz + + * util-vserver/src/Makefile-files: added chroot-cat + +2003-10-17 20:31 Enrico Scholz + + * util-vserver/src/chroot-cat.c: initial checkin + +2003-10-17 20:31 Enrico Scholz + + * util-vserver/src/wrappers.h: Ereadlink(), Esymlink(): added + +2003-10-17 20:30 Enrico Scholz + + * util-vserver/src/wrappers-vserver.h: - added Evc_X_getctx() + wrapper + +2003-10-17 20:30 Enrico Scholz + + * util-vserver/src/secure-mount.c: - removed '#include '; + it's now in global + - fixed problems with dietlibc's strtok_r() implementation + - do not set '-o <...>' mount-flag when 'defaults' is the only + flag + +2003-10-17 20:29 Enrico Scholz + + * util-vserver/src/save_ctxinfo.c: - removed '#include '; + it's now in global + - use "wrappers.h" functions + - implemented reverse-symlink file + +2003-10-17 20:27 Enrico Scholz + + * util-vserver/lib/getctx.c, util-vserver/lib/getinitpid.c, + util-vserver/lib/getprocentry-legacy.c: - moved pid==0 handling + into getprocentry-legacy.c and access /proc/self + instead of /proc/ there; this solves problems when + 'fakeinit' + flag is used + - removed '#include '; it's now in global + +2003-10-17 00:46 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added vserver-legacy and + vserver.suexec + +2003-10-17 00:45 Enrico Scholz + + * util-vserver/src/ctx-kill.c: kill init-pid + more sanity checks + +2003-10-17 00:45 Enrico Scholz + + * util-vserver/scripts/vserver.stop: added support for kill-signal + sequence + +2003-10-17 00:44 Enrico Scholz + + * util-vserver/scripts/vserver.functions: added getEnterShell() + function + added support for kill-signal sequence + +2003-10-17 00:43 Enrico Scholz + + * util-vserver/scripts/vserver: - added legacy support + - added support for + suexec,restart,condrestart,exec,chkconfig,enter,running + and status + +2003-10-17 00:42 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + _CTX_KILL, _FILETIME and _VSERVER_LEGACY + +2003-10-17 00:42 Enrico Scholz + + * util-vserver/scripts/vserver-legacy, + util-vserver/scripts/vserver.suexec: initial checkin + +2003-10-16 15:10 Enrico Scholz + + * util-vserver/tests, util-vserver/tests/.cvsignore: added + getinitpid + +2003-10-16 15:09 Enrico Scholz + + * util-vserver/lib/Makefile-files: added int2str.c + +2003-10-16 15:08 Enrico Scholz + + * util-vserver/lib/internal.h: added utilvserver_int2str() + +2003-10-16 15:08 Enrico Scholz + + * util-vserver/lib/int2str.c, util-vserver/tests/getinitpid.c: + initial checkin + +2003-10-16 15:07 Enrico Scholz + + * util-vserver/tests/getctx.c: removed all traces of + +2003-10-16 15:07 Enrico Scholz + + * util-vserver/tests/Makefile-files: generalized building with + dietlibc + added getinitpid + +2003-10-16 14:49 Enrico Scholz + + * util-vserver/Makefile.am, util-vserver/src/Makefile-files: + generalized building with dietlibc + +2003-10-16 14:06 Enrico Scholz + + * util-vserver/lib/Makefile-files: added getinitpid* files + added getprocentry* files + added utils-legacy.h + +2003-10-16 14:02 Enrico Scholz + + * util-vserver/lib/getinitpid-compat.hc, + util-vserver/lib/getinitpid-legacy.hc, + util-vserver/lib/getinitpid.c, + util-vserver/lib/getprocentry-legacy.c, + util-vserver/lib/utils-legacy.h: initial checkin + +2003-10-16 14:02 Enrico Scholz + + * util-vserver/src/save_ctxinfo.c, util-vserver/tests/getctx.c: + s!vc_X_getcctx()!vc_X_getctx(0)! + +2003-10-16 14:01 Enrico Scholz + + * util-vserver/lib/vserver.h: added vc_X_getinitpid() + pseudo-syscall + removed vc_X_getcctx() since it is obsoleted by vc_X_getctx(0) + now + +2003-10-16 14:00 Enrico Scholz + + * util-vserver/lib/syscall-legacy.hc: removed all traces of + usage + +2003-10-16 13:59 Enrico Scholz + + * util-vserver/lib/getctx.c: cleanups + recognize pid==0 as current pid + +2003-10-16 13:59 Enrico Scholz + + * util-vserver/lib/getctx-legacy.hc: use new + utilvserver_getProcEntry() function + recall vc_X_getctx_legacy() automatically when buffersize was too + small + +2003-10-16 02:45 Enrico Scholz + + * util-vserver/Makefile.am: added substitution for UMOUNT + +2003-10-16 02:45 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: updated + +2003-10-16 02:45 Enrico Scholz + + * util-vserver/src/secure-mount.c: small signed/unsigned fixes for + pedantic warning setups + give '--help' message out on fd 1 instead of 2 + +2003-10-16 02:44 Enrico Scholz + + * util-vserver/src/save_ctxinfo.c: small signed/unsigned fixes for + pedantic warning setups + +2003-10-16 02:44 Enrico Scholz + + * util-vserver/src/new-namespace.c: use "wrappers.h" + use STACK_START macro + +2003-10-16 02:43 Enrico Scholz + + * util-vserver/src/listdevip.c: small fixes for pedantic + warning-setups + +2003-10-16 02:42 Enrico Scholz + + * util-vserver/src/compat-pivot_root.h, + util-vserver/src/ctx-kill.c, util-vserver/src/secure-umount.c, + util-vserver/src/stack-start.h, + util-vserver/src/wrappers-vserver.h, util-vserver/src/wrappers.h: + initial checkin + +2003-10-16 02:38 Enrico Scholz + + * util-vserver/src/Makefile-files: added secure-umount + ctx-kill + programs + added lots of headers + generalized dietlibc handling + +2003-10-16 02:36 Enrico Scholz + + * util-vserver/scripts/functions, util-vserver/scripts/vserver, + util-vserver/scripts/vserver.functions, + util-vserver/scripts/vserver.start, + util-vserver/scripts/vserver.stop: basic 'vserver ... start|stop' + function should work now... + +2003-10-16 02:34 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + _SECURE_UMOUNT and _UMOUNT + +2003-10-16 02:34 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added + vservers.{functions,stop} + +2003-10-16 02:33 Enrico Scholz + + * util-vserver/lib/vserver.h: added lots of S_CTX_INFO_* macros + +2003-10-16 02:32 Enrico Scholz + + * util-vserver/lib/Makefile-files: added missing 'lib/internal.h' + +2003-10-16 02:31 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added UMOUNT_PROG macro + +2003-10-16 02:31 Enrico Scholz + + * util-vserver/configure.ac: added check for UMOUNT + added pedantic warn-flags + added template for HAVE_GROWING_STACK check + +2003-10-16 02:29 Enrico Scholz + + * util-vserver/compat.h: do '#undef inline' for '--std=c99' + dietlibc compilations + +2003-10-14 18:51 Enrico Scholz + + * util-vserver/src/rpm-fake.c: use vc_init_internal_legacy() to + initialize legacy-lib without parsing + /proc + +2003-10-14 18:48 Enrico Scholz + + * util-vserver/lib/syscall-legacy.hc: added inofficial + vc_init_internal_legacy() function + +2003-10-14 18:47 Enrico Scholz + + * util-vserver/lib/getctx-legacy.hc, util-vserver/lib/syscall.c: + include "internal.h" + +2003-10-14 18:46 Enrico Scholz + + * util-vserver/lib/internal.h, util-vserver/lib/vserver-internal.h: + moved declarations of general functions from vserver-internal.h + into + internal.h + +2003-10-14 16:20 Enrico Scholz + + * util-vserver/lib/getversion-internal.hc, + util-vserver/lib/int2str.c, util-vserver/lib/internal.h, + util-vserver/lib/syscall.c: Merged with SYSCALL_SWITCH branch + (sswitch_merge tag) + +2003-10-14 16:09 Enrico Scholz + + * util-vserver/lib/vserver.h: fixed vc_X_getcctx() + +2003-10-14 15:59 Enrico Scholz + + * util-vserver/src/Makefile-files, util-vserver/src/rpm-fake.c, + util-vserver/src/save_ctxinfo.c, util-vserver/tests/getctx.c: + Merged with SYSCALL_SWITCH branch (sswitch_merge tag) + +2003-10-14 15:40 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore, util-vserver/Makefile.am, + util-vserver/NEWS, util-vserver/compat.h, + util-vserver/configure.ac, util-vserver/lib/Makefile-files, + util-vserver/lib/checkversion.c, + util-vserver/lib/getctx-compat.hc, + util-vserver/lib/getctx-legacy.hc, util-vserver/lib/getctx.c, + util-vserver/lib/getversion-internal.hc, + util-vserver/lib/getversion.c, + util-vserver/lib/safechroot-internal.hc, + util-vserver/lib/syscall-compat.hc, + util-vserver/lib/syscall-legacy.hc, util-vserver/lib/syscall.c, + util-vserver/lib/uint2str.c, util-vserver/lib/virtual.h, + util-vserver/lib/vserver-internal.h, util-vserver/lib/vserver.h, + util-vserver/scripts, util-vserver/scripts/.cvsignore, + util-vserver/src/Makefile-files, util-vserver/src/capchroot.c, + util-vserver/src/chbind.c, util-vserver/src/chcontext.c, + util-vserver/src/rebootmgr.c, util-vserver/src/reducecap.c, + util-vserver/src/vserver-stat.c, + util-vserver/sysv/Makefile-files, + util-vserver/tests/chrootsafe.cc, + util-vserver/util-vserver.spec.in: Merged with SYSCALL_SWITCH + branch (sswitch_merge tag) + +2003-10-13 20:21 Enrico Scholz + + * util-vserver/configure.ac: added rcs2log support + added checks for MS_MOVE and ctx_t + define UTMP_GID as 22 for now + +2003-10-13 20:04 Enrico Scholz + + * util-vserver/Makefile.am: added $(lib_XHDRS) and compat.h + create /var/run/vservers on 'make install' + use m4/pkgconfig.am + +2003-10-13 19:55 Enrico Scholz + + * util-vserver/src/fakerunlevel.c: made it secure (go into chroot + before accessing file) + dietlibc'ized + other cleanups + +2003-10-13 19:54 Enrico Scholz + + * util-vserver/src/Makefile-files: - added chroot-rm + - compile fakerunlevel with dietlibc + +2003-10-13 19:53 Enrico Scholz + + * util-vserver/scripts/vserver.start: made it working... + +2003-10-13 19:53 Enrico Scholz + + * util-vserver/scripts/vserver-init: - removed unused variables + - added lockfile-creation + - create symlink from /var/lib/rpm to $rpmdb_path (until all + apt-versions + are having the %_dbpath patch) + +2003-10-13 19:51 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added variables + for _CHROOT_RM and _FAKE_RUNLEVEL + +2003-10-13 19:51 Enrico Scholz + + * util-vserver/scripts/functions: use new secure-mount syntax + +2003-10-13 19:50 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added statements to install + vserver.start + +2003-10-13 19:50 Enrico Scholz + + * util-vserver/m4/pkgconfig.am: initial checkin + +2003-10-13 19:50 Enrico Scholz + + * util-vserver/m4/changelog.am: conditionalize RCS2LOG variant also + +2003-10-13 19:46 Enrico Scholz + + * util-vserver/lib/vserver.h: removed ctx_t typedef; this must be + now done by each package + inidividually. For util-vserver, the declaration is in compat.h + and detection in configure.ac + +2003-10-13 19:45 Enrico Scholz + + * util-vserver/lib, util-vserver/lib/.cvsignore, util-vserver/src, + util-vserver/src/.cvsignore: updated + +2003-10-13 19:45 Enrico Scholz + + * util-vserver/lib/util-vserver.pc.subst, + util-vserver/src/chroot-rm.c: initial checkin + +2003-10-13 19:44 Enrico Scholz + + * util-vserver/compat.h, util-vserver/src/compat.h: moved compat.h + from src/ to toplevel-dir + +2003-10-13 19:41 Enrico Scholz + + * util-vserver/lib/getctx.c, util-vserver/lib/syscall.c, + util-vserver/src/capchroot.c, util-vserver/src/chbind.c, + util-vserver/src/chcontext.c, util-vserver/src/reducecap.c, + util-vserver/src/save_ctxinfo.c, util-vserver/src/secure-mount.c, + util-vserver/src/setctxlimit.c, util-vserver/tests/chrootsafe.cc, + util-vserver/tests/getctx.c: include "compat.h" + +2003-10-13 19:39 Enrico Scholz + + * util-vserver/lib/Makefile-files: added PGKCONFIG_FILES + +2003-10-09 23:07 Enrico Scholz + + * util-vserver/src/compat.h: initial checkin + +2003-10-09 23:07 Enrico Scholz + + * util-vserver/configure.ac: use absolute default-path for + /bin/mount since it is required by + execv() in secure-mount + +2003-10-09 23:06 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: added MOUNT_PROG + +2003-10-09 23:06 Enrico Scholz + + * util-vserver/tests/getctx.c: added '#include ' + +2003-10-09 23:05 Enrico Scholz + + * util-vserver/src/util.h: - added *_cast macros + - mark writeStr() as __attribute__((__unused__)) to prevent + compiler + warnings + - fixed off-by-one error in WRITE_MSG + +2003-10-09 23:04 Enrico Scholz + + * util-vserver/src/secure-mount.c: rewrote it completely; it + emulates now nearly the usual mount(8) + functionality but provides the enhanced '--secure', '--chdir + ...', + ... options which are needed for vservers + +2003-10-09 01:52 Enrico Scholz + + * util-vserver/doc/cfg.txt: added documentation about + and basic vserver-variables + +2003-10-09 01:47 Enrico Scholz + + * util-vserver/scripts/vserver.start: initial checkin + +2003-10-09 01:47 Enrico Scholz + + * util-vserver/scripts/vserver: complete rewrite + +2003-10-09 01:46 Enrico Scholz + + * util-vserver/Makefile.am: added some standard-tools to the + %.pathsubst rules + +2003-10-09 01:45 Enrico Scholz + + * util-vserver/configure.ac: added checks for some standard-tools + +2003-10-09 01:45 Enrico Scholz + + * util-vserver/tests, util-vserver/tests/.cvsignore, + util-vserver/tests/Makefile-files: added getctx + +2003-10-09 01:45 Enrico Scholz + + * util-vserver/src/Makefile-files: added save_ctxinfo and + mask2prefix + +2003-10-09 01:42 Enrico Scholz + + * util-vserver/src, util-vserver/src/.cvsignore: added mask2prefix + and save_ctxinfo + +2003-10-09 01:41 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added CVS tags + +2003-10-09 01:41 Enrico Scholz + + * util-vserver/lib/getctx.c, util-vserver/lib/int2str.c, + util-vserver/lib/internal.h, util-vserver/src/mask2prefix.c, + util-vserver/src/save_ctxinfo.c, util-vserver/tests/getctx.c: + initial checkin + +2003-10-09 01:40 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added + _CAPCHROOT, _CHBIND, _CHCONTEXT, _MASK2PREFIX, _SAVE_S_CONTEXT, + _SAVE_CTXINFO, _VPS and standard-tool macros + +2003-10-09 01:38 Enrico Scholz + + * util-vserver/scripts/functions: added isVserverRunning function + +2003-10-09 01:38 Enrico Scholz + + * util-vserver/lib/vserver.h: added CTX_NOCTX macro + added getctx()/getcctx() functions + added ctx_t datatype + +2003-10-09 01:37 Enrico Scholz + + * util-vserver/lib/Makefile-files: added getctx and int2str + + helper headers + +2003-10-06 22:38 Enrico Scholz + + * util-vserver/distrib/Makefile.am: added install-rules for the + distributions + +2003-10-06 22:37 Enrico Scholz + + * util-vserver/distrib/rh9/apt, + util-vserver/distrib/rh9/apt/rpmpriorities, + util-vserver/distrib/rh9/apt/sources.list: initial checkin + +2003-10-06 19:49 Enrico Scholz + + * util-vserver/util-vserver.spec.in: - fixed Source0 URL + - added -sysv and -devel subpackages + - moved /etc/init.d to %_initrddir + +2003-10-06 19:48 Enrico Scholz + + * util-vserver/Makefile.am: - added more pathsubst variables + - added $(scripts_DTA) + +2003-10-06 19:46 Enrico Scholz + + * util-vserver/distrib/defaults/rpm/macros: added notes regarding + %_install_langs and added some other "main"-languages + +2003-10-06 19:44 Enrico Scholz + + * util-vserver/doc/cfg.txt: added apps/vunify documentation + +2003-10-06 19:44 Enrico Scholz + + * util-vserver/scripts/vserver-init: - added metadata to track if + root-/pkgcfgbase-links shall be made + relative + - added gpg-key import + - create dev/pts directory + +2003-10-06 19:42 Enrico Scholz + + * util-vserver/scripts/vapt-get: improved '--help'/'--version' + messages + +2003-10-06 19:42 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst: added PACKAGE_* + variables + made DISTRIBDIR "$PKGLIBDIR/distributions" (instead of + "$PKGLIBDIR") + added _VRPM + reordered the _* variables alphabetically + +2003-10-06 19:40 Enrico Scholz + + * util-vserver/scripts/Makefile-files: installed missing files + (functions, vapt-get*, vrpm*) + +2003-10-02 15:35 Enrico Scholz + + * util-vserver/src/secure-mount.c: rewrote it completely + +2003-10-02 15:35 Enrico Scholz + + * util-vserver/src/rpm-fake.c: - set default-signal handler for + SIGCHLD + - minor cosmetical cleanups + - use wait4(2) instead of waitpid(2) + +2003-10-02 15:28 Enrico Scholz + + * util-vserver/scripts/vserver-init: - renamed 'makeInode' to + 'makeDevEntry' which is more flexible + - added workaround for + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106057 + - content of *all* rpm and apt template directories will be + copied now + - use '-y' flag on 'apt-get' invocation + +2003-10-02 15:25 Enrico Scholz + + * util-vserver/scripts/vapt-get, util-vserver/scripts/vrpm, + util-vserver/scripts/vrpm-worker: minor cosmetical cleanups + +2003-10-02 15:25 Enrico Scholz + + * util-vserver/scripts/vrpm-preload: minor cosmetical cleanups + added copyright + +2003-10-02 15:24 Enrico Scholz + + * util-vserver/scripts/vapt-get-worker: minor cosmetical cleanups + removed debug code + +2003-10-02 15:23 Enrico Scholz + + * util-vserver/scripts/functions, + util-vserver/scripts/util-vserver-vars.pathsubst: added + workaround for + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106057 + +2003-10-01 10:48 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: updated to reflect changes + in CVSROOT/cvsignores + +2003-10-01 10:44 Enrico Scholz + + * util-vserver/man/Makefile-files: removed last traces of + newvserver + +2003-10-01 10:43 Enrico Scholz + + * util-vserver/configure.ac, util-vserver/m4/changelog.am: added + cvs2cl support + +2003-10-01 10:43 Enrico Scholz + + * util-vserver/scripts/Makefile-files: - changed pathsubst rules so + that files will not be updated on every + 'make' anymore + +2003-10-01 10:42 Enrico Scholz + + * util-vserver/Makefile.am: - added cvs2cl support + - changed pathsubst rules so that files will not be updated on + every + 'make' anymore + +2003-10-01 00:55 Enrico Scholz + + * util-vserver/src/rpm-fake.c: explicitly cast result of dlsym() to + prevent compiler warnings + +2003-10-01 00:54 Enrico Scholz + + * util-vserver/src/new-namespace.c: small fix in error-message + +2003-10-01 00:50 Enrico Scholz + + * util-vserver/src/rebootmgr.c: fixed small size_t vs. socklen_t + type-clash + +2003-10-01 00:23 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore, util-vserver/Makefile.am, + util-vserver/configure.ac: renamed vserver.spec.in to + util-vserver.spec.in + +2003-10-01 00:20 Enrico Scholz + + * util-vserver/man/newvserver.8, util-vserver/newvserver.defaults: + removed since linuxconf support was dropped + +2003-09-30 23:52 Enrico Scholz + + * util-vserver/util-vserver.spec.in, util-vserver/vserver.spec.in: + renamed vserver.spec.in to util-vserver.spec.in and updated it + +2003-09-30 20:46 Enrico Scholz + + * util-vserver/src/new-namespace.c, + util-vserver/src/secure-mount.c: modified showVersion() to show + current version instead of an hardcoded + value + +2003-09-30 20:28 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: updated + +2003-09-30 20:27 Enrico Scholz + + * util-vserver/Makefile.am: added general rule for %.pathsubst + files + updated file-lists + +2003-09-30 20:26 Enrico Scholz + + * util-vserver/configure.ac: added distrib/Makefile + +2003-09-30 20:26 Enrico Scholz + + * util-vserver/pathconfig.h.pathsubst: initial checkin + +2003-09-30 20:24 Enrico Scholz + + * util-vserver/scripts/Makefile-files: - renamed + util-vserver-vars.subst to util-vserver-vars.pathsubst; this + makes it easier to use general makefile-rules + - removed the old rules for util-vserver-vars + +2003-09-30 20:23 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.pathsubst, + util-vserver/scripts/util-vserver-vars.subst: renamed + util-vserver-vars.subst to util-vserver-vars.pathsubst; this + makes it easier to use general makefile-rules + +2003-09-30 20:16 Enrico Scholz + + * util-vserver/src/capchroot.c, util-vserver/src/chbind.c, + util-vserver/src/chcontext.c, util-vserver/src/fakerunlevel.c, + util-vserver/src/filetime.c, util-vserver/src/ifspec.c, + util-vserver/src/rebootmgr.c, util-vserver/src/reducecap.c, + util-vserver/src/setctxlimit.c, util-vserver/src/showperm.c, + util-vserver/src/vdu.c, util-vserver/src/vreboot.c, + util-vserver/src/vserver-stat.c: include + +2003-09-30 20:13 Enrico Scholz + + * util-vserver/src/vbuild.cc, util-vserver/src/vcheck.cc, + util-vserver/src/vfiles.cc, util-vserver/src/vunify.cc, + util-vserver/src/vutil.cc: - renamed 'PACKAGE' class to 'Package' + to avoid naming-clashes with + the standard autoconf macro + - include + +2003-09-30 20:12 Enrico Scholz + + * util-vserver/src/vutil.h, util-vserver/src/vutil.p: renamed + 'PACKAGE' class to 'Package' to avoid naming-clashes with the + standard autoconf macro + +2003-09-30 19:25 Enrico Scholz + + * util-vserver/src/rpm-fake.c: - removed debug-output + - do not fail on umount() errors; CLONE_NEWNS has + unexpected/strange + behavior in combination with chroot() so that mountpoints within + chroots *can* disappear automatically + +2003-09-30 19:12 Enrico Scholz + + * util-vserver/Makefile.am: use recursive make for distrib: added + it to SUBDIRS and remove old + $(distrib_*) variables + +2003-09-30 18:17 Enrico Scholz + + * util-vserver/distrib, util-vserver/distrib/.cvsignore: initial + checkin + +2003-09-30 18:11 Enrico Scholz + + * util-vserver/distrib/Makefile-files, + util-vserver/distrib/Makefile.am, util-vserver/distrib/defaults, + util-vserver/distrib/defaults/devs, + util-vserver/distrib/defaults/rpm, + util-vserver/distrib/defaults/rpm/macros, + util-vserver/distrib/install-mdk8.2, + util-vserver/distrib/install-post.sh, + util-vserver/distrib/install-pre.sh, + util-vserver/distrib/install-rh7.2, + util-vserver/distrib/install-rh7.3, + util-vserver/distrib/install-rh8.0, + util-vserver/distrib/install-rh9.0, + util-vserver/distrib/mdk8.2-minimum, + util-vserver/distrib/rh7.3-minimum, + util-vserver/distrib/rh8.0-minimum, util-vserver/distrib/rh9, + util-vserver/distrib/rh9.0-minimum, + util-vserver/distrib/rh9.0.93, util-vserver/distrib/rh9.0.93/apt, + util-vserver/distrib/rh9.0.93/apt/rpmpriorities, + util-vserver/distrib/rh9.0.93/apt/sources.list, + util-vserver/distrib/rh9.0.93/pkgs, + util-vserver/distrib/rh9.0.93/pkgs/01, + util-vserver/distrib/rh9.0.93/pkgs/02, + util-vserver/distrib/rh9/pkgs, util-vserver/distrib/rh9/pkgs/01, + util-vserver/distrib/rh9/pkgs/02, + util-vserver/distrib/sample.conf, util-vserver/distrib/sample.sh: + Replaced the install-* and *-minimum files with configuration + files + for the new vserver-init tool in the scripts directory. To ease + the + 'install:'-make target, it is necessarily to use recursive make + for + this directory. + +2003-09-30 16:01 Enrico Scholz + + * util-vserver/configure.ac: added dietlibc support + version 0.23.89.1 + +2003-09-30 16:00 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore: added Makefile + +2003-09-30 15:59 Enrico Scholz + + * util-vserver/lib, util-vserver/lib/.cvsignore, + util-vserver/scripts, util-vserver/scripts/.cvsignore, + util-vserver/scripts/functions, util-vserver/scripts/vapt-get, + util-vserver/scripts/vapt-get-worker, + util-vserver/scripts/vrpm-preload, + util-vserver/scripts/vrpm-worker, + util-vserver/scripts/vserver-init, util-vserver/src, + util-vserver/src/.cvsignore, util-vserver/src/new-namespace.c, + util-vserver/src/rpm-fake.c, util-vserver/src/secure-mount.c, + util-vserver/src/util.h, util-vserver/sysv, + util-vserver/sysv/.cvsignore, util-vserver/tests, + util-vserver/tests/.cvsignore: initial checkin + +2003-09-30 15:58 Enrico Scholz + + * util-vserver/Makefile.am: updated to new -devel branch + added dietlibc support + +2003-09-30 15:58 Enrico Scholz + + * util-vserver/src/Makefile-files: added secure-mount, + new-namespace and rpm-fake.so rules + +2003-09-30 15:56 Enrico Scholz + + * util-vserver/scripts/vrpm: replaced with new version + +2003-09-30 15:56 Enrico Scholz + + * util-vserver/scripts/util-vserver-vars.subst: added more + variables + +2003-09-30 15:56 Enrico Scholz + + * util-vserver/scripts/Makefile-files: added more substitutions + +2003-09-30 12:42 Enrico Scholz + + * util-vserver/doc/cfg.txt: initial checkin + +2003-09-29 22:01 Enrico Scholz + + * util-vserver, util-vserver/.cvsignore, util-vserver/AUTHORS, + util-vserver/Makefile.am, util-vserver/NEWS, util-vserver/README, + util-vserver/THANKS, util-vserver/configure.ac, + util-vserver/distrib, util-vserver/distrib/Makefile-files, + util-vserver/distrib/install-mdk8.2, + util-vserver/distrib/install-post.sh, + util-vserver/distrib/install-pre.sh, + util-vserver/distrib/install-rh7.2, + util-vserver/distrib/install-rh7.3, + util-vserver/distrib/install-rh8.0, + util-vserver/distrib/install-rh9.0, + util-vserver/distrib/mdk8.2-minimum, + util-vserver/distrib/rh7.3-minimum, + util-vserver/distrib/rh8.0-minimum, + util-vserver/distrib/rh9.0-minimum, + util-vserver/distrib/sample.conf, util-vserver/distrib/sample.sh, + util-vserver/doc, util-vserver/doc/FAQ.txt, + util-vserver/doc/Makefile-files, util-vserver/doc/changelog.txt, + util-vserver/doc/intro.txt, util-vserver/lib, + util-vserver/lib/Makefile-files, util-vserver/lib/syscall.c, + util-vserver/lib/vserver.h, util-vserver/m4, + util-vserver/m4/changelog.am, util-vserver/m4/ensc_cflags.m4, + util-vserver/m4/gpgsig.am, util-vserver/m4/validate.am, + util-vserver/man, util-vserver/man/Makefile-files, + util-vserver/man/chbind.8, util-vserver/man/chcontext.8, + util-vserver/man/distrib-info.8, util-vserver/man/newvserver.8, + util-vserver/man/rebootmgr.8, util-vserver/man/reducecap.8, + util-vserver/man/vps.8, util-vserver/man/vpstree.8, + util-vserver/man/vrpm.8, util-vserver/man/vserver-copy.8, + util-vserver/man/vserver-stat.8, util-vserver/man/vserver.8, + util-vserver/man/vtop.8, util-vserver/newvserver.defaults, + util-vserver/scripts, util-vserver/scripts/Makefile-files, + util-vserver/scripts/distrib-info, + util-vserver/scripts/rootshell, + util-vserver/scripts/save_s_context, + util-vserver/scripts/util-vserver-vars.subst, + util-vserver/scripts/vkill, util-vserver/scripts/vprofile, + util-vserver/scripts/vps, util-vserver/scripts/vpstree, + util-vserver/scripts/vrpm, util-vserver/scripts/vserver, + util-vserver/scripts/vserver-copy, + util-vserver/scripts/vserverkillall, + util-vserver/scripts/vservers.grabinfo.sh, + util-vserver/scripts/vsysvwrapper, util-vserver/scripts/vtop, + util-vserver/scripts/vunify.old.sh, util-vserver/src, + util-vserver/src/Makefile-files, util-vserver/src/capchroot.c, + util-vserver/src/chbind.c, util-vserver/src/chcontext.c, + util-vserver/src/fakerunlevel.c, util-vserver/src/filetime.c, + util-vserver/src/ifspec.c, util-vserver/src/listdevip.c, + util-vserver/src/parserpmdump.c, util-vserver/src/readlink.c, + util-vserver/src/rebootmgr.c, util-vserver/src/reducecap.c, + util-vserver/src/setctxlimit.c, util-vserver/src/showattr.c, + util-vserver/src/showperm.c, util-vserver/src/vbuild.cc, + util-vserver/src/vcheck.cc, util-vserver/src/vdu.c, + util-vserver/src/vfiles.cc, util-vserver/src/vreboot.c, + util-vserver/src/vserver-stat.c, util-vserver/src/vunify.cc, + util-vserver/src/vutil.cc, util-vserver/src/vutil.h, + util-vserver/src/vutil.p, util-vserver/sysv, + util-vserver/sysv/Makefile-files, + util-vserver/sysv/rebootmgr.subst, + util-vserver/sysv/v_gated.subst, util-vserver/sysv/v_httpd.subst, + util-vserver/sysv/v_named.subst, + util-vserver/sysv/v_portmap.subst, + util-vserver/sysv/v_sendmail.subst, + util-vserver/sysv/v_smb.subst, util-vserver/sysv/v_sshd.subst, + util-vserver/sysv/v_xinetd.subst, + util-vserver/sysv/vservers.conf, + util-vserver/sysv/vservers.subst, util-vserver/tests, + util-vserver/tests/Makefile-files, + util-vserver/tests/chrootsafe.cc, + util-vserver/tests/escaperoot.cc, util-vserver/tests/forkbomb.cc, + util-vserver/tests/testipc.cc, util-vserver/tests/testlimit.cc, + util-vserver/tests/testopenf.cc, util-vserver/vserver.spec.in: + initial checkin + +2003-09-29 22:01 + + * .: New repository initialized by cvs2svn. + diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..d3c5b40 --- /dev/null +++ b/INSTALL @@ -0,0 +1,237 @@ +Installation Instructions +************************* + +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, +2006, 2007 Free Software Foundation, Inc. + +This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + +Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following +more-detailed instructions are generic; see the `README' file for +instructions specific to this package. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. Caching is +disabled by default to prevent problems with accidental use of stale +cache files. + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You need `configure.ac' if +you want to change it or regenerate `configure' using a newer version +of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. + + Running `configure' might take a while. While running, it prints + some messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + + 6. Often, you can also type `make uninstall' to remove the installed + files again. + +Compilers and Options +===================== + +Some systems require unusual options for compilation or linking that the +`configure' script does not know about. Run `./configure --help' for +details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c99 CFLAGS=-g LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + +You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you can use GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + With a non-GNU `make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use `make distclean' before +reconfiguring for another architecture. + +Installation Names +================== + +By default, `make install' installs the package's commands under +`/usr/local/bin', include files under `/usr/local/include', etc. You +can specify an installation prefix other than `/usr/local' by giving +`configure' the option `--prefix=PREFIX'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +pass the option `--exec-prefix=PREFIX' to `configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=DIR' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + +Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + +There may be some features `configure' cannot figure out automatically, +but needs to determine by the type of machine the package will run on. +Usually, assuming the package is built to be run on the _same_ +architectures, `configure' can figure that out, but if it prints a +message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the option `--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + +If you want to set default values for `configure' scripts to share, you +can create a site shell script called `config.site' that gives default +values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + +Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified `gcc' to be used as the C compiler (unless it is +overridden in the site shell script). + +Unfortunately, this technique does not work for `CONFIG_SHELL' due to +an Autoconf bug. Until the bug is fixed you can use this workaround: + + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash + +`configure' Invocation +====================== + +`configure' recognizes the following options to control how it operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..7193c2e --- /dev/null +++ b/Makefile.am @@ -0,0 +1,243 @@ +## $Id: Makefile.am 2801 2008-10-28 00:24:44Z dhozac $ + +# Copyright (C) 2003,2004,2005,2006 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = . distrib + +SVN2CL_AMFLAGS = $(SVN2CL_TAG) --authors=svnusers.map +SVN2CL_ALLFLAGS := $(SVN2CL_AMFLAGS) $(SVN2CL_FLAGS) + +confdir = $(sysconfdir)/vservers +confdefaultsdir = $(confdir)/.defaults +sbincfgdir = $(sbindir) +legacydir = $(pkglibdir)/legacy + +include_HEADERS = +noinst_HEADERS = $(ENSC_VECTOR_HDRS) \ + compat.h compat-c99.h + +noinst_LIBRARIES = $(ENSC_VECTOR_LIBS) +lib_LIBRARIES = +lib_LTLIBRARIES = +pkglib_LTLIBRARIES = + +pkglib_SCRIPTS = +pkglib_DATA = FEATURES.txt +pkglib_PROGRAMS = +legacy_SCRIPTS = +legacy_PROGRAMS = + +sbin_SCRIPTS = +sbin_PROGRAMS = +noinst_PROGRAMS = +noinst_DATA = + +initrd_SCRIPTS = +sysconf_DATA = + +pyexec_LTLIBRARIES = + +DIETPROGS = $(LIBENSCVECTOR_DIET) + +BUILT_SOURCES = pathconfig.h \ + .fixups + +man_MANS = + +kernel_HDRS = $(wildcard kernel/*.h) + + +EXTRA_PROGRAMS = +EXTRA_DIST = pathconfig.h.pathsubst \ + util-vserver.spec \ + THANKS REQUIREMENTS \ + $(kernel_HDRS) + +check_PROGRAMS = +check_SCRIPTS = + +TESTS_DEBUG = no +TESTS = +TESTS_ENVIRONMENT = ensc_use_expensive_tests="$(ENSC_USE_EXPENSIVE_TESTS)" \ + ensc_test_debug="$(TESTS_DEBUG)" + +AM_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/ensc_wrappers \ + -D_GNU_SOURCE -D_REENTRANT $(RELEASE_CPPFLAGS) + +CLEANFILES = $(BUILT_SOURCES) \ + .*.pathsubst.stamp */.*.pathsubst.stamp */*/.*.pathsubst.stamp \ + pathconfig.h .fixups + +DISTCLEANFILES = FEATURES.txt + + +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = + +if USE_DIETLIBC +DIET_CC := $(DIET) $(DIETFLAGS) $(CC) +VSERVER_LDFLGS := -static +else +VSERVER_LDFLGS := +endif + +if USE_DIETLIBC_COMPAT +DIET_COMPAT_LDADDS = -lcompat +else +DIET_COMPAT_LDADDS = +endif + +VSERVER_LDADDS = $(LIBVSERVER) $(DIET_COMPAT_LDADDS) + +silent.%: FORCE + @t=$$($(MKTEMP) -d /tmp/build.XXXXXX) && \ + trap "rm -rf $$t" EXIT && \ + mkfifo $$t/fifo && \ + ( grep --line-buffered -v \ + -e ': In function' \ + -e 'your code still has assertions enabled' \ + -e ' is obsoleted' \ + -e 'warning: #warning' <$$t/fifo & ) && \ + exec 2>$$t/fifo && \ + $(MAKE) '$*' -s >/dev/null + +pathsubst_RULES = s!@'PKGLIBDIR'@!$(pkglibdir)!g; \ + s!@'LEGACYDIR'@!$(legacydir)!g; \ + s!@'SBINDIR'@!$(sbindir)!g; \ + s!@'CONFDIR'@!$(confdir)!g; \ + s!@'SYSCONFDIR'@!$(sysconfdir)!g; \ + s!@'PKGSTATEDIR'@!$(pkgstatedir)!g; \ + s!@'PKGCACHEDIR'@!$(pkgcachedir)!g; \ + s!@'PKGSTATEREVDIR'@!$(pkgstaterevdir)!g; \ + s!@'VSERVERDIR'@!$(vserverdir)!g; \ + s!@'VSERVERPKGDIR'@!$(vserverpkgdir)!g; \ + s!@'VSERVERPKGDIR'@!$(vserverpkgdir)!g; \ + s!@'VSHELPERSTATEDIR'@!$(vshelperstatedir)!g; \ + s!@'INITRDDIR'@!$(initrddir)!g; \ + s!@'LIBDIR'@!$(libdir)!g; \ + s!@'MANDIR'@!$(mandir)!g; \ + s!@'INCLUDEDIR'@!$(includedir)!g; \ + s!@'PACKAGE'@!$(PACKAGE)!g; \ + s!@'PACKAGE_BUGREPORT'@!$(PACKAGE_BUGREPORT)!g; \ + s!@'PACKAGE_NAME'@!$(PACKAGE_NAME)!g; \ + s!@'PACKAGE_STRING'@!$(PACKAGE_STRING)!g; \ + s!@'PACKAGE_TARNAME'@!$(PACKAGE_TARNAME)!g; \ + s!@'PACKAGE_VERSION'@!$(PACKAGE_VERSION)!g; \ + s!@'ENSC_HAVE_C99_COMPILER_TRUE'@!\@ENSC_HAVE_C99_COMPILER_TRUE@ !g; \ + s!@'ENSC_HAVE_C99_COMPILER_FALSE'@!\@ENSC_HAVE_C99_COMPILER_FALSE@ !g; \ + s!@'ENSC_HAVE_CXX_COMPILER_TRUE'@!\@ENSC_HAVE_CXX_COMPILER_TRUE@ !g; \ + s!@'ENSC_HAVE_CXX_COMPILER_FALSE'@!\@ENSC_HAVE_CXX_COMPILER_FALSE@ !g; \ + $(ENSC_PATHPROG_SED) + +pathconfig.h: .pathconfig.h.pathsubst.stamp +.%.pathsubst.stamp: %.pathsubst Makefile + @mkdir -p $$(dirname '$@') + @echo "$(SED) -e '...' $*.pathsubst >$*" + @$(SED) -e '$(pathsubst_RULES)' '$<' >'$@.tmp' + @-chmod --reference='$<' '$@.tmp' + @if cmp -s '$@.tmp' '$*'; then \ + echo "... no changes, reusing old version"; \ + rm -f '$@.tmp'; \ + else \ + rm -f '$*'; mv '$@.tmp' '$*'; \ + fi + @chmod a-w '$*' + @touch '$@' + +pkgcachedir = $(localstatedir)/cache/vservers +pkgstatedir = $(localstatedir)/run/vservers +pkgstaterevdir = $(confdefaultsdir)/run.rev +vserverpkgdir = $(vserverdir)/.pkg +vshelperstatedir = $(localstatedir)/run/vshelper + +fix_SCRPTS = $(addprefix $(pkglibdir)/, $(notdir $(pkglib_SCRIPTS))) \ + $(addprefix $(legacydir)/, $(notdir $(legacy_SCRIPTS))) \ + $(addprefix $(sbindir)/, $(notdir $(sbin_SCRIPTS))) \ + $(addprefix $(initrddir)/, $(notdir $(initrd_SCRIPTS))) + +update-doc: doc + $(top_srcdir)/update-doc + +install-data-hook: install-fix-script-paths install-create-dirs + +install-create-dirs: + $(mkinstalldirs) -m 0755 $(DESTDIR)$(pkgstatedir) $(DESTDIR)$(pkgstatedir).rev $(DESTDIR)$(vshelperstatedir) + $(mkinstalldirs) -m 0700 $(DESTDIR)$(pkgcachedir) + $(mkinstalldirs) -m 0755 $(DESTDIR)$(confdefaultsdir) + f=$(DESTDIR)$(confdefaultsdir)/vdirbase; test -e "$$f" || ln -sf '$(vserverdir)' "$$f" + f=$(DESTDIR)$(confdefaultsdir)/cachebase; test -e "$$f" || ln -sf '$(pkgcachedir)' "$$f" + f=$(DESTDIR)$(pkgstaterevdir); test -e "$$f" || ln -sf '$(pkgstatedir).rev' "$$f" + +install-fix-script-paths: + test "/usr/lib/util-vserver" = "$(pkglibdir)" || \ + for i in $(fix_SCRPTS); do \ + f="$(DESTDIR)$$i"; \ + $(SED) -e 's!/usr/lib/util-vserver!$(pkglibdir)!g' "$$f" >"$$f.tmp"; \ + $(CMP) -s "$$f.tmp" "$$f" || cat "$$f.tmp" >"$$f"; \ + rm -f "$$f.tmp"; \ + done + +install-distribution: _install-vserverdir _install-vshelperlink + +_install-vshelperlink: + $(mkinstalldirs) $(DESTDIR)/sbin + ln -sf ..$(pkglibdir)/vshelper $(DESTDIR)/sbin/vshelper + +_install-vserverdir: + $(mkinstalldirs) $(DESTDIR)$(vserverdir) $(DESTDIR)$(vserverpkgdir) + + +.fixups: config.status util-vserver.spec + chmod a-w util-vserver.spec + touch $@ + +if USE_DIETLIBC +$(addsuffix $(EXEEXT), $(DIETPROGS)) \ +$(addsuffix $(OBJEXT), $(DIETPROGS)) \ + : CC=$(DIET_CC) +else !USE_DIETLIBC +nodist_lib_dietlibc_not_enabled_error_a_SOURCES = \ + lib-dietlibc-not-enabled-error.c +endif + +include $(top_srcdir)/lib/Makefile-files +include $(top_srcdir)/src/Makefile-files +include $(top_srcdir)/doc/Makefile-files +include $(top_srcdir)/man/Makefile-files +include $(top_srcdir)/scripts/Makefile-files +include $(top_srcdir)/tests/Makefile-files +include $(top_srcdir)/sysv/Makefile-files +include $(top_srcdir)/contrib/Makefile-files +include $(top_srcdir)/ensc_vector/Makefile-files +include $(top_srcdir)/ensc_wrappers/Makefile-files +include $(top_srcdir)/ensc_fmt/Makefile-files +include $(top_srcdir)/lib_internal/Makefile-files +#include $(top_srcdir)/vserver-start/Makefile-files +include $(top_srcdir)/gentoo/Makefile-files +if HAVE_PYTHON +include $(top_srcdir)/python/Makefile-files +endif + +include $(top_srcdir)/m4/gpgsig.am +include $(top_srcdir)/m4/validate.am +include $(top_srcdir)/m4/changelog.am +include $(top_srcdir)/m4/pkgconfig.am +include $(top_srcdir)/m4/libsel.am +include $(top_srcdir)/m4/install-notify.am + +.PHONY: FORCE update-doc diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..bc08092 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,10284 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# Copyright (C) 2003,2004,2005,2006 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + + + + + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +pkglib_PROGRAMS = src/capchroot$(EXEEXT) src/chain-echo$(EXEEXT) \ + src/chcontext-compat$(EXEEXT) src/check-unixfile$(EXEEXT) \ + src/chroot-sh$(EXEEXT) src/fakerunlevel$(EXEEXT) \ + src/filetime$(EXEEXT) src/keep-ctx-alive$(EXEEXT) \ + src/lockfile$(EXEEXT) src/readlink$(EXEEXT) \ + src/save_ctxinfo$(EXEEXT) src/secure-mount$(EXEEXT) \ + src/mask2prefix$(EXEEXT) src/exec-ulimit$(EXEEXT) \ + src/rpm-fake-resolver$(EXEEXT) src/vshelper-sync$(EXEEXT) \ + src/sigexec$(EXEEXT) src/chbind-compat$(EXEEXT) \ + src/vsysctl$(EXEEXT) src/h2ext$(EXEEXT) src/tunctl$(EXEEXT) \ + src/exec-remount$(EXEEXT) $(am__EXEEXT_9) $(am__EXEEXT_10) \ + $(am__EXEEXT_11) +legacy_PROGRAMS = src/ifspec$(EXEEXT) src/listdevip$(EXEEXT) \ + src/parserpmdump$(EXEEXT) src/rebootmgr$(EXEEXT) \ + src/showperm$(EXEEXT) src/vreboot$(EXEEXT) +sbin_PROGRAMS = src/exec-cd$(EXEEXT) src/lsxid$(EXEEXT) \ + src/chxid$(EXEEXT) src/vps$(EXEEXT) src/showattr$(EXEEXT) \ + src/setattr$(EXEEXT) src/reducecap$(EXEEXT) src/vdu$(EXEEXT) \ + src/vattribute$(EXEEXT) src/vcontext$(EXEEXT) \ + src/vlimit$(EXEEXT) src/vkill$(EXEEXT) src/vrsetup$(EXEEXT) \ + src/vsched$(EXEEXT) src/vserver-stat$(EXEEXT) \ + src/vserver-info$(EXEEXT) src/vuname$(EXEEXT) \ + src/vwait$(EXEEXT) src/ncontext$(EXEEXT) \ + src/nattribute$(EXEEXT) src/naddress$(EXEEXT) \ + src/vdevmap$(EXEEXT) src/vtag$(EXEEXT) src/vspace$(EXEEXT) \ + src/vmemctrl$(EXEEXT) $(am__EXEEXT_10) $(am__EXEEXT_12) +noinst_PROGRAMS = tests/escaperoot$(EXEEXT) tests/forkbomb$(EXEEXT) \ + tests/testipc$(EXEEXT) tests/testlimit$(EXEEXT) \ + tests/testopenf$(EXEEXT) $(am__EXEEXT_7) +EXTRA_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_1) +check_PROGRAMS = lib/testsuite/cflags$(EXEEXT) \ + lib/testsuite/personality$(EXEEXT) lib/testsuite/fmt$(EXEEXT) \ + lib/testsuite/parselimit$(EXEEXT) $(am__EXEEXT_3) \ + $(am__EXEEXT_4) ensc_vector/testsuite/test1$(EXEEXT) \ + ensc_vector/testsuite/test2$(EXEEXT) \ + lib_internal/testsuite/command$(EXEEXT) $(am__EXEEXT_5) \ + $(am__EXEEXT_6) +TESTS = lib/testsuite/cflags$(EXEEXT) \ + lib/testsuite/personality$(EXEEXT) lib/testsuite/fmt$(EXEEXT) \ + lib/testsuite/parselimit$(EXEEXT) $(am__EXEEXT_4) \ + $(am__EXEEXT_14) $(am__EXEEXT_1) \ + ensc_vector/testsuite/test1$(EXEEXT) \ + ensc_vector/testsuite/test2$(EXEEXT) $(am__EXEEXT_15) \ + $(am__EXEEXT_16) +DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \ + $(noinst_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/config.h.in \ + $(srcdir)/ensc_vector/testsuite/Makefile-files \ + $(srcdir)/lib/apidoc/Makefile-files \ + $(srcdir)/lib/testsuite/Makefile-files \ + $(srcdir)/util-vserver.spec.in $(top_srcdir)/configure \ + $(top_srcdir)/contrib/Makefile-files \ + $(top_srcdir)/doc/Makefile-files \ + $(top_srcdir)/ensc_fmt/Makefile-files \ + $(top_srcdir)/ensc_vector/Makefile-files \ + $(top_srcdir)/ensc_wrappers/Makefile-files \ + $(top_srcdir)/gentoo/Makefile-files \ + $(top_srcdir)/lib/Makefile-files \ + $(top_srcdir)/lib/apidoc/Doxyfile.in \ + $(top_srcdir)/lib_internal/Makefile-files \ + $(top_srcdir)/lib_internal/testsuite/Makefile-files \ + $(top_srcdir)/m4/changelog.am $(top_srcdir)/m4/gpgsig.am \ + $(top_srcdir)/m4/install-notify.am $(top_srcdir)/m4/libsel.am \ + $(top_srcdir)/m4/pkgconfig.am $(top_srcdir)/m4/validate.am \ + $(top_srcdir)/man/Makefile-files \ + $(top_srcdir)/python/Makefile-files \ + $(top_srcdir)/scripts/Makefile-files \ + $(top_srcdir)/src/Makefile-files \ + $(top_srcdir)/src/testsuite/Makefile-files \ + $(top_srcdir)/sysv/Makefile-files \ + $(top_srcdir)/tests/Makefile-files AUTHORS COPYING ChangeLog \ + INSTALL NEWS THANKS compile config.guess config.sub depcomp \ + install-sh ltmain.sh missing +@ENSC_HAVE_C99_COMPILER_TRUE@am__append_1 = lib/syscall_adddlimit-v13.hc \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/syscall_adddlimit.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/syscall_getdlimit-v13.hc \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/syscall_getdlimit.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/syscall_remdlimit-v13.hc \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/syscall_remdlimit.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/syscall_setdlimit-v13.hc \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/syscall_setdlimit.c + +@USE_DIETLIBC_TRUE@am__append_2 = $(LIBVSERVER_DIET) +@HAVE_VERSIONING_TRUE@am__append_3 = -Wl,-version-script=$(top_srcdir)/lib/libvserver.ver +@HAVE_VERSIONING_TRUE@am__append_4 = lib/libvserver.ver +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@am__append_5 = src/vhashify +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@am__append_6 = src/vhashify +@ENSC_HAVE_C99_COMPILER_TRUE@am__append_7 = src/vdlimit +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@am__append_8 = src/testsuite/hashcalc \ +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@ src/testsuite/hashcalc-plain + +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@am__append_9 = src/testsuite/hashcalc-plain.sh \ +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@ src/testsuite/hashcalc.sh + +@HAVE_XSLTP_TRUE@am__append_10 = $(doc_gen_DOCS) +@HAVE_XSLTPROC_TRUE@@HAVE_XSLTP_FALSE@am__append_11 = $(doc_gen_DOCS) +@HAVE_SYSV_INIT_TRUE@am__append_12 = $(sysv_conf_DTA) +@HAVE_SYSV_INIT_TRUE@am__append_13 = $(sysv_src_SCRPTS) \ +@HAVE_SYSV_INIT_TRUE@ $(sysv_gen_SCRPTS) + +@ENSC_USE_GLIBC_TRUE@am__append_14 = $(LIBENSCVECTOR_GLIBC) +@ENSC_USE_DIETLIBC_TRUE@am__append_15 = $(LIBENSCVECTOR_DIET) +@USE_DIETLIBC_TRUE@am__append_16 = $(LIBINTERNAL_DIET) +@ENSC_HAVE_C99_COMPILER_TRUE@am__append_17 = lib_internal/testsuite/filecfg-ml \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/copy \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber-gnu \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus-gnu \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist-gnu + +@ENSC_HAVE_C99_COMPILER_TRUE@am__append_18 = lib_internal/testsuite/filecfg-ml \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/copy-check \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber-gnu \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus-gnu \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist-gnu + +@ENSC_HAVE_CRYPTO_TRUE@am__append_19 = lib_internal/testsuite/crypto \ +@ENSC_HAVE_CRYPTO_TRUE@ lib_internal/testsuite/crypto-speed + +@ENSC_HAVE_CRYPTO_TRUE@am__append_20 = lib_internal/testsuite/crypto +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@am__append_21 = lib_internal/testsuite/crypto \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ lib_internal/testsuite/crypto-speed + +@HAVE_GENTOO_INIT_TRUE@am__append_22 = $(gentoo_src_SCRPTS) +@HAVE_GENTOO_INIT_TRUE@am__append_23 = gentoo/bash-wrapper +@HAVE_PYTHON_TRUE@am__append_24 = python/_libvserver.la +@HAVE_PYTHON_TRUE@am__append_25 = python/ctags-constants.awk +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ensc_cflags.m4 \ + $(top_srcdir)/m4/ensc_changelog.m4 \ + $(top_srcdir)/m4/ensc_cxxcompiler.m4 \ + $(top_srcdir)/m4/ensc_dietlibc.m4 \ + $(top_srcdir)/m4/ensc_dietlibc_compat.m4 \ + $(top_srcdir)/m4/ensc_e2fscheck.m4 \ + $(top_srcdir)/m4/ensc_initrddir.m4 \ + $(top_srcdir)/m4/ensc_pathprog.m4 \ + $(top_srcdir)/m4/ensc_personality.m4 \ + $(top_srcdir)/m4/ensc_release.m4 \ + $(top_srcdir)/m4/ensc_syscall.m4 \ + $(top_srcdir)/m4/ensc_syscallnr.m4 \ + $(top_srcdir)/m4/ensc_uv_vrootdir.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = util-vserver.spec lib/apidoc/Doxyfile +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdir)" \ + "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(pyexecdir)" \ + "$(DESTDIR)$(legacydir)" "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(initrddir)" \ + "$(DESTDIR)$(legacydir)" "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" \ + "$(DESTDIR)$(pkgconfdir)" "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(sysconfdir)" "$(DESTDIR)$(includedir)" +libLIBRARIES_INSTALL = $(INSTALL_DATA) +LIBRARIES = $(lib_LIBRARIES) $(noinst_LIBRARIES) +ARFLAGS = cru +lib_dietlibc_not_enabled_error_a_AR = $(AR) $(ARFLAGS) +lib_dietlibc_not_enabled_error_a_LIBADD = +@ENSC_USE_DIETLIBC_FALSE@nodist_lib_dietlibc_not_enabled_error_a_OBJECTS = lib-dietlibc-not-enabled-error.$(OBJEXT) +@ENSC_USE_DIETLIBC_TRUE@@USE_DIETLIBC_FALSE@nodist_lib_dietlibc_not_enabled_error_a_OBJECTS = lib-dietlibc-not-enabled-error.$(OBJEXT) +lib_dietlibc_not_enabled_error_a_OBJECTS = \ + $(nodist_lib_dietlibc_not_enabled_error_a_OBJECTS) +lib_glibc_not_enabled_error_a_AR = $(AR) $(ARFLAGS) +lib_glibc_not_enabled_error_a_LIBADD = +@ENSC_USE_GLIBC_FALSE@nodist_lib_glibc_not_enabled_error_a_OBJECTS = \ +@ENSC_USE_GLIBC_FALSE@ lib-glibc-not-enabled-error.$(OBJEXT) +lib_glibc_not_enabled_error_a_OBJECTS = \ + $(nodist_lib_glibc_not_enabled_error_a_OBJECTS) +lib_libvserver_a_AR = $(AR) $(ARFLAGS) +lib_libvserver_a_LIBADD = +am__lib_libvserver_a_SOURCES_DIST = lib/syscall.c lib/checkversion.c \ + lib/checkconfig.c lib/isdirectory.c lib/isfile.c lib/islink.c \ + lib/getnbipv4root.c lib/getversion.c lib/capabilities.c \ + lib/getfilecontext.c lib/getinsecurebcaps.c lib/getxidtype.c \ + lib/isdynamicxid.c lib/issupported.c lib/issupportedstring.c \ + lib/listparser_uint32.c lib/listparser_uint64.c \ + lib/personalityflag.c lib/personalityflag_list.c \ + lib/personalitytype.c lib/syscall-syscall.c \ + lib/val2text-t2v-uint32.c lib/val2text-t2v-uint64.c \ + lib/val2text-v2t-uint32.c lib/val2text-v2t-uint64.c \ + lib/parselimit.c lib/getprocentry-legacy.c lib/cflags-compat.c \ + lib/cflags_list-compat.c lib/comparevserverbyid.c \ + lib/createskeleton.c lib/getvserverbyctx.c \ + lib/getvserverbyctx-compat.hc lib/getvserverbyctx-v13.hc \ + lib/getvservercfgstyle.c lib/getvserverappdir.c \ + lib/getvservercfgdir.c lib/getvserverctx.c \ + lib/getvservername.c lib/getvservervdir.c lib/xidopt2xid.c \ + lib/nidopt2nid.c lib/tagopt2tag.c lib/exitlikeprocess.c \ + lib/syscall_rlimit.c lib/syscall_rlimit-v11.hc \ + lib/syscall_kill.c lib/syscall_kill-v11.hc \ + lib/syscall_ctxcreate.c lib/syscall_ctxcreate-v13.hc \ + lib/syscall_ctxmigrate.c lib/syscall_ctxmigrate-v13.hc \ + lib/syscall_cleanupnamespace-v13.hc \ + lib/syscall_cleanupnamespace.c \ + lib/syscall_enternamespace-v13.hc lib/syscall_enternamespace.c \ + lib/syscall_getccaps-v13.hc lib/syscall_getccaps.c \ + lib/syscall_getcflags-v13.hc lib/syscall_getcflags.c \ + lib/syscall_getiattr-fscompat.hc lib/syscall_getiattr-v13.hc \ + lib/syscall_getiattr.c lib/syscall_getncaps-net.hc \ + lib/syscall_getncaps.c lib/syscall_getnflags-net.hc \ + lib/syscall_getnflags.c lib/syscall_getnxinfo-net.hc \ + lib/syscall_getnxinfo.c lib/syscall_gettasknid-net.hc \ + lib/syscall_gettasknid.c lib/syscall_gettaskxid-oldproc.hc \ + lib/syscall_gettaskxid-v13.hc lib/syscall_gettaskxid.c \ + lib/syscall_getvhiname-olduts.hc lib/syscall_getvhiname-v13.hc \ + lib/syscall_getvhiname.c lib/syscall_getvxinfo-oldproc.hc \ + lib/syscall_getvxinfo-v13.hc lib/syscall_getvxinfo.c \ + lib/syscall_netadd-net.hc lib/syscall_netadd.c \ + lib/syscall_netcreate-net.hc lib/syscall_netcreate.c \ + lib/syscall_netmigrate-net.hc lib/syscall_netmigrate.c \ + lib/syscall_netremove-net.hc lib/syscall_netremove.c \ + lib/syscall_setccaps-v13.hc lib/syscall_setccaps.c \ + lib/syscall_setcflags-v13.hc lib/syscall_setcflags.c \ + lib/syscall_setiattr-fscompat.hc lib/syscall_setiattr-v13.hc \ + lib/syscall_setiattr.c lib/syscall_setnamespace-v13.hc \ + lib/syscall_setnamespace.c lib/syscall_setncaps-net.hc \ + lib/syscall_setncaps.c lib/syscall_setnflags-net.hc \ + lib/syscall_setnflags.c lib/syscall_setsched-v13.hc \ + lib/syscall_setsched-v13obs.hc lib/syscall_setsched.c \ + lib/syscall_setvhiname-olduts.hc lib/syscall_setvhiname-v13.hc \ + lib/syscall_setvhiname.c lib/syscall_waitexit.c \ + lib/syscall_waitexit-v13.hc lib/bcaps-v13.c \ + lib/bcaps_list-v13.c lib/ccaps-v13.c lib/ccaps_list-v13.c \ + lib/cflags-v13.c lib/cflags_list-v13.c lib/ncaps-net.c \ + lib/ncaps_list-net.c lib/nflags-net.c lib/nflags_list-net.c \ + lib/syscall_adddlimit-v13.hc lib/syscall_adddlimit.c \ + lib/syscall_getdlimit-v13.hc lib/syscall_getdlimit.c \ + lib/syscall_remdlimit-v13.hc lib/syscall_remdlimit.c \ + lib/syscall_setdlimit-v13.hc lib/syscall_setdlimit.c \ + lib/syscall_setccaps-v21.hc lib/syscall_setsched-v21.hc \ + lib/syscall_rlimitstat.c lib/syscall_rlimitstat-v21.hc \ + lib/syscall_resetminmax.c lib/syscall_resetminmax-v21.hc \ + lib/syscall_getvci.c lib/syscall_getvci-v21.hc \ + lib/syscall_virtstat.c lib/syscall_virtstat-v21.hc \ + lib/syscall_ctxstat.c lib/syscall_ctxstat-v21.hc \ + lib/syscall_getspacemask.c lib/syscall_getspacemask-v21.hc \ + lib/syscall_enternamespace-v21.hc \ + lib/syscall_setnamespace-v21.hc lib/syscall_ctxmigrate-v21.hc \ + lib/syscall_setmapping.c lib/syscall_setmapping-v21.hc \ + lib/syscall_unsetmapping.c lib/syscall_unsetmapping-v21.hc \ + lib/syscall_schedinfo.c lib/syscall_schedinfo-v21.hc \ + lib/syscall_getccaps-v21.hc lib/syscall_getsched.c \ + lib/syscall_getsched-v21.hc lib/syscall_ctxcreate-v21.hc \ + lib/syscall_setsched-v22.hc lib/syscall_fsetiattr.c \ + lib/syscall_fsetiattr-v22.hc lib/syscall_fgetiattr.c \ + lib/syscall_fgetiattr-v22.hc lib/syscall_netadd-netv2.hc \ + lib/syscall_netremove-netv2.hc lib/syscall_tagmigrate-v23.hc \ + lib/syscall_tagmigrate.c lib/syscall_tagcreate.c \ + lib/syscall_tasktag-v23.hc lib/syscall_tasktag.c \ + lib/syscall_getbadness.c lib/syscall_getbadness-v23.hc \ + lib/syscall_setbadness.c lib/syscall_setbadness-v23.hc \ + lib/syscall_getspacedefault.c \ + lib/syscall_getspacedefault-v23.hc \ + lib/syscall_setnamespace-v23.hc \ + lib/syscall_enternamespace-v23.hc \ + lib/syscall_getspacemask-v23.hc ensc_fmt/fmt-32.c \ + ensc_fmt/fmt-64.c ensc_fmt/fmtx-32.c ensc_fmt/fmtx-64.c \ + ensc_fmt/fmt-tai64n.c ensc_fmt/fmt.h ensc_fmt/fmt.hc \ + ensc_fmt/fmtx.hc ensc_fmt/fmt-internal.h +am__dirstamp = $(am__leading_dot)dirstamp +am__objects_1 = lib/lib_libvserver_a-getprocentry-legacy.$(OBJEXT) +am__objects_2 = lib/lib_libvserver_a-cflags-compat.$(OBJEXT) \ + lib/lib_libvserver_a-cflags_list-compat.$(OBJEXT) +am__objects_3 = lib/lib_libvserver_a-comparevserverbyid.$(OBJEXT) \ + lib/lib_libvserver_a-createskeleton.$(OBJEXT) \ + lib/lib_libvserver_a-getvserverbyctx.$(OBJEXT) \ + lib/lib_libvserver_a-getvservercfgstyle.$(OBJEXT) \ + lib/lib_libvserver_a-getvserverappdir.$(OBJEXT) \ + lib/lib_libvserver_a-getvservercfgdir.$(OBJEXT) \ + lib/lib_libvserver_a-getvserverctx.$(OBJEXT) \ + lib/lib_libvserver_a-getvservername.$(OBJEXT) \ + lib/lib_libvserver_a-getvservervdir.$(OBJEXT) \ + lib/lib_libvserver_a-xidopt2xid.$(OBJEXT) \ + lib/lib_libvserver_a-nidopt2nid.$(OBJEXT) \ + lib/lib_libvserver_a-tagopt2tag.$(OBJEXT) \ + lib/lib_libvserver_a-exitlikeprocess.$(OBJEXT) +am__objects_4 = lib/lib_libvserver_a-syscall_rlimit.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_kill.$(OBJEXT) +@ENSC_HAVE_C99_COMPILER_TRUE@am__objects_5 = lib/lib_libvserver_a-syscall_adddlimit.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/lib_libvserver_a-syscall_getdlimit.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/lib_libvserver_a-syscall_remdlimit.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/lib_libvserver_a-syscall_setdlimit.$(OBJEXT) +am__objects_6 = lib/lib_libvserver_a-syscall_ctxcreate.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_ctxmigrate.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_cleanupnamespace.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_enternamespace.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getccaps.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getcflags.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getiattr.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getncaps.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getnflags.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getnxinfo.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_gettasknid.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_gettaskxid.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getvhiname.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getvxinfo.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_netadd.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_netcreate.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_netmigrate.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_netremove.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setccaps.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setcflags.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setiattr.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setnamespace.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setncaps.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setnflags.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setsched.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setvhiname.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_waitexit.$(OBJEXT) \ + lib/lib_libvserver_a-bcaps-v13.$(OBJEXT) \ + lib/lib_libvserver_a-bcaps_list-v13.$(OBJEXT) \ + lib/lib_libvserver_a-ccaps-v13.$(OBJEXT) \ + lib/lib_libvserver_a-ccaps_list-v13.$(OBJEXT) \ + lib/lib_libvserver_a-cflags-v13.$(OBJEXT) \ + lib/lib_libvserver_a-cflags_list-v13.$(OBJEXT) \ + lib/lib_libvserver_a-ncaps-net.$(OBJEXT) \ + lib/lib_libvserver_a-ncaps_list-net.$(OBJEXT) \ + lib/lib_libvserver_a-nflags-net.$(OBJEXT) \ + lib/lib_libvserver_a-nflags_list-net.$(OBJEXT) \ + $(am__objects_5) +am__objects_7 = lib/lib_libvserver_a-syscall_rlimitstat.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_resetminmax.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getvci.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_virtstat.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_ctxstat.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getspacemask.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setmapping.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_unsetmapping.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_schedinfo.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getsched.$(OBJEXT) +am__objects_8 = lib/lib_libvserver_a-syscall_fsetiattr.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_fgetiattr.$(OBJEXT) +am__objects_9 = +am__objects_10 = lib/lib_libvserver_a-syscall_tagmigrate.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_tagcreate.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_tasktag.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getbadness.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_setbadness.$(OBJEXT) \ + lib/lib_libvserver_a-syscall_getspacedefault.$(OBJEXT) +am__objects_11 = ensc_fmt/lib_libvserver_a-fmt-32.$(OBJEXT) \ + ensc_fmt/lib_libvserver_a-fmt-64.$(OBJEXT) \ + ensc_fmt/lib_libvserver_a-fmtx-32.$(OBJEXT) \ + ensc_fmt/lib_libvserver_a-fmtx-64.$(OBJEXT) \ + ensc_fmt/lib_libvserver_a-fmt-tai64n.$(OBJEXT) +am__objects_12 = lib/lib_libvserver_a-syscall.$(OBJEXT) \ + lib/lib_libvserver_a-checkversion.$(OBJEXT) \ + lib/lib_libvserver_a-checkconfig.$(OBJEXT) \ + lib/lib_libvserver_a-isdirectory.$(OBJEXT) \ + lib/lib_libvserver_a-isfile.$(OBJEXT) \ + lib/lib_libvserver_a-islink.$(OBJEXT) \ + lib/lib_libvserver_a-getnbipv4root.$(OBJEXT) \ + lib/lib_libvserver_a-getversion.$(OBJEXT) \ + lib/lib_libvserver_a-capabilities.$(OBJEXT) \ + lib/lib_libvserver_a-getfilecontext.$(OBJEXT) \ + lib/lib_libvserver_a-getinsecurebcaps.$(OBJEXT) \ + lib/lib_libvserver_a-getxidtype.$(OBJEXT) \ + lib/lib_libvserver_a-isdynamicxid.$(OBJEXT) \ + lib/lib_libvserver_a-issupported.$(OBJEXT) \ + lib/lib_libvserver_a-issupportedstring.$(OBJEXT) \ + lib/lib_libvserver_a-listparser_uint32.$(OBJEXT) \ + lib/lib_libvserver_a-listparser_uint64.$(OBJEXT) \ + lib/lib_libvserver_a-personalityflag.$(OBJEXT) \ + lib/lib_libvserver_a-personalityflag_list.$(OBJEXT) \ + lib/lib_libvserver_a-personalitytype.$(OBJEXT) \ + lib/lib_libvserver_a-syscall-syscall.$(OBJEXT) \ + lib/lib_libvserver_a-val2text-t2v-uint32.$(OBJEXT) \ + lib/lib_libvserver_a-val2text-t2v-uint64.$(OBJEXT) \ + lib/lib_libvserver_a-val2text-v2t-uint32.$(OBJEXT) \ + lib/lib_libvserver_a-val2text-v2t-uint64.$(OBJEXT) \ + lib/lib_libvserver_a-parselimit.$(OBJEXT) $(am__objects_1) \ + $(am__objects_2) $(am__objects_3) $(am__objects_4) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) \ + $(am__objects_9) $(am__objects_10) $(am__objects_11) +am_lib_libvserver_a_OBJECTS = $(am__objects_12) +lib_libvserver_a_OBJECTS = $(am_lib_libvserver_a_OBJECTS) +lib_internal_libinternal_diet_a_AR = $(AR) $(ARFLAGS) +lib_internal_libinternal_diet_a_LIBADD = +am__lib_internal_libinternal_diet_a_SOURCES_DIST = \ + lib_internal/errinfo-writeerrno.c \ + lib_internal/jailintotempdir.c \ + lib_internal/matchlist-appendfiles.c \ + lib_internal/matchlist-compare.c \ + lib_internal/matchlist-destroy.c lib_internal/matchlist-init.c \ + lib_internal/matchlist-initmanually.c \ + lib_internal/matchlist-initrefserverlist.c \ + lib_internal/matchlist-printid.c \ + lib_internal/matchvserverinfo-free.c \ + lib_internal/pathinfo-append.c lib_internal/pathinfo-test.c \ + lib_internal/switchtowatchxid.c lib_internal/unify-deunify.c \ + lib_internal/unify-settime.c lib_internal/unify-unify.c \ + lib_internal/unify-isiunlinkable.c \ + lib_internal/util-canonify.c lib_internal/util-isnumber.hc \ + lib_internal/util-isnumber.c \ + lib_internal/util-isnumberunsigned.c \ + lib_internal/util-lockfile.c lib_internal/util-safechdir.c \ + lib_internal/mkdir.c lib_internal/command-appendparameter.c \ + lib_internal/command-setparams.c lib_internal/command-exec.c \ + lib_internal/command-free.c lib_internal/command-init.c \ + lib_internal/command-reset.c lib_internal/command-wait.c \ + lib_internal/command.h lib_internal/filecfg.h \ + lib_internal/filecfg-iteratemultiline.c \ + lib_internal/filecfg-readentryflag.c \ + lib_internal/filecfg-readentrystr.c \ + lib_internal/matchlist-initbyvserver.c \ + lib_internal/matchvserverinfo-init.c lib_internal/unify-copy.c +am__objects_13 = lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-command-setparams.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-command-exec.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-command-free.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-command-init.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-command-reset.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-command-wait.$(OBJEXT) +@ENSC_HAVE_C99_COMPILER_TRUE@am__objects_14 = lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_diet_a-unify-copy.$(OBJEXT) +am__objects_15 = lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchlist-init.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-unify-deunify.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-unify-settime.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-unify-unify.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-util-canonify.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-util-isnumber.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-util-lockfile.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-util-safechdir.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_diet_a-mkdir.$(OBJEXT) \ + $(am__objects_13) $(am__objects_14) +am_lib_internal_libinternal_diet_a_OBJECTS = $(am__objects_15) +lib_internal_libinternal_diet_a_OBJECTS = \ + $(am_lib_internal_libinternal_diet_a_OBJECTS) +lib_internal_libinternal_glibc_a_AR = $(AR) $(ARFLAGS) +lib_internal_libinternal_glibc_a_LIBADD = +am__lib_internal_libinternal_glibc_a_SOURCES_DIST = \ + lib_internal/errinfo-writeerrno.c \ + lib_internal/jailintotempdir.c \ + lib_internal/matchlist-appendfiles.c \ + lib_internal/matchlist-compare.c \ + lib_internal/matchlist-destroy.c lib_internal/matchlist-init.c \ + lib_internal/matchlist-initmanually.c \ + lib_internal/matchlist-initrefserverlist.c \ + lib_internal/matchlist-printid.c \ + lib_internal/matchvserverinfo-free.c \ + lib_internal/pathinfo-append.c lib_internal/pathinfo-test.c \ + lib_internal/switchtowatchxid.c lib_internal/unify-deunify.c \ + lib_internal/unify-settime.c lib_internal/unify-unify.c \ + lib_internal/unify-isiunlinkable.c \ + lib_internal/util-canonify.c lib_internal/util-isnumber.hc \ + lib_internal/util-isnumber.c \ + lib_internal/util-isnumberunsigned.c \ + lib_internal/util-lockfile.c lib_internal/util-safechdir.c \ + lib_internal/mkdir.c lib_internal/command-appendparameter.c \ + lib_internal/command-setparams.c lib_internal/command-exec.c \ + lib_internal/command-free.c lib_internal/command-init.c \ + lib_internal/command-reset.c lib_internal/command-wait.c \ + lib_internal/command.h lib_internal/filecfg.h \ + lib_internal/filecfg-iteratemultiline.c \ + lib_internal/filecfg-readentryflag.c \ + lib_internal/filecfg-readentrystr.c \ + lib_internal/matchlist-initbyvserver.c \ + lib_internal/matchvserverinfo-init.c lib_internal/unify-copy.c +am__objects_16 = lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-command-setparams.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-command-exec.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-command-free.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-command-init.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-command-reset.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-command-wait.$(OBJEXT) +@ENSC_HAVE_C99_COMPILER_TRUE@am__objects_17 = lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.$(OBJEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/lib_internal_libinternal_glibc_a-unify-copy.$(OBJEXT) +am__objects_18 = lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-unify-settime.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-unify-unify.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-util-canonify.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.$(OBJEXT) \ + lib_internal/lib_internal_libinternal_glibc_a-mkdir.$(OBJEXT) \ + $(am__objects_16) $(am__objects_17) +am_lib_internal_libinternal_glibc_a_OBJECTS = $(am__objects_18) +lib_internal_libinternal_glibc_a_OBJECTS = \ + $(am_lib_internal_libinternal_glibc_a_OBJECTS) +libensc_vector_diet_a_AR = $(AR) $(ARFLAGS) +libensc_vector_diet_a_LIBADD = +am__objects_19 = \ + ensc_vector/libensc_vector_diet_a-vector-clear.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-foreach.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-free.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-init.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-insert.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-popback.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-pushback.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-resize.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-search.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-searchselforg.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-sort.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-unique.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-vector-zeroend.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-list-at.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-list-add.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-list-free.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-list-init.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-list-insertinternal.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-list-search.$(OBJEXT) \ + ensc_vector/libensc_vector_diet_a-list-searchselforg.$(OBJEXT) +am_libensc_vector_diet_a_OBJECTS = $(am__objects_19) +libensc_vector_diet_a_OBJECTS = $(am_libensc_vector_diet_a_OBJECTS) +libensc_vector_glibc_a_AR = $(AR) $(ARFLAGS) +libensc_vector_glibc_a_LIBADD = +am__objects_20 = \ + ensc_vector/libensc_vector_glibc_a-vector-clear.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-foreach.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-free.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-init.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-insert.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-popback.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-pushback.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-resize.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-search.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-searchselforg.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-sort.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-unique.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-vector-zeroend.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-list-at.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-list-add.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-list-free.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-list-init.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-list-insertinternal.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-list-search.$(OBJEXT) \ + ensc_vector/libensc_vector_glibc_a-list-searchselforg.$(OBJEXT) +am_libensc_vector_glibc_a_OBJECTS = $(am__objects_20) +libensc_vector_glibc_a_OBJECTS = $(am_libensc_vector_glibc_a_OBJECTS) +libLTLIBRARIES_INSTALL = $(INSTALL) +pkglibLTLIBRARIES_INSTALL = $(INSTALL) +pyexecLTLIBRARIES_INSTALL = $(INSTALL) +LTLIBRARIES = $(lib_LTLIBRARIES) $(pkglib_LTLIBRARIES) \ + $(pyexec_LTLIBRARIES) +lib_libvserver_la_LIBADD = +am__lib_libvserver_la_SOURCES_DIST = lib/syscall.c lib/checkversion.c \ + lib/checkconfig.c lib/isdirectory.c lib/isfile.c lib/islink.c \ + lib/getnbipv4root.c lib/getversion.c lib/capabilities.c \ + lib/getfilecontext.c lib/getinsecurebcaps.c lib/getxidtype.c \ + lib/isdynamicxid.c lib/issupported.c lib/issupportedstring.c \ + lib/listparser_uint32.c lib/listparser_uint64.c \ + lib/personalityflag.c lib/personalityflag_list.c \ + lib/personalitytype.c lib/syscall-syscall.c \ + lib/val2text-t2v-uint32.c lib/val2text-t2v-uint64.c \ + lib/val2text-v2t-uint32.c lib/val2text-v2t-uint64.c \ + lib/parselimit.c lib/getprocentry-legacy.c lib/cflags-compat.c \ + lib/cflags_list-compat.c lib/comparevserverbyid.c \ + lib/createskeleton.c lib/getvserverbyctx.c \ + lib/getvserverbyctx-compat.hc lib/getvserverbyctx-v13.hc \ + lib/getvservercfgstyle.c lib/getvserverappdir.c \ + lib/getvservercfgdir.c lib/getvserverctx.c \ + lib/getvservername.c lib/getvservervdir.c lib/xidopt2xid.c \ + lib/nidopt2nid.c lib/tagopt2tag.c lib/exitlikeprocess.c \ + lib/syscall_rlimit.c lib/syscall_rlimit-v11.hc \ + lib/syscall_kill.c lib/syscall_kill-v11.hc \ + lib/syscall_ctxcreate.c lib/syscall_ctxcreate-v13.hc \ + lib/syscall_ctxmigrate.c lib/syscall_ctxmigrate-v13.hc \ + lib/syscall_cleanupnamespace-v13.hc \ + lib/syscall_cleanupnamespace.c \ + lib/syscall_enternamespace-v13.hc lib/syscall_enternamespace.c \ + lib/syscall_getccaps-v13.hc lib/syscall_getccaps.c \ + lib/syscall_getcflags-v13.hc lib/syscall_getcflags.c \ + lib/syscall_getiattr-fscompat.hc lib/syscall_getiattr-v13.hc \ + lib/syscall_getiattr.c lib/syscall_getncaps-net.hc \ + lib/syscall_getncaps.c lib/syscall_getnflags-net.hc \ + lib/syscall_getnflags.c lib/syscall_getnxinfo-net.hc \ + lib/syscall_getnxinfo.c lib/syscall_gettasknid-net.hc \ + lib/syscall_gettasknid.c lib/syscall_gettaskxid-oldproc.hc \ + lib/syscall_gettaskxid-v13.hc lib/syscall_gettaskxid.c \ + lib/syscall_getvhiname-olduts.hc lib/syscall_getvhiname-v13.hc \ + lib/syscall_getvhiname.c lib/syscall_getvxinfo-oldproc.hc \ + lib/syscall_getvxinfo-v13.hc lib/syscall_getvxinfo.c \ + lib/syscall_netadd-net.hc lib/syscall_netadd.c \ + lib/syscall_netcreate-net.hc lib/syscall_netcreate.c \ + lib/syscall_netmigrate-net.hc lib/syscall_netmigrate.c \ + lib/syscall_netremove-net.hc lib/syscall_netremove.c \ + lib/syscall_setccaps-v13.hc lib/syscall_setccaps.c \ + lib/syscall_setcflags-v13.hc lib/syscall_setcflags.c \ + lib/syscall_setiattr-fscompat.hc lib/syscall_setiattr-v13.hc \ + lib/syscall_setiattr.c lib/syscall_setnamespace-v13.hc \ + lib/syscall_setnamespace.c lib/syscall_setncaps-net.hc \ + lib/syscall_setncaps.c lib/syscall_setnflags-net.hc \ + lib/syscall_setnflags.c lib/syscall_setsched-v13.hc \ + lib/syscall_setsched-v13obs.hc lib/syscall_setsched.c \ + lib/syscall_setvhiname-olduts.hc lib/syscall_setvhiname-v13.hc \ + lib/syscall_setvhiname.c lib/syscall_waitexit.c \ + lib/syscall_waitexit-v13.hc lib/bcaps-v13.c \ + lib/bcaps_list-v13.c lib/ccaps-v13.c lib/ccaps_list-v13.c \ + lib/cflags-v13.c lib/cflags_list-v13.c lib/ncaps-net.c \ + lib/ncaps_list-net.c lib/nflags-net.c lib/nflags_list-net.c \ + lib/syscall_adddlimit-v13.hc lib/syscall_adddlimit.c \ + lib/syscall_getdlimit-v13.hc lib/syscall_getdlimit.c \ + lib/syscall_remdlimit-v13.hc lib/syscall_remdlimit.c \ + lib/syscall_setdlimit-v13.hc lib/syscall_setdlimit.c \ + lib/syscall_setccaps-v21.hc lib/syscall_setsched-v21.hc \ + lib/syscall_rlimitstat.c lib/syscall_rlimitstat-v21.hc \ + lib/syscall_resetminmax.c lib/syscall_resetminmax-v21.hc \ + lib/syscall_getvci.c lib/syscall_getvci-v21.hc \ + lib/syscall_virtstat.c lib/syscall_virtstat-v21.hc \ + lib/syscall_ctxstat.c lib/syscall_ctxstat-v21.hc \ + lib/syscall_getspacemask.c lib/syscall_getspacemask-v21.hc \ + lib/syscall_enternamespace-v21.hc \ + lib/syscall_setnamespace-v21.hc lib/syscall_ctxmigrate-v21.hc \ + lib/syscall_setmapping.c lib/syscall_setmapping-v21.hc \ + lib/syscall_unsetmapping.c lib/syscall_unsetmapping-v21.hc \ + lib/syscall_schedinfo.c lib/syscall_schedinfo-v21.hc \ + lib/syscall_getccaps-v21.hc lib/syscall_getsched.c \ + lib/syscall_getsched-v21.hc lib/syscall_ctxcreate-v21.hc \ + lib/syscall_setsched-v22.hc lib/syscall_fsetiattr.c \ + lib/syscall_fsetiattr-v22.hc lib/syscall_fgetiattr.c \ + lib/syscall_fgetiattr-v22.hc lib/syscall_netadd-netv2.hc \ + lib/syscall_netremove-netv2.hc lib/syscall_tagmigrate-v23.hc \ + lib/syscall_tagmigrate.c lib/syscall_tagcreate.c \ + lib/syscall_tasktag-v23.hc lib/syscall_tasktag.c \ + lib/syscall_getbadness.c lib/syscall_getbadness-v23.hc \ + lib/syscall_setbadness.c lib/syscall_setbadness-v23.hc \ + lib/syscall_getspacedefault.c \ + lib/syscall_getspacedefault-v23.hc \ + lib/syscall_setnamespace-v23.hc \ + lib/syscall_enternamespace-v23.hc \ + lib/syscall_getspacemask-v23.hc ensc_fmt/fmt-32.c \ + ensc_fmt/fmt-64.c ensc_fmt/fmtx-32.c ensc_fmt/fmtx-64.c \ + ensc_fmt/fmt-tai64n.c ensc_fmt/fmt.h ensc_fmt/fmt.hc \ + ensc_fmt/fmtx.hc ensc_fmt/fmt-internal.h +am__objects_21 = lib/lib_libvserver_la-getprocentry-legacy.lo +am__objects_22 = lib/lib_libvserver_la-cflags-compat.lo \ + lib/lib_libvserver_la-cflags_list-compat.lo +am__objects_23 = lib/lib_libvserver_la-comparevserverbyid.lo \ + lib/lib_libvserver_la-createskeleton.lo \ + lib/lib_libvserver_la-getvserverbyctx.lo \ + lib/lib_libvserver_la-getvservercfgstyle.lo \ + lib/lib_libvserver_la-getvserverappdir.lo \ + lib/lib_libvserver_la-getvservercfgdir.lo \ + lib/lib_libvserver_la-getvserverctx.lo \ + lib/lib_libvserver_la-getvservername.lo \ + lib/lib_libvserver_la-getvservervdir.lo \ + lib/lib_libvserver_la-xidopt2xid.lo \ + lib/lib_libvserver_la-nidopt2nid.lo \ + lib/lib_libvserver_la-tagopt2tag.lo \ + lib/lib_libvserver_la-exitlikeprocess.lo +am__objects_24 = lib/lib_libvserver_la-syscall_rlimit.lo \ + lib/lib_libvserver_la-syscall_kill.lo +@ENSC_HAVE_C99_COMPILER_TRUE@am__objects_25 = lib/lib_libvserver_la-syscall_adddlimit.lo \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/lib_libvserver_la-syscall_getdlimit.lo \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/lib_libvserver_la-syscall_remdlimit.lo \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib/lib_libvserver_la-syscall_setdlimit.lo +am__objects_26 = lib/lib_libvserver_la-syscall_ctxcreate.lo \ + lib/lib_libvserver_la-syscall_ctxmigrate.lo \ + lib/lib_libvserver_la-syscall_cleanupnamespace.lo \ + lib/lib_libvserver_la-syscall_enternamespace.lo \ + lib/lib_libvserver_la-syscall_getccaps.lo \ + lib/lib_libvserver_la-syscall_getcflags.lo \ + lib/lib_libvserver_la-syscall_getiattr.lo \ + lib/lib_libvserver_la-syscall_getncaps.lo \ + lib/lib_libvserver_la-syscall_getnflags.lo \ + lib/lib_libvserver_la-syscall_getnxinfo.lo \ + lib/lib_libvserver_la-syscall_gettasknid.lo \ + lib/lib_libvserver_la-syscall_gettaskxid.lo \ + lib/lib_libvserver_la-syscall_getvhiname.lo \ + lib/lib_libvserver_la-syscall_getvxinfo.lo \ + lib/lib_libvserver_la-syscall_netadd.lo \ + lib/lib_libvserver_la-syscall_netcreate.lo \ + lib/lib_libvserver_la-syscall_netmigrate.lo \ + lib/lib_libvserver_la-syscall_netremove.lo \ + lib/lib_libvserver_la-syscall_setccaps.lo \ + lib/lib_libvserver_la-syscall_setcflags.lo \ + lib/lib_libvserver_la-syscall_setiattr.lo \ + lib/lib_libvserver_la-syscall_setnamespace.lo \ + lib/lib_libvserver_la-syscall_setncaps.lo \ + lib/lib_libvserver_la-syscall_setnflags.lo \ + lib/lib_libvserver_la-syscall_setsched.lo \ + lib/lib_libvserver_la-syscall_setvhiname.lo \ + lib/lib_libvserver_la-syscall_waitexit.lo \ + lib/lib_libvserver_la-bcaps-v13.lo \ + lib/lib_libvserver_la-bcaps_list-v13.lo \ + lib/lib_libvserver_la-ccaps-v13.lo \ + lib/lib_libvserver_la-ccaps_list-v13.lo \ + lib/lib_libvserver_la-cflags-v13.lo \ + lib/lib_libvserver_la-cflags_list-v13.lo \ + lib/lib_libvserver_la-ncaps-net.lo \ + lib/lib_libvserver_la-ncaps_list-net.lo \ + lib/lib_libvserver_la-nflags-net.lo \ + lib/lib_libvserver_la-nflags_list-net.lo $(am__objects_25) +am__objects_27 = lib/lib_libvserver_la-syscall_rlimitstat.lo \ + lib/lib_libvserver_la-syscall_resetminmax.lo \ + lib/lib_libvserver_la-syscall_getvci.lo \ + lib/lib_libvserver_la-syscall_virtstat.lo \ + lib/lib_libvserver_la-syscall_ctxstat.lo \ + lib/lib_libvserver_la-syscall_getspacemask.lo \ + lib/lib_libvserver_la-syscall_setmapping.lo \ + lib/lib_libvserver_la-syscall_unsetmapping.lo \ + lib/lib_libvserver_la-syscall_schedinfo.lo \ + lib/lib_libvserver_la-syscall_getsched.lo +am__objects_28 = lib/lib_libvserver_la-syscall_fsetiattr.lo \ + lib/lib_libvserver_la-syscall_fgetiattr.lo +am__objects_29 = lib/lib_libvserver_la-syscall_tagmigrate.lo \ + lib/lib_libvserver_la-syscall_tagcreate.lo \ + lib/lib_libvserver_la-syscall_tasktag.lo \ + lib/lib_libvserver_la-syscall_getbadness.lo \ + lib/lib_libvserver_la-syscall_setbadness.lo \ + lib/lib_libvserver_la-syscall_getspacedefault.lo +am__objects_30 = ensc_fmt/lib_libvserver_la-fmt-32.lo \ + ensc_fmt/lib_libvserver_la-fmt-64.lo \ + ensc_fmt/lib_libvserver_la-fmtx-32.lo \ + ensc_fmt/lib_libvserver_la-fmtx-64.lo \ + ensc_fmt/lib_libvserver_la-fmt-tai64n.lo +am__objects_31 = lib/lib_libvserver_la-syscall.lo \ + lib/lib_libvserver_la-checkversion.lo \ + lib/lib_libvserver_la-checkconfig.lo \ + lib/lib_libvserver_la-isdirectory.lo \ + lib/lib_libvserver_la-isfile.lo \ + lib/lib_libvserver_la-islink.lo \ + lib/lib_libvserver_la-getnbipv4root.lo \ + lib/lib_libvserver_la-getversion.lo \ + lib/lib_libvserver_la-capabilities.lo \ + lib/lib_libvserver_la-getfilecontext.lo \ + lib/lib_libvserver_la-getinsecurebcaps.lo \ + lib/lib_libvserver_la-getxidtype.lo \ + lib/lib_libvserver_la-isdynamicxid.lo \ + lib/lib_libvserver_la-issupported.lo \ + lib/lib_libvserver_la-issupportedstring.lo \ + lib/lib_libvserver_la-listparser_uint32.lo \ + lib/lib_libvserver_la-listparser_uint64.lo \ + lib/lib_libvserver_la-personalityflag.lo \ + lib/lib_libvserver_la-personalityflag_list.lo \ + lib/lib_libvserver_la-personalitytype.lo \ + lib/lib_libvserver_la-syscall-syscall.lo \ + lib/lib_libvserver_la-val2text-t2v-uint32.lo \ + lib/lib_libvserver_la-val2text-t2v-uint64.lo \ + lib/lib_libvserver_la-val2text-v2t-uint32.lo \ + lib/lib_libvserver_la-val2text-v2t-uint64.lo \ + lib/lib_libvserver_la-parselimit.lo $(am__objects_21) \ + $(am__objects_22) $(am__objects_23) $(am__objects_24) \ + $(am__objects_26) $(am__objects_27) $(am__objects_28) \ + $(am__objects_9) $(am__objects_29) $(am__objects_30) +am_lib_libvserver_la_OBJECTS = $(am__objects_31) +lib_libvserver_la_OBJECTS = $(am_lib_libvserver_la_OBJECTS) +lib_libvserver_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(lib_libvserver_la_LDFLAGS) $(LDFLAGS) -o $@ +@HAVE_PYTHON_TRUE@python__libvserver_la_DEPENDENCIES = \ +@HAVE_PYTHON_TRUE@ $(LIBVSERVER_GLIBC) +am__python__libvserver_la_SOURCES_DIST = python/_libvserver.c +@HAVE_PYTHON_TRUE@am_python__libvserver_la_OBJECTS = \ +@HAVE_PYTHON_TRUE@ python/python__libvserver_la-_libvserver.lo +python__libvserver_la_OBJECTS = $(am_python__libvserver_la_OBJECTS) +python__libvserver_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(python__libvserver_la_CFLAGS) $(CFLAGS) \ + $(python__libvserver_la_LDFLAGS) $(LDFLAGS) -o $@ +@HAVE_PYTHON_TRUE@am_python__libvserver_la_rpath = -rpath $(pyexecdir) +src_rpm_fake_la_DEPENDENCIES = $(LIBVSERVER_GLIBC) +am_src_rpm_fake_la_OBJECTS = src/src_rpm_fake_la-rpm-fake.lo +src_rpm_fake_la_OBJECTS = $(am_src_rpm_fake_la_OBJECTS) +src_rpm_fake_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(src_rpm_fake_la_CFLAGS) \ + $(CFLAGS) $(src_rpm_fake_la_LDFLAGS) $(LDFLAGS) -o $@ +am__EXEEXT_1 = +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@am__EXEEXT_2 = src/testsuite/hashcalc$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@ src/testsuite/hashcalc-plain$(EXEEXT) +am__EXEEXT_3 = src/testsuite/rpm-fake-test$(EXEEXT) $(am__EXEEXT_2) +am__EXEEXT_4 = src/testsuite/vunify-functest$(EXEEXT) \ + src/testsuite/chcontext-test$(EXEEXT) \ + src/testsuite/chbind-test$(EXEEXT) +@ENSC_HAVE_C99_COMPILER_TRUE@am__EXEEXT_5 = lib_internal/testsuite/filecfg-ml$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/copy$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber-gnu$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus-gnu$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist-gnu$(EXEEXT) +@ENSC_HAVE_CRYPTO_TRUE@am__EXEEXT_6 = \ +@ENSC_HAVE_CRYPTO_TRUE@ lib_internal/testsuite/crypto$(EXEEXT) \ +@ENSC_HAVE_CRYPTO_TRUE@ lib_internal/testsuite/crypto-speed$(EXEEXT) +legacyPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +am__EXEEXT_7 = tests/getctx$(EXEEXT) tests/getinitpid$(EXEEXT) \ + tests/vserver-info$(EXEEXT) +am__EXEEXT_8 = src/vunify$(EXEEXT) src/vcopy$(EXEEXT) \ + src/vclone$(EXEEXT) +@ENSC_HAVE_C99_COMPILER_TRUE@am__EXEEXT_9 = $(am__EXEEXT_8) +@ENSC_HAVE_CXX_COMPILER_TRUE@am__EXEEXT_10 = $(am__EXEEXT_1) +@ENSC_HAVE_C99_COMPILER_TRUE@@ENSC_HAVE_CRYPTO_TRUE@am__EXEEXT_11 = src/vhashify$(EXEEXT) +pkglibPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +@ENSC_HAVE_C99_COMPILER_TRUE@am__EXEEXT_12 = src/vdlimit$(EXEEXT) +sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +PROGRAMS = $(legacy_PROGRAMS) $(noinst_PROGRAMS) $(pkglib_PROGRAMS) \ + $(sbin_PROGRAMS) +am_ensc_vector_testsuite_test1_OBJECTS = \ + ensc_vector/testsuite/test1.$(OBJEXT) +ensc_vector_testsuite_test1_OBJECTS = \ + $(am_ensc_vector_testsuite_test1_OBJECTS) +ensc_vector_testsuite_test1_DEPENDENCIES = $(LIBENSCVECTOR) +am_ensc_vector_testsuite_test2_OBJECTS = \ + ensc_vector/testsuite/test2.$(OBJEXT) +ensc_vector_testsuite_test2_OBJECTS = \ + $(am_ensc_vector_testsuite_test2_OBJECTS) +ensc_vector_testsuite_test2_DEPENDENCIES = $(LIBENSCVECTOR) +am_lib_testsuite_cflags_OBJECTS = \ + lib/testsuite/lib_testsuite_cflags-cflags.$(OBJEXT) +lib_testsuite_cflags_OBJECTS = $(am_lib_testsuite_cflags_OBJECTS) +lib_testsuite_cflags_DEPENDENCIES = $(LIBVSERVER) +lib_testsuite_cflags_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(lib_testsuite_cflags_LDFLAGS) $(LDFLAGS) -o $@ +am_lib_testsuite_fmt_OBJECTS = \ + lib/testsuite/lib_testsuite_fmt-fmt.$(OBJEXT) +lib_testsuite_fmt_OBJECTS = $(am_lib_testsuite_fmt_OBJECTS) +lib_testsuite_fmt_DEPENDENCIES = $(LIBVSERVER) +lib_testsuite_fmt_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(lib_testsuite_fmt_LDFLAGS) $(LDFLAGS) -o $@ +am_lib_testsuite_parselimit_OBJECTS = \ + lib/testsuite/lib_testsuite_parselimit-parselimit.$(OBJEXT) +lib_testsuite_parselimit_OBJECTS = \ + $(am_lib_testsuite_parselimit_OBJECTS) +lib_testsuite_parselimit_DEPENDENCIES = $(LIBVSERVER) +lib_testsuite_parselimit_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(lib_testsuite_parselimit_LDFLAGS) $(LDFLAGS) -o $@ +am_lib_testsuite_personality_OBJECTS = \ + lib/testsuite/lib_testsuite_personality-personality.$(OBJEXT) +lib_testsuite_personality_OBJECTS = \ + $(am_lib_testsuite_personality_OBJECTS) +lib_testsuite_personality_DEPENDENCIES = $(LIBVSERVER) +lib_testsuite_personality_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(lib_testsuite_personality_LDFLAGS) \ + $(LDFLAGS) -o $@ +am_lib_internal_testsuite_command_OBJECTS = \ + lib_internal/testsuite/command.$(OBJEXT) +lib_internal_testsuite_command_OBJECTS = \ + $(am_lib_internal_testsuite_command_OBJECTS) +lib_internal_testsuite_command_DEPENDENCIES = $(LIBINTERNAL_GLIBC) \ + $(LIBENSCVECTOR_GLIBC) +am_lib_internal_testsuite_copy_OBJECTS = \ + lib_internal/testsuite/copy.$(OBJEXT) +lib_internal_testsuite_copy_OBJECTS = \ + $(am_lib_internal_testsuite_copy_OBJECTS) +lib_internal_testsuite_copy_DEPENDENCIES = $(LIBINTERNAL_GLIBC) +am__lib_internal_testsuite_crypto_SOURCES_DIST = \ + lib_internal/testsuite/crypto.c +@ENSC_HAVE_CRYPTO_TRUE@am_lib_internal_testsuite_crypto_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.$(OBJEXT) +lib_internal_testsuite_crypto_OBJECTS = \ + $(am_lib_internal_testsuite_crypto_OBJECTS) +am__DEPENDENCIES_1 = +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_DEPENDENCIES = \ +@ENSC_HAVE_CRYPTO_TRUE@ $(am__DEPENDENCIES_1) +lib_internal_testsuite_crypto_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(lib_internal_testsuite_crypto_CFLAGS) $(CFLAGS) \ + $(lib_internal_testsuite_crypto_LDFLAGS) $(LDFLAGS) -o $@ +am__lib_internal_testsuite_crypto_speed_SOURCES_DIST = \ + lib_internal/testsuite/crypto-speed.c +@ENSC_HAVE_CRYPTO_TRUE@am_lib_internal_testsuite_crypto_speed_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.$(OBJEXT) +lib_internal_testsuite_crypto_speed_OBJECTS = \ + $(am_lib_internal_testsuite_crypto_speed_OBJECTS) +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_speed_DEPENDENCIES = \ +@ENSC_HAVE_CRYPTO_TRUE@ $(am__DEPENDENCIES_1) +lib_internal_testsuite_crypto_speed_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(lib_internal_testsuite_crypto_speed_CFLAGS) $(CFLAGS) \ + $(lib_internal_testsuite_crypto_speed_LDFLAGS) $(LDFLAGS) -o \ + $@ +am_lib_internal_testsuite_filecfg_ml_OBJECTS = \ + lib_internal/testsuite/filecfg-ml.$(OBJEXT) +lib_internal_testsuite_filecfg_ml_OBJECTS = \ + $(am_lib_internal_testsuite_filecfg_ml_OBJECTS) +lib_internal_testsuite_filecfg_ml_DEPENDENCIES = $(LIBINTERNAL_GLIBC) +am_lib_internal_testsuite_isnumber_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.$(OBJEXT) +lib_internal_testsuite_isnumber_OBJECTS = \ + $(am_lib_internal_testsuite_isnumber_OBJECTS) +lib_internal_testsuite_isnumber_DEPENDENCIES = $(LIBINTERNAL) +am_lib_internal_testsuite_isnumber_gnu_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.$(OBJEXT) +lib_internal_testsuite_isnumber_gnu_OBJECTS = \ + $(am_lib_internal_testsuite_isnumber_gnu_OBJECTS) +lib_internal_testsuite_isnumber_gnu_DEPENDENCIES = \ + $(LIBINTERNAL_GLIBC) +am_lib_internal_testsuite_matchlist_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.$(OBJEXT) +lib_internal_testsuite_matchlist_OBJECTS = \ + $(am_lib_internal_testsuite_matchlist_OBJECTS) +lib_internal_testsuite_matchlist_DEPENDENCIES = $(LIBINTERNAL) +am_lib_internal_testsuite_matchlist_gnu_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.$(OBJEXT) +lib_internal_testsuite_matchlist_gnu_OBJECTS = \ + $(am_lib_internal_testsuite_matchlist_gnu_OBJECTS) +lib_internal_testsuite_matchlist_gnu_DEPENDENCIES = \ + $(LIBINTERNAL_GLIBC) +am_lib_internal_testsuite_sigbus_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.$(OBJEXT) +lib_internal_testsuite_sigbus_OBJECTS = \ + $(am_lib_internal_testsuite_sigbus_OBJECTS) +lib_internal_testsuite_sigbus_LDADD = $(LDADD) +am_lib_internal_testsuite_sigbus_gnu_OBJECTS = lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.$(OBJEXT) +lib_internal_testsuite_sigbus_gnu_OBJECTS = \ + $(am_lib_internal_testsuite_sigbus_gnu_OBJECTS) +lib_internal_testsuite_sigbus_gnu_LDADD = $(LDADD) +am_src_capchroot_OBJECTS = src/capchroot.$(OBJEXT) +src_capchroot_OBJECTS = $(am_src_capchroot_OBJECTS) +am__DEPENDENCIES_2 = $(LIBVSERVER) $(am__DEPENDENCIES_1) +src_capchroot_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_capchroot_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_capchroot_LDFLAGS) $(LDFLAGS) -o $@ +am_src_chain_echo_OBJECTS = src/chain-echo.$(OBJEXT) +src_chain_echo_OBJECTS = $(am_src_chain_echo_OBJECTS) +src_chain_echo_LDADD = $(LDADD) +am_src_chbind_compat_OBJECTS = src/chbind.$(OBJEXT) +src_chbind_compat_OBJECTS = $(am_src_chbind_compat_OBJECTS) +src_chbind_compat_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_chbind_compat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_chbind_compat_LDFLAGS) $(LDFLAGS) -o $@ +am_src_chcontext_compat_OBJECTS = src/chcontext.$(OBJEXT) +src_chcontext_compat_OBJECTS = $(am_src_chcontext_compat_OBJECTS) +src_chcontext_compat_DEPENDENCIES = $(am__DEPENDENCIES_2) \ + $(LIBINTERNAL) +src_chcontext_compat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_chcontext_compat_LDFLAGS) $(LDFLAGS) -o $@ +src_check_unixfile_SOURCES = src/check-unixfile.c +src_check_unixfile_OBJECTS = src/check-unixfile.$(OBJEXT) +src_check_unixfile_LDADD = $(LDADD) +am_src_chroot_sh_OBJECTS = src/chroot-sh.$(OBJEXT) +src_chroot_sh_OBJECTS = $(am_src_chroot_sh_OBJECTS) +src_chroot_sh_DEPENDENCIES = $(LIBINTERNAL) +am_src_chxid_OBJECTS = src/fstool.$(OBJEXT) src/chxid.$(OBJEXT) +src_chxid_OBJECTS = $(am_src_chxid_OBJECTS) +src_chxid_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_chxid_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_chxid_LDFLAGS) $(LDFLAGS) -o $@ +am_src_exec_cd_OBJECTS = src/exec-cd.$(OBJEXT) +src_exec_cd_OBJECTS = $(am_src_exec_cd_OBJECTS) +src_exec_cd_LDADD = $(LDADD) +am_src_exec_remount_OBJECTS = src/exec-remount.$(OBJEXT) +src_exec_remount_OBJECTS = $(am_src_exec_remount_OBJECTS) +src_exec_remount_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_exec_remount_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_exec_remount_LDFLAGS) $(LDFLAGS) -o $@ +am_src_exec_ulimit_OBJECTS = src/exec-ulimit.$(OBJEXT) +src_exec_ulimit_OBJECTS = $(am_src_exec_ulimit_OBJECTS) +src_exec_ulimit_LDADD = $(LDADD) +am_src_fakerunlevel_OBJECTS = src/fakerunlevel.$(OBJEXT) +src_fakerunlevel_OBJECTS = $(am_src_fakerunlevel_OBJECTS) +src_fakerunlevel_LDADD = $(LDADD) +am_src_filetime_OBJECTS = src/filetime.$(OBJEXT) +src_filetime_OBJECTS = $(am_src_filetime_OBJECTS) +src_filetime_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_filetime_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_filetime_LDFLAGS) $(LDFLAGS) -o $@ +am_src_h2ext_OBJECTS = src/h2ext.$(OBJEXT) +src_h2ext_OBJECTS = $(am_src_h2ext_OBJECTS) +src_h2ext_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_h2ext_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_h2ext_LDFLAGS) $(LDFLAGS) -o $@ +am_src_ifspec_OBJECTS = src/ifspec.$(OBJEXT) +src_ifspec_OBJECTS = $(am_src_ifspec_OBJECTS) +src_ifspec_LDADD = $(LDADD) +am_src_keep_ctx_alive_OBJECTS = src/keep-ctx-alive.$(OBJEXT) +src_keep_ctx_alive_OBJECTS = $(am_src_keep_ctx_alive_OBJECTS) +src_keep_ctx_alive_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_keep_ctx_alive_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_keep_ctx_alive_LDFLAGS) $(LDFLAGS) -o $@ +am_src_listdevip_OBJECTS = src/listdevip.$(OBJEXT) +src_listdevip_OBJECTS = $(am_src_listdevip_OBJECTS) +src_listdevip_LDADD = $(LDADD) +am_src_lockfile_OBJECTS = src/lockfile.$(OBJEXT) +src_lockfile_OBJECTS = $(am_src_lockfile_OBJECTS) +src_lockfile_LDADD = $(LDADD) +am_src_lsxid_OBJECTS = src/fstool.$(OBJEXT) src/lsxid.$(OBJEXT) +src_lsxid_OBJECTS = $(am_src_lsxid_OBJECTS) +src_lsxid_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) \ + $(LIBENSCVECTOR) +src_lsxid_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_lsxid_LDFLAGS) $(LDFLAGS) -o $@ +am_src_mask2prefix_OBJECTS = src/mask2prefix.$(OBJEXT) +src_mask2prefix_OBJECTS = $(am_src_mask2prefix_OBJECTS) +src_mask2prefix_LDADD = $(LDADD) +am_src_naddress_OBJECTS = src/naddress.$(OBJEXT) +src_naddress_OBJECTS = $(am_src_naddress_OBJECTS) +src_naddress_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_naddress_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_naddress_LDFLAGS) $(LDFLAGS) -o $@ +am_src_nattribute_OBJECTS = src/nattribute.$(OBJEXT) +src_nattribute_OBJECTS = $(am_src_nattribute_OBJECTS) +src_nattribute_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_nattribute_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_nattribute_LDFLAGS) $(LDFLAGS) -o $@ +am_src_ncontext_OBJECTS = src/ncontext.$(OBJEXT) +src_ncontext_OBJECTS = $(am_src_ncontext_OBJECTS) +src_ncontext_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_ncontext_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_ncontext_LDFLAGS) $(LDFLAGS) -o $@ +am_src_parserpmdump_OBJECTS = src/parserpmdump.$(OBJEXT) +src_parserpmdump_OBJECTS = $(am_src_parserpmdump_OBJECTS) +src_parserpmdump_LDADD = $(LDADD) +am_src_readlink_OBJECTS = src/readlink.$(OBJEXT) +src_readlink_OBJECTS = $(am_src_readlink_OBJECTS) +src_readlink_LDADD = $(LDADD) +am_src_rebootmgr_OBJECTS = src/rebootmgr.$(OBJEXT) +src_rebootmgr_OBJECTS = $(am_src_rebootmgr_OBJECTS) +src_rebootmgr_LDADD = $(LDADD) +am_src_reducecap_OBJECTS = src/reducecap.$(OBJEXT) +src_reducecap_OBJECTS = $(am_src_reducecap_OBJECTS) +src_reducecap_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_reducecap_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_reducecap_LDFLAGS) $(LDFLAGS) -o $@ +am_src_rpm_fake_resolver_OBJECTS = src/rpm-fake-resolver.$(OBJEXT) +src_rpm_fake_resolver_OBJECTS = $(am_src_rpm_fake_resolver_OBJECTS) +src_rpm_fake_resolver_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_rpm_fake_resolver_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_rpm_fake_resolver_LDFLAGS) $(LDFLAGS) -o $@ +am_src_save_ctxinfo_OBJECTS = src/save_ctxinfo.$(OBJEXT) +src_save_ctxinfo_OBJECTS = $(am_src_save_ctxinfo_OBJECTS) +src_save_ctxinfo_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_save_ctxinfo_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_save_ctxinfo_LDFLAGS) $(LDFLAGS) -o $@ +am_src_secure_mount_OBJECTS = src/secure-mount.$(OBJEXT) +src_secure_mount_OBJECTS = $(am_src_secure_mount_OBJECTS) +src_secure_mount_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_secure_mount_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_secure_mount_LDFLAGS) $(LDFLAGS) -o $@ +am_src_setattr_OBJECTS = src/fstool.$(OBJEXT) src/setattr.$(OBJEXT) +src_setattr_OBJECTS = $(am_src_setattr_OBJECTS) +src_setattr_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_setattr_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_setattr_LDFLAGS) $(LDFLAGS) -o $@ +am_src_showattr_OBJECTS = src/fstool.$(OBJEXT) src/showattr.$(OBJEXT) +src_showattr_OBJECTS = $(am_src_showattr_OBJECTS) +src_showattr_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_showattr_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_showattr_LDFLAGS) $(LDFLAGS) -o $@ +src_showperm_SOURCES = src/showperm.c +src_showperm_OBJECTS = src/showperm.$(OBJEXT) +src_showperm_LDADD = $(LDADD) +src_sigexec_SOURCES = src/sigexec.c +src_sigexec_OBJECTS = src/sigexec.$(OBJEXT) +src_sigexec_LDADD = $(LDADD) +am_src_testsuite_chbind_test_OBJECTS = \ + src/testsuite/chbind-test.$(OBJEXT) +src_testsuite_chbind_test_OBJECTS = \ + $(am_src_testsuite_chbind_test_OBJECTS) +src_testsuite_chbind_test_DEPENDENCIES = lib/libvserver.la +am_src_testsuite_chcontext_test_OBJECTS = \ + src/testsuite/chcontext-test.$(OBJEXT) +src_testsuite_chcontext_test_OBJECTS = \ + $(am_src_testsuite_chcontext_test_OBJECTS) +src_testsuite_chcontext_test_DEPENDENCIES = lib/libvserver.la \ + $(LIBINTERNAL) +am_src_testsuite_hashcalc_OBJECTS = \ + src/testsuite/src_testsuite_hashcalc-hashcalc.$(OBJEXT) +src_testsuite_hashcalc_OBJECTS = $(am_src_testsuite_hashcalc_OBJECTS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_testsuite_hashcalc_DEPENDENCIES = \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBINTERNAL_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBENSCVECTOR_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBVSERVER_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(am__DEPENDENCIES_1) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_testsuite_hashcalc_DEPENDENCIES = \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(LIBINTERNAL) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(LIBENSCVECTOR) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(am__DEPENDENCIES_1) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(am__DEPENDENCIES_2) +src_testsuite_hashcalc_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(src_testsuite_hashcalc_CFLAGS) $(CFLAGS) \ + $(src_testsuite_hashcalc_LDFLAGS) $(LDFLAGS) -o $@ +am_src_testsuite_hashcalc_plain_OBJECTS = src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.$(OBJEXT) +src_testsuite_hashcalc_plain_OBJECTS = \ + $(am_src_testsuite_hashcalc_plain_OBJECTS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_testsuite_hashcalc_plain_DEPENDENCIES = \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBINTERNAL_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBENSCVECTOR_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBVSERVER_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(am__DEPENDENCIES_1) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_testsuite_hashcalc_plain_DEPENDENCIES = \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(LIBINTERNAL) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(LIBENSCVECTOR) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(am__DEPENDENCIES_1) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(am__DEPENDENCIES_2) +src_testsuite_hashcalc_plain_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(src_testsuite_hashcalc_plain_CFLAGS) $(CFLAGS) \ + $(src_testsuite_hashcalc_plain_LDFLAGS) $(LDFLAGS) -o $@ +am_src_testsuite_rpm_fake_test_OBJECTS = \ + src/testsuite/rpm-fake-test.$(OBJEXT) +src_testsuite_rpm_fake_test_OBJECTS = \ + $(am_src_testsuite_rpm_fake_test_OBJECTS) +src_testsuite_rpm_fake_test_LDADD = $(LDADD) +am_src_testsuite_vunify_functest_OBJECTS = src/testsuite/src_testsuite_vunify_functest-vunify-functest.$(OBJEXT) +src_testsuite_vunify_functest_OBJECTS = \ + $(am_src_testsuite_vunify_functest_OBJECTS) +src_testsuite_vunify_functest_DEPENDENCIES = $(LIBINTERNAL) +am_src_tunctl_OBJECTS = src/tunctl.$(OBJEXT) +src_tunctl_OBJECTS = $(am_src_tunctl_OBJECTS) +src_tunctl_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_tunctl_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_tunctl_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vattribute_OBJECTS = src/vattribute.$(OBJEXT) +src_vattribute_OBJECTS = $(am_src_vattribute_OBJECTS) +src_vattribute_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vattribute_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vattribute_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vclone_OBJECTS = src/vclone.$(OBJEXT) +src_vclone_OBJECTS = $(am_src_vclone_OBJECTS) +src_vclone_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_vclone_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vclone_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vcontext_OBJECTS = src/vcontext.$(OBJEXT) src/vlogin.$(OBJEXT) +src_vcontext_OBJECTS = $(am_src_vcontext_OBJECTS) +src_vcontext_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_vcontext_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vcontext_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vcopy_OBJECTS = src/vcopy.$(OBJEXT) +src_vcopy_OBJECTS = $(am_src_vcopy_OBJECTS) +src_vcopy_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_vcopy_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vcopy_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vdevmap_OBJECTS = src/vdevmap.$(OBJEXT) +src_vdevmap_OBJECTS = $(am_src_vdevmap_OBJECTS) +src_vdevmap_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_vdevmap_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vdevmap_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vdlimit_OBJECTS = src/vdlimit.$(OBJEXT) +src_vdlimit_OBJECTS = $(am_src_vdlimit_OBJECTS) +src_vdlimit_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vdlimit_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vdlimit_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vdu_OBJECTS = src/vdu.$(OBJEXT) +src_vdu_OBJECTS = $(am_src_vdu_OBJECTS) +src_vdu_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_vdu_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(src_vdu_LDFLAGS) \ + $(LDFLAGS) -o $@ +am_src_vhashify_OBJECTS = src/src_vhashify-vhashify.$(OBJEXT) +src_vhashify_OBJECTS = $(am_src_vhashify_OBJECTS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_vhashify_DEPENDENCIES = \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBINTERNAL_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBENSCVECTOR_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(LIBVSERVER_GLIBC) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@ $(am__DEPENDENCIES_1) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_vhashify_DEPENDENCIES = \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(LIBINTERNAL) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(LIBENSCVECTOR) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(am__DEPENDENCIES_1) \ +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@ $(am__DEPENDENCIES_2) +src_vhashify_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(src_vhashify_CFLAGS) \ + $(CFLAGS) $(src_vhashify_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vkill_OBJECTS = src/src_vkill-vkill.$(OBJEXT) +src_vkill_OBJECTS = $(am_src_vkill_OBJECTS) +src_vkill_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vkill_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vkill_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vlimit_OBJECTS = src/vlimit.$(OBJEXT) +src_vlimit_OBJECTS = $(am_src_vlimit_OBJECTS) +src_vlimit_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vlimit_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vlimit_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vmemctrl_OBJECTS = src/vmemctrl.$(OBJEXT) +src_vmemctrl_OBJECTS = $(am_src_vmemctrl_OBJECTS) +src_vmemctrl_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_vmemctrl_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vmemctrl_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vps_OBJECTS = src/vps.$(OBJEXT) +src_vps_OBJECTS = $(am_src_vps_OBJECTS) +src_vps_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_vps_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(src_vps_LDFLAGS) \ + $(LDFLAGS) -o $@ +am_src_vreboot_OBJECTS = src/vreboot.$(OBJEXT) +src_vreboot_OBJECTS = $(am_src_vreboot_OBJECTS) +src_vreboot_LDADD = $(LDADD) +src_vrsetup_SOURCES = src/vrsetup.c +src_vrsetup_OBJECTS = src/vrsetup.$(OBJEXT) +src_vrsetup_LDADD = $(LDADD) +am_src_vsched_OBJECTS = src/vsched.$(OBJEXT) +src_vsched_OBJECTS = $(am_src_vsched_OBJECTS) +src_vsched_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_vsched_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vsched_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vserver_info_OBJECTS = src/vserver-info.$(OBJEXT) +src_vserver_info_OBJECTS = $(am_src_vserver_info_OBJECTS) +src_vserver_info_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_vserver_info_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vserver_info_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vserver_stat_OBJECTS = src/vserver-stat.$(OBJEXT) +src_vserver_stat_OBJECTS = $(am_src_vserver_stat_OBJECTS) +src_vserver_stat_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) \ + $(LIBENSCVECTOR) +src_vserver_stat_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vserver_stat_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vshelper_sync_OBJECTS = src/vshelper-sync.$(OBJEXT) +src_vshelper_sync_OBJECTS = $(am_src_vshelper_sync_OBJECTS) +src_vshelper_sync_LDADD = $(LDADD) +am_src_vspace_OBJECTS = src/vspace.$(OBJEXT) +src_vspace_OBJECTS = $(am_src_vspace_OBJECTS) +src_vspace_DEPENDENCIES = $(am__DEPENDENCIES_2) $(LIBINTERNAL) +src_vspace_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vspace_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vsysctl_OBJECTS = src/vsysctl.$(OBJEXT) +src_vsysctl_OBJECTS = $(am_src_vsysctl_OBJECTS) +src_vsysctl_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vsysctl_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vsysctl_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vtag_OBJECTS = src/vtag.$(OBJEXT) +src_vtag_OBJECTS = $(am_src_vtag_OBJECTS) +src_vtag_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vtag_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(src_vtag_LDFLAGS) \ + $(LDFLAGS) -o $@ +am_src_vuname_OBJECTS = src/vuname.$(OBJEXT) +src_vuname_OBJECTS = $(am_src_vuname_OBJECTS) +src_vuname_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vuname_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vuname_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vunify_OBJECTS = src/vunify.$(OBJEXT) +src_vunify_OBJECTS = $(am_src_vunify_OBJECTS) +src_vunify_DEPENDENCIES = $(LIBINTERNAL) $(am__DEPENDENCIES_2) +src_vunify_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vunify_LDFLAGS) $(LDFLAGS) -o $@ +am_src_vwait_OBJECTS = src/vwait.$(OBJEXT) +src_vwait_OBJECTS = $(am_src_vwait_OBJECTS) +src_vwait_DEPENDENCIES = $(am__DEPENDENCIES_2) +src_vwait_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(src_vwait_LDFLAGS) $(LDFLAGS) -o $@ +am_tests_escaperoot_OBJECTS = tests/escaperoot.$(OBJEXT) +tests_escaperoot_OBJECTS = $(am_tests_escaperoot_OBJECTS) +tests_escaperoot_LDADD = $(LDADD) +am_tests_forkbomb_OBJECTS = tests/forkbomb.$(OBJEXT) +tests_forkbomb_OBJECTS = $(am_tests_forkbomb_OBJECTS) +tests_forkbomb_LDADD = $(LDADD) +am_tests_getctx_OBJECTS = tests/getctx.$(OBJEXT) +tests_getctx_OBJECTS = $(am_tests_getctx_OBJECTS) +tests_getctx_DEPENDENCIES = $(am__DEPENDENCIES_2) +tests_getctx_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(tests_getctx_LDFLAGS) $(LDFLAGS) -o $@ +am_tests_getinitpid_OBJECTS = tests/getinitpid.$(OBJEXT) +tests_getinitpid_OBJECTS = $(am_tests_getinitpid_OBJECTS) +tests_getinitpid_DEPENDENCIES = $(am__DEPENDENCIES_2) +tests_getinitpid_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(tests_getinitpid_LDFLAGS) $(LDFLAGS) -o $@ +am_tests_testipc_OBJECTS = tests/testipc.$(OBJEXT) +tests_testipc_OBJECTS = $(am_tests_testipc_OBJECTS) +tests_testipc_LDADD = $(LDADD) +am_tests_testlimit_OBJECTS = tests/testlimit.$(OBJEXT) +tests_testlimit_OBJECTS = $(am_tests_testlimit_OBJECTS) +tests_testlimit_LDADD = $(LDADD) +am_tests_testopenf_OBJECTS = tests/testopenf.$(OBJEXT) +tests_testopenf_OBJECTS = $(am_tests_testopenf_OBJECTS) +tests_testopenf_LDADD = $(LDADD) +am_tests_vserver_info_OBJECTS = tests/vserver-info.$(OBJEXT) +tests_vserver_info_OBJECTS = $(am_tests_vserver_info_OBJECTS) +tests_vserver_info_DEPENDENCIES = $(am__DEPENDENCIES_2) +tests_vserver_info_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(tests_vserver_info_LDFLAGS) $(LDFLAGS) -o $@ +initrdSCRIPT_INSTALL = $(INSTALL_SCRIPT) +legacySCRIPT_INSTALL = $(INSTALL_SCRIPT) +pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT) +sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT) +SCRIPTS = $(initrd_SCRIPTS) $(legacy_SCRIPTS) $(pkglib_SCRIPTS) \ + $(sbin_SCRIPTS) +DEFAULT_INCLUDES = -I.@am__isrc@ +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ +SOURCES = $(nodist_lib_dietlibc_not_enabled_error_a_SOURCES) \ + $(nodist_lib_glibc_not_enabled_error_a_SOURCES) \ + $(lib_libvserver_a_SOURCES) \ + $(lib_internal_libinternal_diet_a_SOURCES) \ + $(lib_internal_libinternal_glibc_a_SOURCES) \ + $(libensc_vector_diet_a_SOURCES) \ + $(libensc_vector_glibc_a_SOURCES) $(lib_libvserver_la_SOURCES) \ + $(python__libvserver_la_SOURCES) $(src_rpm_fake_la_SOURCES) \ + $(ensc_vector_testsuite_test1_SOURCES) \ + $(ensc_vector_testsuite_test2_SOURCES) \ + $(lib_testsuite_cflags_SOURCES) $(lib_testsuite_fmt_SOURCES) \ + $(lib_testsuite_parselimit_SOURCES) \ + $(lib_testsuite_personality_SOURCES) \ + $(lib_internal_testsuite_command_SOURCES) \ + $(lib_internal_testsuite_copy_SOURCES) \ + $(lib_internal_testsuite_crypto_SOURCES) \ + $(lib_internal_testsuite_crypto_speed_SOURCES) \ + $(lib_internal_testsuite_filecfg_ml_SOURCES) \ + $(lib_internal_testsuite_isnumber_SOURCES) \ + $(lib_internal_testsuite_isnumber_gnu_SOURCES) \ + $(lib_internal_testsuite_matchlist_SOURCES) \ + $(lib_internal_testsuite_matchlist_gnu_SOURCES) \ + $(lib_internal_testsuite_sigbus_SOURCES) \ + $(lib_internal_testsuite_sigbus_gnu_SOURCES) \ + $(src_capchroot_SOURCES) $(src_chain_echo_SOURCES) \ + $(src_chbind_compat_SOURCES) $(src_chcontext_compat_SOURCES) \ + src/check-unixfile.c $(src_chroot_sh_SOURCES) \ + $(src_chxid_SOURCES) $(src_exec_cd_SOURCES) \ + $(src_exec_remount_SOURCES) $(src_exec_ulimit_SOURCES) \ + $(src_fakerunlevel_SOURCES) $(src_filetime_SOURCES) \ + $(src_h2ext_SOURCES) $(src_ifspec_SOURCES) \ + $(src_keep_ctx_alive_SOURCES) $(src_listdevip_SOURCES) \ + $(src_lockfile_SOURCES) $(src_lsxid_SOURCES) \ + $(src_mask2prefix_SOURCES) $(src_naddress_SOURCES) \ + $(src_nattribute_SOURCES) $(src_ncontext_SOURCES) \ + $(src_parserpmdump_SOURCES) $(src_readlink_SOURCES) \ + $(src_rebootmgr_SOURCES) $(src_reducecap_SOURCES) \ + $(src_rpm_fake_resolver_SOURCES) $(src_save_ctxinfo_SOURCES) \ + $(src_secure_mount_SOURCES) $(src_setattr_SOURCES) \ + $(src_showattr_SOURCES) src/showperm.c src/sigexec.c \ + $(src_testsuite_chbind_test_SOURCES) \ + $(src_testsuite_chcontext_test_SOURCES) \ + $(src_testsuite_hashcalc_SOURCES) \ + $(src_testsuite_hashcalc_plain_SOURCES) \ + $(src_testsuite_rpm_fake_test_SOURCES) \ + $(src_testsuite_vunify_functest_SOURCES) $(src_tunctl_SOURCES) \ + $(src_vattribute_SOURCES) $(src_vclone_SOURCES) \ + $(src_vcontext_SOURCES) $(src_vcopy_SOURCES) \ + $(src_vdevmap_SOURCES) $(src_vdlimit_SOURCES) \ + $(src_vdu_SOURCES) $(src_vhashify_SOURCES) \ + $(src_vkill_SOURCES) $(src_vlimit_SOURCES) \ + $(src_vmemctrl_SOURCES) $(src_vps_SOURCES) \ + $(src_vreboot_SOURCES) src/vrsetup.c $(src_vsched_SOURCES) \ + $(src_vserver_info_SOURCES) $(src_vserver_stat_SOURCES) \ + $(src_vshelper_sync_SOURCES) $(src_vspace_SOURCES) \ + $(src_vsysctl_SOURCES) $(src_vtag_SOURCES) \ + $(src_vuname_SOURCES) $(src_vunify_SOURCES) \ + $(src_vwait_SOURCES) $(tests_escaperoot_SOURCES) \ + $(tests_forkbomb_SOURCES) $(tests_getctx_SOURCES) \ + $(tests_getinitpid_SOURCES) $(tests_testipc_SOURCES) \ + $(tests_testlimit_SOURCES) $(tests_testopenf_SOURCES) \ + $(tests_vserver_info_SOURCES) +DIST_SOURCES = $(am__lib_libvserver_a_SOURCES_DIST) \ + $(am__lib_internal_libinternal_diet_a_SOURCES_DIST) \ + $(am__lib_internal_libinternal_glibc_a_SOURCES_DIST) \ + $(libensc_vector_diet_a_SOURCES) \ + $(libensc_vector_glibc_a_SOURCES) \ + $(am__lib_libvserver_la_SOURCES_DIST) \ + $(am__python__libvserver_la_SOURCES_DIST) \ + $(src_rpm_fake_la_SOURCES) \ + $(ensc_vector_testsuite_test1_SOURCES) \ + $(ensc_vector_testsuite_test2_SOURCES) \ + $(lib_testsuite_cflags_SOURCES) $(lib_testsuite_fmt_SOURCES) \ + $(lib_testsuite_parselimit_SOURCES) \ + $(lib_testsuite_personality_SOURCES) \ + $(lib_internal_testsuite_command_SOURCES) \ + $(lib_internal_testsuite_copy_SOURCES) \ + $(am__lib_internal_testsuite_crypto_SOURCES_DIST) \ + $(am__lib_internal_testsuite_crypto_speed_SOURCES_DIST) \ + $(lib_internal_testsuite_filecfg_ml_SOURCES) \ + $(lib_internal_testsuite_isnumber_SOURCES) \ + $(lib_internal_testsuite_isnumber_gnu_SOURCES) \ + $(lib_internal_testsuite_matchlist_SOURCES) \ + $(lib_internal_testsuite_matchlist_gnu_SOURCES) \ + $(lib_internal_testsuite_sigbus_SOURCES) \ + $(lib_internal_testsuite_sigbus_gnu_SOURCES) \ + $(src_capchroot_SOURCES) $(src_chain_echo_SOURCES) \ + $(src_chbind_compat_SOURCES) $(src_chcontext_compat_SOURCES) \ + src/check-unixfile.c $(src_chroot_sh_SOURCES) \ + $(src_chxid_SOURCES) $(src_exec_cd_SOURCES) \ + $(src_exec_remount_SOURCES) $(src_exec_ulimit_SOURCES) \ + $(src_fakerunlevel_SOURCES) $(src_filetime_SOURCES) \ + $(src_h2ext_SOURCES) $(src_ifspec_SOURCES) \ + $(src_keep_ctx_alive_SOURCES) $(src_listdevip_SOURCES) \ + $(src_lockfile_SOURCES) $(src_lsxid_SOURCES) \ + $(src_mask2prefix_SOURCES) $(src_naddress_SOURCES) \ + $(src_nattribute_SOURCES) $(src_ncontext_SOURCES) \ + $(src_parserpmdump_SOURCES) $(src_readlink_SOURCES) \ + $(src_rebootmgr_SOURCES) $(src_reducecap_SOURCES) \ + $(src_rpm_fake_resolver_SOURCES) $(src_save_ctxinfo_SOURCES) \ + $(src_secure_mount_SOURCES) $(src_setattr_SOURCES) \ + $(src_showattr_SOURCES) src/showperm.c src/sigexec.c \ + $(src_testsuite_chbind_test_SOURCES) \ + $(src_testsuite_chcontext_test_SOURCES) \ + $(src_testsuite_hashcalc_SOURCES) \ + $(src_testsuite_hashcalc_plain_SOURCES) \ + $(src_testsuite_rpm_fake_test_SOURCES) \ + $(src_testsuite_vunify_functest_SOURCES) $(src_tunctl_SOURCES) \ + $(src_vattribute_SOURCES) $(src_vclone_SOURCES) \ + $(src_vcontext_SOURCES) $(src_vcopy_SOURCES) \ + $(src_vdevmap_SOURCES) $(src_vdlimit_SOURCES) \ + $(src_vdu_SOURCES) $(src_vhashify_SOURCES) \ + $(src_vkill_SOURCES) $(src_vlimit_SOURCES) \ + $(src_vmemctrl_SOURCES) $(src_vps_SOURCES) \ + $(src_vreboot_SOURCES) src/vrsetup.c $(src_vsched_SOURCES) \ + $(src_vserver_info_SOURCES) $(src_vserver_stat_SOURCES) \ + $(src_vshelper_sync_SOURCES) $(src_vspace_SOURCES) \ + $(src_vsysctl_SOURCES) $(src_vtag_SOURCES) \ + $(src_vuname_SOURCES) $(src_vunify_SOURCES) \ + $(src_vwait_SOURCES) $(tests_escaperoot_SOURCES) \ + $(tests_forkbomb_SOURCES) $(tests_getctx_SOURCES) \ + $(tests_getinitpid_SOURCES) $(tests_testipc_SOURCES) \ + $(tests_testlimit_SOURCES) $(tests_testopenf_SOURCES) \ + $(tests_vserver_info_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +man8dir = $(mandir)/man8 +NROFF = nroff +MANS = $(man_MANS) +pkgconfDATA_INSTALL = $(INSTALL_DATA) +pkglibDATA_INSTALL = $(INSTALL_DATA) +sysconfDATA_INSTALL = $(INSTALL_DATA) +DATA = $(noinst_DATA) $(pkgconf_DATA) $(pkglib_DATA) $(sysconf_DATA) +includeHEADERS_INSTALL = $(INSTALL_HEADER) +HEADERS = $(include_HEADERS) $(noinst_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +ETAGS = etags +@ENSC_HAVE_C99_COMPILER_TRUE@am__EXEEXT_13 = \ +@ENSC_HAVE_C99_COMPILER_TRUE@ src/testsuite/vunify-test.sh \ +@ENSC_HAVE_C99_COMPILER_TRUE@ $(am__append_9) +am__EXEEXT_14 = $(am__EXEEXT_13) +@ENSC_HAVE_C99_COMPILER_TRUE@am__EXEEXT_15 = lib_internal/testsuite/filecfg-ml$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/copy-check \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/isnumber-gnu$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/sigbus-gnu$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist$(EXEEXT) \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/testsuite/matchlist-gnu$(EXEEXT) +@ENSC_HAVE_CRYPTO_TRUE@am__EXEEXT_16 = \ +@ENSC_HAVE_CRYPTO_TRUE@ lib_internal/testsuite/crypto$(EXEEXT) +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BZIP2 = @BZIP2@ +CAT = @CAT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHOWN = @CHOWN@ +CMP = @CMP@ +CP = @CP@ +CPIO = @CPIO@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CTAGS = @CTAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DIET = @DIET@ +DIETFLAGS = @DIETFLAGS@ +DIRNAME = @DIRNAME@ +DOXYGEN = @DOXYGEN@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ENSC_CRYPTO_CFLAGS = @ENSC_CRYPTO_CFLAGS@ +ENSC_CRYPTO_LIB = @ENSC_CRYPTO_LIB@ +ENSC_PATHPROG_SED = @ENSC_PATHPROG_SED@ +ENSC_USE_EXPENSIVE_TESTS = @ENSC_USE_EXPENSIVE_TESTS@ +ENV = @ENV@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FILE = @FILE@ +FSCK = @FSCK@ +GPG_KEY = @GPG_KEY@ +GREP = @GREP@ +GZIP = @GZIP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +IONICE = @IONICE@ +IP = @IP@ +IPTABLES = @IPTABLES@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIB_DEBUG_CPPFLAGS = @LIB_DEBUG_CPPFLAGS@ +LN = @LN@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR = @MKDIR@ +MKDIR_P = @MKDIR_P@ +MKFIFO = @MKFIFO@ +MKTEMP = @MKTEMP@ +MODPROBE = @MODPROBE@ +MOUNT = @MOUNT@ +MV = @MV@ +NAMEIF = @NAMEIF@ +NICE = @NICE@ +NOHUP = @NOHUP@ +NSS_CFLAGS = @NSS_CFLAGS@ +NSS_LIBS = @NSS_LIBS@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PS = @PS@ +PYTHON = @PYTHON@ +PYTHON_CFLAGS = @PYTHON_CFLAGS@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_LDFLAGS = @PYTHON_LDFLAGS@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +RELEASE_CPPFLAGS = @RELEASE_CPPFLAGS@ +RESTORE = @RESTORE@ +RM = @RM@ +RMDIR = @RMDIR@ +RMMOD = @RMMOD@ +RSYNC = @RSYNC@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SH = @SH@ +SHELL = @SHELL@ +STRACE = @STRACE@ +STRIP = @STRIP@ +SVN2CL = @SVN2CL@ +TAC = @TAC@ +TAR = @TAR@ +TOUCH = @TOUCH@ +TTY = @TTY@ +UMOUNT = @UMOUNT@ +VCONFIG = @VCONFIG@ +VERSION = @VERSION@ +WC = @WC@ +WGET = @WGET@ +XSLTP = @XSLTP@ +XSLTPROC = @XSLTPROC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +initrddir = @initrddir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +vserverdir = @vserverdir@ +ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = . distrib +SVN2CL_AMFLAGS = $(SVN2CL_TAG) --authors=svnusers.map +SVN2CL_ALLFLAGS := $(SVN2CL_AMFLAGS) $(SVN2CL_FLAGS) +confdir = $(sysconfdir)/vservers +confdefaultsdir = $(confdir)/.defaults +sbincfgdir = $(sbindir) +legacydir = $(pkglibdir)/legacy +include_HEADERS = lib/vserver.h +noinst_HEADERS = $(ENSC_VECTOR_HDRS) compat.h compat-c99.h \ + lib/syscall-compat.hc lib/syscall-legacy.hc \ + lib/syscall-fallback.h lib/createskeleton-full.hc \ + lib/createskeleton-short.hc lib/fmt.h \ + lib/getversion-internal.hc lib/safechroot-internal.hc \ + lib/ioctl-getext2flags.hc lib/ioctl-getfilecontext.hc \ + lib/ioctl-setext2flags.hc lib/ioctl-setfilecontext.hc \ + lib/ioctl-getxflg.hc lib/ioctl-setxflg.hc lib/ext2fs.h \ + lib/listparser.hc lib/val2text.hc lib/virtual.h lib/internal.h \ + lib/syscall-alternative.h lib/syscall-wrap.h \ + lib/utils-legacy.h lib/vserver-internal.h \ + src/capability-compat.h src/util.h src/fstool.h \ + src/compat-pivot_root.h src/stack-start.h src/vcopy-init.hc \ + src/vunify.h src/vunify-init.hc src/vhashify.h \ + src/vhashify-init.hc src/vserver-visitdir.hc \ + src/context-sync.hc src/attribute-util.h \ + ensc_wrappers/wrappers-clone.hc \ + ensc_wrappers/wrappers-dirent.hc \ + ensc_wrappers/wrappers-fcntl.hc ensc_wrappers/wrappers-io.hc \ + ensc_wrappers/wrappers-ioctl.hc \ + ensc_wrappers/wrappers-iosock.hc \ + ensc_wrappers/wrappers-mount.hc \ + ensc_wrappers/wrappers-pivot.hc \ + ensc_wrappers/wrappers-resource.hc \ + ensc_wrappers/wrappers-socket.hc \ + ensc_wrappers/wrappers-stat.hc \ + ensc_wrappers/wrappers-stdlib.hc \ + ensc_wrappers/wrappers-string.hc \ + ensc_wrappers/wrappers-termios.hc \ + ensc_wrappers/wrappers-unistd.hc \ + ensc_wrappers/wrappers-vserver.hc \ + ensc_wrappers/wrappers-wait.hc ensc_wrappers/wrappers.h \ + ensc_wrappers/wrappers_handler.hc lib_internal/coreassert.h \ + lib_internal/crypto-wrapper.h \ + lib_internal/crypto-wrapper-nss.h \ + lib_internal/crypto-wrapper-beecrypt.h lib_internal/errinfo.h \ + lib_internal/jail.h lib_internal/matchlist.h \ + lib_internal/pathinfo.h lib_internal/string.h \ + lib_internal/sys_clone.h lib_internal/sys_personality.h \ + lib_internal/sys_unshare.h lib_internal/unify.h \ + lib_internal/util.h lib_internal/util-cast.h \ + lib_internal/util-commonstrings.h lib_internal/util-debug.h \ + lib_internal/util-declarecmd.h lib_internal/util-dimof.h \ + lib_internal/util-dotfile.h lib_internal/util-io.h \ + lib_internal/util-lockfile.h lib_internal/util-mem.h \ + lib_internal/util-perror.h lib_internal/util-safechdir.h \ + lib_internal/util-unixsock.h lib_internal/string.hc +noinst_LIBRARIES = $(ENSC_VECTOR_LIBS) $(LIBINTERNAL_GLIBC) \ + $(am__append_16) +lib_LIBRARIES = $(am__append_2) +lib_LTLIBRARIES = $(LIBVSERVER_GLIBC) +pkglib_LTLIBRARIES = src/rpm-fake.la +pkglib_SCRIPTS = $(scripts_pkglib_src_SCRPTS) $(am__append_23) +pkglib_DATA = FEATURES.txt $(scripts_pkglib_src_DTA) \ + $(scripts_pkglib_gen_DTA) +legacy_SCRIPTS = $(scripts_legacy_src_SCRPTS) \ + $(scripts_legacy_gen_SCRPTS) +sbin_SCRIPTS = $(scripts_sbin_src_PRGS) $(scripts_sbin_gen_PRGS) \ + $(scripts_legacy_src_PRGS) +noinst_DATA = $(contrib_gen_DTA) +initrd_SCRIPTS = $(am__append_13) $(am__append_22) +sysconf_DATA = $(am__append_12) +pyexec_LTLIBRARIES = $(am__append_24) +DIETPROGS = $(LIBENSCVECTOR_DIET) lib/lib_libvserver_a-% \ + ensc_fmt/lib_libvserver_a-% lib/testsuite/cflags \ + lib/testsuite/personality lib/testsuite/fmt \ + src/chcontext-compat src/capchroot src/chain-echo \ + src/check-unixfile src/chroot-sh src/filetime src/lockfile \ + src/readlink src/secure-mount src/save_ctxinfo src/mask2prefix \ + src/chbind-compat src/exec-cd src/fakerunlevel \ + src/keep-ctx-alive src/exec-ulimit src/vps src/lsxid src/chxid \ + src/reducecap src/showattr src/setattr src/sigexec \ + src/vattribute src/vlimit src/vunify src/vuname \ + src/rpm-fake-resolver src/vcontext src/vcopy src/vkill \ + src/vsched src/vshelper-sync src/vrsetup src/vserver-stat \ + src/vserver-info src/vdlimit src/vdu src/vwait src/ncontext \ + src/nattribute src/naddress src/vdevmap src/vsysctl src/vclone \ + src/h2ext src/vtag src/vspace src/vmemctrl src/tunctl \ + src/exec-remount $(am__append_5) $(tests_dietprogs) \ + lib_internal/libinternal-diet.a \ + lib_internal/testsuite/isnumber lib_internal/testsuite/sigbus \ + lib_internal/testsuite/matchlist $(am__append_21) +BUILT_SOURCES = pathconfig.h \ + .fixups + +man_MANS = $(man_pages) $(man_gen_DTA) +kernel_HDRS = $(wildcard kernel/*.h) +EXTRA_DIST = pathconfig.h.pathsubst util-vserver.spec THANKS \ + REQUIREMENTS $(kernel_HDRS) $(am__append_4) \ + lib/apidoc/list2xxx.syntax $(src_testsuite_check_src_SCRPTS) \ + src/testsuite/vunify-test.sh src/testsuite/hashcalc.sh \ + src/testsuite/hashcalc-plain.sh src/testsuite/vwait-test.sh \ + $(doc_compatibility_SRCS) $(doc_configuration_SRCS) \ + $(doc_old_doc) $(doc_gen_DOCS) $(man_pages) $(man_susbt_SRCS) \ + $(scripts_pkglib_src_DTA) $(scripts_pkglib_src_SCRPTS) \ + $(scripts_legacy_src_SCRPTS) $(scripts_legacy_src_PRGS) \ + $(scripts_sbin_src_PRGS) $(scripts_subst_SRCS) \ + sysv/v_gated.subst sysv/v_httpd.subst sysv/v_named.subst \ + sysv/v_portmap.subst sysv/v_sendmail.subst sysv/v_smb.subst \ + sysv/v_sshd.subst sysv/v_xinetd.subst $(sysv_src_SCRPTS) \ + $(sysv_conf_DTA) $(contrib_subst_SRCS) \ + contrib/yum-2.2.1-chroot.patch contrib/yum-2.3.2-chroot.patch \ + contrib/yum-2.3.3-chroot.patch contrib/yum-2.3.4-chroot.patch \ + contrib/yum-2.6.0-chroot.patch contrib/yum-2.9.6-chroot.patch \ + contrib/yum-3.0.3-chroot.patch contrib/yum-3.0.5-chroot.patch \ + contrib/yum-3.2.0-chroot.patch contrib/yum-3.2.1-chroot.patch \ + contrib/yum-3.2.4-chroot.patch contrib/make-manifest \ + lib_internal/testsuite/copy-check $(gentoo_src_SCRPTS) \ + gentoo/bash-wrapper $(am__append_25) $(addsuffix .pc.subst, \ + $(PKGCONFIG_FILES)) +check_SCRIPTS = $(src_testsuite_check_src_SCRPTS) \ + $(src_testsuite_check_gen_SCRPTS) +TESTS_DEBUG = no +TESTS_ENVIRONMENT = \ + ensc_use_expensive_tests="$(ENSC_USE_EXPENSIVE_TESTS)" \ + ensc_test_debug="$(TESTS_DEBUG)" \ + srctestsuitedir=$(top_builddir)/src/testsuite \ + libinternaltestsuitedir=$(top_builddir)/lib_internal/testsuite +AM_CPPFLAGS = -I $(top_srcdir)/lib -I $(top_srcdir)/ensc_wrappers \ + -D_GNU_SOURCE -D_REENTRANT $(RELEASE_CPPFLAGS) + +CLEANFILES = $(BUILT_SOURCES) .*.pathsubst.stamp */.*.pathsubst.stamp \ + */*/.*.pathsubst.stamp pathconfig.h .fixups lib/libvserver.la \ + lib/libvserver.a lib/apidoc/.apidoc doc/*.raw.html* \ + doc/*.html.tmp $(am__append_10) $(am__append_11) \ + $(man_gen_DTA) $(scripts_pkglib_gen_DTA) \ + $(scripts_sbin_gen_PRGS) $(scripts_sbincfg_gen_DTA) \ + $(scripts_legacy_gen_SCRPTS) $(sysv_gen_SCRPTS) \ + $(contrib_gen_DTA) libensc_vector-diet.a \ + libensc_vector-glibc.a lib_internal/libinternal-diet.a \ + lib_internal/libinternal-glibc.a $(addsuffix .pc, \ + $(PKGCONFIG_FILES)) +DISTCLEANFILES = FEATURES.txt +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = src/parserpmdump src/showperm \ + src/vbuild src/vcheck src/vreboot src/save_ctxinfo \ + src/mask2prefix src/ifspec src/rebootmgr src/vfiles \ + scripts/vapt-get-worker scripts/vrpm-worker \ + scripts/vyum-worker scripts/vrpm-preload \ + scripts/save_s_context scripts/vservers.grabinfo.sh \ + scripts/vpstree scripts/vserver-wrapper scripts/vsysvwrapper \ + scripts/vtop scripts/h2ext-worker scripts/legacy/distrib-info \ + scripts/legacy/vps scripts/legacy/save_s_context \ + scripts/legacy/vserver scripts/legacy/rootshell \ + scripts/legacy/vserver-copy scripts/legacy/vserverkillall \ + $(sysv_src_SCRPTS) $(sysv_gen_SCRPTS) $(gentoo_src_SCRPTS) +@USE_DIETLIBC_TRUE@DIET_CC := $(DIET) $(DIETFLAGS) $(CC) +@USE_DIETLIBC_FALSE@VSERVER_LDFLGS := +@USE_DIETLIBC_TRUE@VSERVER_LDFLGS := -static +@USE_DIETLIBC_COMPAT_FALSE@DIET_COMPAT_LDADDS = +@USE_DIETLIBC_COMPAT_TRUE@DIET_COMPAT_LDADDS = -lcompat +VSERVER_LDADDS = $(LIBVSERVER) $(DIET_COMPAT_LDADDS) +pathsubst_RULES = s!@'PKGLIBDIR'@!$(pkglibdir)!g; \ + s!@'LEGACYDIR'@!$(legacydir)!g; \ + s!@'SBINDIR'@!$(sbindir)!g; \ + s!@'CONFDIR'@!$(confdir)!g; \ + s!@'SYSCONFDIR'@!$(sysconfdir)!g; \ + s!@'PKGSTATEDIR'@!$(pkgstatedir)!g; \ + s!@'PKGCACHEDIR'@!$(pkgcachedir)!g; \ + s!@'PKGSTATEREVDIR'@!$(pkgstaterevdir)!g; \ + s!@'VSERVERDIR'@!$(vserverdir)!g; \ + s!@'VSERVERPKGDIR'@!$(vserverpkgdir)!g; \ + s!@'VSERVERPKGDIR'@!$(vserverpkgdir)!g; \ + s!@'VSHELPERSTATEDIR'@!$(vshelperstatedir)!g; \ + s!@'INITRDDIR'@!$(initrddir)!g; \ + s!@'LIBDIR'@!$(libdir)!g; \ + s!@'MANDIR'@!$(mandir)!g; \ + s!@'INCLUDEDIR'@!$(includedir)!g; \ + s!@'PACKAGE'@!$(PACKAGE)!g; \ + s!@'PACKAGE_BUGREPORT'@!$(PACKAGE_BUGREPORT)!g; \ + s!@'PACKAGE_NAME'@!$(PACKAGE_NAME)!g; \ + s!@'PACKAGE_STRING'@!$(PACKAGE_STRING)!g; \ + s!@'PACKAGE_TARNAME'@!$(PACKAGE_TARNAME)!g; \ + s!@'PACKAGE_VERSION'@!$(PACKAGE_VERSION)!g; \ + s!@'ENSC_HAVE_C99_COMPILER_TRUE'@!\@ENSC_HAVE_C99_COMPILER_TRUE@ !g; \ + s!@'ENSC_HAVE_C99_COMPILER_FALSE'@!\@ENSC_HAVE_C99_COMPILER_FALSE@ !g; \ + s!@'ENSC_HAVE_CXX_COMPILER_TRUE'@!\@ENSC_HAVE_CXX_COMPILER_TRUE@ !g; \ + s!@'ENSC_HAVE_CXX_COMPILER_FALSE'@!\@ENSC_HAVE_CXX_COMPILER_FALSE@ !g; \ + $(ENSC_PATHPROG_SED) + +pkgcachedir = $(localstatedir)/cache/vservers +pkgstatedir = $(localstatedir)/run/vservers +pkgstaterevdir = $(confdefaultsdir)/run.rev +vserverpkgdir = $(vserverdir)/.pkg +vshelperstatedir = $(localstatedir)/run/vshelper +fix_SCRPTS = $(addprefix $(pkglibdir)/, $(notdir $(pkglib_SCRIPTS))) \ + $(addprefix $(legacydir)/, $(notdir $(legacy_SCRIPTS))) \ + $(addprefix $(sbindir)/, $(notdir $(sbin_SCRIPTS))) \ + $(addprefix $(initrddir)/, $(notdir $(initrd_SCRIPTS))) + +@ENSC_USE_DIETLIBC_FALSE@nodist_lib_dietlibc_not_enabled_error_a_SOURCES = \ +@ENSC_USE_DIETLIBC_FALSE@ lib-dietlibc-not-enabled-error.c + +@USE_DIETLIBC_FALSE@nodist_lib_dietlibc_not_enabled_error_a_SOURCES = \ +@USE_DIETLIBC_FALSE@ lib-dietlibc-not-enabled-error.c + +lib_VERSION = 0.0.0 +lib_compat_SRCS = lib/cflags-compat.c \ + lib/cflags_list-compat.c + +lib_legacy_SRCS = lib/getprocentry-legacy.c +lib_management_SRCS = lib/comparevserverbyid.c \ + lib/createskeleton.c \ + lib/getvserverbyctx.c \ + lib/getvserverbyctx-compat.hc \ + lib/getvserverbyctx-v13.hc \ + lib/getvservercfgstyle.c \ + lib/getvserverappdir.c \ + lib/getvservercfgdir.c \ + lib/getvserverctx.c \ + lib/getvservername.c \ + lib/getvservervdir.c \ + lib/xidopt2xid.c \ + lib/nidopt2nid.c \ + lib/tagopt2tag.c \ + lib/exitlikeprocess.c + +lib_v11_SRCS = lib/syscall_rlimit.c \ + lib/syscall_rlimit-v11.hc \ + lib/syscall_kill.c \ + lib/syscall_kill-v11.hc + +lib_v13_SRCS = lib/syscall_ctxcreate.c lib/syscall_ctxcreate-v13.hc \ + lib/syscall_ctxmigrate.c lib/syscall_ctxmigrate-v13.hc \ + lib/syscall_cleanupnamespace-v13.hc \ + lib/syscall_cleanupnamespace.c \ + lib/syscall_enternamespace-v13.hc lib/syscall_enternamespace.c \ + lib/syscall_getccaps-v13.hc lib/syscall_getccaps.c \ + lib/syscall_getcflags-v13.hc lib/syscall_getcflags.c \ + lib/syscall_getiattr-fscompat.hc lib/syscall_getiattr-v13.hc \ + lib/syscall_getiattr.c lib/syscall_getncaps-net.hc \ + lib/syscall_getncaps.c lib/syscall_getnflags-net.hc \ + lib/syscall_getnflags.c lib/syscall_getnxinfo-net.hc \ + lib/syscall_getnxinfo.c lib/syscall_gettasknid-net.hc \ + lib/syscall_gettasknid.c lib/syscall_gettaskxid-oldproc.hc \ + lib/syscall_gettaskxid-v13.hc lib/syscall_gettaskxid.c \ + lib/syscall_getvhiname-olduts.hc lib/syscall_getvhiname-v13.hc \ + lib/syscall_getvhiname.c lib/syscall_getvxinfo-oldproc.hc \ + lib/syscall_getvxinfo-v13.hc lib/syscall_getvxinfo.c \ + lib/syscall_netadd-net.hc lib/syscall_netadd.c \ + lib/syscall_netcreate-net.hc lib/syscall_netcreate.c \ + lib/syscall_netmigrate-net.hc lib/syscall_netmigrate.c \ + lib/syscall_netremove-net.hc lib/syscall_netremove.c \ + lib/syscall_setccaps-v13.hc lib/syscall_setccaps.c \ + lib/syscall_setcflags-v13.hc lib/syscall_setcflags.c \ + lib/syscall_setiattr-fscompat.hc lib/syscall_setiattr-v13.hc \ + lib/syscall_setiattr.c lib/syscall_setnamespace-v13.hc \ + lib/syscall_setnamespace.c lib/syscall_setncaps-net.hc \ + lib/syscall_setncaps.c lib/syscall_setnflags-net.hc \ + lib/syscall_setnflags.c lib/syscall_setsched-v13.hc \ + lib/syscall_setsched-v13obs.hc lib/syscall_setsched.c \ + lib/syscall_setvhiname-olduts.hc lib/syscall_setvhiname-v13.hc \ + lib/syscall_setvhiname.c lib/syscall_waitexit.c \ + lib/syscall_waitexit-v13.hc lib/bcaps-v13.c \ + lib/bcaps_list-v13.c lib/ccaps-v13.c lib/ccaps_list-v13.c \ + lib/cflags-v13.c lib/cflags_list-v13.c lib/ncaps-net.c \ + lib/ncaps_list-net.c lib/nflags-net.c lib/nflags_list-net.c \ + $(am__append_1) +lib_v21_SRCS = lib/syscall_setccaps-v21.hc \ + lib/syscall_setsched-v21.hc \ + lib/syscall_rlimitstat.c \ + lib/syscall_rlimitstat-v21.hc \ + lib/syscall_resetminmax.c \ + lib/syscall_resetminmax-v21.hc \ + lib/syscall_getvci.c \ + lib/syscall_getvci-v21.hc \ + lib/syscall_virtstat.c \ + lib/syscall_virtstat-v21.hc \ + lib/syscall_ctxstat.c \ + lib/syscall_ctxstat-v21.hc \ + lib/syscall_getspacemask.c \ + lib/syscall_getspacemask-v21.hc \ + lib/syscall_enternamespace-v21.hc \ + lib/syscall_setnamespace-v21.hc \ + lib/syscall_ctxmigrate-v21.hc \ + lib/syscall_setmapping.c \ + lib/syscall_setmapping-v21.hc \ + lib/syscall_unsetmapping.c \ + lib/syscall_unsetmapping-v21.hc \ + lib/syscall_schedinfo.c \ + lib/syscall_schedinfo-v21.hc \ + lib/syscall_getccaps-v21.hc \ + lib/syscall_getsched.c \ + lib/syscall_getsched-v21.hc \ + lib/syscall_ctxcreate-v21.hc + +lib_v22_SRCS = lib/syscall_setsched-v22.hc \ + lib/syscall_fsetiattr.c \ + lib/syscall_fsetiattr-v22.hc \ + lib/syscall_fgetiattr.c \ + lib/syscall_fgetiattr-v22.hc + +lib_netv2_SRCS = lib/syscall_netadd-netv2.hc \ + lib/syscall_netremove-netv2.hc + +lib_v23_SRCS = lib/syscall_tagmigrate-v23.hc \ + lib/syscall_tagmigrate.c \ + lib/syscall_tagcreate.c \ + lib/syscall_tasktag-v23.hc \ + lib/syscall_tasktag.c \ + lib/syscall_getbadness.c \ + lib/syscall_getbadness-v23.hc \ + lib/syscall_setbadness.c \ + lib/syscall_setbadness-v23.hc \ + lib/syscall_getspacedefault.c \ + lib/syscall_getspacedefault-v23.hc \ + lib/syscall_setnamespace-v23.hc \ + lib/syscall_enternamespace-v23.hc \ + lib/syscall_getspacemask-v23.hc + +PKGCONFIG_FILES = lib/util-vserver +lib_SRCS = lib/syscall.c \ + lib/checkversion.c \ + lib/checkconfig.c \ + lib/isdirectory.c \ + lib/isfile.c \ + lib/islink.c \ + lib/getnbipv4root.c \ + lib/getversion.c \ + lib/capabilities.c \ + lib/getfilecontext.c \ + lib/getinsecurebcaps.c \ + lib/getxidtype.c \ + lib/isdynamicxid.c \ + lib/issupported.c \ + lib/issupportedstring.c \ + lib/listparser_uint32.c \ + lib/listparser_uint64.c \ + lib/personalityflag.c \ + lib/personalityflag_list.c \ + lib/personalitytype.c \ + lib/syscall-syscall.c \ + lib/val2text-t2v-uint32.c \ + lib/val2text-t2v-uint64.c \ + lib/val2text-v2t-uint32.c \ + lib/val2text-v2t-uint64.c \ + lib/parselimit.c \ + $(lib_legacy_SRCS) \ + $(lib_compat_SRCS) \ + $(lib_management_SRCS) \ + $(lib_v11_SRCS) \ + $(lib_v13_SRCS) \ + $(lib_v21_SRCS) \ + $(lib_v22_SRCS) \ + $(lib_netv2_SRCS) \ + $(lib_v23_SRCS) \ + $(ensc_fmt_SRCS) + +LIBVSERVER_GLIBC = lib/libvserver.la +@USE_DIETLIBC_FALSE@LIBVSERVER_DIET = lib-dietlibc-not-enabled-error.a +@USE_DIETLIBC_TRUE@LIBVSERVER_DIET = lib/libvserver.a +@USE_DIETLIBC_FALSE@LIBVSERVER = lib/libvserver.la +@USE_DIETLIBC_TRUE@LIBVSERVER = $(LIBVSERVER_DIET) +lib_libvserver_la_SOURCES = $(lib_SRCS) +lib_libvserver_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) +lib_libvserver_la_LDFLAGS = -version $(lib_VERSION) $(am__append_3) +lib_libvserver_a_SOURCES = $(lib_SRCS) +lib_libvserver_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) +lib_testsuite_cflags_SOURCES = lib/testsuite/cflags.c +lib_testsuite_cflags_LDADD = $(LIBVSERVER) +lib_testsuite_cflags_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_cflags_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE +lib_testsuite_personality_SOURCES = lib/testsuite/personality.c +lib_testsuite_personality_LDADD = $(LIBVSERVER) +lib_testsuite_personality_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_personality_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE +lib_testsuite_fmt_SOURCES = lib/testsuite/fmt.c +lib_testsuite_fmt_LDADD = $(LIBVSERVER) +lib_testsuite_fmt_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_fmt_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE +lib_testsuite_parselimit_SOURCES = lib/testsuite/parselimit.c +lib_testsuite_parselimit_LDADD = $(LIBVSERVER) +lib_testsuite_parselimit_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_parselimit_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE +src_sbin_CXX_PROGS = +src_pkglib_CXX_PROGS = +src_pkglib_C99_PROGS = src/vunify src/vcopy src/vclone +src_capchroot_SOURCES = src/capchroot.c +src_capchroot_LDADD = $(VSERVER_LDADDS) +src_capchroot_LDFLAGS = $(VSERVER_LDFLGS) +src_chbind_compat_SOURCES = src/chbind.c +src_chbind_compat_LDADD = $(VSERVER_LDADDS) +src_chbind_compat_LDFLAGS = $(VSERVER_LDFLGS) +src_chcontext_compat_SOURCES = src/chcontext.c +src_chcontext_compat_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_chcontext_compat_LDFLAGS = $(VSERVER_LDFLGS) +src_vcontext_SOURCES = src/vcontext.c src/vlogin.c +src_vcontext_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_vcontext_LDFLAGS = $(VSERVER_LDFLGS) +src_vsched_SOURCES = src/vsched.c +src_vsched_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_vsched_LDFLAGS = $(VSERVER_LDFLGS) +src_filetime_SOURCES = src/filetime.c +src_filetime_LDADD = $(VSERVER_LDADDS) +src_filetime_LDFLAGS = $(VSERVER_LDFLGS) +src_chain_echo_SOURCES = src/chain-echo.c +src_chroot_sh_SOURCES = src/chroot-sh.c +src_chroot_sh_LDADD = $(LIBINTERNAL) +src_exec_cd_SOURCES = src/exec-cd.c +src_fakerunlevel_SOURCES = src/fakerunlevel.c +src_ifspec_SOURCES = src/ifspec.c +src_listdevip_SOURCES = src/listdevip.c +src_lockfile_SOURCES = src/lockfile.c +src_parserpmdump_SOURCES = src/parserpmdump.c +src_readlink_SOURCES = src/readlink.c +src_rebootmgr_SOURCES = src/rebootmgr.c +src_exec_ulimit_SOURCES = src/exec-ulimit.c +src_vshelper_sync_SOURCES = src/vshelper-sync.c +src_reducecap_SOURCES = src/reducecap.c +src_reducecap_LDADD = $(VSERVER_LDADDS) +src_reducecap_LDFLAGS = $(VSERVER_LDFLGS) +src_vkill_SOURCES = src/vkill.c +src_vkill_LDADD = $(VSERVER_LDADDS) +src_vkill_LDFLAGS = $(VSERVER_LDFLGS) $(LIBINTERNAL) +src_vkill_CPPFLAGS = $(AM_CPPFLAGS) -DLEGACYDIR=\"$(legacydir)\" +src_vlimit_SOURCES = src/vlimit.c +src_vlimit_LDADD = $(VSERVER_LDADDS) +src_vlimit_LDFLAGS = $(VSERVER_LDFLGS) +src_save_ctxinfo_SOURCES = src/save_ctxinfo.c +src_save_ctxinfo_LDADD = $(VSERVER_LDADDS) +src_save_ctxinfo_LDFLAGS = $(VSERVER_LDFLGS) +src_vdu_SOURCES = src/vdu.c +src_vdu_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_vdu_LDFLAGS = $(VSERVER_LDFLGS) +src_vreboot_SOURCES = src/vreboot.c +src_secure_mount_SOURCES = src/secure-mount.c +src_secure_mount_LDADD = $(VSERVER_LDADDS) +src_secure_mount_LDFLAGS = $(VSERVER_LDFLGS) +src_vattribute_SOURCES = src/vattribute.c +src_vattribute_LDADD = $(VSERVER_LDADDS) +src_vattribute_LDFLAGS = $(VSERVER_LDFLGS) +src_rpm_fake_resolver_SOURCES = src/rpm-fake-resolver.c +src_rpm_fake_resolver_LDADD = $(VSERVER_LDADDS) +src_rpm_fake_resolver_LDFLAGS = $(VSERVER_LDFLGS) +src_mask2prefix_SOURCES = src/mask2prefix.c +src_vps_SOURCES = src/vps.c +src_vps_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_vps_LDFLAGS = $(VSERVER_LDFLGS) +src_vserver_info_SOURCES = src/vserver-info.c +src_vserver_info_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_vserver_info_LDFLAGS = $(VSERVER_LDFLGS) +src_vserver_stat_SOURCES = src/vserver-stat.c +src_vserver_stat_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) $(LIBENSCVECTOR) +src_vserver_stat_LDFLAGS = $(VSERVER_LDFLGS) +src_lsxid_SOURCES = src/fstool.c src/lsxid.c +src_lsxid_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) $(LIBENSCVECTOR) +src_lsxid_LDFLAGS = $(VSERVER_LDFLGS) +src_chxid_SOURCES = src/fstool.c src/chxid.c +src_chxid_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_chxid_LDFLAGS = $(VSERVER_LDFLGS) +src_showattr_SOURCES = src/fstool.c src/showattr.c +src_showattr_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_showattr_LDFLAGS = $(VSERVER_LDFLGS) +src_setattr_SOURCES = src/fstool.c src/setattr.c +src_setattr_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_setattr_LDFLAGS = $(VSERVER_LDFLGS) +src_keep_ctx_alive_SOURCES = src/keep-ctx-alive.c +src_keep_ctx_alive_LDADD = $(VSERVER_LDADDS) +src_keep_ctx_alive_LDFLAGS = $(VSERVER_LDFLGS) +src_vcopy_SOURCES = src/vcopy.c +src_vcopy_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_vcopy_LDFLAGS = $(VSERVER_LDFLGS) +src_vunify_SOURCES = src/vunify.c +src_vunify_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_vunify_LDFLAGS = $(VSERVER_LDFLGS) +src_vhashify_SOURCES = src/vhashify.c +src_vhashify_CFLAGS = $(AM_CFLAGS) $(ENSC_CRYPTO_CFLAGS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_vhashify_LDADD = $(LIBINTERNAL_GLIBC) $(LIBENSCVECTOR_GLIBC) $(LIBVSERVER_GLIBC) $(ENSC_CRYPTO_LIB) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_vhashify_LDADD = $(LIBINTERNAL) $(LIBENSCVECTOR) $(ENSC_CRYPTO_LIB) $(VSERVER_LDADDS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_vhashify_LDFLAGS = -Wl,--as-needed +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_vhashify_LDFLAGS = $(VSERVER_LDFLGS) +src_vuname_SOURCES = src/vuname.c +src_vuname_LDADD = $(VSERVER_LDADDS) +src_vuname_LDFLAGS = $(VSERVER_LDFLGS) +src_rpm_fake_la_SOURCES = src/rpm-fake.c +src_rpm_fake_la_CFLAGS = $(AM_CFLAGS) +src_rpm_fake_la_LDFLAGS = -module -avoid-version -rpath $(pkglibdir) +src_rpm_fake_la_LIBADD = $(LIBVSERVER_GLIBC) -ldl +src_vdlimit_SOURCES = src/vdlimit.c +src_vdlimit_LDADD = $(VSERVER_LDADDS) +src_vdlimit_LDFLAGS = $(VSERVER_LDFLGS) +src_vwait_SOURCES = src/vwait.c +src_vwait_LDADD = $(VSERVER_LDADDS) +src_vwait_LDFLAGS = $(VSERVER_LDFLGS) +src_ncontext_SOURCES = src/ncontext.c +src_ncontext_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_ncontext_LDFLAGS = $(VSERVER_LDFLGS) +src_nattribute_SOURCES = src/nattribute.c +src_nattribute_LDADD = $(VSERVER_LDADDS) +src_nattribute_LDFLAGS = $(VSERVER_LDFLGS) +src_naddress_SOURCES = src/naddress.c +src_naddress_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_naddress_LDFLAGS = $(VSERVER_LDFLGS) +src_vdevmap_SOURCES = src/vdevmap.c +src_vdevmap_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_vdevmap_LDFLAGS = $(VSERVER_LDFLGS) +src_vsysctl_SOURCES = src/vsysctl.c +src_vsysctl_LDADD = $(VSERVER_LDADDS) +src_vsysctl_LDFLAGS = $(VSERVER_LDFLGS) +src_vclone_SOURCES = src/vclone.c +src_vclone_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_vclone_LDFLAGS = $(VSERVER_LDLFGS) +src_h2ext_SOURCES = src/h2ext.c +src_h2ext_LDADD = $(LIBINTERNAL) $(VSERVER_LDADDS) +src_h2ext_LDFLAGS = $(VSERVER_LDFLGS) +src_vtag_SOURCES = src/vtag.c +src_vtag_LDADD = $(VSERVER_LDADDS) +src_vtag_LDFLAGS = $(VSERVER_LDADDS) +src_vspace_SOURCES = src/vspace.c +src_vspace_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_vspace_LDFLAGS = $(VSERVER_LDFLGS) +src_vmemctrl_SOURCES = src/vmemctrl.c +src_vmemctrl_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_vmemctrl_LDFLAGS = $(VSERVER_LDFLGS) +src_tunctl_SOURCES = src/tunctl.c +src_tunctl_LDADD = $(VSERVER_LDADDS) $(LIBINTERNAL) +src_tunctl_LDFLAGS = $(VSERVER_LDFLGS) +src_exec_remount_SOURCES = src/exec-remount.c +src_exec_remount_LDADD = $(VSERVER_LDADDS) +src_exec_remount_LDFLAGS = $(VSERVER_LDFLGS) +@ENSC_HAVE_C99_COMPILER_FALSE@src_sbin_C99_X_PROGS = +@ENSC_HAVE_C99_COMPILER_TRUE@src_sbin_C99_X_PROGS = $(src_sbin_C99_PROGS) +@ENSC_HAVE_C99_COMPILER_FALSE@src_pkglib_C99_X_PROGS = +@ENSC_HAVE_C99_COMPILER_TRUE@src_pkglib_C99_X_PROGS = $(src_pkglib_C99_PROGS) +@ENSC_HAVE_CXX_COMPILER_FALSE@src_sbin_CXX_X_PROGS = +@ENSC_HAVE_CXX_COMPILER_TRUE@src_sbin_CXX_X_PROGS = $(src_sbin_CXX_PROGS) +@ENSC_HAVE_CXX_COMPILER_FALSE@src_pkglib_CXX_X_PROGS = +@ENSC_HAVE_CXX_COMPILER_TRUE@src_pkglib_CXX_X_PROGS = $(src_pkglib_CXX_PROGS) +src_testsuite_check_active_PRGS = src/testsuite/vunify-functest \ + src/testsuite/chcontext-test \ + src/testsuite/chbind-test + +src_testsuite_check_passive_PRGS = src/testsuite/rpm-fake-test \ + $(am__append_8) +@ENSC_HAVE_C99_COMPILER_FALSE@src_testsuite_check_src_C99_SCRPTS = +@ENSC_HAVE_C99_COMPILER_TRUE@src_testsuite_check_src_C99_SCRPTS = \ +@ENSC_HAVE_C99_COMPILER_TRUE@ src/testsuite/vunify-test.sh \ +@ENSC_HAVE_C99_COMPILER_TRUE@ $(am__append_9) +src_testsuite_check_src_SCRPTS = $(src_testsuite_check_src_C99_SCRPTS) +src_testsuite_check_gen_SCRPTS = +src_testsuite_rpm_fake_test_SOURCES = src/testsuite/rpm-fake-test.c +src_testsuite_vunify_functest_SOURCES = src/testsuite/vunify-functest.c +src_testsuite_vunify_functest_LDADD = $(LIBINTERNAL) +src_testsuite_vunify_functest_CPPFLAGS = $(AM_CPPFLAGS) $(src_testsuite_CPPFLAGS) +src_testsuite_chcontext_test_SOURCES = src/testsuite/chcontext-test.c +src_testsuite_chcontext_test_LDADD = lib/libvserver.la $(LIBINTERNAL) +src_testsuite_chbind_test_SOURCES = src/testsuite/chbind-test.c +src_testsuite_chbind_test_LDADD = lib/libvserver.la +src_testsuite_hashcalc_SOURCES = src/testsuite/hashcalc.c +src_testsuite_hashcalc_plain_SOURCES = src/testsuite/hashcalc-plain.c +src_testsuite_hashcalc_CFLAGS = $(AM_CFLAGS) $(ENSC_CRYPTO_CFLAGS) +src_testsuite_hashcalc_plain_CFLAGS = $(AM_CFLAGS) $(ENSC_CRYPTO_CFLAGS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_testsuite_hashcalc_LDADD = $(LIBINTERNAL_GLIBC) $(LIBENSCVECTOR_GLIBC) $(LIBVSERVER_GLIBC) $(ENSC_CRYPTO_LIB) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_testsuite_hashcalc_LDADD = $(LIBINTERNAL) $(LIBENSCVECTOR) $(ENSC_CRYPTO_LIB) $(VSERVER_LDADDS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_testsuite_hashcalc_LDFLAGS = -Wl,--as-needed +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_testsuite_hashcalc_LDFLAGS = $(VSERVER_LDFLGS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_testsuite_hashcalc_plain_LDADD = $(LIBINTERNAL_GLIBC) $(LIBENSCVECTOR_GLIBC) $(LIBVSERVER_GLIBC) $(ENSC_CRYPTO_LIB) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_testsuite_hashcalc_plain_LDADD = $(LIBINTERNAL) $(LIBENSCVECTOR) $(ENSC_CRYPTO_LIB) $(VSERVER_LDADDS) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@src_testsuite_hashcalc_plain_LDFLAGS = -Wl,--as-needed +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE@src_testsuite_hashcalc_plain_LDFLAGS = $(VSERVER_LDFLGS) +src_testsuite_CPPFLAGS = -I $(top_srcdir)/src -D ENSC_TESTSUITE +doc_old_doc = doc/intro.txt +XSLT_AMFLAGS = --stringparam confdir '$(sysconfdir)/vservers' +XSLTP_AMFLAGS = -param confdir '$(sysconfdir)/vservers' +doc_gen_DOCS = doc/configuration.html \ + doc/compatibility.html + +doc_configuration_SRCS = doc/configuration.xml \ + doc/configuration.xsd \ + doc/configuration.dtd \ + doc/configuration.css \ + doc/configuration-xhtml.xsl \ + doc/configuration-wiki.xsl + +doc_compatibility_SRCS = doc/compatibility.xml \ + doc/compatibility.dtd \ + doc/compatibility-xhtml.xsl + +man_pages = man/chbind.8 \ + man/chcontext.8 \ + man/distrib-info.8 \ + man/rebootmgr.8 \ + man/reducecap.8 \ + man/vps.8 \ + man/vpstree.8 \ + man/vserver-copy.8 \ + man/vserver-stat.8 \ + man/vserver.8 \ + man/vtop.8 + +man_susbt_SRCS = man/vserver-build.8.pathsubst +man_gen_DTA = man/vserver-build.8 +scripts_pkglib_src_DTA = scripts/functions \ + scripts/vserver-build.apt-rpm \ + scripts/vserver-build.skeleton \ + scripts/vserver-build.debootstrap \ + scripts/vserver-build.fai \ + scripts/vserver-build.rpm \ + scripts/vserver-build.yum \ + scripts/vserver-build.template \ + scripts/vserver-build.rsync \ + scripts/vserver-build.clone \ + scripts/vserver-build.functions \ + scripts/vserver-build.functions.apt \ + scripts/vserver-build.functions.rpm \ + scripts/vserver-build.functions.pkgmgmt \ + scripts/vserver-build.functions.yum \ + scripts/vserver-setup.functions \ + scripts/vserver.functions \ + scripts/vserver.start \ + scripts/vserver.stop \ + scripts/vserver.suexec \ + scripts/vserver.delete \ + scripts/vserver-init.functions + +scripts_pkglib_gen_DTA = scripts/util-vserver-vars +scripts_pkglib_src_SCRPTS = scripts/pkgmgmt \ + scripts/vapt-get-worker \ + scripts/vpkg \ + scripts/vrpm-worker \ + scripts/vrpm-preload \ + scripts/start-vservers \ + scripts/vprocunhide \ + scripts/vserver-build \ + scripts/vserver-wrapper \ + scripts/vservers.grabinfo.sh \ + scripts/vshelper \ + scripts/vsysvwrapper \ + scripts/vyum-worker \ + scripts/h2ext-worker + +scripts_legacy_src_SCRPTS = scripts/legacy/save_s_context \ + scripts/legacy/vserver \ + scripts/legacy/rootshell \ + scripts/legacy/distrib-info \ + scripts/legacy/vserverkillall + +scripts_legacy_gen_SCRPTS = scripts/legacy/vps +scripts_legacy_src_PRGS = scripts/legacy/vserver-copy +scripts_sbin_src_PRGS = scripts/chbind \ + scripts/chcontext \ + scripts/vapt-get \ + scripts/vdispatch-conf \ + scripts/vemerge \ + scripts/vesync \ + scripts/vmount \ + scripts/vnamespace \ + scripts/vpstree \ + scripts/vrpm \ + scripts/vserver \ + scripts/vsomething \ + scripts/vtop \ + scripts/vupdateworld \ + scripts/vyum + +scripts_sbin_gen_PRGS = +scripts_sbincfg_gen_DTA = +scripts_subst_SRCS = scripts/util-vserver-vars.pathsubst \ + scripts/legacy/vps.pathsubst + +scripts_sbincfg_DTA = $(scripts_sbincfg_gen_DTA) +tests_dietprogs = tests/getctx \ + tests/getinitpid \ + tests/vserver-info + +tests_escaperoot_SOURCES = tests/escaperoot.c +tests_forkbomb_SOURCES = tests/forkbomb.c +tests_testipc_SOURCES = tests/testipc.c +tests_testlimit_SOURCES = tests/testlimit.c +tests_testopenf_SOURCES = tests/testopenf.c +tests_getctx_SOURCES = tests/getctx.c +tests_getctx_LDADD = $(VSERVER_LDADDS) +tests_getctx_LDFLAGS = $(VSERVER_LDFLGS) +tests_getinitpid_SOURCES = tests/getinitpid.c +tests_getinitpid_LDADD = $(VSERVER_LDADDS) +tests_getinitpid_LDFLAGS = $(VSERVER_LDFLGS) +tests_vserver_info_SOURCES = tests/vserver-info.c +tests_vserver_info_LDADD = $(VSERVER_LDADDS) +tests_vserver_info_LDFLAGS = $(VSERVER_LDFLGS) +sysv_src_SCRPTS = sysv/rebootmgr \ + sysv/vprocunhide \ + sysv/vservers-default \ + sysv/vservers-legacy \ + sysv/util-vserver + +sysv_gen_SCRPTS = sysv/v_gated \ + sysv/v_httpd \ + sysv/v_named \ + sysv/v_portmap \ + sysv/v_sendmail \ + sysv/v_smb \ + sysv/v_sshd \ + sysv/v_xinetd + +sysv_conf_DTA = sysv/vservers.conf +sysv_SUBSTRULE = s!/usr/lib/util-vserver!$(pkglibdir)!g; \ + s!^USR_SBIN=/usr/sbin$$!USR_SBIN=$(sbindir)!g; \ + s!^DEFAULT_VSERVERDIR=/vservers$$!DEFAULT_VSERVERDIR=$(vserverdir)!g + +contrib_gen_DTA = contrib/manifest.dat +contrib_subst_SRCS = contrib/manifest.dat.pathsubst +ENSC_VECTOR_SRCS = ensc_vector/vector-clear.c \ + ensc_vector/vector-foreach.c \ + ensc_vector/vector-free.c \ + ensc_vector/vector-init.c \ + ensc_vector/vector-insert.c \ + ensc_vector/vector-internal.h \ + ensc_vector/vector-popback.c \ + ensc_vector/vector-pushback.c \ + ensc_vector/vector-resize.c \ + ensc_vector/vector-resizeinternal.hc \ + ensc_vector/vector-search.c \ + ensc_vector/vector-searchselforg.c \ + ensc_vector/vector-sort.c \ + ensc_vector/vector-unique.c \ + ensc_vector/vector-zeroend.c \ + ensc_vector/list-at.c \ + ensc_vector/list-add.c \ + ensc_vector/list-free.c \ + ensc_vector/list-init.c \ + ensc_vector/list-insertinternal.c \ + ensc_vector/list-internal.h \ + ensc_vector/list-search.c \ + ensc_vector/list-searchselforg.c + +ENSC_VECTOR_HDRS = ensc_vector/vector.h \ + ensc_vector/vector.hc \ + ensc_vector/list.h \ + ensc_vector/list.hc + +libensc_vector_glibc_a_SOURCES = $(ENSC_VECTOR_SRCS) +libensc_vector_glibc_a_CPPFLAGS = $(AM_CPPFLAGS) +libensc_vector_diet_a_SOURCES = $(ENSC_VECTOR_SRCS) +libensc_vector_diet_a_CPPFLAGS = $(AM_CPPFLAGS) +ENSC_VECTOR_LIBS = $(am__append_14) $(am__append_15) +@ENSC_USE_GLIBC_FALSE@LIBENSCVECTOR_GLIBC = lib-glibc-not-enabled-error.a +@ENSC_USE_GLIBC_TRUE@LIBENSCVECTOR_GLIBC = libensc_vector-glibc.a +@ENSC_USE_DIETLIBC_FALSE@LIBENSCVECTOR_DIET = lib-dietlibc-not-enabled-error.a +@ENSC_USE_DIETLIBC_TRUE@LIBENSCVECTOR_DIET = libensc_vector-diet.a +@ENSC_USE_DIETLIBC_FALSE@@ENSC_USE_GLIBC_FALSE@LIBENSCVECTOR = lib-nolib-enabled-error.a +@ENSC_USE_DIETLIBC_FALSE@@ENSC_USE_GLIBC_TRUE@LIBENSCVECTOR = $(LIBENSCVECTOR_GLIBC) +@ENSC_USE_DIETLIBC_TRUE@LIBENSCVECTOR = $(LIBENSCVECTOR_DIET) +ensc_vector_testsuite_test1_SOURCES = ensc_vector/testsuite/test1.c +ensc_vector_testsuite_test1_LDADD = $(LIBENSCVECTOR) +ensc_vector_testsuite_test2_SOURCES = ensc_vector/testsuite/test2.c +ensc_vector_testsuite_test2_LDADD = $(LIBENSCVECTOR) +ensc_fmt_SRCS = \ + ensc_fmt/fmt-32.c \ + ensc_fmt/fmt-64.c \ + ensc_fmt/fmtx-32.c \ + ensc_fmt/fmtx-64.c \ + ensc_fmt/fmt-tai64n.c \ + ensc_fmt/fmt.h \ + ensc_fmt/fmt.hc \ + ensc_fmt/fmtx.hc \ + ensc_fmt/fmt-internal.h + +LIBINTERNAL_GLIBC = lib_internal/libinternal-glibc.a +@USE_DIETLIBC_FALSE@LIBINTERNAL_DIET = lib-dietlibc-not-enabled-error.a +@USE_DIETLIBC_TRUE@LIBINTERNAL_DIET = lib_internal/libinternal-diet.a +@USE_DIETLIBC_FALSE@LIBINTERNAL = $(LIBINTERNAL_GLIBC) +@USE_DIETLIBC_TRUE@LIBINTERNAL = $(LIBINTERNAL_DIET) +command_SRCS = lib_internal/command-appendparameter.c \ + lib_internal/command-setparams.c \ + lib_internal/command-exec.c\ + lib_internal/command-free.c \ + lib_internal/command-init.c \ + lib_internal/command-reset.c \ + lib_internal/command-wait.c \ + lib_internal/command.h + +@ENSC_HAVE_C99_COMPILER_TRUE@filecfg_SRCS = lib_internal/filecfg.h \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/filecfg-iteratemultiline.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/filecfg-readentryflag.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/filecfg-readentrystr.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/matchlist-initbyvserver.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/matchvserverinfo-init.c \ +@ENSC_HAVE_C99_COMPILER_TRUE@ lib_internal/unify-copy.c + +lib_internal_libinternal_common_SRCS = \ + lib_internal/errinfo-writeerrno.c \ + lib_internal/jailintotempdir.c \ + lib_internal/matchlist-appendfiles.c \ + lib_internal/matchlist-compare.c \ + lib_internal/matchlist-destroy.c \ + lib_internal/matchlist-init.c \ + lib_internal/matchlist-initmanually.c \ + lib_internal/matchlist-initrefserverlist.c \ + lib_internal/matchlist-printid.c \ + lib_internal/matchvserverinfo-free.c \ + lib_internal/pathinfo-append.c \ + lib_internal/pathinfo-test.c \ + lib_internal/switchtowatchxid.c \ + lib_internal/unify-deunify.c \ + lib_internal/unify-settime.c \ + lib_internal/unify-unify.c \ + lib_internal/unify-isiunlinkable.c \ + lib_internal/util-canonify.c \ + lib_internal/util-isnumber.hc \ + lib_internal/util-isnumber.c \ + lib_internal/util-isnumberunsigned.c \ + lib_internal/util-lockfile.c \ + lib_internal/util-safechdir.c \ + lib_internal/mkdir.c \ + $(command_SRCS) \ + $(filecfg_SRCS) + +lib_internal_libinternal_diet_a_SOURCES = \ + $(lib_internal_libinternal_common_SRCS) + +lib_internal_libinternal_glibc_a_SOURCES = \ + $(lib_internal_libinternal_common_SRCS) + +lib_internal_libinternal_diet_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) +lib_internal_libinternal_glibc_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) + +# When building both a GNU and a dietlibc version, set target specific +# CPPFLAGS to enforce separate compilation for both variants +lib_internal_testsuite_command_SOURCES = lib_internal/testsuite/command.c +lib_internal_testsuite_command_LDADD = $(LIBINTERNAL_GLIBC) \ + $(LIBENSCVECTOR_GLIBC) + +lib_internal_testsuite_filecfg_ml_SOURCES = lib_internal/testsuite/filecfg-ml.c +lib_internal_testsuite_filecfg_ml_LDADD = $(LIBINTERNAL_GLIBC) +lib_internal_testsuite_copy_SOURCES = lib_internal/testsuite/copy.c +lib_internal_testsuite_copy_LDADD = $(LIBINTERNAL_GLIBC) +lib_internal_testsuite_isnumber_SOURCES = lib_internal/testsuite/isnumber.c +lib_internal_testsuite_isnumber_LDADD = $(LIBINTERNAL) +lib_internal_testsuite_isnumber_CPPFLAGS = $(AM_CPPFLAGS) # see note above +lib_internal_testsuite_isnumber_gnu_SOURCES = lib_internal/testsuite/isnumber.c +lib_internal_testsuite_isnumber_gnu_LDADD = $(LIBINTERNAL_GLIBC) +lib_internal_testsuite_isnumber_gnu_CPPFLAGS = $(AM_CPPFLAGS) # see note above +lib_internal_testsuite_sigbus_SOURCES = lib_internal/testsuite/sigbus.c +lib_internal_testsuite_sigbus_CPPFLAGS = $(AM_CPPFLAGS) # see note above +lib_internal_testsuite_sigbus_gnu_SOURCES = lib_internal/testsuite/sigbus.c +lib_internal_testsuite_sigbus_gnu_CPPFLAGS = $(AM_CPPFLAGS) # see note above +lib_internal_testsuite_matchlist_SOURCES = lib_internal/testsuite/matchlist.c +lib_internal_testsuite_matchlist_LDADD = $(LIBINTERNAL) +lib_internal_testsuite_matchlist_CPPFLAGS = $(AM_CPPFLAGS) # see note above +lib_internal_testsuite_matchlist_gnu_SOURCES = lib_internal/testsuite/matchlist.c +lib_internal_testsuite_matchlist_gnu_LDADD = $(LIBINTERNAL_GLIBC) +lib_internal_testsuite_matchlist_gnu_CPPFLAGS = $(AM_CPPFLAGS) # see note above +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_speed_SOURCES = lib_internal/testsuite/crypto-speed.c +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_speed_CFLAGS = $(AM_CFLAGS) $(ENSC_CRYPTO_CFLAGS) +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_speed_LDADD = $(ENSC_CRYPTO_LIB) -lrt +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_SOURCES = lib_internal/testsuite/crypto.c +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_CFLAGS = $(AM_CFLAGS) $(ENSC_CRYPTO_CFLAGS) +@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_LDADD = $(ENSC_CRYPTO_LIB) +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_speed_LDFLAGS = -Wl,--as-needed +@ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE@@ENSC_HAVE_CRYPTO_TRUE@lib_internal_testsuite_crypto_LDFLAGS = -Wl,--as-needed +gentoo_src_SCRPTS = gentoo/vprocunhide \ + gentoo/vservers.default \ + gentoo/util-vserver + +@HAVE_PYTHON_TRUE@python__libvserver_la_SOURCES = python/_libvserver.c +@HAVE_PYTHON_TRUE@python__libvserver_la_CFLAGS = $(AM_CFLAGS) $(PYTHON_CFLAGS) \ +@HAVE_PYTHON_TRUE@ -I$(top_builddir)/python + +@HAVE_PYTHON_TRUE@python__libvserver_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) +@HAVE_PYTHON_TRUE@python__libvserver_la_LIBADD = $(LIBVSERVER_GLIBC) +BAD_INC_PATHS = /usr/include|/usr/local/include +BAD_LIB_PATHS = /usr/lib +pkgconfdir = $(libdir)/pkgconfig +pkgconf_DATA = $(addsuffix .pc, $(PKGCONFIG_FILES)) +pkgconf_SUBST = s!@'PACKAGE'@!$(PACKAGE)!g; \ + s!@'VERSION'@!$(VERSION)!g; \ + s!@'prefix'@!$(prefix)!g; \ + s!@'exec_prefix'@!$(exec_prefix)!g; \ + s!@'libdir'@!$(libdir)!g; \ + s!@'includedir'@!$(includedir)!g; \ + s!@'libflags"@!$${libflags}$(pkgconf_LIBFLAGS)!g;"' \ + s!@'incflags"@!$${incflags}$(pkgconf_INCFLAGS)!g;"' \ + s!@'pkgincflags"@!$${pkgincflags}$(pkgconf_PKGINCFLAGS)!g;"' \ + s!@'pkgincludedir'@!$(pkgincludedir)!g + +@ENSC_USE_GLIBC_FALSE@nodist_lib_glibc_not_enabled_error_a_SOURCES = \ +@ENSC_USE_GLIBC_FALSE@ lib-glibc-not-enabled-error.c + +all: $(BUILT_SOURCES) config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +am--refresh: + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/lib/Makefile-files $(srcdir)/lib/apidoc/Makefile-files $(srcdir)/lib/testsuite/Makefile-files $(top_srcdir)/src/Makefile-files $(top_srcdir)/src/testsuite/Makefile-files $(top_srcdir)/doc/Makefile-files $(top_srcdir)/man/Makefile-files $(top_srcdir)/scripts/Makefile-files $(top_srcdir)/tests/Makefile-files $(top_srcdir)/sysv/Makefile-files $(top_srcdir)/contrib/Makefile-files $(top_srcdir)/ensc_vector/Makefile-files $(srcdir)/ensc_vector/testsuite/Makefile-files $(top_srcdir)/ensc_wrappers/Makefile-files $(top_srcdir)/ensc_fmt/Makefile-files $(top_srcdir)/lib_internal/Makefile-files $(top_srcdir)/lib_internal/testsuite/Makefile-files $(top_srcdir)/gentoo/Makefile-files $(top_srcdir)/python/Makefile-files $(top_srcdir)/m4/gpgsig.am $(top_srcdir)/m4/validate.am $(top_srcdir)/m4/changelog.am $(top_srcdir)/m4/pkgconfig.am $(top_srcdir)/m4/libsel.am $(top_srcdir)/m4/install-notify.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ + cd $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +util-vserver.spec: $(top_builddir)/config.status $(srcdir)/util-vserver.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +lib/apidoc/Doxyfile: $(top_builddir)/config.status $(top_srcdir)/lib/apidoc/Doxyfile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-libLIBRARIES: $(lib_LIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" + @list='$(lib_LIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ + $(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + @$(POST_INSTALL) + @list='$(lib_LIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + p=$(am__strip_dir) \ + echo " $(RANLIB) '$(DESTDIR)$(libdir)/$$p'"; \ + $(RANLIB) "$(DESTDIR)$(libdir)/$$p"; \ + else :; fi; \ + done + +uninstall-libLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \ + rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + +clean-libLIBRARIES: + -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES) + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +lib-dietlibc-not-enabled-error.a: $(lib_dietlibc_not_enabled_error_a_OBJECTS) $(lib_dietlibc_not_enabled_error_a_DEPENDENCIES) + -rm -f lib-dietlibc-not-enabled-error.a + $(lib_dietlibc_not_enabled_error_a_AR) lib-dietlibc-not-enabled-error.a $(lib_dietlibc_not_enabled_error_a_OBJECTS) $(lib_dietlibc_not_enabled_error_a_LIBADD) + $(RANLIB) lib-dietlibc-not-enabled-error.a +lib-glibc-not-enabled-error.a: $(lib_glibc_not_enabled_error_a_OBJECTS) $(lib_glibc_not_enabled_error_a_DEPENDENCIES) + -rm -f lib-glibc-not-enabled-error.a + $(lib_glibc_not_enabled_error_a_AR) lib-glibc-not-enabled-error.a $(lib_glibc_not_enabled_error_a_OBJECTS) $(lib_glibc_not_enabled_error_a_LIBADD) + $(RANLIB) lib-glibc-not-enabled-error.a +lib/$(am__dirstamp): + @$(MKDIR_P) lib + @: > lib/$(am__dirstamp) +lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/$(DEPDIR) + @: > lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-checkversion.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-checkconfig.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-isdirectory.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-isfile.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-islink.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getnbipv4root.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getversion.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-capabilities.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getfilecontext.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getinsecurebcaps.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getxidtype.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-isdynamicxid.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-issupported.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-issupportedstring.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-listparser_uint32.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-listparser_uint64.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-personalityflag.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-personalityflag_list.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-personalitytype.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall-syscall.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-val2text-t2v-uint32.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-val2text-t2v-uint64.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-val2text-v2t-uint32.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-val2text-v2t-uint64.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-parselimit.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getprocentry-legacy.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-cflags-compat.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-cflags_list-compat.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-comparevserverbyid.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-createskeleton.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getvserverbyctx.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getvservercfgstyle.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getvserverappdir.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getvservercfgdir.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getvserverctx.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getvservername.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-getvservervdir.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-xidopt2xid.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-nidopt2nid.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-tagopt2tag.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-exitlikeprocess.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_rlimit.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_kill.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_ctxcreate.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_ctxmigrate.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_cleanupnamespace.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_enternamespace.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getccaps.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getcflags.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getiattr.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getncaps.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getnflags.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getnxinfo.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_gettasknid.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_gettaskxid.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getvhiname.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getvxinfo.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_netadd.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_netcreate.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_netmigrate.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_netremove.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setccaps.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setcflags.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setiattr.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setnamespace.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setncaps.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setnflags.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setsched.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setvhiname.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_waitexit.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-bcaps-v13.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-bcaps_list-v13.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-ccaps-v13.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-ccaps_list-v13.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-cflags-v13.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-cflags_list-v13.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-ncaps-net.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-ncaps_list-net.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-nflags-net.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-nflags_list-net.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_adddlimit.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getdlimit.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_remdlimit.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setdlimit.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_rlimitstat.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_resetminmax.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getvci.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_virtstat.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_ctxstat.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getspacemask.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setmapping.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_unsetmapping.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_schedinfo.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getsched.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_fsetiattr.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_fgetiattr.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_tagmigrate.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_tagcreate.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_tasktag.$(OBJEXT): lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getbadness.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_setbadness.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_a-syscall_getspacedefault.$(OBJEXT): \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/$(am__dirstamp): + @$(MKDIR_P) ensc_fmt + @: > ensc_fmt/$(am__dirstamp) +ensc_fmt/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ensc_fmt/$(DEPDIR) + @: > ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_a-fmt-32.$(OBJEXT): ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_a-fmt-64.$(OBJEXT): ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_a-fmtx-32.$(OBJEXT): ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_a-fmtx-64.$(OBJEXT): ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_a-fmt-tai64n.$(OBJEXT): \ + ensc_fmt/$(am__dirstamp) ensc_fmt/$(DEPDIR)/$(am__dirstamp) +lib/libvserver.a: $(lib_libvserver_a_OBJECTS) $(lib_libvserver_a_DEPENDENCIES) lib/$(am__dirstamp) + -rm -f lib/libvserver.a + $(lib_libvserver_a_AR) lib/libvserver.a $(lib_libvserver_a_OBJECTS) $(lib_libvserver_a_LIBADD) + $(RANLIB) lib/libvserver.a +lib_internal/$(am__dirstamp): + @$(MKDIR_P) lib_internal + @: > lib_internal/$(am__dirstamp) +lib_internal/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib_internal/$(DEPDIR) + @: > lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-init.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-unify-deunify.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-unify-settime.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-unify-unify.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-util-canonify.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-util-isnumber.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-util-lockfile.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-util-safechdir.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-mkdir.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-command-setparams.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-command-exec.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-command-free.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-command-init.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-command-reset.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-command-wait.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_diet_a-unify-copy.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/libinternal-diet.a: $(lib_internal_libinternal_diet_a_OBJECTS) $(lib_internal_libinternal_diet_a_DEPENDENCIES) lib_internal/$(am__dirstamp) + -rm -f lib_internal/libinternal-diet.a + $(lib_internal_libinternal_diet_a_AR) lib_internal/libinternal-diet.a $(lib_internal_libinternal_diet_a_OBJECTS) $(lib_internal_libinternal_diet_a_LIBADD) + $(RANLIB) lib_internal/libinternal-diet.a +lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-unify-settime.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-unify-unify.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-util-canonify.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-mkdir.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-command-setparams.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-command-exec.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-command-free.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-command-init.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-command-reset.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-command-wait.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/lib_internal_libinternal_glibc_a-unify-copy.$(OBJEXT): \ + lib_internal/$(am__dirstamp) \ + lib_internal/$(DEPDIR)/$(am__dirstamp) +lib_internal/libinternal-glibc.a: $(lib_internal_libinternal_glibc_a_OBJECTS) $(lib_internal_libinternal_glibc_a_DEPENDENCIES) lib_internal/$(am__dirstamp) + -rm -f lib_internal/libinternal-glibc.a + $(lib_internal_libinternal_glibc_a_AR) lib_internal/libinternal-glibc.a $(lib_internal_libinternal_glibc_a_OBJECTS) $(lib_internal_libinternal_glibc_a_LIBADD) + $(RANLIB) lib_internal/libinternal-glibc.a +ensc_vector/$(am__dirstamp): + @$(MKDIR_P) ensc_vector + @: > ensc_vector/$(am__dirstamp) +ensc_vector/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ensc_vector/$(DEPDIR) + @: > ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-clear.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-foreach.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-free.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-init.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-insert.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-popback.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-pushback.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-resize.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-search.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-searchselforg.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-sort.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-unique.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-vector-zeroend.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-list-at.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-list-add.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-list-free.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-list-init.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-list-insertinternal.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-list-search.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_diet_a-list-searchselforg.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +libensc_vector-diet.a: $(libensc_vector_diet_a_OBJECTS) $(libensc_vector_diet_a_DEPENDENCIES) + -rm -f libensc_vector-diet.a + $(libensc_vector_diet_a_AR) libensc_vector-diet.a $(libensc_vector_diet_a_OBJECTS) $(libensc_vector_diet_a_LIBADD) + $(RANLIB) libensc_vector-diet.a +ensc_vector/libensc_vector_glibc_a-vector-clear.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-foreach.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-free.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-init.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-insert.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-popback.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-pushback.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-resize.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-search.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-searchselforg.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-sort.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-unique.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-vector-zeroend.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-list-at.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-list-add.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-list-free.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-list-init.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-list-insertinternal.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-list-search.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +ensc_vector/libensc_vector_glibc_a-list-searchselforg.$(OBJEXT): \ + ensc_vector/$(am__dirstamp) \ + ensc_vector/$(DEPDIR)/$(am__dirstamp) +libensc_vector-glibc.a: $(libensc_vector_glibc_a_OBJECTS) $(libensc_vector_glibc_a_DEPENDENCIES) + -rm -f libensc_vector-glibc.a + $(libensc_vector_glibc_a_AR) libensc_vector-glibc.a $(libensc_vector_glibc_a_OBJECTS) $(libensc_vector_glibc_a_LIBADD) + $(RANLIB) libensc_vector-glibc.a +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ + else :; fi; \ + done + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ + else :; fi; \ + done + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$p'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$p"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-pyexecLTLIBRARIES: $(pyexec_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(pyexecdir)" || $(MKDIR_P) "$(DESTDIR)$(pyexecdir)" + @list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(pyexecdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pyexecLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(pyexecdir)/$$f"; \ + else :; fi; \ + done + +uninstall-pyexecLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pyexecdir)/$$p'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pyexecdir)/$$p"; \ + done + +clean-pyexecLTLIBRARIES: + -test -z "$(pyexec_LTLIBRARIES)" || rm -f $(pyexec_LTLIBRARIES) + @list='$(pyexec_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +lib/lib_libvserver_la-syscall.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-checkversion.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-checkconfig.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-isdirectory.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-isfile.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-islink.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getnbipv4root.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getversion.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-capabilities.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getfilecontext.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getinsecurebcaps.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getxidtype.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-isdynamicxid.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-issupported.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-issupportedstring.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-listparser_uint32.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-listparser_uint64.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-personalityflag.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-personalityflag_list.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-personalitytype.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall-syscall.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-val2text-t2v-uint32.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-val2text-t2v-uint64.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-val2text-v2t-uint32.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-val2text-v2t-uint64.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-parselimit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getprocentry-legacy.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-cflags-compat.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-cflags_list-compat.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-comparevserverbyid.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-createskeleton.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getvserverbyctx.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getvservercfgstyle.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getvserverappdir.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getvservercfgdir.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getvserverctx.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getvservername.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-getvservervdir.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-xidopt2xid.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-nidopt2nid.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-tagopt2tag.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-exitlikeprocess.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_rlimit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_kill.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_ctxcreate.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_ctxmigrate.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_cleanupnamespace.lo: \ + lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_enternamespace.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getccaps.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getcflags.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getiattr.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getncaps.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getnflags.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getnxinfo.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_gettasknid.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_gettaskxid.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getvhiname.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getvxinfo.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_netadd.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_netcreate.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_netmigrate.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_netremove.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setccaps.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setcflags.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setiattr.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setnamespace.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setncaps.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setnflags.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setsched.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setvhiname.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_waitexit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-bcaps-v13.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-bcaps_list-v13.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-ccaps-v13.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-ccaps_list-v13.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-cflags-v13.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-cflags_list-v13.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-ncaps-net.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-ncaps_list-net.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-nflags-net.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-nflags_list-net.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_adddlimit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getdlimit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_remdlimit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setdlimit.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_rlimitstat.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_resetminmax.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getvci.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_virtstat.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_ctxstat.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getspacemask.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setmapping.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_unsetmapping.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_schedinfo.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getsched.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_fsetiattr.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_fgetiattr.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_tagmigrate.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_tagcreate.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_tasktag.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getbadness.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_setbadness.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +lib/lib_libvserver_la-syscall_getspacedefault.lo: lib/$(am__dirstamp) \ + lib/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_la-fmt-32.lo: ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_la-fmt-64.lo: ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_la-fmtx-32.lo: ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_la-fmtx-64.lo: ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +ensc_fmt/lib_libvserver_la-fmt-tai64n.lo: ensc_fmt/$(am__dirstamp) \ + ensc_fmt/$(DEPDIR)/$(am__dirstamp) +lib/libvserver.la: $(lib_libvserver_la_OBJECTS) $(lib_libvserver_la_DEPENDENCIES) lib/$(am__dirstamp) + $(lib_libvserver_la_LINK) -rpath $(libdir) $(lib_libvserver_la_OBJECTS) $(lib_libvserver_la_LIBADD) $(LIBS) +python/$(am__dirstamp): + @$(MKDIR_P) python + @: > python/$(am__dirstamp) +python/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) python/$(DEPDIR) + @: > python/$(DEPDIR)/$(am__dirstamp) +python/python__libvserver_la-_libvserver.lo: python/$(am__dirstamp) \ + python/$(DEPDIR)/$(am__dirstamp) +python/_libvserver.la: $(python__libvserver_la_OBJECTS) $(python__libvserver_la_DEPENDENCIES) python/$(am__dirstamp) + $(python__libvserver_la_LINK) $(am_python__libvserver_la_rpath) $(python__libvserver_la_OBJECTS) $(python__libvserver_la_LIBADD) $(LIBS) +src/$(am__dirstamp): + @$(MKDIR_P) src + @: > src/$(am__dirstamp) +src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/$(DEPDIR) + @: > src/$(DEPDIR)/$(am__dirstamp) +src/src_rpm_fake_la-rpm-fake.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/rpm-fake.la: $(src_rpm_fake_la_OBJECTS) $(src_rpm_fake_la_DEPENDENCIES) src/$(am__dirstamp) + $(src_rpm_fake_la_LINK) -rpath $(pkglibdir) $(src_rpm_fake_la_OBJECTS) $(src_rpm_fake_la_LIBADD) $(LIBS) + +clean-checkPROGRAMS: + @list='$(check_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +install-legacyPROGRAMS: $(legacy_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(legacydir)" || $(MKDIR_P) "$(DESTDIR)$(legacydir)" + @list='$(legacy_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(legacyPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(legacydir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(legacyPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(legacydir)/$$f" || exit 1; \ + else :; fi; \ + done + +uninstall-legacyPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(legacy_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(legacydir)/$$f'"; \ + rm -f "$(DESTDIR)$(legacydir)/$$f"; \ + done + +clean-legacyPROGRAMS: + @list='$(legacy_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +install-pkglibPROGRAMS: $(pkglib_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(pkglibPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(pkglibdir)/$$f" || exit 1; \ + else :; fi; \ + done + +uninstall-pkglibPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibPROGRAMS: + @list='$(pkglib_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + || test -f $$p1 \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \ + else :; fi; \ + done + +uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \ + rm -f "$(DESTDIR)$(sbindir)/$$f"; \ + done + +clean-sbinPROGRAMS: + @list='$(sbin_PROGRAMS)'; for p in $$list; do \ + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +ensc_vector/testsuite/$(am__dirstamp): + @$(MKDIR_P) ensc_vector/testsuite + @: > ensc_vector/testsuite/$(am__dirstamp) +ensc_vector/testsuite/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ensc_vector/testsuite/$(DEPDIR) + @: > ensc_vector/testsuite/$(DEPDIR)/$(am__dirstamp) +ensc_vector/testsuite/test1.$(OBJEXT): \ + ensc_vector/testsuite/$(am__dirstamp) \ + ensc_vector/testsuite/$(DEPDIR)/$(am__dirstamp) +ensc_vector/testsuite/test1$(EXEEXT): $(ensc_vector_testsuite_test1_OBJECTS) $(ensc_vector_testsuite_test1_DEPENDENCIES) ensc_vector/testsuite/$(am__dirstamp) + @rm -f ensc_vector/testsuite/test1$(EXEEXT) + $(LINK) $(ensc_vector_testsuite_test1_OBJECTS) $(ensc_vector_testsuite_test1_LDADD) $(LIBS) +ensc_vector/testsuite/test2.$(OBJEXT): \ + ensc_vector/testsuite/$(am__dirstamp) \ + ensc_vector/testsuite/$(DEPDIR)/$(am__dirstamp) +ensc_vector/testsuite/test2$(EXEEXT): $(ensc_vector_testsuite_test2_OBJECTS) $(ensc_vector_testsuite_test2_DEPENDENCIES) ensc_vector/testsuite/$(am__dirstamp) + @rm -f ensc_vector/testsuite/test2$(EXEEXT) + $(LINK) $(ensc_vector_testsuite_test2_OBJECTS) $(ensc_vector_testsuite_test2_LDADD) $(LIBS) +lib/testsuite/$(am__dirstamp): + @$(MKDIR_P) lib/testsuite + @: > lib/testsuite/$(am__dirstamp) +lib/testsuite/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/testsuite/$(DEPDIR) + @: > lib/testsuite/$(DEPDIR)/$(am__dirstamp) +lib/testsuite/lib_testsuite_cflags-cflags.$(OBJEXT): \ + lib/testsuite/$(am__dirstamp) \ + lib/testsuite/$(DEPDIR)/$(am__dirstamp) +lib/testsuite/cflags$(EXEEXT): $(lib_testsuite_cflags_OBJECTS) $(lib_testsuite_cflags_DEPENDENCIES) lib/testsuite/$(am__dirstamp) + @rm -f lib/testsuite/cflags$(EXEEXT) + $(lib_testsuite_cflags_LINK) $(lib_testsuite_cflags_OBJECTS) $(lib_testsuite_cflags_LDADD) $(LIBS) +lib/testsuite/lib_testsuite_fmt-fmt.$(OBJEXT): \ + lib/testsuite/$(am__dirstamp) \ + lib/testsuite/$(DEPDIR)/$(am__dirstamp) +lib/testsuite/fmt$(EXEEXT): $(lib_testsuite_fmt_OBJECTS) $(lib_testsuite_fmt_DEPENDENCIES) lib/testsuite/$(am__dirstamp) + @rm -f lib/testsuite/fmt$(EXEEXT) + $(lib_testsuite_fmt_LINK) $(lib_testsuite_fmt_OBJECTS) $(lib_testsuite_fmt_LDADD) $(LIBS) +lib/testsuite/lib_testsuite_parselimit-parselimit.$(OBJEXT): \ + lib/testsuite/$(am__dirstamp) \ + lib/testsuite/$(DEPDIR)/$(am__dirstamp) +lib/testsuite/parselimit$(EXEEXT): $(lib_testsuite_parselimit_OBJECTS) $(lib_testsuite_parselimit_DEPENDENCIES) lib/testsuite/$(am__dirstamp) + @rm -f lib/testsuite/parselimit$(EXEEXT) + $(lib_testsuite_parselimit_LINK) $(lib_testsuite_parselimit_OBJECTS) $(lib_testsuite_parselimit_LDADD) $(LIBS) +lib/testsuite/lib_testsuite_personality-personality.$(OBJEXT): \ + lib/testsuite/$(am__dirstamp) \ + lib/testsuite/$(DEPDIR)/$(am__dirstamp) +lib/testsuite/personality$(EXEEXT): $(lib_testsuite_personality_OBJECTS) $(lib_testsuite_personality_DEPENDENCIES) lib/testsuite/$(am__dirstamp) + @rm -f lib/testsuite/personality$(EXEEXT) + $(lib_testsuite_personality_LINK) $(lib_testsuite_personality_OBJECTS) $(lib_testsuite_personality_LDADD) $(LIBS) +lib_internal/testsuite/$(am__dirstamp): + @$(MKDIR_P) lib_internal/testsuite + @: > lib_internal/testsuite/$(am__dirstamp) +lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib_internal/testsuite/$(DEPDIR) + @: > lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/command.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/command$(EXEEXT): $(lib_internal_testsuite_command_OBJECTS) $(lib_internal_testsuite_command_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/command$(EXEEXT) + $(LINK) $(lib_internal_testsuite_command_OBJECTS) $(lib_internal_testsuite_command_LDADD) $(LIBS) +lib_internal/testsuite/copy.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/copy$(EXEEXT): $(lib_internal_testsuite_copy_OBJECTS) $(lib_internal_testsuite_copy_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/copy$(EXEEXT) + $(LINK) $(lib_internal_testsuite_copy_OBJECTS) $(lib_internal_testsuite_copy_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/crypto$(EXEEXT): $(lib_internal_testsuite_crypto_OBJECTS) $(lib_internal_testsuite_crypto_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/crypto$(EXEEXT) + $(lib_internal_testsuite_crypto_LINK) $(lib_internal_testsuite_crypto_OBJECTS) $(lib_internal_testsuite_crypto_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/crypto-speed$(EXEEXT): $(lib_internal_testsuite_crypto_speed_OBJECTS) $(lib_internal_testsuite_crypto_speed_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/crypto-speed$(EXEEXT) + $(lib_internal_testsuite_crypto_speed_LINK) $(lib_internal_testsuite_crypto_speed_OBJECTS) $(lib_internal_testsuite_crypto_speed_LDADD) $(LIBS) +lib_internal/testsuite/filecfg-ml.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/filecfg-ml$(EXEEXT): $(lib_internal_testsuite_filecfg_ml_OBJECTS) $(lib_internal_testsuite_filecfg_ml_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/filecfg-ml$(EXEEXT) + $(LINK) $(lib_internal_testsuite_filecfg_ml_OBJECTS) $(lib_internal_testsuite_filecfg_ml_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/isnumber$(EXEEXT): $(lib_internal_testsuite_isnumber_OBJECTS) $(lib_internal_testsuite_isnumber_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/isnumber$(EXEEXT) + $(LINK) $(lib_internal_testsuite_isnumber_OBJECTS) $(lib_internal_testsuite_isnumber_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/isnumber-gnu$(EXEEXT): $(lib_internal_testsuite_isnumber_gnu_OBJECTS) $(lib_internal_testsuite_isnumber_gnu_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/isnumber-gnu$(EXEEXT) + $(LINK) $(lib_internal_testsuite_isnumber_gnu_OBJECTS) $(lib_internal_testsuite_isnumber_gnu_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/matchlist$(EXEEXT): $(lib_internal_testsuite_matchlist_OBJECTS) $(lib_internal_testsuite_matchlist_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/matchlist$(EXEEXT) + $(LINK) $(lib_internal_testsuite_matchlist_OBJECTS) $(lib_internal_testsuite_matchlist_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/matchlist-gnu$(EXEEXT): $(lib_internal_testsuite_matchlist_gnu_OBJECTS) $(lib_internal_testsuite_matchlist_gnu_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/matchlist-gnu$(EXEEXT) + $(LINK) $(lib_internal_testsuite_matchlist_gnu_OBJECTS) $(lib_internal_testsuite_matchlist_gnu_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/sigbus$(EXEEXT): $(lib_internal_testsuite_sigbus_OBJECTS) $(lib_internal_testsuite_sigbus_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/sigbus$(EXEEXT) + $(LINK) $(lib_internal_testsuite_sigbus_OBJECTS) $(lib_internal_testsuite_sigbus_LDADD) $(LIBS) +lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.$(OBJEXT): \ + lib_internal/testsuite/$(am__dirstamp) \ + lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) +lib_internal/testsuite/sigbus-gnu$(EXEEXT): $(lib_internal_testsuite_sigbus_gnu_OBJECTS) $(lib_internal_testsuite_sigbus_gnu_DEPENDENCIES) lib_internal/testsuite/$(am__dirstamp) + @rm -f lib_internal/testsuite/sigbus-gnu$(EXEEXT) + $(LINK) $(lib_internal_testsuite_sigbus_gnu_OBJECTS) $(lib_internal_testsuite_sigbus_gnu_LDADD) $(LIBS) +src/capchroot.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/capchroot$(EXEEXT): $(src_capchroot_OBJECTS) $(src_capchroot_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/capchroot$(EXEEXT) + $(src_capchroot_LINK) $(src_capchroot_OBJECTS) $(src_capchroot_LDADD) $(LIBS) +src/chain-echo.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/chain-echo$(EXEEXT): $(src_chain_echo_OBJECTS) $(src_chain_echo_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/chain-echo$(EXEEXT) + $(LINK) $(src_chain_echo_OBJECTS) $(src_chain_echo_LDADD) $(LIBS) +src/chbind.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/chbind-compat$(EXEEXT): $(src_chbind_compat_OBJECTS) $(src_chbind_compat_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/chbind-compat$(EXEEXT) + $(src_chbind_compat_LINK) $(src_chbind_compat_OBJECTS) $(src_chbind_compat_LDADD) $(LIBS) +src/chcontext.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/chcontext-compat$(EXEEXT): $(src_chcontext_compat_OBJECTS) $(src_chcontext_compat_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/chcontext-compat$(EXEEXT) + $(src_chcontext_compat_LINK) $(src_chcontext_compat_OBJECTS) $(src_chcontext_compat_LDADD) $(LIBS) +src/check-unixfile.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/check-unixfile$(EXEEXT): $(src_check_unixfile_OBJECTS) $(src_check_unixfile_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/check-unixfile$(EXEEXT) + $(LINK) $(src_check_unixfile_OBJECTS) $(src_check_unixfile_LDADD) $(LIBS) +src/chroot-sh.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/chroot-sh$(EXEEXT): $(src_chroot_sh_OBJECTS) $(src_chroot_sh_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/chroot-sh$(EXEEXT) + $(LINK) $(src_chroot_sh_OBJECTS) $(src_chroot_sh_LDADD) $(LIBS) +src/fstool.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/chxid.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/chxid$(EXEEXT): $(src_chxid_OBJECTS) $(src_chxid_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/chxid$(EXEEXT) + $(src_chxid_LINK) $(src_chxid_OBJECTS) $(src_chxid_LDADD) $(LIBS) +src/exec-cd.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/exec-cd$(EXEEXT): $(src_exec_cd_OBJECTS) $(src_exec_cd_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/exec-cd$(EXEEXT) + $(LINK) $(src_exec_cd_OBJECTS) $(src_exec_cd_LDADD) $(LIBS) +src/exec-remount.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/exec-remount$(EXEEXT): $(src_exec_remount_OBJECTS) $(src_exec_remount_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/exec-remount$(EXEEXT) + $(src_exec_remount_LINK) $(src_exec_remount_OBJECTS) $(src_exec_remount_LDADD) $(LIBS) +src/exec-ulimit.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/exec-ulimit$(EXEEXT): $(src_exec_ulimit_OBJECTS) $(src_exec_ulimit_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/exec-ulimit$(EXEEXT) + $(LINK) $(src_exec_ulimit_OBJECTS) $(src_exec_ulimit_LDADD) $(LIBS) +src/fakerunlevel.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/fakerunlevel$(EXEEXT): $(src_fakerunlevel_OBJECTS) $(src_fakerunlevel_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/fakerunlevel$(EXEEXT) + $(LINK) $(src_fakerunlevel_OBJECTS) $(src_fakerunlevel_LDADD) $(LIBS) +src/filetime.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/filetime$(EXEEXT): $(src_filetime_OBJECTS) $(src_filetime_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/filetime$(EXEEXT) + $(src_filetime_LINK) $(src_filetime_OBJECTS) $(src_filetime_LDADD) $(LIBS) +src/h2ext.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/h2ext$(EXEEXT): $(src_h2ext_OBJECTS) $(src_h2ext_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/h2ext$(EXEEXT) + $(src_h2ext_LINK) $(src_h2ext_OBJECTS) $(src_h2ext_LDADD) $(LIBS) +src/ifspec.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/ifspec$(EXEEXT): $(src_ifspec_OBJECTS) $(src_ifspec_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/ifspec$(EXEEXT) + $(LINK) $(src_ifspec_OBJECTS) $(src_ifspec_LDADD) $(LIBS) +src/keep-ctx-alive.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/keep-ctx-alive$(EXEEXT): $(src_keep_ctx_alive_OBJECTS) $(src_keep_ctx_alive_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/keep-ctx-alive$(EXEEXT) + $(src_keep_ctx_alive_LINK) $(src_keep_ctx_alive_OBJECTS) $(src_keep_ctx_alive_LDADD) $(LIBS) +src/listdevip.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/listdevip$(EXEEXT): $(src_listdevip_OBJECTS) $(src_listdevip_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/listdevip$(EXEEXT) + $(LINK) $(src_listdevip_OBJECTS) $(src_listdevip_LDADD) $(LIBS) +src/lockfile.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/lockfile$(EXEEXT): $(src_lockfile_OBJECTS) $(src_lockfile_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/lockfile$(EXEEXT) + $(LINK) $(src_lockfile_OBJECTS) $(src_lockfile_LDADD) $(LIBS) +src/lsxid.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/lsxid$(EXEEXT): $(src_lsxid_OBJECTS) $(src_lsxid_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/lsxid$(EXEEXT) + $(src_lsxid_LINK) $(src_lsxid_OBJECTS) $(src_lsxid_LDADD) $(LIBS) +src/mask2prefix.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/mask2prefix$(EXEEXT): $(src_mask2prefix_OBJECTS) $(src_mask2prefix_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/mask2prefix$(EXEEXT) + $(LINK) $(src_mask2prefix_OBJECTS) $(src_mask2prefix_LDADD) $(LIBS) +src/naddress.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/naddress$(EXEEXT): $(src_naddress_OBJECTS) $(src_naddress_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/naddress$(EXEEXT) + $(src_naddress_LINK) $(src_naddress_OBJECTS) $(src_naddress_LDADD) $(LIBS) +src/nattribute.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/nattribute$(EXEEXT): $(src_nattribute_OBJECTS) $(src_nattribute_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/nattribute$(EXEEXT) + $(src_nattribute_LINK) $(src_nattribute_OBJECTS) $(src_nattribute_LDADD) $(LIBS) +src/ncontext.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/ncontext$(EXEEXT): $(src_ncontext_OBJECTS) $(src_ncontext_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/ncontext$(EXEEXT) + $(src_ncontext_LINK) $(src_ncontext_OBJECTS) $(src_ncontext_LDADD) $(LIBS) +src/parserpmdump.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/parserpmdump$(EXEEXT): $(src_parserpmdump_OBJECTS) $(src_parserpmdump_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/parserpmdump$(EXEEXT) + $(LINK) $(src_parserpmdump_OBJECTS) $(src_parserpmdump_LDADD) $(LIBS) +src/readlink.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/readlink$(EXEEXT): $(src_readlink_OBJECTS) $(src_readlink_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/readlink$(EXEEXT) + $(LINK) $(src_readlink_OBJECTS) $(src_readlink_LDADD) $(LIBS) +src/rebootmgr.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/rebootmgr$(EXEEXT): $(src_rebootmgr_OBJECTS) $(src_rebootmgr_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/rebootmgr$(EXEEXT) + $(LINK) $(src_rebootmgr_OBJECTS) $(src_rebootmgr_LDADD) $(LIBS) +src/reducecap.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/reducecap$(EXEEXT): $(src_reducecap_OBJECTS) $(src_reducecap_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/reducecap$(EXEEXT) + $(src_reducecap_LINK) $(src_reducecap_OBJECTS) $(src_reducecap_LDADD) $(LIBS) +src/rpm-fake-resolver.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/rpm-fake-resolver$(EXEEXT): $(src_rpm_fake_resolver_OBJECTS) $(src_rpm_fake_resolver_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/rpm-fake-resolver$(EXEEXT) + $(src_rpm_fake_resolver_LINK) $(src_rpm_fake_resolver_OBJECTS) $(src_rpm_fake_resolver_LDADD) $(LIBS) +src/save_ctxinfo.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/save_ctxinfo$(EXEEXT): $(src_save_ctxinfo_OBJECTS) $(src_save_ctxinfo_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/save_ctxinfo$(EXEEXT) + $(src_save_ctxinfo_LINK) $(src_save_ctxinfo_OBJECTS) $(src_save_ctxinfo_LDADD) $(LIBS) +src/secure-mount.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/secure-mount$(EXEEXT): $(src_secure_mount_OBJECTS) $(src_secure_mount_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/secure-mount$(EXEEXT) + $(src_secure_mount_LINK) $(src_secure_mount_OBJECTS) $(src_secure_mount_LDADD) $(LIBS) +src/setattr.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/setattr$(EXEEXT): $(src_setattr_OBJECTS) $(src_setattr_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/setattr$(EXEEXT) + $(src_setattr_LINK) $(src_setattr_OBJECTS) $(src_setattr_LDADD) $(LIBS) +src/showattr.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/showattr$(EXEEXT): $(src_showattr_OBJECTS) $(src_showattr_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/showattr$(EXEEXT) + $(src_showattr_LINK) $(src_showattr_OBJECTS) $(src_showattr_LDADD) $(LIBS) +src/showperm.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/showperm$(EXEEXT): $(src_showperm_OBJECTS) $(src_showperm_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/showperm$(EXEEXT) + $(LINK) $(src_showperm_OBJECTS) $(src_showperm_LDADD) $(LIBS) +src/sigexec.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/sigexec$(EXEEXT): $(src_sigexec_OBJECTS) $(src_sigexec_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/sigexec$(EXEEXT) + $(LINK) $(src_sigexec_OBJECTS) $(src_sigexec_LDADD) $(LIBS) +src/testsuite/$(am__dirstamp): + @$(MKDIR_P) src/testsuite + @: > src/testsuite/$(am__dirstamp) +src/testsuite/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/testsuite/$(DEPDIR) + @: > src/testsuite/$(DEPDIR)/$(am__dirstamp) +src/testsuite/chbind-test.$(OBJEXT): src/testsuite/$(am__dirstamp) \ + src/testsuite/$(DEPDIR)/$(am__dirstamp) +src/testsuite/chbind-test$(EXEEXT): $(src_testsuite_chbind_test_OBJECTS) $(src_testsuite_chbind_test_DEPENDENCIES) src/testsuite/$(am__dirstamp) + @rm -f src/testsuite/chbind-test$(EXEEXT) + $(LINK) $(src_testsuite_chbind_test_OBJECTS) $(src_testsuite_chbind_test_LDADD) $(LIBS) +src/testsuite/chcontext-test.$(OBJEXT): src/testsuite/$(am__dirstamp) \ + src/testsuite/$(DEPDIR)/$(am__dirstamp) +src/testsuite/chcontext-test$(EXEEXT): $(src_testsuite_chcontext_test_OBJECTS) $(src_testsuite_chcontext_test_DEPENDENCIES) src/testsuite/$(am__dirstamp) + @rm -f src/testsuite/chcontext-test$(EXEEXT) + $(LINK) $(src_testsuite_chcontext_test_OBJECTS) $(src_testsuite_chcontext_test_LDADD) $(LIBS) +src/testsuite/src_testsuite_hashcalc-hashcalc.$(OBJEXT): \ + src/testsuite/$(am__dirstamp) \ + src/testsuite/$(DEPDIR)/$(am__dirstamp) +src/testsuite/hashcalc$(EXEEXT): $(src_testsuite_hashcalc_OBJECTS) $(src_testsuite_hashcalc_DEPENDENCIES) src/testsuite/$(am__dirstamp) + @rm -f src/testsuite/hashcalc$(EXEEXT) + $(src_testsuite_hashcalc_LINK) $(src_testsuite_hashcalc_OBJECTS) $(src_testsuite_hashcalc_LDADD) $(LIBS) +src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.$(OBJEXT): \ + src/testsuite/$(am__dirstamp) \ + src/testsuite/$(DEPDIR)/$(am__dirstamp) +src/testsuite/hashcalc-plain$(EXEEXT): $(src_testsuite_hashcalc_plain_OBJECTS) $(src_testsuite_hashcalc_plain_DEPENDENCIES) src/testsuite/$(am__dirstamp) + @rm -f src/testsuite/hashcalc-plain$(EXEEXT) + $(src_testsuite_hashcalc_plain_LINK) $(src_testsuite_hashcalc_plain_OBJECTS) $(src_testsuite_hashcalc_plain_LDADD) $(LIBS) +src/testsuite/rpm-fake-test.$(OBJEXT): src/testsuite/$(am__dirstamp) \ + src/testsuite/$(DEPDIR)/$(am__dirstamp) +src/testsuite/rpm-fake-test$(EXEEXT): $(src_testsuite_rpm_fake_test_OBJECTS) $(src_testsuite_rpm_fake_test_DEPENDENCIES) src/testsuite/$(am__dirstamp) + @rm -f src/testsuite/rpm-fake-test$(EXEEXT) + $(LINK) $(src_testsuite_rpm_fake_test_OBJECTS) $(src_testsuite_rpm_fake_test_LDADD) $(LIBS) +src/testsuite/src_testsuite_vunify_functest-vunify-functest.$(OBJEXT): \ + src/testsuite/$(am__dirstamp) \ + src/testsuite/$(DEPDIR)/$(am__dirstamp) +src/testsuite/vunify-functest$(EXEEXT): $(src_testsuite_vunify_functest_OBJECTS) $(src_testsuite_vunify_functest_DEPENDENCIES) src/testsuite/$(am__dirstamp) + @rm -f src/testsuite/vunify-functest$(EXEEXT) + $(LINK) $(src_testsuite_vunify_functest_OBJECTS) $(src_testsuite_vunify_functest_LDADD) $(LIBS) +src/tunctl.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/tunctl$(EXEEXT): $(src_tunctl_OBJECTS) $(src_tunctl_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/tunctl$(EXEEXT) + $(src_tunctl_LINK) $(src_tunctl_OBJECTS) $(src_tunctl_LDADD) $(LIBS) +src/vattribute.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vattribute$(EXEEXT): $(src_vattribute_OBJECTS) $(src_vattribute_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vattribute$(EXEEXT) + $(src_vattribute_LINK) $(src_vattribute_OBJECTS) $(src_vattribute_LDADD) $(LIBS) +src/vclone.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vclone$(EXEEXT): $(src_vclone_OBJECTS) $(src_vclone_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vclone$(EXEEXT) + $(src_vclone_LINK) $(src_vclone_OBJECTS) $(src_vclone_LDADD) $(LIBS) +src/vcontext.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vlogin.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vcontext$(EXEEXT): $(src_vcontext_OBJECTS) $(src_vcontext_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vcontext$(EXEEXT) + $(src_vcontext_LINK) $(src_vcontext_OBJECTS) $(src_vcontext_LDADD) $(LIBS) +src/vcopy.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/vcopy$(EXEEXT): $(src_vcopy_OBJECTS) $(src_vcopy_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vcopy$(EXEEXT) + $(src_vcopy_LINK) $(src_vcopy_OBJECTS) $(src_vcopy_LDADD) $(LIBS) +src/vdevmap.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vdevmap$(EXEEXT): $(src_vdevmap_OBJECTS) $(src_vdevmap_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vdevmap$(EXEEXT) + $(src_vdevmap_LINK) $(src_vdevmap_OBJECTS) $(src_vdevmap_LDADD) $(LIBS) +src/vdlimit.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vdlimit$(EXEEXT): $(src_vdlimit_OBJECTS) $(src_vdlimit_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vdlimit$(EXEEXT) + $(src_vdlimit_LINK) $(src_vdlimit_OBJECTS) $(src_vdlimit_LDADD) $(LIBS) +src/vdu.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/vdu$(EXEEXT): $(src_vdu_OBJECTS) $(src_vdu_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vdu$(EXEEXT) + $(src_vdu_LINK) $(src_vdu_OBJECTS) $(src_vdu_LDADD) $(LIBS) +src/src_vhashify-vhashify.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vhashify$(EXEEXT): $(src_vhashify_OBJECTS) $(src_vhashify_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vhashify$(EXEEXT) + $(src_vhashify_LINK) $(src_vhashify_OBJECTS) $(src_vhashify_LDADD) $(LIBS) +src/src_vkill-vkill.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vkill$(EXEEXT): $(src_vkill_OBJECTS) $(src_vkill_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vkill$(EXEEXT) + $(src_vkill_LINK) $(src_vkill_OBJECTS) $(src_vkill_LDADD) $(LIBS) +src/vlimit.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vlimit$(EXEEXT): $(src_vlimit_OBJECTS) $(src_vlimit_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vlimit$(EXEEXT) + $(src_vlimit_LINK) $(src_vlimit_OBJECTS) $(src_vlimit_LDADD) $(LIBS) +src/vmemctrl.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vmemctrl$(EXEEXT): $(src_vmemctrl_OBJECTS) $(src_vmemctrl_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vmemctrl$(EXEEXT) + $(src_vmemctrl_LINK) $(src_vmemctrl_OBJECTS) $(src_vmemctrl_LDADD) $(LIBS) +src/vps.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/vps$(EXEEXT): $(src_vps_OBJECTS) $(src_vps_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vps$(EXEEXT) + $(src_vps_LINK) $(src_vps_OBJECTS) $(src_vps_LDADD) $(LIBS) +src/vreboot.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vreboot$(EXEEXT): $(src_vreboot_OBJECTS) $(src_vreboot_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vreboot$(EXEEXT) + $(LINK) $(src_vreboot_OBJECTS) $(src_vreboot_LDADD) $(LIBS) +src/vrsetup.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vrsetup$(EXEEXT): $(src_vrsetup_OBJECTS) $(src_vrsetup_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vrsetup$(EXEEXT) + $(LINK) $(src_vrsetup_OBJECTS) $(src_vrsetup_LDADD) $(LIBS) +src/vsched.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vsched$(EXEEXT): $(src_vsched_OBJECTS) $(src_vsched_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vsched$(EXEEXT) + $(src_vsched_LINK) $(src_vsched_OBJECTS) $(src_vsched_LDADD) $(LIBS) +src/vserver-info.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vserver-info$(EXEEXT): $(src_vserver_info_OBJECTS) $(src_vserver_info_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vserver-info$(EXEEXT) + $(src_vserver_info_LINK) $(src_vserver_info_OBJECTS) $(src_vserver_info_LDADD) $(LIBS) +src/vserver-stat.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vserver-stat$(EXEEXT): $(src_vserver_stat_OBJECTS) $(src_vserver_stat_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vserver-stat$(EXEEXT) + $(src_vserver_stat_LINK) $(src_vserver_stat_OBJECTS) $(src_vserver_stat_LDADD) $(LIBS) +src/vshelper-sync.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vshelper-sync$(EXEEXT): $(src_vshelper_sync_OBJECTS) $(src_vshelper_sync_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vshelper-sync$(EXEEXT) + $(LINK) $(src_vshelper_sync_OBJECTS) $(src_vshelper_sync_LDADD) $(LIBS) +src/vspace.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vspace$(EXEEXT): $(src_vspace_OBJECTS) $(src_vspace_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vspace$(EXEEXT) + $(src_vspace_LINK) $(src_vspace_OBJECTS) $(src_vspace_LDADD) $(LIBS) +src/vsysctl.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vsysctl$(EXEEXT): $(src_vsysctl_OBJECTS) $(src_vsysctl_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vsysctl$(EXEEXT) + $(src_vsysctl_LINK) $(src_vsysctl_OBJECTS) $(src_vsysctl_LDADD) $(LIBS) +src/vtag.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/vtag$(EXEEXT): $(src_vtag_OBJECTS) $(src_vtag_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vtag$(EXEEXT) + $(src_vtag_LINK) $(src_vtag_OBJECTS) $(src_vtag_LDADD) $(LIBS) +src/vuname.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vuname$(EXEEXT): $(src_vuname_OBJECTS) $(src_vuname_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vuname$(EXEEXT) + $(src_vuname_LINK) $(src_vuname_OBJECTS) $(src_vuname_LDADD) $(LIBS) +src/vunify.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/vunify$(EXEEXT): $(src_vunify_OBJECTS) $(src_vunify_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vunify$(EXEEXT) + $(src_vunify_LINK) $(src_vunify_OBJECTS) $(src_vunify_LDADD) $(LIBS) +src/vwait.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/vwait$(EXEEXT): $(src_vwait_OBJECTS) $(src_vwait_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/vwait$(EXEEXT) + $(src_vwait_LINK) $(src_vwait_OBJECTS) $(src_vwait_LDADD) $(LIBS) +tests/$(am__dirstamp): + @$(MKDIR_P) tests + @: > tests/$(am__dirstamp) +tests/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tests/$(DEPDIR) + @: > tests/$(DEPDIR)/$(am__dirstamp) +tests/escaperoot.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/escaperoot$(EXEEXT): $(tests_escaperoot_OBJECTS) $(tests_escaperoot_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/escaperoot$(EXEEXT) + $(LINK) $(tests_escaperoot_OBJECTS) $(tests_escaperoot_LDADD) $(LIBS) +tests/forkbomb.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/forkbomb$(EXEEXT): $(tests_forkbomb_OBJECTS) $(tests_forkbomb_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/forkbomb$(EXEEXT) + $(LINK) $(tests_forkbomb_OBJECTS) $(tests_forkbomb_LDADD) $(LIBS) +tests/getctx.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/getctx$(EXEEXT): $(tests_getctx_OBJECTS) $(tests_getctx_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/getctx$(EXEEXT) + $(tests_getctx_LINK) $(tests_getctx_OBJECTS) $(tests_getctx_LDADD) $(LIBS) +tests/getinitpid.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/getinitpid$(EXEEXT): $(tests_getinitpid_OBJECTS) $(tests_getinitpid_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/getinitpid$(EXEEXT) + $(tests_getinitpid_LINK) $(tests_getinitpid_OBJECTS) $(tests_getinitpid_LDADD) $(LIBS) +tests/testipc.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/testipc$(EXEEXT): $(tests_testipc_OBJECTS) $(tests_testipc_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/testipc$(EXEEXT) + $(LINK) $(tests_testipc_OBJECTS) $(tests_testipc_LDADD) $(LIBS) +tests/testlimit.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/testlimit$(EXEEXT): $(tests_testlimit_OBJECTS) $(tests_testlimit_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/testlimit$(EXEEXT) + $(LINK) $(tests_testlimit_OBJECTS) $(tests_testlimit_LDADD) $(LIBS) +tests/testopenf.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/testopenf$(EXEEXT): $(tests_testopenf_OBJECTS) $(tests_testopenf_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/testopenf$(EXEEXT) + $(LINK) $(tests_testopenf_OBJECTS) $(tests_testopenf_LDADD) $(LIBS) +tests/vserver-info.$(OBJEXT): tests/$(am__dirstamp) \ + tests/$(DEPDIR)/$(am__dirstamp) +tests/vserver-info$(EXEEXT): $(tests_vserver_info_OBJECTS) $(tests_vserver_info_DEPENDENCIES) tests/$(am__dirstamp) + @rm -f tests/vserver-info$(EXEEXT) + $(tests_vserver_info_LINK) $(tests_vserver_info_OBJECTS) $(tests_vserver_info_LDADD) $(LIBS) +install-initrdSCRIPTS: $(initrd_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(initrddir)" || $(MKDIR_P) "$(DESTDIR)$(initrddir)" + @list='$(initrd_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(initrdSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(initrddir)/$$f'"; \ + $(initrdSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(initrddir)/$$f"; \ + else :; fi; \ + done + +uninstall-initrdSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(initrd_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(initrddir)/$$f'"; \ + rm -f "$(DESTDIR)$(initrddir)/$$f"; \ + done +install-legacySCRIPTS: $(legacy_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(legacydir)" || $(MKDIR_P) "$(DESTDIR)$(legacydir)" + @list='$(legacy_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(legacySCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(legacydir)/$$f'"; \ + $(legacySCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(legacydir)/$$f"; \ + else :; fi; \ + done + +uninstall-legacySCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(legacy_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(legacydir)/$$f'"; \ + rm -f "$(DESTDIR)$(legacydir)/$$f"; \ + done +install-pkglibSCRIPTS: $(pkglib_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(pkglibSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(pkglibSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ + else :; fi; \ + done + +uninstall-pkglibSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done +install-sbinSCRIPTS: $(sbin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_SCRIPTS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " $(sbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(sbindir)/$$f'"; \ + $(sbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(sbindir)/$$f"; \ + else :; fi; \ + done + +uninstall-sbinSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_SCRIPTS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \ + rm -f "$(DESTDIR)$(sbindir)/$$f"; \ + done + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_a-fmt-32.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_a-fmt-64.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_a-fmt-tai64n.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_a-fmtx-32.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_a-fmtx-64.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_la-fmt-32.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_la-fmt-32.lo + -rm -f ensc_fmt/lib_libvserver_la-fmt-64.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_la-fmt-64.lo + -rm -f ensc_fmt/lib_libvserver_la-fmt-tai64n.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_la-fmt-tai64n.lo + -rm -f ensc_fmt/lib_libvserver_la-fmtx-32.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_la-fmtx-32.lo + -rm -f ensc_fmt/lib_libvserver_la-fmtx-64.$(OBJEXT) + -rm -f ensc_fmt/lib_libvserver_la-fmtx-64.lo + -rm -f ensc_vector/libensc_vector_diet_a-list-add.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-list-at.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-list-free.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-list-init.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-list-insertinternal.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-list-search.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-list-searchselforg.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-clear.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-foreach.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-free.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-init.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-insert.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-popback.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-pushback.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-resize.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-search.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-searchselforg.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-sort.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-unique.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_diet_a-vector-zeroend.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-list-add.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-list-at.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-list-free.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-list-init.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-list-insertinternal.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-list-search.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-list-searchselforg.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-clear.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-foreach.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-free.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-init.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-insert.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-popback.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-pushback.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-resize.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-search.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-searchselforg.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-sort.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-unique.$(OBJEXT) + -rm -f ensc_vector/libensc_vector_glibc_a-vector-zeroend.$(OBJEXT) + -rm -f ensc_vector/testsuite/test1.$(OBJEXT) + -rm -f ensc_vector/testsuite/test2.$(OBJEXT) + -rm -f lib/lib_libvserver_a-bcaps-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_a-bcaps_list-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_a-capabilities.$(OBJEXT) + -rm -f lib/lib_libvserver_a-ccaps-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_a-ccaps_list-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_a-cflags-compat.$(OBJEXT) + -rm -f lib/lib_libvserver_a-cflags-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_a-cflags_list-compat.$(OBJEXT) + -rm -f lib/lib_libvserver_a-cflags_list-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_a-checkconfig.$(OBJEXT) + -rm -f lib/lib_libvserver_a-checkversion.$(OBJEXT) + -rm -f lib/lib_libvserver_a-comparevserverbyid.$(OBJEXT) + -rm -f lib/lib_libvserver_a-createskeleton.$(OBJEXT) + -rm -f lib/lib_libvserver_a-exitlikeprocess.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getfilecontext.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getinsecurebcaps.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getnbipv4root.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getprocentry-legacy.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getversion.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getvserverappdir.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getvserverbyctx.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getvservercfgdir.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getvservercfgstyle.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getvserverctx.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getvservername.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getvservervdir.$(OBJEXT) + -rm -f lib/lib_libvserver_a-getxidtype.$(OBJEXT) + -rm -f lib/lib_libvserver_a-isdirectory.$(OBJEXT) + -rm -f lib/lib_libvserver_a-isdynamicxid.$(OBJEXT) + -rm -f lib/lib_libvserver_a-isfile.$(OBJEXT) + -rm -f lib/lib_libvserver_a-islink.$(OBJEXT) + -rm -f lib/lib_libvserver_a-issupported.$(OBJEXT) + -rm -f lib/lib_libvserver_a-issupportedstring.$(OBJEXT) + -rm -f lib/lib_libvserver_a-listparser_uint32.$(OBJEXT) + -rm -f lib/lib_libvserver_a-listparser_uint64.$(OBJEXT) + -rm -f lib/lib_libvserver_a-ncaps-net.$(OBJEXT) + -rm -f lib/lib_libvserver_a-ncaps_list-net.$(OBJEXT) + -rm -f lib/lib_libvserver_a-nflags-net.$(OBJEXT) + -rm -f lib/lib_libvserver_a-nflags_list-net.$(OBJEXT) + -rm -f lib/lib_libvserver_a-nidopt2nid.$(OBJEXT) + -rm -f lib/lib_libvserver_a-parselimit.$(OBJEXT) + -rm -f lib/lib_libvserver_a-personalityflag.$(OBJEXT) + -rm -f lib/lib_libvserver_a-personalityflag_list.$(OBJEXT) + -rm -f lib/lib_libvserver_a-personalitytype.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall-syscall.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_adddlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_cleanupnamespace.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_ctxcreate.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_ctxmigrate.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_ctxstat.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_enternamespace.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_fgetiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_fsetiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getbadness.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getccaps.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getcflags.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getdlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getncaps.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getnflags.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getnxinfo.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getsched.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getspacedefault.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getspacemask.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_gettasknid.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_gettaskxid.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getvci.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getvhiname.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_getvxinfo.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_kill.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_netadd.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_netcreate.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_netmigrate.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_netremove.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_remdlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_resetminmax.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_rlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_rlimitstat.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_schedinfo.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setbadness.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setccaps.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setcflags.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setdlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setmapping.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setnamespace.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setncaps.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setnflags.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setsched.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_setvhiname.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_tagcreate.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_tagmigrate.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_tasktag.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_unsetmapping.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_virtstat.$(OBJEXT) + -rm -f lib/lib_libvserver_a-syscall_waitexit.$(OBJEXT) + -rm -f lib/lib_libvserver_a-tagopt2tag.$(OBJEXT) + -rm -f lib/lib_libvserver_a-val2text-t2v-uint32.$(OBJEXT) + -rm -f lib/lib_libvserver_a-val2text-t2v-uint64.$(OBJEXT) + -rm -f lib/lib_libvserver_a-val2text-v2t-uint32.$(OBJEXT) + -rm -f lib/lib_libvserver_a-val2text-v2t-uint64.$(OBJEXT) + -rm -f lib/lib_libvserver_a-xidopt2xid.$(OBJEXT) + -rm -f lib/lib_libvserver_la-bcaps-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_la-bcaps-v13.lo + -rm -f lib/lib_libvserver_la-bcaps_list-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_la-bcaps_list-v13.lo + -rm -f lib/lib_libvserver_la-capabilities.$(OBJEXT) + -rm -f lib/lib_libvserver_la-capabilities.lo + -rm -f lib/lib_libvserver_la-ccaps-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_la-ccaps-v13.lo + -rm -f lib/lib_libvserver_la-ccaps_list-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_la-ccaps_list-v13.lo + -rm -f lib/lib_libvserver_la-cflags-compat.$(OBJEXT) + -rm -f lib/lib_libvserver_la-cflags-compat.lo + -rm -f lib/lib_libvserver_la-cflags-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_la-cflags-v13.lo + -rm -f lib/lib_libvserver_la-cflags_list-compat.$(OBJEXT) + -rm -f lib/lib_libvserver_la-cflags_list-compat.lo + -rm -f lib/lib_libvserver_la-cflags_list-v13.$(OBJEXT) + -rm -f lib/lib_libvserver_la-cflags_list-v13.lo + -rm -f lib/lib_libvserver_la-checkconfig.$(OBJEXT) + -rm -f lib/lib_libvserver_la-checkconfig.lo + -rm -f lib/lib_libvserver_la-checkversion.$(OBJEXT) + -rm -f lib/lib_libvserver_la-checkversion.lo + -rm -f lib/lib_libvserver_la-comparevserverbyid.$(OBJEXT) + -rm -f lib/lib_libvserver_la-comparevserverbyid.lo + -rm -f lib/lib_libvserver_la-createskeleton.$(OBJEXT) + -rm -f lib/lib_libvserver_la-createskeleton.lo + -rm -f lib/lib_libvserver_la-exitlikeprocess.$(OBJEXT) + -rm -f lib/lib_libvserver_la-exitlikeprocess.lo + -rm -f lib/lib_libvserver_la-getfilecontext.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getfilecontext.lo + -rm -f lib/lib_libvserver_la-getinsecurebcaps.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getinsecurebcaps.lo + -rm -f lib/lib_libvserver_la-getnbipv4root.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getnbipv4root.lo + -rm -f lib/lib_libvserver_la-getprocentry-legacy.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getprocentry-legacy.lo + -rm -f lib/lib_libvserver_la-getversion.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getversion.lo + -rm -f lib/lib_libvserver_la-getvserverappdir.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getvserverappdir.lo + -rm -f lib/lib_libvserver_la-getvserverbyctx.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getvserverbyctx.lo + -rm -f lib/lib_libvserver_la-getvservercfgdir.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getvservercfgdir.lo + -rm -f lib/lib_libvserver_la-getvservercfgstyle.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getvservercfgstyle.lo + -rm -f lib/lib_libvserver_la-getvserverctx.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getvserverctx.lo + -rm -f lib/lib_libvserver_la-getvservername.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getvservername.lo + -rm -f lib/lib_libvserver_la-getvservervdir.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getvservervdir.lo + -rm -f lib/lib_libvserver_la-getxidtype.$(OBJEXT) + -rm -f lib/lib_libvserver_la-getxidtype.lo + -rm -f lib/lib_libvserver_la-isdirectory.$(OBJEXT) + -rm -f lib/lib_libvserver_la-isdirectory.lo + -rm -f lib/lib_libvserver_la-isdynamicxid.$(OBJEXT) + -rm -f lib/lib_libvserver_la-isdynamicxid.lo + -rm -f lib/lib_libvserver_la-isfile.$(OBJEXT) + -rm -f lib/lib_libvserver_la-isfile.lo + -rm -f lib/lib_libvserver_la-islink.$(OBJEXT) + -rm -f lib/lib_libvserver_la-islink.lo + -rm -f lib/lib_libvserver_la-issupported.$(OBJEXT) + -rm -f lib/lib_libvserver_la-issupported.lo + -rm -f lib/lib_libvserver_la-issupportedstring.$(OBJEXT) + -rm -f lib/lib_libvserver_la-issupportedstring.lo + -rm -f lib/lib_libvserver_la-listparser_uint32.$(OBJEXT) + -rm -f lib/lib_libvserver_la-listparser_uint32.lo + -rm -f lib/lib_libvserver_la-listparser_uint64.$(OBJEXT) + -rm -f lib/lib_libvserver_la-listparser_uint64.lo + -rm -f lib/lib_libvserver_la-ncaps-net.$(OBJEXT) + -rm -f lib/lib_libvserver_la-ncaps-net.lo + -rm -f lib/lib_libvserver_la-ncaps_list-net.$(OBJEXT) + -rm -f lib/lib_libvserver_la-ncaps_list-net.lo + -rm -f lib/lib_libvserver_la-nflags-net.$(OBJEXT) + -rm -f lib/lib_libvserver_la-nflags-net.lo + -rm -f lib/lib_libvserver_la-nflags_list-net.$(OBJEXT) + -rm -f lib/lib_libvserver_la-nflags_list-net.lo + -rm -f lib/lib_libvserver_la-nidopt2nid.$(OBJEXT) + -rm -f lib/lib_libvserver_la-nidopt2nid.lo + -rm -f lib/lib_libvserver_la-parselimit.$(OBJEXT) + -rm -f lib/lib_libvserver_la-parselimit.lo + -rm -f lib/lib_libvserver_la-personalityflag.$(OBJEXT) + -rm -f lib/lib_libvserver_la-personalityflag.lo + -rm -f lib/lib_libvserver_la-personalityflag_list.$(OBJEXT) + -rm -f lib/lib_libvserver_la-personalityflag_list.lo + -rm -f lib/lib_libvserver_la-personalitytype.$(OBJEXT) + -rm -f lib/lib_libvserver_la-personalitytype.lo + -rm -f lib/lib_libvserver_la-syscall-syscall.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall-syscall.lo + -rm -f lib/lib_libvserver_la-syscall.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall.lo + -rm -f lib/lib_libvserver_la-syscall_adddlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_adddlimit.lo + -rm -f lib/lib_libvserver_la-syscall_cleanupnamespace.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_cleanupnamespace.lo + -rm -f lib/lib_libvserver_la-syscall_ctxcreate.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_ctxcreate.lo + -rm -f lib/lib_libvserver_la-syscall_ctxmigrate.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_ctxmigrate.lo + -rm -f lib/lib_libvserver_la-syscall_ctxstat.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_ctxstat.lo + -rm -f lib/lib_libvserver_la-syscall_enternamespace.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_enternamespace.lo + -rm -f lib/lib_libvserver_la-syscall_fgetiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_fgetiattr.lo + -rm -f lib/lib_libvserver_la-syscall_fsetiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_fsetiattr.lo + -rm -f lib/lib_libvserver_la-syscall_getbadness.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getbadness.lo + -rm -f lib/lib_libvserver_la-syscall_getccaps.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getccaps.lo + -rm -f lib/lib_libvserver_la-syscall_getcflags.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getcflags.lo + -rm -f lib/lib_libvserver_la-syscall_getdlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getdlimit.lo + -rm -f lib/lib_libvserver_la-syscall_getiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getiattr.lo + -rm -f lib/lib_libvserver_la-syscall_getncaps.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getncaps.lo + -rm -f lib/lib_libvserver_la-syscall_getnflags.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getnflags.lo + -rm -f lib/lib_libvserver_la-syscall_getnxinfo.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getnxinfo.lo + -rm -f lib/lib_libvserver_la-syscall_getsched.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getsched.lo + -rm -f lib/lib_libvserver_la-syscall_getspacedefault.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getspacedefault.lo + -rm -f lib/lib_libvserver_la-syscall_getspacemask.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getspacemask.lo + -rm -f lib/lib_libvserver_la-syscall_gettasknid.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_gettasknid.lo + -rm -f lib/lib_libvserver_la-syscall_gettaskxid.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_gettaskxid.lo + -rm -f lib/lib_libvserver_la-syscall_getvci.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getvci.lo + -rm -f lib/lib_libvserver_la-syscall_getvhiname.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getvhiname.lo + -rm -f lib/lib_libvserver_la-syscall_getvxinfo.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_getvxinfo.lo + -rm -f lib/lib_libvserver_la-syscall_kill.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_kill.lo + -rm -f lib/lib_libvserver_la-syscall_netadd.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_netadd.lo + -rm -f lib/lib_libvserver_la-syscall_netcreate.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_netcreate.lo + -rm -f lib/lib_libvserver_la-syscall_netmigrate.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_netmigrate.lo + -rm -f lib/lib_libvserver_la-syscall_netremove.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_netremove.lo + -rm -f lib/lib_libvserver_la-syscall_remdlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_remdlimit.lo + -rm -f lib/lib_libvserver_la-syscall_resetminmax.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_resetminmax.lo + -rm -f lib/lib_libvserver_la-syscall_rlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_rlimit.lo + -rm -f lib/lib_libvserver_la-syscall_rlimitstat.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_rlimitstat.lo + -rm -f lib/lib_libvserver_la-syscall_schedinfo.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_schedinfo.lo + -rm -f lib/lib_libvserver_la-syscall_setbadness.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setbadness.lo + -rm -f lib/lib_libvserver_la-syscall_setccaps.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setccaps.lo + -rm -f lib/lib_libvserver_la-syscall_setcflags.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setcflags.lo + -rm -f lib/lib_libvserver_la-syscall_setdlimit.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setdlimit.lo + -rm -f lib/lib_libvserver_la-syscall_setiattr.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setiattr.lo + -rm -f lib/lib_libvserver_la-syscall_setmapping.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setmapping.lo + -rm -f lib/lib_libvserver_la-syscall_setnamespace.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setnamespace.lo + -rm -f lib/lib_libvserver_la-syscall_setncaps.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setncaps.lo + -rm -f lib/lib_libvserver_la-syscall_setnflags.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setnflags.lo + -rm -f lib/lib_libvserver_la-syscall_setsched.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setsched.lo + -rm -f lib/lib_libvserver_la-syscall_setvhiname.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_setvhiname.lo + -rm -f lib/lib_libvserver_la-syscall_tagcreate.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_tagcreate.lo + -rm -f lib/lib_libvserver_la-syscall_tagmigrate.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_tagmigrate.lo + -rm -f lib/lib_libvserver_la-syscall_tasktag.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_tasktag.lo + -rm -f lib/lib_libvserver_la-syscall_unsetmapping.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_unsetmapping.lo + -rm -f lib/lib_libvserver_la-syscall_virtstat.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_virtstat.lo + -rm -f lib/lib_libvserver_la-syscall_waitexit.$(OBJEXT) + -rm -f lib/lib_libvserver_la-syscall_waitexit.lo + -rm -f lib/lib_libvserver_la-tagopt2tag.$(OBJEXT) + -rm -f lib/lib_libvserver_la-tagopt2tag.lo + -rm -f lib/lib_libvserver_la-val2text-t2v-uint32.$(OBJEXT) + -rm -f lib/lib_libvserver_la-val2text-t2v-uint32.lo + -rm -f lib/lib_libvserver_la-val2text-t2v-uint64.$(OBJEXT) + -rm -f lib/lib_libvserver_la-val2text-t2v-uint64.lo + -rm -f lib/lib_libvserver_la-val2text-v2t-uint32.$(OBJEXT) + -rm -f lib/lib_libvserver_la-val2text-v2t-uint32.lo + -rm -f lib/lib_libvserver_la-val2text-v2t-uint64.$(OBJEXT) + -rm -f lib/lib_libvserver_la-val2text-v2t-uint64.lo + -rm -f lib/lib_libvserver_la-xidopt2xid.$(OBJEXT) + -rm -f lib/lib_libvserver_la-xidopt2xid.lo + -rm -f lib/testsuite/lib_testsuite_cflags-cflags.$(OBJEXT) + -rm -f lib/testsuite/lib_testsuite_fmt-fmt.$(OBJEXT) + -rm -f lib/testsuite/lib_testsuite_parselimit-parselimit.$(OBJEXT) + -rm -f lib/testsuite/lib_testsuite_personality-personality.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-command-exec.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-command-free.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-command-init.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-command-reset.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-command-setparams.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-command-wait.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-init.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-mkdir.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-unify-copy.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-unify-deunify.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-unify-settime.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-unify-unify.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-util-canonify.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-util-isnumber.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-util-lockfile.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_diet_a-util-safechdir.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-command-exec.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-command-free.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-command-init.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-command-reset.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-command-setparams.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-command-wait.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-mkdir.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-unify-copy.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-unify-settime.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-unify-unify.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-util-canonify.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.$(OBJEXT) + -rm -f lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.$(OBJEXT) + -rm -f lib_internal/testsuite/command.$(OBJEXT) + -rm -f lib_internal/testsuite/copy.$(OBJEXT) + -rm -f lib_internal/testsuite/filecfg-ml.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.$(OBJEXT) + -rm -f lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.$(OBJEXT) + -rm -f python/python__libvserver_la-_libvserver.$(OBJEXT) + -rm -f python/python__libvserver_la-_libvserver.lo + -rm -f src/capchroot.$(OBJEXT) + -rm -f src/chain-echo.$(OBJEXT) + -rm -f src/chbind.$(OBJEXT) + -rm -f src/chcontext.$(OBJEXT) + -rm -f src/check-unixfile.$(OBJEXT) + -rm -f src/chroot-sh.$(OBJEXT) + -rm -f src/chxid.$(OBJEXT) + -rm -f src/exec-cd.$(OBJEXT) + -rm -f src/exec-remount.$(OBJEXT) + -rm -f src/exec-ulimit.$(OBJEXT) + -rm -f src/fakerunlevel.$(OBJEXT) + -rm -f src/filetime.$(OBJEXT) + -rm -f src/fstool.$(OBJEXT) + -rm -f src/h2ext.$(OBJEXT) + -rm -f src/ifspec.$(OBJEXT) + -rm -f src/keep-ctx-alive.$(OBJEXT) + -rm -f src/listdevip.$(OBJEXT) + -rm -f src/lockfile.$(OBJEXT) + -rm -f src/lsxid.$(OBJEXT) + -rm -f src/mask2prefix.$(OBJEXT) + -rm -f src/naddress.$(OBJEXT) + -rm -f src/nattribute.$(OBJEXT) + -rm -f src/ncontext.$(OBJEXT) + -rm -f src/parserpmdump.$(OBJEXT) + -rm -f src/readlink.$(OBJEXT) + -rm -f src/rebootmgr.$(OBJEXT) + -rm -f src/reducecap.$(OBJEXT) + -rm -f src/rpm-fake-resolver.$(OBJEXT) + -rm -f src/save_ctxinfo.$(OBJEXT) + -rm -f src/secure-mount.$(OBJEXT) + -rm -f src/setattr.$(OBJEXT) + -rm -f src/showattr.$(OBJEXT) + -rm -f src/showperm.$(OBJEXT) + -rm -f src/sigexec.$(OBJEXT) + -rm -f src/src_rpm_fake_la-rpm-fake.$(OBJEXT) + -rm -f src/src_rpm_fake_la-rpm-fake.lo + -rm -f src/src_vhashify-vhashify.$(OBJEXT) + -rm -f src/src_vkill-vkill.$(OBJEXT) + -rm -f src/testsuite/chbind-test.$(OBJEXT) + -rm -f src/testsuite/chcontext-test.$(OBJEXT) + -rm -f src/testsuite/rpm-fake-test.$(OBJEXT) + -rm -f src/testsuite/src_testsuite_hashcalc-hashcalc.$(OBJEXT) + -rm -f src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.$(OBJEXT) + -rm -f src/testsuite/src_testsuite_vunify_functest-vunify-functest.$(OBJEXT) + -rm -f src/tunctl.$(OBJEXT) + -rm -f src/vattribute.$(OBJEXT) + -rm -f src/vclone.$(OBJEXT) + -rm -f src/vcontext.$(OBJEXT) + -rm -f src/vcopy.$(OBJEXT) + -rm -f src/vdevmap.$(OBJEXT) + -rm -f src/vdlimit.$(OBJEXT) + -rm -f src/vdu.$(OBJEXT) + -rm -f src/vlimit.$(OBJEXT) + -rm -f src/vlogin.$(OBJEXT) + -rm -f src/vmemctrl.$(OBJEXT) + -rm -f src/vps.$(OBJEXT) + -rm -f src/vreboot.$(OBJEXT) + -rm -f src/vrsetup.$(OBJEXT) + -rm -f src/vsched.$(OBJEXT) + -rm -f src/vserver-info.$(OBJEXT) + -rm -f src/vserver-stat.$(OBJEXT) + -rm -f src/vshelper-sync.$(OBJEXT) + -rm -f src/vspace.$(OBJEXT) + -rm -f src/vsysctl.$(OBJEXT) + -rm -f src/vtag.$(OBJEXT) + -rm -f src/vuname.$(OBJEXT) + -rm -f src/vunify.$(OBJEXT) + -rm -f src/vwait.$(OBJEXT) + -rm -f tests/escaperoot.$(OBJEXT) + -rm -f tests/forkbomb.$(OBJEXT) + -rm -f tests/getctx.$(OBJEXT) + -rm -f tests/getinitpid.$(OBJEXT) + -rm -f tests/testipc.$(OBJEXT) + -rm -f tests/testlimit.$(OBJEXT) + -rm -f tests/testopenf.$(OBJEXT) + -rm -f tests/vserver-info.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lib-dietlibc-not-enabled-error.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lib-glibc-not-enabled-error.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-tai64n.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-32.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-64.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-tai64n.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-32.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-64.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-add.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-at.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-insertinternal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-search.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-searchselforg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-clear.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-foreach.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-insert.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-popback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-pushback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-resize.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-search.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-searchselforg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-sort.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-unique.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-zeroend.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-add.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-at.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-insertinternal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-search.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-searchselforg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-clear.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-foreach.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-insert.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-popback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-pushback.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-resize.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-search.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-searchselforg.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-sort.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-unique.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-zeroend.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/testsuite/$(DEPDIR)/test1.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ensc_vector/testsuite/$(DEPDIR)/test2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-bcaps-v13.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-bcaps_list-v13.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-capabilities.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-ccaps-v13.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-ccaps_list-v13.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-cflags-compat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-cflags-v13.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-cflags_list-compat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-cflags_list-v13.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-checkconfig.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-checkversion.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-comparevserverbyid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-createskeleton.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-exitlikeprocess.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getfilecontext.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getinsecurebcaps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getnbipv4root.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getprocentry-legacy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getversion.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getvserverappdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getvserverbyctx.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getvservercfgdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getvservercfgstyle.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getvserverctx.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getvservername.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getvservervdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-getxidtype.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-isdirectory.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-isdynamicxid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-isfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-islink.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-issupported.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-issupportedstring.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-listparser_uint32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-listparser_uint64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-ncaps-net.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-ncaps_list-net.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-nflags-net.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-nflags_list-net.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-nidopt2nid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-parselimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-personalityflag.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-personalityflag_list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-personalitytype.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall-syscall.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_adddlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_cleanupnamespace.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxcreate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxmigrate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxstat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_enternamespace.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_fgetiattr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_fsetiattr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getbadness.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getccaps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getcflags.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getdlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getiattr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getncaps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getnflags.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getnxinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getsched.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacedefault.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacemask.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_gettasknid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_gettaskxid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getvci.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getvhiname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_getvxinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_kill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_netadd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_netcreate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_netmigrate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_netremove.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_remdlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_resetminmax.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimitstat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_schedinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setbadness.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setccaps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setcflags.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setdlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setiattr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setmapping.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setnamespace.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setncaps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setnflags.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setsched.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_setvhiname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_tagcreate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_tagmigrate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_tasktag.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_unsetmapping.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_virtstat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-syscall_waitexit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-tagopt2tag.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint32.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_a-xidopt2xid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-bcaps-v13.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-bcaps_list-v13.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-capabilities.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-ccaps-v13.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-ccaps_list-v13.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-cflags-compat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-cflags-v13.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-cflags_list-compat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-cflags_list-v13.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-checkconfig.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-checkversion.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-comparevserverbyid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-createskeleton.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-exitlikeprocess.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getfilecontext.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getinsecurebcaps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getnbipv4root.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getprocentry-legacy.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getversion.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getvserverappdir.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getvserverbyctx.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getvservercfgdir.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getvservercfgstyle.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getvserverctx.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getvservername.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getvservervdir.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-getxidtype.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-isdirectory.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-isdynamicxid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-isfile.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-islink.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-issupported.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-issupportedstring.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-listparser_uint32.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-listparser_uint64.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-ncaps-net.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-ncaps_list-net.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-nflags-net.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-nflags_list-net.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-nidopt2nid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-parselimit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-personalityflag.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-personalityflag_list.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-personalitytype.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall-syscall.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_adddlimit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_cleanupnamespace.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxcreate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxmigrate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxstat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_enternamespace.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_fgetiattr.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_fsetiattr.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getbadness.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getccaps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getcflags.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getdlimit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getiattr.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getncaps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getnflags.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getnxinfo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getsched.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacedefault.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacemask.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_gettasknid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_gettaskxid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getvci.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getvhiname.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_getvxinfo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_kill.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_netadd.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_netcreate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_netmigrate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_netremove.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_remdlimit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_resetminmax.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimitstat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_schedinfo.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setbadness.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setccaps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setcflags.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setdlimit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setiattr.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setmapping.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setnamespace.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setncaps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setnflags.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setsched.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_setvhiname.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_tagcreate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_tagmigrate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_tasktag.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_unsetmapping.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_virtstat.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-syscall_waitexit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-tagopt2tag.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint32.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint64.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint32.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint64.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/$(DEPDIR)/lib_libvserver_la-xidopt2xid.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/testsuite/$(DEPDIR)/lib_testsuite_cflags-cflags.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/testsuite/$(DEPDIR)/lib_testsuite_fmt-fmt.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/testsuite/$(DEPDIR)/lib_testsuite_parselimit-parselimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib/testsuite/$(DEPDIR)/lib_testsuite_personality-personality.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-appendparameter.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-exec.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-reset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-setparams.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-wait.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-errinfo-writeerrno.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentryflag.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentrystr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-jailintotempdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-appendfiles.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-compare.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-destroy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initbyvserver.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initmanually.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-printid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-mkdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-append.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-switchtowatchxid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-copy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-deunify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-isiunlinkable.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-settime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-unify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-canonify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumber.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumberunsigned.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-lockfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-safechdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-appendparameter.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-exec.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-reset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-setparams.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-wait.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-errinfo-writeerrno.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentryflag.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentrystr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-jailintotempdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-appendfiles.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-compare.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-destroy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initmanually.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-printid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-free.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-mkdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-append.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-switchtowatchxid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-copy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-deunify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-isiunlinkable.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-settime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-unify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-canonify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumber.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumberunsigned.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-lockfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-safechdir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/command.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/copy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/filecfg-ml.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto-crypto.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto_speed-crypto-speed.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber-isnumber.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber_gnu-isnumber.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist-matchlist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist_gnu-matchlist.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus-sigbus.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus_gnu-sigbus.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@python/$(DEPDIR)/python__libvserver_la-_libvserver.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/capchroot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/chain-echo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/chbind.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/chcontext.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/check-unixfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/chroot-sh.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/chxid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/exec-cd.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/exec-remount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/exec-ulimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/fakerunlevel.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/filetime.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/fstool.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/h2ext.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/ifspec.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/keep-ctx-alive.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/listdevip.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/lockfile.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/lsxid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/mask2prefix.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/naddress.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/nattribute.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/ncontext.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/parserpmdump.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/readlink.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/rebootmgr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/reducecap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/rpm-fake-resolver.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/save_ctxinfo.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/secure-mount.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/setattr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/showattr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/showperm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/sigexec.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_rpm_fake_la-rpm-fake.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_vhashify-vhashify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/src_vkill-vkill.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/tunctl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vattribute.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vclone.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vcontext.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vcopy.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vdevmap.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vdlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vdu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vlogin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vmemctrl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vreboot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vrsetup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vsched.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vserver-info.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vserver-stat.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vshelper-sync.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vspace.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vsysctl.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vtag.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vuname.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vunify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/vwait.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/testsuite/$(DEPDIR)/chbind-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/testsuite/$(DEPDIR)/chcontext-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/testsuite/$(DEPDIR)/rpm-fake-test.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/testsuite/$(DEPDIR)/src_testsuite_hashcalc-hashcalc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/testsuite/$(DEPDIR)/src_testsuite_hashcalc_plain-hashcalc-plain.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/testsuite/$(DEPDIR)/src_testsuite_vunify_functest-vunify-functest.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/escaperoot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/forkbomb.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/getctx.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/getinitpid.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/testipc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/testlimit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/testopenf.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/vserver-info.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ mv -f $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + +lib/lib_libvserver_a-syscall.o: lib/syscall.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall.Tpo -c -o lib/lib_libvserver_a-syscall.o `test -f 'lib/syscall.c' || echo '$(srcdir)/'`lib/syscall.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall.c' object='lib/lib_libvserver_a-syscall.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall.o `test -f 'lib/syscall.c' || echo '$(srcdir)/'`lib/syscall.c + +lib/lib_libvserver_a-syscall.obj: lib/syscall.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall.Tpo -c -o lib/lib_libvserver_a-syscall.obj `if test -f 'lib/syscall.c'; then $(CYGPATH_W) 'lib/syscall.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall.c' object='lib/lib_libvserver_a-syscall.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall.obj `if test -f 'lib/syscall.c'; then $(CYGPATH_W) 'lib/syscall.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall.c'; fi` + +lib/lib_libvserver_a-checkversion.o: lib/checkversion.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-checkversion.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-checkversion.Tpo -c -o lib/lib_libvserver_a-checkversion.o `test -f 'lib/checkversion.c' || echo '$(srcdir)/'`lib/checkversion.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-checkversion.Tpo lib/$(DEPDIR)/lib_libvserver_a-checkversion.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/checkversion.c' object='lib/lib_libvserver_a-checkversion.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-checkversion.o `test -f 'lib/checkversion.c' || echo '$(srcdir)/'`lib/checkversion.c + +lib/lib_libvserver_a-checkversion.obj: lib/checkversion.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-checkversion.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-checkversion.Tpo -c -o lib/lib_libvserver_a-checkversion.obj `if test -f 'lib/checkversion.c'; then $(CYGPATH_W) 'lib/checkversion.c'; else $(CYGPATH_W) '$(srcdir)/lib/checkversion.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-checkversion.Tpo lib/$(DEPDIR)/lib_libvserver_a-checkversion.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/checkversion.c' object='lib/lib_libvserver_a-checkversion.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-checkversion.obj `if test -f 'lib/checkversion.c'; then $(CYGPATH_W) 'lib/checkversion.c'; else $(CYGPATH_W) '$(srcdir)/lib/checkversion.c'; fi` + +lib/lib_libvserver_a-checkconfig.o: lib/checkconfig.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-checkconfig.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-checkconfig.Tpo -c -o lib/lib_libvserver_a-checkconfig.o `test -f 'lib/checkconfig.c' || echo '$(srcdir)/'`lib/checkconfig.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-checkconfig.Tpo lib/$(DEPDIR)/lib_libvserver_a-checkconfig.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/checkconfig.c' object='lib/lib_libvserver_a-checkconfig.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-checkconfig.o `test -f 'lib/checkconfig.c' || echo '$(srcdir)/'`lib/checkconfig.c + +lib/lib_libvserver_a-checkconfig.obj: lib/checkconfig.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-checkconfig.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-checkconfig.Tpo -c -o lib/lib_libvserver_a-checkconfig.obj `if test -f 'lib/checkconfig.c'; then $(CYGPATH_W) 'lib/checkconfig.c'; else $(CYGPATH_W) '$(srcdir)/lib/checkconfig.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-checkconfig.Tpo lib/$(DEPDIR)/lib_libvserver_a-checkconfig.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/checkconfig.c' object='lib/lib_libvserver_a-checkconfig.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-checkconfig.obj `if test -f 'lib/checkconfig.c'; then $(CYGPATH_W) 'lib/checkconfig.c'; else $(CYGPATH_W) '$(srcdir)/lib/checkconfig.c'; fi` + +lib/lib_libvserver_a-isdirectory.o: lib/isdirectory.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-isdirectory.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-isdirectory.Tpo -c -o lib/lib_libvserver_a-isdirectory.o `test -f 'lib/isdirectory.c' || echo '$(srcdir)/'`lib/isdirectory.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-isdirectory.Tpo lib/$(DEPDIR)/lib_libvserver_a-isdirectory.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isdirectory.c' object='lib/lib_libvserver_a-isdirectory.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-isdirectory.o `test -f 'lib/isdirectory.c' || echo '$(srcdir)/'`lib/isdirectory.c + +lib/lib_libvserver_a-isdirectory.obj: lib/isdirectory.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-isdirectory.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-isdirectory.Tpo -c -o lib/lib_libvserver_a-isdirectory.obj `if test -f 'lib/isdirectory.c'; then $(CYGPATH_W) 'lib/isdirectory.c'; else $(CYGPATH_W) '$(srcdir)/lib/isdirectory.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-isdirectory.Tpo lib/$(DEPDIR)/lib_libvserver_a-isdirectory.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isdirectory.c' object='lib/lib_libvserver_a-isdirectory.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-isdirectory.obj `if test -f 'lib/isdirectory.c'; then $(CYGPATH_W) 'lib/isdirectory.c'; else $(CYGPATH_W) '$(srcdir)/lib/isdirectory.c'; fi` + +lib/lib_libvserver_a-isfile.o: lib/isfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-isfile.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-isfile.Tpo -c -o lib/lib_libvserver_a-isfile.o `test -f 'lib/isfile.c' || echo '$(srcdir)/'`lib/isfile.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-isfile.Tpo lib/$(DEPDIR)/lib_libvserver_a-isfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isfile.c' object='lib/lib_libvserver_a-isfile.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-isfile.o `test -f 'lib/isfile.c' || echo '$(srcdir)/'`lib/isfile.c + +lib/lib_libvserver_a-isfile.obj: lib/isfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-isfile.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-isfile.Tpo -c -o lib/lib_libvserver_a-isfile.obj `if test -f 'lib/isfile.c'; then $(CYGPATH_W) 'lib/isfile.c'; else $(CYGPATH_W) '$(srcdir)/lib/isfile.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-isfile.Tpo lib/$(DEPDIR)/lib_libvserver_a-isfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isfile.c' object='lib/lib_libvserver_a-isfile.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-isfile.obj `if test -f 'lib/isfile.c'; then $(CYGPATH_W) 'lib/isfile.c'; else $(CYGPATH_W) '$(srcdir)/lib/isfile.c'; fi` + +lib/lib_libvserver_a-islink.o: lib/islink.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-islink.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-islink.Tpo -c -o lib/lib_libvserver_a-islink.o `test -f 'lib/islink.c' || echo '$(srcdir)/'`lib/islink.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-islink.Tpo lib/$(DEPDIR)/lib_libvserver_a-islink.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/islink.c' object='lib/lib_libvserver_a-islink.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-islink.o `test -f 'lib/islink.c' || echo '$(srcdir)/'`lib/islink.c + +lib/lib_libvserver_a-islink.obj: lib/islink.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-islink.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-islink.Tpo -c -o lib/lib_libvserver_a-islink.obj `if test -f 'lib/islink.c'; then $(CYGPATH_W) 'lib/islink.c'; else $(CYGPATH_W) '$(srcdir)/lib/islink.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-islink.Tpo lib/$(DEPDIR)/lib_libvserver_a-islink.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/islink.c' object='lib/lib_libvserver_a-islink.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-islink.obj `if test -f 'lib/islink.c'; then $(CYGPATH_W) 'lib/islink.c'; else $(CYGPATH_W) '$(srcdir)/lib/islink.c'; fi` + +lib/lib_libvserver_a-getnbipv4root.o: lib/getnbipv4root.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getnbipv4root.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getnbipv4root.Tpo -c -o lib/lib_libvserver_a-getnbipv4root.o `test -f 'lib/getnbipv4root.c' || echo '$(srcdir)/'`lib/getnbipv4root.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getnbipv4root.Tpo lib/$(DEPDIR)/lib_libvserver_a-getnbipv4root.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getnbipv4root.c' object='lib/lib_libvserver_a-getnbipv4root.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getnbipv4root.o `test -f 'lib/getnbipv4root.c' || echo '$(srcdir)/'`lib/getnbipv4root.c + +lib/lib_libvserver_a-getnbipv4root.obj: lib/getnbipv4root.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getnbipv4root.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getnbipv4root.Tpo -c -o lib/lib_libvserver_a-getnbipv4root.obj `if test -f 'lib/getnbipv4root.c'; then $(CYGPATH_W) 'lib/getnbipv4root.c'; else $(CYGPATH_W) '$(srcdir)/lib/getnbipv4root.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getnbipv4root.Tpo lib/$(DEPDIR)/lib_libvserver_a-getnbipv4root.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getnbipv4root.c' object='lib/lib_libvserver_a-getnbipv4root.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getnbipv4root.obj `if test -f 'lib/getnbipv4root.c'; then $(CYGPATH_W) 'lib/getnbipv4root.c'; else $(CYGPATH_W) '$(srcdir)/lib/getnbipv4root.c'; fi` + +lib/lib_libvserver_a-getversion.o: lib/getversion.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getversion.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getversion.Tpo -c -o lib/lib_libvserver_a-getversion.o `test -f 'lib/getversion.c' || echo '$(srcdir)/'`lib/getversion.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getversion.Tpo lib/$(DEPDIR)/lib_libvserver_a-getversion.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getversion.c' object='lib/lib_libvserver_a-getversion.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getversion.o `test -f 'lib/getversion.c' || echo '$(srcdir)/'`lib/getversion.c + +lib/lib_libvserver_a-getversion.obj: lib/getversion.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getversion.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getversion.Tpo -c -o lib/lib_libvserver_a-getversion.obj `if test -f 'lib/getversion.c'; then $(CYGPATH_W) 'lib/getversion.c'; else $(CYGPATH_W) '$(srcdir)/lib/getversion.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getversion.Tpo lib/$(DEPDIR)/lib_libvserver_a-getversion.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getversion.c' object='lib/lib_libvserver_a-getversion.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getversion.obj `if test -f 'lib/getversion.c'; then $(CYGPATH_W) 'lib/getversion.c'; else $(CYGPATH_W) '$(srcdir)/lib/getversion.c'; fi` + +lib/lib_libvserver_a-capabilities.o: lib/capabilities.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-capabilities.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-capabilities.Tpo -c -o lib/lib_libvserver_a-capabilities.o `test -f 'lib/capabilities.c' || echo '$(srcdir)/'`lib/capabilities.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-capabilities.Tpo lib/$(DEPDIR)/lib_libvserver_a-capabilities.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/capabilities.c' object='lib/lib_libvserver_a-capabilities.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-capabilities.o `test -f 'lib/capabilities.c' || echo '$(srcdir)/'`lib/capabilities.c + +lib/lib_libvserver_a-capabilities.obj: lib/capabilities.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-capabilities.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-capabilities.Tpo -c -o lib/lib_libvserver_a-capabilities.obj `if test -f 'lib/capabilities.c'; then $(CYGPATH_W) 'lib/capabilities.c'; else $(CYGPATH_W) '$(srcdir)/lib/capabilities.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-capabilities.Tpo lib/$(DEPDIR)/lib_libvserver_a-capabilities.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/capabilities.c' object='lib/lib_libvserver_a-capabilities.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-capabilities.obj `if test -f 'lib/capabilities.c'; then $(CYGPATH_W) 'lib/capabilities.c'; else $(CYGPATH_W) '$(srcdir)/lib/capabilities.c'; fi` + +lib/lib_libvserver_a-getfilecontext.o: lib/getfilecontext.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getfilecontext.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getfilecontext.Tpo -c -o lib/lib_libvserver_a-getfilecontext.o `test -f 'lib/getfilecontext.c' || echo '$(srcdir)/'`lib/getfilecontext.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getfilecontext.Tpo lib/$(DEPDIR)/lib_libvserver_a-getfilecontext.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getfilecontext.c' object='lib/lib_libvserver_a-getfilecontext.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getfilecontext.o `test -f 'lib/getfilecontext.c' || echo '$(srcdir)/'`lib/getfilecontext.c + +lib/lib_libvserver_a-getfilecontext.obj: lib/getfilecontext.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getfilecontext.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getfilecontext.Tpo -c -o lib/lib_libvserver_a-getfilecontext.obj `if test -f 'lib/getfilecontext.c'; then $(CYGPATH_W) 'lib/getfilecontext.c'; else $(CYGPATH_W) '$(srcdir)/lib/getfilecontext.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getfilecontext.Tpo lib/$(DEPDIR)/lib_libvserver_a-getfilecontext.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getfilecontext.c' object='lib/lib_libvserver_a-getfilecontext.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getfilecontext.obj `if test -f 'lib/getfilecontext.c'; then $(CYGPATH_W) 'lib/getfilecontext.c'; else $(CYGPATH_W) '$(srcdir)/lib/getfilecontext.c'; fi` + +lib/lib_libvserver_a-getinsecurebcaps.o: lib/getinsecurebcaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getinsecurebcaps.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getinsecurebcaps.Tpo -c -o lib/lib_libvserver_a-getinsecurebcaps.o `test -f 'lib/getinsecurebcaps.c' || echo '$(srcdir)/'`lib/getinsecurebcaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getinsecurebcaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-getinsecurebcaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getinsecurebcaps.c' object='lib/lib_libvserver_a-getinsecurebcaps.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getinsecurebcaps.o `test -f 'lib/getinsecurebcaps.c' || echo '$(srcdir)/'`lib/getinsecurebcaps.c + +lib/lib_libvserver_a-getinsecurebcaps.obj: lib/getinsecurebcaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getinsecurebcaps.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getinsecurebcaps.Tpo -c -o lib/lib_libvserver_a-getinsecurebcaps.obj `if test -f 'lib/getinsecurebcaps.c'; then $(CYGPATH_W) 'lib/getinsecurebcaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/getinsecurebcaps.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getinsecurebcaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-getinsecurebcaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getinsecurebcaps.c' object='lib/lib_libvserver_a-getinsecurebcaps.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getinsecurebcaps.obj `if test -f 'lib/getinsecurebcaps.c'; then $(CYGPATH_W) 'lib/getinsecurebcaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/getinsecurebcaps.c'; fi` + +lib/lib_libvserver_a-getxidtype.o: lib/getxidtype.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getxidtype.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getxidtype.Tpo -c -o lib/lib_libvserver_a-getxidtype.o `test -f 'lib/getxidtype.c' || echo '$(srcdir)/'`lib/getxidtype.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getxidtype.Tpo lib/$(DEPDIR)/lib_libvserver_a-getxidtype.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getxidtype.c' object='lib/lib_libvserver_a-getxidtype.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getxidtype.o `test -f 'lib/getxidtype.c' || echo '$(srcdir)/'`lib/getxidtype.c + +lib/lib_libvserver_a-getxidtype.obj: lib/getxidtype.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getxidtype.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getxidtype.Tpo -c -o lib/lib_libvserver_a-getxidtype.obj `if test -f 'lib/getxidtype.c'; then $(CYGPATH_W) 'lib/getxidtype.c'; else $(CYGPATH_W) '$(srcdir)/lib/getxidtype.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getxidtype.Tpo lib/$(DEPDIR)/lib_libvserver_a-getxidtype.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getxidtype.c' object='lib/lib_libvserver_a-getxidtype.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getxidtype.obj `if test -f 'lib/getxidtype.c'; then $(CYGPATH_W) 'lib/getxidtype.c'; else $(CYGPATH_W) '$(srcdir)/lib/getxidtype.c'; fi` + +lib/lib_libvserver_a-isdynamicxid.o: lib/isdynamicxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-isdynamicxid.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-isdynamicxid.Tpo -c -o lib/lib_libvserver_a-isdynamicxid.o `test -f 'lib/isdynamicxid.c' || echo '$(srcdir)/'`lib/isdynamicxid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-isdynamicxid.Tpo lib/$(DEPDIR)/lib_libvserver_a-isdynamicxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isdynamicxid.c' object='lib/lib_libvserver_a-isdynamicxid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-isdynamicxid.o `test -f 'lib/isdynamicxid.c' || echo '$(srcdir)/'`lib/isdynamicxid.c + +lib/lib_libvserver_a-isdynamicxid.obj: lib/isdynamicxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-isdynamicxid.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-isdynamicxid.Tpo -c -o lib/lib_libvserver_a-isdynamicxid.obj `if test -f 'lib/isdynamicxid.c'; then $(CYGPATH_W) 'lib/isdynamicxid.c'; else $(CYGPATH_W) '$(srcdir)/lib/isdynamicxid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-isdynamicxid.Tpo lib/$(DEPDIR)/lib_libvserver_a-isdynamicxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isdynamicxid.c' object='lib/lib_libvserver_a-isdynamicxid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-isdynamicxid.obj `if test -f 'lib/isdynamicxid.c'; then $(CYGPATH_W) 'lib/isdynamicxid.c'; else $(CYGPATH_W) '$(srcdir)/lib/isdynamicxid.c'; fi` + +lib/lib_libvserver_a-issupported.o: lib/issupported.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-issupported.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-issupported.Tpo -c -o lib/lib_libvserver_a-issupported.o `test -f 'lib/issupported.c' || echo '$(srcdir)/'`lib/issupported.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-issupported.Tpo lib/$(DEPDIR)/lib_libvserver_a-issupported.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/issupported.c' object='lib/lib_libvserver_a-issupported.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-issupported.o `test -f 'lib/issupported.c' || echo '$(srcdir)/'`lib/issupported.c + +lib/lib_libvserver_a-issupported.obj: lib/issupported.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-issupported.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-issupported.Tpo -c -o lib/lib_libvserver_a-issupported.obj `if test -f 'lib/issupported.c'; then $(CYGPATH_W) 'lib/issupported.c'; else $(CYGPATH_W) '$(srcdir)/lib/issupported.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-issupported.Tpo lib/$(DEPDIR)/lib_libvserver_a-issupported.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/issupported.c' object='lib/lib_libvserver_a-issupported.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-issupported.obj `if test -f 'lib/issupported.c'; then $(CYGPATH_W) 'lib/issupported.c'; else $(CYGPATH_W) '$(srcdir)/lib/issupported.c'; fi` + +lib/lib_libvserver_a-issupportedstring.o: lib/issupportedstring.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-issupportedstring.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-issupportedstring.Tpo -c -o lib/lib_libvserver_a-issupportedstring.o `test -f 'lib/issupportedstring.c' || echo '$(srcdir)/'`lib/issupportedstring.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-issupportedstring.Tpo lib/$(DEPDIR)/lib_libvserver_a-issupportedstring.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/issupportedstring.c' object='lib/lib_libvserver_a-issupportedstring.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-issupportedstring.o `test -f 'lib/issupportedstring.c' || echo '$(srcdir)/'`lib/issupportedstring.c + +lib/lib_libvserver_a-issupportedstring.obj: lib/issupportedstring.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-issupportedstring.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-issupportedstring.Tpo -c -o lib/lib_libvserver_a-issupportedstring.obj `if test -f 'lib/issupportedstring.c'; then $(CYGPATH_W) 'lib/issupportedstring.c'; else $(CYGPATH_W) '$(srcdir)/lib/issupportedstring.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-issupportedstring.Tpo lib/$(DEPDIR)/lib_libvserver_a-issupportedstring.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/issupportedstring.c' object='lib/lib_libvserver_a-issupportedstring.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-issupportedstring.obj `if test -f 'lib/issupportedstring.c'; then $(CYGPATH_W) 'lib/issupportedstring.c'; else $(CYGPATH_W) '$(srcdir)/lib/issupportedstring.c'; fi` + +lib/lib_libvserver_a-listparser_uint32.o: lib/listparser_uint32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-listparser_uint32.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-listparser_uint32.Tpo -c -o lib/lib_libvserver_a-listparser_uint32.o `test -f 'lib/listparser_uint32.c' || echo '$(srcdir)/'`lib/listparser_uint32.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-listparser_uint32.Tpo lib/$(DEPDIR)/lib_libvserver_a-listparser_uint32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/listparser_uint32.c' object='lib/lib_libvserver_a-listparser_uint32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-listparser_uint32.o `test -f 'lib/listparser_uint32.c' || echo '$(srcdir)/'`lib/listparser_uint32.c + +lib/lib_libvserver_a-listparser_uint32.obj: lib/listparser_uint32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-listparser_uint32.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-listparser_uint32.Tpo -c -o lib/lib_libvserver_a-listparser_uint32.obj `if test -f 'lib/listparser_uint32.c'; then $(CYGPATH_W) 'lib/listparser_uint32.c'; else $(CYGPATH_W) '$(srcdir)/lib/listparser_uint32.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-listparser_uint32.Tpo lib/$(DEPDIR)/lib_libvserver_a-listparser_uint32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/listparser_uint32.c' object='lib/lib_libvserver_a-listparser_uint32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-listparser_uint32.obj `if test -f 'lib/listparser_uint32.c'; then $(CYGPATH_W) 'lib/listparser_uint32.c'; else $(CYGPATH_W) '$(srcdir)/lib/listparser_uint32.c'; fi` + +lib/lib_libvserver_a-listparser_uint64.o: lib/listparser_uint64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-listparser_uint64.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-listparser_uint64.Tpo -c -o lib/lib_libvserver_a-listparser_uint64.o `test -f 'lib/listparser_uint64.c' || echo '$(srcdir)/'`lib/listparser_uint64.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-listparser_uint64.Tpo lib/$(DEPDIR)/lib_libvserver_a-listparser_uint64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/listparser_uint64.c' object='lib/lib_libvserver_a-listparser_uint64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-listparser_uint64.o `test -f 'lib/listparser_uint64.c' || echo '$(srcdir)/'`lib/listparser_uint64.c + +lib/lib_libvserver_a-listparser_uint64.obj: lib/listparser_uint64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-listparser_uint64.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-listparser_uint64.Tpo -c -o lib/lib_libvserver_a-listparser_uint64.obj `if test -f 'lib/listparser_uint64.c'; then $(CYGPATH_W) 'lib/listparser_uint64.c'; else $(CYGPATH_W) '$(srcdir)/lib/listparser_uint64.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-listparser_uint64.Tpo lib/$(DEPDIR)/lib_libvserver_a-listparser_uint64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/listparser_uint64.c' object='lib/lib_libvserver_a-listparser_uint64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-listparser_uint64.obj `if test -f 'lib/listparser_uint64.c'; then $(CYGPATH_W) 'lib/listparser_uint64.c'; else $(CYGPATH_W) '$(srcdir)/lib/listparser_uint64.c'; fi` + +lib/lib_libvserver_a-personalityflag.o: lib/personalityflag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-personalityflag.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-personalityflag.Tpo -c -o lib/lib_libvserver_a-personalityflag.o `test -f 'lib/personalityflag.c' || echo '$(srcdir)/'`lib/personalityflag.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-personalityflag.Tpo lib/$(DEPDIR)/lib_libvserver_a-personalityflag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalityflag.c' object='lib/lib_libvserver_a-personalityflag.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-personalityflag.o `test -f 'lib/personalityflag.c' || echo '$(srcdir)/'`lib/personalityflag.c + +lib/lib_libvserver_a-personalityflag.obj: lib/personalityflag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-personalityflag.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-personalityflag.Tpo -c -o lib/lib_libvserver_a-personalityflag.obj `if test -f 'lib/personalityflag.c'; then $(CYGPATH_W) 'lib/personalityflag.c'; else $(CYGPATH_W) '$(srcdir)/lib/personalityflag.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-personalityflag.Tpo lib/$(DEPDIR)/lib_libvserver_a-personalityflag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalityflag.c' object='lib/lib_libvserver_a-personalityflag.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-personalityflag.obj `if test -f 'lib/personalityflag.c'; then $(CYGPATH_W) 'lib/personalityflag.c'; else $(CYGPATH_W) '$(srcdir)/lib/personalityflag.c'; fi` + +lib/lib_libvserver_a-personalityflag_list.o: lib/personalityflag_list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-personalityflag_list.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-personalityflag_list.Tpo -c -o lib/lib_libvserver_a-personalityflag_list.o `test -f 'lib/personalityflag_list.c' || echo '$(srcdir)/'`lib/personalityflag_list.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-personalityflag_list.Tpo lib/$(DEPDIR)/lib_libvserver_a-personalityflag_list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalityflag_list.c' object='lib/lib_libvserver_a-personalityflag_list.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-personalityflag_list.o `test -f 'lib/personalityflag_list.c' || echo '$(srcdir)/'`lib/personalityflag_list.c + +lib/lib_libvserver_a-personalityflag_list.obj: lib/personalityflag_list.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-personalityflag_list.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-personalityflag_list.Tpo -c -o lib/lib_libvserver_a-personalityflag_list.obj `if test -f 'lib/personalityflag_list.c'; then $(CYGPATH_W) 'lib/personalityflag_list.c'; else $(CYGPATH_W) '$(srcdir)/lib/personalityflag_list.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-personalityflag_list.Tpo lib/$(DEPDIR)/lib_libvserver_a-personalityflag_list.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalityflag_list.c' object='lib/lib_libvserver_a-personalityflag_list.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-personalityflag_list.obj `if test -f 'lib/personalityflag_list.c'; then $(CYGPATH_W) 'lib/personalityflag_list.c'; else $(CYGPATH_W) '$(srcdir)/lib/personalityflag_list.c'; fi` + +lib/lib_libvserver_a-personalitytype.o: lib/personalitytype.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-personalitytype.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-personalitytype.Tpo -c -o lib/lib_libvserver_a-personalitytype.o `test -f 'lib/personalitytype.c' || echo '$(srcdir)/'`lib/personalitytype.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-personalitytype.Tpo lib/$(DEPDIR)/lib_libvserver_a-personalitytype.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalitytype.c' object='lib/lib_libvserver_a-personalitytype.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-personalitytype.o `test -f 'lib/personalitytype.c' || echo '$(srcdir)/'`lib/personalitytype.c + +lib/lib_libvserver_a-personalitytype.obj: lib/personalitytype.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-personalitytype.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-personalitytype.Tpo -c -o lib/lib_libvserver_a-personalitytype.obj `if test -f 'lib/personalitytype.c'; then $(CYGPATH_W) 'lib/personalitytype.c'; else $(CYGPATH_W) '$(srcdir)/lib/personalitytype.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-personalitytype.Tpo lib/$(DEPDIR)/lib_libvserver_a-personalitytype.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalitytype.c' object='lib/lib_libvserver_a-personalitytype.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-personalitytype.obj `if test -f 'lib/personalitytype.c'; then $(CYGPATH_W) 'lib/personalitytype.c'; else $(CYGPATH_W) '$(srcdir)/lib/personalitytype.c'; fi` + +lib/lib_libvserver_a-syscall-syscall.o: lib/syscall-syscall.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall-syscall.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall-syscall.Tpo -c -o lib/lib_libvserver_a-syscall-syscall.o `test -f 'lib/syscall-syscall.c' || echo '$(srcdir)/'`lib/syscall-syscall.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall-syscall.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall-syscall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall-syscall.c' object='lib/lib_libvserver_a-syscall-syscall.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall-syscall.o `test -f 'lib/syscall-syscall.c' || echo '$(srcdir)/'`lib/syscall-syscall.c + +lib/lib_libvserver_a-syscall-syscall.obj: lib/syscall-syscall.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall-syscall.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall-syscall.Tpo -c -o lib/lib_libvserver_a-syscall-syscall.obj `if test -f 'lib/syscall-syscall.c'; then $(CYGPATH_W) 'lib/syscall-syscall.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall-syscall.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall-syscall.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall-syscall.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall-syscall.c' object='lib/lib_libvserver_a-syscall-syscall.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall-syscall.obj `if test -f 'lib/syscall-syscall.c'; then $(CYGPATH_W) 'lib/syscall-syscall.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall-syscall.c'; fi` + +lib/lib_libvserver_a-val2text-t2v-uint32.o: lib/val2text-t2v-uint32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-t2v-uint32.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint32.Tpo -c -o lib/lib_libvserver_a-val2text-t2v-uint32.o `test -f 'lib/val2text-t2v-uint32.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint32.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint32.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-t2v-uint32.c' object='lib/lib_libvserver_a-val2text-t2v-uint32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-t2v-uint32.o `test -f 'lib/val2text-t2v-uint32.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint32.c + +lib/lib_libvserver_a-val2text-t2v-uint32.obj: lib/val2text-t2v-uint32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-t2v-uint32.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint32.Tpo -c -o lib/lib_libvserver_a-val2text-t2v-uint32.obj `if test -f 'lib/val2text-t2v-uint32.c'; then $(CYGPATH_W) 'lib/val2text-t2v-uint32.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-t2v-uint32.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint32.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-t2v-uint32.c' object='lib/lib_libvserver_a-val2text-t2v-uint32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-t2v-uint32.obj `if test -f 'lib/val2text-t2v-uint32.c'; then $(CYGPATH_W) 'lib/val2text-t2v-uint32.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-t2v-uint32.c'; fi` + +lib/lib_libvserver_a-val2text-t2v-uint64.o: lib/val2text-t2v-uint64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-t2v-uint64.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint64.Tpo -c -o lib/lib_libvserver_a-val2text-t2v-uint64.o `test -f 'lib/val2text-t2v-uint64.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint64.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint64.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-t2v-uint64.c' object='lib/lib_libvserver_a-val2text-t2v-uint64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-t2v-uint64.o `test -f 'lib/val2text-t2v-uint64.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint64.c + +lib/lib_libvserver_a-val2text-t2v-uint64.obj: lib/val2text-t2v-uint64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-t2v-uint64.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint64.Tpo -c -o lib/lib_libvserver_a-val2text-t2v-uint64.obj `if test -f 'lib/val2text-t2v-uint64.c'; then $(CYGPATH_W) 'lib/val2text-t2v-uint64.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-t2v-uint64.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint64.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-t2v-uint64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-t2v-uint64.c' object='lib/lib_libvserver_a-val2text-t2v-uint64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-t2v-uint64.obj `if test -f 'lib/val2text-t2v-uint64.c'; then $(CYGPATH_W) 'lib/val2text-t2v-uint64.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-t2v-uint64.c'; fi` + +lib/lib_libvserver_a-val2text-v2t-uint32.o: lib/val2text-v2t-uint32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-v2t-uint32.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint32.Tpo -c -o lib/lib_libvserver_a-val2text-v2t-uint32.o `test -f 'lib/val2text-v2t-uint32.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint32.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint32.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-v2t-uint32.c' object='lib/lib_libvserver_a-val2text-v2t-uint32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-v2t-uint32.o `test -f 'lib/val2text-v2t-uint32.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint32.c + +lib/lib_libvserver_a-val2text-v2t-uint32.obj: lib/val2text-v2t-uint32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-v2t-uint32.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint32.Tpo -c -o lib/lib_libvserver_a-val2text-v2t-uint32.obj `if test -f 'lib/val2text-v2t-uint32.c'; then $(CYGPATH_W) 'lib/val2text-v2t-uint32.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-v2t-uint32.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint32.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-v2t-uint32.c' object='lib/lib_libvserver_a-val2text-v2t-uint32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-v2t-uint32.obj `if test -f 'lib/val2text-v2t-uint32.c'; then $(CYGPATH_W) 'lib/val2text-v2t-uint32.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-v2t-uint32.c'; fi` + +lib/lib_libvserver_a-val2text-v2t-uint64.o: lib/val2text-v2t-uint64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-v2t-uint64.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint64.Tpo -c -o lib/lib_libvserver_a-val2text-v2t-uint64.o `test -f 'lib/val2text-v2t-uint64.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint64.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint64.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-v2t-uint64.c' object='lib/lib_libvserver_a-val2text-v2t-uint64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-v2t-uint64.o `test -f 'lib/val2text-v2t-uint64.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint64.c + +lib/lib_libvserver_a-val2text-v2t-uint64.obj: lib/val2text-v2t-uint64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-val2text-v2t-uint64.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint64.Tpo -c -o lib/lib_libvserver_a-val2text-v2t-uint64.obj `if test -f 'lib/val2text-v2t-uint64.c'; then $(CYGPATH_W) 'lib/val2text-v2t-uint64.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-v2t-uint64.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint64.Tpo lib/$(DEPDIR)/lib_libvserver_a-val2text-v2t-uint64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-v2t-uint64.c' object='lib/lib_libvserver_a-val2text-v2t-uint64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-val2text-v2t-uint64.obj `if test -f 'lib/val2text-v2t-uint64.c'; then $(CYGPATH_W) 'lib/val2text-v2t-uint64.c'; else $(CYGPATH_W) '$(srcdir)/lib/val2text-v2t-uint64.c'; fi` + +lib/lib_libvserver_a-parselimit.o: lib/parselimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-parselimit.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-parselimit.Tpo -c -o lib/lib_libvserver_a-parselimit.o `test -f 'lib/parselimit.c' || echo '$(srcdir)/'`lib/parselimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-parselimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-parselimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/parselimit.c' object='lib/lib_libvserver_a-parselimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-parselimit.o `test -f 'lib/parselimit.c' || echo '$(srcdir)/'`lib/parselimit.c + +lib/lib_libvserver_a-parselimit.obj: lib/parselimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-parselimit.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-parselimit.Tpo -c -o lib/lib_libvserver_a-parselimit.obj `if test -f 'lib/parselimit.c'; then $(CYGPATH_W) 'lib/parselimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/parselimit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-parselimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-parselimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/parselimit.c' object='lib/lib_libvserver_a-parselimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-parselimit.obj `if test -f 'lib/parselimit.c'; then $(CYGPATH_W) 'lib/parselimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/parselimit.c'; fi` + +lib/lib_libvserver_a-getprocentry-legacy.o: lib/getprocentry-legacy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getprocentry-legacy.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getprocentry-legacy.Tpo -c -o lib/lib_libvserver_a-getprocentry-legacy.o `test -f 'lib/getprocentry-legacy.c' || echo '$(srcdir)/'`lib/getprocentry-legacy.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getprocentry-legacy.Tpo lib/$(DEPDIR)/lib_libvserver_a-getprocentry-legacy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getprocentry-legacy.c' object='lib/lib_libvserver_a-getprocentry-legacy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getprocentry-legacy.o `test -f 'lib/getprocentry-legacy.c' || echo '$(srcdir)/'`lib/getprocentry-legacy.c + +lib/lib_libvserver_a-getprocentry-legacy.obj: lib/getprocentry-legacy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getprocentry-legacy.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getprocentry-legacy.Tpo -c -o lib/lib_libvserver_a-getprocentry-legacy.obj `if test -f 'lib/getprocentry-legacy.c'; then $(CYGPATH_W) 'lib/getprocentry-legacy.c'; else $(CYGPATH_W) '$(srcdir)/lib/getprocentry-legacy.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getprocentry-legacy.Tpo lib/$(DEPDIR)/lib_libvserver_a-getprocentry-legacy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getprocentry-legacy.c' object='lib/lib_libvserver_a-getprocentry-legacy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getprocentry-legacy.obj `if test -f 'lib/getprocentry-legacy.c'; then $(CYGPATH_W) 'lib/getprocentry-legacy.c'; else $(CYGPATH_W) '$(srcdir)/lib/getprocentry-legacy.c'; fi` + +lib/lib_libvserver_a-cflags-compat.o: lib/cflags-compat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags-compat.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags-compat.Tpo -c -o lib/lib_libvserver_a-cflags-compat.o `test -f 'lib/cflags-compat.c' || echo '$(srcdir)/'`lib/cflags-compat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags-compat.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags-compat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags-compat.c' object='lib/lib_libvserver_a-cflags-compat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags-compat.o `test -f 'lib/cflags-compat.c' || echo '$(srcdir)/'`lib/cflags-compat.c + +lib/lib_libvserver_a-cflags-compat.obj: lib/cflags-compat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags-compat.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags-compat.Tpo -c -o lib/lib_libvserver_a-cflags-compat.obj `if test -f 'lib/cflags-compat.c'; then $(CYGPATH_W) 'lib/cflags-compat.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags-compat.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags-compat.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags-compat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags-compat.c' object='lib/lib_libvserver_a-cflags-compat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags-compat.obj `if test -f 'lib/cflags-compat.c'; then $(CYGPATH_W) 'lib/cflags-compat.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags-compat.c'; fi` + +lib/lib_libvserver_a-cflags_list-compat.o: lib/cflags_list-compat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags_list-compat.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags_list-compat.Tpo -c -o lib/lib_libvserver_a-cflags_list-compat.o `test -f 'lib/cflags_list-compat.c' || echo '$(srcdir)/'`lib/cflags_list-compat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags_list-compat.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags_list-compat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags_list-compat.c' object='lib/lib_libvserver_a-cflags_list-compat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags_list-compat.o `test -f 'lib/cflags_list-compat.c' || echo '$(srcdir)/'`lib/cflags_list-compat.c + +lib/lib_libvserver_a-cflags_list-compat.obj: lib/cflags_list-compat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags_list-compat.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags_list-compat.Tpo -c -o lib/lib_libvserver_a-cflags_list-compat.obj `if test -f 'lib/cflags_list-compat.c'; then $(CYGPATH_W) 'lib/cflags_list-compat.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags_list-compat.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags_list-compat.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags_list-compat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags_list-compat.c' object='lib/lib_libvserver_a-cflags_list-compat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags_list-compat.obj `if test -f 'lib/cflags_list-compat.c'; then $(CYGPATH_W) 'lib/cflags_list-compat.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags_list-compat.c'; fi` + +lib/lib_libvserver_a-comparevserverbyid.o: lib/comparevserverbyid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-comparevserverbyid.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-comparevserverbyid.Tpo -c -o lib/lib_libvserver_a-comparevserverbyid.o `test -f 'lib/comparevserverbyid.c' || echo '$(srcdir)/'`lib/comparevserverbyid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-comparevserverbyid.Tpo lib/$(DEPDIR)/lib_libvserver_a-comparevserverbyid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/comparevserverbyid.c' object='lib/lib_libvserver_a-comparevserverbyid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-comparevserverbyid.o `test -f 'lib/comparevserverbyid.c' || echo '$(srcdir)/'`lib/comparevserverbyid.c + +lib/lib_libvserver_a-comparevserverbyid.obj: lib/comparevserverbyid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-comparevserverbyid.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-comparevserverbyid.Tpo -c -o lib/lib_libvserver_a-comparevserverbyid.obj `if test -f 'lib/comparevserverbyid.c'; then $(CYGPATH_W) 'lib/comparevserverbyid.c'; else $(CYGPATH_W) '$(srcdir)/lib/comparevserverbyid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-comparevserverbyid.Tpo lib/$(DEPDIR)/lib_libvserver_a-comparevserverbyid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/comparevserverbyid.c' object='lib/lib_libvserver_a-comparevserverbyid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-comparevserverbyid.obj `if test -f 'lib/comparevserverbyid.c'; then $(CYGPATH_W) 'lib/comparevserverbyid.c'; else $(CYGPATH_W) '$(srcdir)/lib/comparevserverbyid.c'; fi` + +lib/lib_libvserver_a-createskeleton.o: lib/createskeleton.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-createskeleton.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-createskeleton.Tpo -c -o lib/lib_libvserver_a-createskeleton.o `test -f 'lib/createskeleton.c' || echo '$(srcdir)/'`lib/createskeleton.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-createskeleton.Tpo lib/$(DEPDIR)/lib_libvserver_a-createskeleton.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/createskeleton.c' object='lib/lib_libvserver_a-createskeleton.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-createskeleton.o `test -f 'lib/createskeleton.c' || echo '$(srcdir)/'`lib/createskeleton.c + +lib/lib_libvserver_a-createskeleton.obj: lib/createskeleton.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-createskeleton.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-createskeleton.Tpo -c -o lib/lib_libvserver_a-createskeleton.obj `if test -f 'lib/createskeleton.c'; then $(CYGPATH_W) 'lib/createskeleton.c'; else $(CYGPATH_W) '$(srcdir)/lib/createskeleton.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-createskeleton.Tpo lib/$(DEPDIR)/lib_libvserver_a-createskeleton.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/createskeleton.c' object='lib/lib_libvserver_a-createskeleton.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-createskeleton.obj `if test -f 'lib/createskeleton.c'; then $(CYGPATH_W) 'lib/createskeleton.c'; else $(CYGPATH_W) '$(srcdir)/lib/createskeleton.c'; fi` + +lib/lib_libvserver_a-getvserverbyctx.o: lib/getvserverbyctx.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvserverbyctx.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvserverbyctx.Tpo -c -o lib/lib_libvserver_a-getvserverbyctx.o `test -f 'lib/getvserverbyctx.c' || echo '$(srcdir)/'`lib/getvserverbyctx.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvserverbyctx.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvserverbyctx.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverbyctx.c' object='lib/lib_libvserver_a-getvserverbyctx.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvserverbyctx.o `test -f 'lib/getvserverbyctx.c' || echo '$(srcdir)/'`lib/getvserverbyctx.c + +lib/lib_libvserver_a-getvserverbyctx.obj: lib/getvserverbyctx.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvserverbyctx.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvserverbyctx.Tpo -c -o lib/lib_libvserver_a-getvserverbyctx.obj `if test -f 'lib/getvserverbyctx.c'; then $(CYGPATH_W) 'lib/getvserverbyctx.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvserverbyctx.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvserverbyctx.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvserverbyctx.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverbyctx.c' object='lib/lib_libvserver_a-getvserverbyctx.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvserverbyctx.obj `if test -f 'lib/getvserverbyctx.c'; then $(CYGPATH_W) 'lib/getvserverbyctx.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvserverbyctx.c'; fi` + +lib/lib_libvserver_a-getvservercfgstyle.o: lib/getvservercfgstyle.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservercfgstyle.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservercfgstyle.Tpo -c -o lib/lib_libvserver_a-getvservercfgstyle.o `test -f 'lib/getvservercfgstyle.c' || echo '$(srcdir)/'`lib/getvservercfgstyle.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservercfgstyle.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservercfgstyle.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservercfgstyle.c' object='lib/lib_libvserver_a-getvservercfgstyle.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservercfgstyle.o `test -f 'lib/getvservercfgstyle.c' || echo '$(srcdir)/'`lib/getvservercfgstyle.c + +lib/lib_libvserver_a-getvservercfgstyle.obj: lib/getvservercfgstyle.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservercfgstyle.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservercfgstyle.Tpo -c -o lib/lib_libvserver_a-getvservercfgstyle.obj `if test -f 'lib/getvservercfgstyle.c'; then $(CYGPATH_W) 'lib/getvservercfgstyle.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservercfgstyle.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservercfgstyle.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservercfgstyle.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservercfgstyle.c' object='lib/lib_libvserver_a-getvservercfgstyle.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservercfgstyle.obj `if test -f 'lib/getvservercfgstyle.c'; then $(CYGPATH_W) 'lib/getvservercfgstyle.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservercfgstyle.c'; fi` + +lib/lib_libvserver_a-getvserverappdir.o: lib/getvserverappdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvserverappdir.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvserverappdir.Tpo -c -o lib/lib_libvserver_a-getvserverappdir.o `test -f 'lib/getvserverappdir.c' || echo '$(srcdir)/'`lib/getvserverappdir.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvserverappdir.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvserverappdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverappdir.c' object='lib/lib_libvserver_a-getvserverappdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvserverappdir.o `test -f 'lib/getvserverappdir.c' || echo '$(srcdir)/'`lib/getvserverappdir.c + +lib/lib_libvserver_a-getvserverappdir.obj: lib/getvserverappdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvserverappdir.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvserverappdir.Tpo -c -o lib/lib_libvserver_a-getvserverappdir.obj `if test -f 'lib/getvserverappdir.c'; then $(CYGPATH_W) 'lib/getvserverappdir.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvserverappdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvserverappdir.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvserverappdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverappdir.c' object='lib/lib_libvserver_a-getvserverappdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvserverappdir.obj `if test -f 'lib/getvserverappdir.c'; then $(CYGPATH_W) 'lib/getvserverappdir.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvserverappdir.c'; fi` + +lib/lib_libvserver_a-getvservercfgdir.o: lib/getvservercfgdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservercfgdir.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservercfgdir.Tpo -c -o lib/lib_libvserver_a-getvservercfgdir.o `test -f 'lib/getvservercfgdir.c' || echo '$(srcdir)/'`lib/getvservercfgdir.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservercfgdir.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservercfgdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservercfgdir.c' object='lib/lib_libvserver_a-getvservercfgdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservercfgdir.o `test -f 'lib/getvservercfgdir.c' || echo '$(srcdir)/'`lib/getvservercfgdir.c + +lib/lib_libvserver_a-getvservercfgdir.obj: lib/getvservercfgdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservercfgdir.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservercfgdir.Tpo -c -o lib/lib_libvserver_a-getvservercfgdir.obj `if test -f 'lib/getvservercfgdir.c'; then $(CYGPATH_W) 'lib/getvservercfgdir.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservercfgdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservercfgdir.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservercfgdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservercfgdir.c' object='lib/lib_libvserver_a-getvservercfgdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservercfgdir.obj `if test -f 'lib/getvservercfgdir.c'; then $(CYGPATH_W) 'lib/getvservercfgdir.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservercfgdir.c'; fi` + +lib/lib_libvserver_a-getvserverctx.o: lib/getvserverctx.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvserverctx.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvserverctx.Tpo -c -o lib/lib_libvserver_a-getvserverctx.o `test -f 'lib/getvserverctx.c' || echo '$(srcdir)/'`lib/getvserverctx.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvserverctx.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvserverctx.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverctx.c' object='lib/lib_libvserver_a-getvserverctx.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvserverctx.o `test -f 'lib/getvserverctx.c' || echo '$(srcdir)/'`lib/getvserverctx.c + +lib/lib_libvserver_a-getvserverctx.obj: lib/getvserverctx.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvserverctx.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvserverctx.Tpo -c -o lib/lib_libvserver_a-getvserverctx.obj `if test -f 'lib/getvserverctx.c'; then $(CYGPATH_W) 'lib/getvserverctx.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvserverctx.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvserverctx.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvserverctx.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverctx.c' object='lib/lib_libvserver_a-getvserverctx.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvserverctx.obj `if test -f 'lib/getvserverctx.c'; then $(CYGPATH_W) 'lib/getvserverctx.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvserverctx.c'; fi` + +lib/lib_libvserver_a-getvservername.o: lib/getvservername.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservername.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservername.Tpo -c -o lib/lib_libvserver_a-getvservername.o `test -f 'lib/getvservername.c' || echo '$(srcdir)/'`lib/getvservername.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservername.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservername.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservername.c' object='lib/lib_libvserver_a-getvservername.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservername.o `test -f 'lib/getvservername.c' || echo '$(srcdir)/'`lib/getvservername.c + +lib/lib_libvserver_a-getvservername.obj: lib/getvservername.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservername.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservername.Tpo -c -o lib/lib_libvserver_a-getvservername.obj `if test -f 'lib/getvservername.c'; then $(CYGPATH_W) 'lib/getvservername.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservername.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservername.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservername.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservername.c' object='lib/lib_libvserver_a-getvservername.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservername.obj `if test -f 'lib/getvservername.c'; then $(CYGPATH_W) 'lib/getvservername.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservername.c'; fi` + +lib/lib_libvserver_a-getvservervdir.o: lib/getvservervdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservervdir.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservervdir.Tpo -c -o lib/lib_libvserver_a-getvservervdir.o `test -f 'lib/getvservervdir.c' || echo '$(srcdir)/'`lib/getvservervdir.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservervdir.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservervdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservervdir.c' object='lib/lib_libvserver_a-getvservervdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservervdir.o `test -f 'lib/getvservervdir.c' || echo '$(srcdir)/'`lib/getvservervdir.c + +lib/lib_libvserver_a-getvservervdir.obj: lib/getvservervdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-getvservervdir.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-getvservervdir.Tpo -c -o lib/lib_libvserver_a-getvservervdir.obj `if test -f 'lib/getvservervdir.c'; then $(CYGPATH_W) 'lib/getvservervdir.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservervdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-getvservervdir.Tpo lib/$(DEPDIR)/lib_libvserver_a-getvservervdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservervdir.c' object='lib/lib_libvserver_a-getvservervdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-getvservervdir.obj `if test -f 'lib/getvservervdir.c'; then $(CYGPATH_W) 'lib/getvservervdir.c'; else $(CYGPATH_W) '$(srcdir)/lib/getvservervdir.c'; fi` + +lib/lib_libvserver_a-xidopt2xid.o: lib/xidopt2xid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-xidopt2xid.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-xidopt2xid.Tpo -c -o lib/lib_libvserver_a-xidopt2xid.o `test -f 'lib/xidopt2xid.c' || echo '$(srcdir)/'`lib/xidopt2xid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-xidopt2xid.Tpo lib/$(DEPDIR)/lib_libvserver_a-xidopt2xid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xidopt2xid.c' object='lib/lib_libvserver_a-xidopt2xid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-xidopt2xid.o `test -f 'lib/xidopt2xid.c' || echo '$(srcdir)/'`lib/xidopt2xid.c + +lib/lib_libvserver_a-xidopt2xid.obj: lib/xidopt2xid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-xidopt2xid.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-xidopt2xid.Tpo -c -o lib/lib_libvserver_a-xidopt2xid.obj `if test -f 'lib/xidopt2xid.c'; then $(CYGPATH_W) 'lib/xidopt2xid.c'; else $(CYGPATH_W) '$(srcdir)/lib/xidopt2xid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-xidopt2xid.Tpo lib/$(DEPDIR)/lib_libvserver_a-xidopt2xid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xidopt2xid.c' object='lib/lib_libvserver_a-xidopt2xid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-xidopt2xid.obj `if test -f 'lib/xidopt2xid.c'; then $(CYGPATH_W) 'lib/xidopt2xid.c'; else $(CYGPATH_W) '$(srcdir)/lib/xidopt2xid.c'; fi` + +lib/lib_libvserver_a-nidopt2nid.o: lib/nidopt2nid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-nidopt2nid.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-nidopt2nid.Tpo -c -o lib/lib_libvserver_a-nidopt2nid.o `test -f 'lib/nidopt2nid.c' || echo '$(srcdir)/'`lib/nidopt2nid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-nidopt2nid.Tpo lib/$(DEPDIR)/lib_libvserver_a-nidopt2nid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nidopt2nid.c' object='lib/lib_libvserver_a-nidopt2nid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-nidopt2nid.o `test -f 'lib/nidopt2nid.c' || echo '$(srcdir)/'`lib/nidopt2nid.c + +lib/lib_libvserver_a-nidopt2nid.obj: lib/nidopt2nid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-nidopt2nid.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-nidopt2nid.Tpo -c -o lib/lib_libvserver_a-nidopt2nid.obj `if test -f 'lib/nidopt2nid.c'; then $(CYGPATH_W) 'lib/nidopt2nid.c'; else $(CYGPATH_W) '$(srcdir)/lib/nidopt2nid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-nidopt2nid.Tpo lib/$(DEPDIR)/lib_libvserver_a-nidopt2nid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nidopt2nid.c' object='lib/lib_libvserver_a-nidopt2nid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-nidopt2nid.obj `if test -f 'lib/nidopt2nid.c'; then $(CYGPATH_W) 'lib/nidopt2nid.c'; else $(CYGPATH_W) '$(srcdir)/lib/nidopt2nid.c'; fi` + +lib/lib_libvserver_a-tagopt2tag.o: lib/tagopt2tag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-tagopt2tag.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-tagopt2tag.Tpo -c -o lib/lib_libvserver_a-tagopt2tag.o `test -f 'lib/tagopt2tag.c' || echo '$(srcdir)/'`lib/tagopt2tag.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-tagopt2tag.Tpo lib/$(DEPDIR)/lib_libvserver_a-tagopt2tag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/tagopt2tag.c' object='lib/lib_libvserver_a-tagopt2tag.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-tagopt2tag.o `test -f 'lib/tagopt2tag.c' || echo '$(srcdir)/'`lib/tagopt2tag.c + +lib/lib_libvserver_a-tagopt2tag.obj: lib/tagopt2tag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-tagopt2tag.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-tagopt2tag.Tpo -c -o lib/lib_libvserver_a-tagopt2tag.obj `if test -f 'lib/tagopt2tag.c'; then $(CYGPATH_W) 'lib/tagopt2tag.c'; else $(CYGPATH_W) '$(srcdir)/lib/tagopt2tag.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-tagopt2tag.Tpo lib/$(DEPDIR)/lib_libvserver_a-tagopt2tag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/tagopt2tag.c' object='lib/lib_libvserver_a-tagopt2tag.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-tagopt2tag.obj `if test -f 'lib/tagopt2tag.c'; then $(CYGPATH_W) 'lib/tagopt2tag.c'; else $(CYGPATH_W) '$(srcdir)/lib/tagopt2tag.c'; fi` + +lib/lib_libvserver_a-exitlikeprocess.o: lib/exitlikeprocess.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-exitlikeprocess.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-exitlikeprocess.Tpo -c -o lib/lib_libvserver_a-exitlikeprocess.o `test -f 'lib/exitlikeprocess.c' || echo '$(srcdir)/'`lib/exitlikeprocess.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-exitlikeprocess.Tpo lib/$(DEPDIR)/lib_libvserver_a-exitlikeprocess.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/exitlikeprocess.c' object='lib/lib_libvserver_a-exitlikeprocess.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-exitlikeprocess.o `test -f 'lib/exitlikeprocess.c' || echo '$(srcdir)/'`lib/exitlikeprocess.c + +lib/lib_libvserver_a-exitlikeprocess.obj: lib/exitlikeprocess.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-exitlikeprocess.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-exitlikeprocess.Tpo -c -o lib/lib_libvserver_a-exitlikeprocess.obj `if test -f 'lib/exitlikeprocess.c'; then $(CYGPATH_W) 'lib/exitlikeprocess.c'; else $(CYGPATH_W) '$(srcdir)/lib/exitlikeprocess.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-exitlikeprocess.Tpo lib/$(DEPDIR)/lib_libvserver_a-exitlikeprocess.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/exitlikeprocess.c' object='lib/lib_libvserver_a-exitlikeprocess.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-exitlikeprocess.obj `if test -f 'lib/exitlikeprocess.c'; then $(CYGPATH_W) 'lib/exitlikeprocess.c'; else $(CYGPATH_W) '$(srcdir)/lib/exitlikeprocess.c'; fi` + +lib/lib_libvserver_a-syscall_rlimit.o: lib/syscall_rlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_rlimit.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimit.Tpo -c -o lib/lib_libvserver_a-syscall_rlimit.o `test -f 'lib/syscall_rlimit.c' || echo '$(srcdir)/'`lib/syscall_rlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_rlimit.c' object='lib/lib_libvserver_a-syscall_rlimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_rlimit.o `test -f 'lib/syscall_rlimit.c' || echo '$(srcdir)/'`lib/syscall_rlimit.c + +lib/lib_libvserver_a-syscall_rlimit.obj: lib/syscall_rlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_rlimit.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimit.Tpo -c -o lib/lib_libvserver_a-syscall_rlimit.obj `if test -f 'lib/syscall_rlimit.c'; then $(CYGPATH_W) 'lib/syscall_rlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_rlimit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_rlimit.c' object='lib/lib_libvserver_a-syscall_rlimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_rlimit.obj `if test -f 'lib/syscall_rlimit.c'; then $(CYGPATH_W) 'lib/syscall_rlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_rlimit.c'; fi` + +lib/lib_libvserver_a-syscall_kill.o: lib/syscall_kill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_kill.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_kill.Tpo -c -o lib/lib_libvserver_a-syscall_kill.o `test -f 'lib/syscall_kill.c' || echo '$(srcdir)/'`lib/syscall_kill.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_kill.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_kill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_kill.c' object='lib/lib_libvserver_a-syscall_kill.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_kill.o `test -f 'lib/syscall_kill.c' || echo '$(srcdir)/'`lib/syscall_kill.c + +lib/lib_libvserver_a-syscall_kill.obj: lib/syscall_kill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_kill.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_kill.Tpo -c -o lib/lib_libvserver_a-syscall_kill.obj `if test -f 'lib/syscall_kill.c'; then $(CYGPATH_W) 'lib/syscall_kill.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_kill.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_kill.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_kill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_kill.c' object='lib/lib_libvserver_a-syscall_kill.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_kill.obj `if test -f 'lib/syscall_kill.c'; then $(CYGPATH_W) 'lib/syscall_kill.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_kill.c'; fi` + +lib/lib_libvserver_a-syscall_ctxcreate.o: lib/syscall_ctxcreate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_ctxcreate.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxcreate.Tpo -c -o lib/lib_libvserver_a-syscall_ctxcreate.o `test -f 'lib/syscall_ctxcreate.c' || echo '$(srcdir)/'`lib/syscall_ctxcreate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxcreate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxcreate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxcreate.c' object='lib/lib_libvserver_a-syscall_ctxcreate.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_ctxcreate.o `test -f 'lib/syscall_ctxcreate.c' || echo '$(srcdir)/'`lib/syscall_ctxcreate.c + +lib/lib_libvserver_a-syscall_ctxcreate.obj: lib/syscall_ctxcreate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_ctxcreate.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxcreate.Tpo -c -o lib/lib_libvserver_a-syscall_ctxcreate.obj `if test -f 'lib/syscall_ctxcreate.c'; then $(CYGPATH_W) 'lib/syscall_ctxcreate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_ctxcreate.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxcreate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxcreate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxcreate.c' object='lib/lib_libvserver_a-syscall_ctxcreate.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_ctxcreate.obj `if test -f 'lib/syscall_ctxcreate.c'; then $(CYGPATH_W) 'lib/syscall_ctxcreate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_ctxcreate.c'; fi` + +lib/lib_libvserver_a-syscall_ctxmigrate.o: lib/syscall_ctxmigrate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_ctxmigrate.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxmigrate.Tpo -c -o lib/lib_libvserver_a-syscall_ctxmigrate.o `test -f 'lib/syscall_ctxmigrate.c' || echo '$(srcdir)/'`lib/syscall_ctxmigrate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxmigrate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxmigrate.c' object='lib/lib_libvserver_a-syscall_ctxmigrate.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_ctxmigrate.o `test -f 'lib/syscall_ctxmigrate.c' || echo '$(srcdir)/'`lib/syscall_ctxmigrate.c + +lib/lib_libvserver_a-syscall_ctxmigrate.obj: lib/syscall_ctxmigrate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_ctxmigrate.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxmigrate.Tpo -c -o lib/lib_libvserver_a-syscall_ctxmigrate.obj `if test -f 'lib/syscall_ctxmigrate.c'; then $(CYGPATH_W) 'lib/syscall_ctxmigrate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_ctxmigrate.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxmigrate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxmigrate.c' object='lib/lib_libvserver_a-syscall_ctxmigrate.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_ctxmigrate.obj `if test -f 'lib/syscall_ctxmigrate.c'; then $(CYGPATH_W) 'lib/syscall_ctxmigrate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_ctxmigrate.c'; fi` + +lib/lib_libvserver_a-syscall_cleanupnamespace.o: lib/syscall_cleanupnamespace.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_cleanupnamespace.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_cleanupnamespace.Tpo -c -o lib/lib_libvserver_a-syscall_cleanupnamespace.o `test -f 'lib/syscall_cleanupnamespace.c' || echo '$(srcdir)/'`lib/syscall_cleanupnamespace.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_cleanupnamespace.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_cleanupnamespace.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_cleanupnamespace.c' object='lib/lib_libvserver_a-syscall_cleanupnamespace.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_cleanupnamespace.o `test -f 'lib/syscall_cleanupnamespace.c' || echo '$(srcdir)/'`lib/syscall_cleanupnamespace.c + +lib/lib_libvserver_a-syscall_cleanupnamespace.obj: lib/syscall_cleanupnamespace.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_cleanupnamespace.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_cleanupnamespace.Tpo -c -o lib/lib_libvserver_a-syscall_cleanupnamespace.obj `if test -f 'lib/syscall_cleanupnamespace.c'; then $(CYGPATH_W) 'lib/syscall_cleanupnamespace.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_cleanupnamespace.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_cleanupnamespace.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_cleanupnamespace.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_cleanupnamespace.c' object='lib/lib_libvserver_a-syscall_cleanupnamespace.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_cleanupnamespace.obj `if test -f 'lib/syscall_cleanupnamespace.c'; then $(CYGPATH_W) 'lib/syscall_cleanupnamespace.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_cleanupnamespace.c'; fi` + +lib/lib_libvserver_a-syscall_enternamespace.o: lib/syscall_enternamespace.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_enternamespace.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_enternamespace.Tpo -c -o lib/lib_libvserver_a-syscall_enternamespace.o `test -f 'lib/syscall_enternamespace.c' || echo '$(srcdir)/'`lib/syscall_enternamespace.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_enternamespace.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_enternamespace.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_enternamespace.c' object='lib/lib_libvserver_a-syscall_enternamespace.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_enternamespace.o `test -f 'lib/syscall_enternamespace.c' || echo '$(srcdir)/'`lib/syscall_enternamespace.c + +lib/lib_libvserver_a-syscall_enternamespace.obj: lib/syscall_enternamespace.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_enternamespace.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_enternamespace.Tpo -c -o lib/lib_libvserver_a-syscall_enternamespace.obj `if test -f 'lib/syscall_enternamespace.c'; then $(CYGPATH_W) 'lib/syscall_enternamespace.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_enternamespace.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_enternamespace.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_enternamespace.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_enternamespace.c' object='lib/lib_libvserver_a-syscall_enternamespace.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_enternamespace.obj `if test -f 'lib/syscall_enternamespace.c'; then $(CYGPATH_W) 'lib/syscall_enternamespace.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_enternamespace.c'; fi` + +lib/lib_libvserver_a-syscall_getccaps.o: lib/syscall_getccaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getccaps.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getccaps.Tpo -c -o lib/lib_libvserver_a-syscall_getccaps.o `test -f 'lib/syscall_getccaps.c' || echo '$(srcdir)/'`lib/syscall_getccaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getccaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getccaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getccaps.c' object='lib/lib_libvserver_a-syscall_getccaps.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getccaps.o `test -f 'lib/syscall_getccaps.c' || echo '$(srcdir)/'`lib/syscall_getccaps.c + +lib/lib_libvserver_a-syscall_getccaps.obj: lib/syscall_getccaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getccaps.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getccaps.Tpo -c -o lib/lib_libvserver_a-syscall_getccaps.obj `if test -f 'lib/syscall_getccaps.c'; then $(CYGPATH_W) 'lib/syscall_getccaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getccaps.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getccaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getccaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getccaps.c' object='lib/lib_libvserver_a-syscall_getccaps.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getccaps.obj `if test -f 'lib/syscall_getccaps.c'; then $(CYGPATH_W) 'lib/syscall_getccaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getccaps.c'; fi` + +lib/lib_libvserver_a-syscall_getcflags.o: lib/syscall_getcflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getcflags.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getcflags.Tpo -c -o lib/lib_libvserver_a-syscall_getcflags.o `test -f 'lib/syscall_getcflags.c' || echo '$(srcdir)/'`lib/syscall_getcflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getcflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getcflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getcflags.c' object='lib/lib_libvserver_a-syscall_getcflags.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getcflags.o `test -f 'lib/syscall_getcflags.c' || echo '$(srcdir)/'`lib/syscall_getcflags.c + +lib/lib_libvserver_a-syscall_getcflags.obj: lib/syscall_getcflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getcflags.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getcflags.Tpo -c -o lib/lib_libvserver_a-syscall_getcflags.obj `if test -f 'lib/syscall_getcflags.c'; then $(CYGPATH_W) 'lib/syscall_getcflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getcflags.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getcflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getcflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getcflags.c' object='lib/lib_libvserver_a-syscall_getcflags.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getcflags.obj `if test -f 'lib/syscall_getcflags.c'; then $(CYGPATH_W) 'lib/syscall_getcflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getcflags.c'; fi` + +lib/lib_libvserver_a-syscall_getiattr.o: lib/syscall_getiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getiattr.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getiattr.Tpo -c -o lib/lib_libvserver_a-syscall_getiattr.o `test -f 'lib/syscall_getiattr.c' || echo '$(srcdir)/'`lib/syscall_getiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getiattr.c' object='lib/lib_libvserver_a-syscall_getiattr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getiattr.o `test -f 'lib/syscall_getiattr.c' || echo '$(srcdir)/'`lib/syscall_getiattr.c + +lib/lib_libvserver_a-syscall_getiattr.obj: lib/syscall_getiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getiattr.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getiattr.Tpo -c -o lib/lib_libvserver_a-syscall_getiattr.obj `if test -f 'lib/syscall_getiattr.c'; then $(CYGPATH_W) 'lib/syscall_getiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getiattr.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getiattr.c' object='lib/lib_libvserver_a-syscall_getiattr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getiattr.obj `if test -f 'lib/syscall_getiattr.c'; then $(CYGPATH_W) 'lib/syscall_getiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getiattr.c'; fi` + +lib/lib_libvserver_a-syscall_getncaps.o: lib/syscall_getncaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getncaps.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getncaps.Tpo -c -o lib/lib_libvserver_a-syscall_getncaps.o `test -f 'lib/syscall_getncaps.c' || echo '$(srcdir)/'`lib/syscall_getncaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getncaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getncaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getncaps.c' object='lib/lib_libvserver_a-syscall_getncaps.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getncaps.o `test -f 'lib/syscall_getncaps.c' || echo '$(srcdir)/'`lib/syscall_getncaps.c + +lib/lib_libvserver_a-syscall_getncaps.obj: lib/syscall_getncaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getncaps.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getncaps.Tpo -c -o lib/lib_libvserver_a-syscall_getncaps.obj `if test -f 'lib/syscall_getncaps.c'; then $(CYGPATH_W) 'lib/syscall_getncaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getncaps.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getncaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getncaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getncaps.c' object='lib/lib_libvserver_a-syscall_getncaps.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getncaps.obj `if test -f 'lib/syscall_getncaps.c'; then $(CYGPATH_W) 'lib/syscall_getncaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getncaps.c'; fi` + +lib/lib_libvserver_a-syscall_getnflags.o: lib/syscall_getnflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getnflags.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getnflags.Tpo -c -o lib/lib_libvserver_a-syscall_getnflags.o `test -f 'lib/syscall_getnflags.c' || echo '$(srcdir)/'`lib/syscall_getnflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getnflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getnflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getnflags.c' object='lib/lib_libvserver_a-syscall_getnflags.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getnflags.o `test -f 'lib/syscall_getnflags.c' || echo '$(srcdir)/'`lib/syscall_getnflags.c + +lib/lib_libvserver_a-syscall_getnflags.obj: lib/syscall_getnflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getnflags.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getnflags.Tpo -c -o lib/lib_libvserver_a-syscall_getnflags.obj `if test -f 'lib/syscall_getnflags.c'; then $(CYGPATH_W) 'lib/syscall_getnflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getnflags.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getnflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getnflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getnflags.c' object='lib/lib_libvserver_a-syscall_getnflags.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getnflags.obj `if test -f 'lib/syscall_getnflags.c'; then $(CYGPATH_W) 'lib/syscall_getnflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getnflags.c'; fi` + +lib/lib_libvserver_a-syscall_getnxinfo.o: lib/syscall_getnxinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getnxinfo.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getnxinfo.Tpo -c -o lib/lib_libvserver_a-syscall_getnxinfo.o `test -f 'lib/syscall_getnxinfo.c' || echo '$(srcdir)/'`lib/syscall_getnxinfo.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getnxinfo.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getnxinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getnxinfo.c' object='lib/lib_libvserver_a-syscall_getnxinfo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getnxinfo.o `test -f 'lib/syscall_getnxinfo.c' || echo '$(srcdir)/'`lib/syscall_getnxinfo.c + +lib/lib_libvserver_a-syscall_getnxinfo.obj: lib/syscall_getnxinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getnxinfo.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getnxinfo.Tpo -c -o lib/lib_libvserver_a-syscall_getnxinfo.obj `if test -f 'lib/syscall_getnxinfo.c'; then $(CYGPATH_W) 'lib/syscall_getnxinfo.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getnxinfo.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getnxinfo.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getnxinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getnxinfo.c' object='lib/lib_libvserver_a-syscall_getnxinfo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getnxinfo.obj `if test -f 'lib/syscall_getnxinfo.c'; then $(CYGPATH_W) 'lib/syscall_getnxinfo.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getnxinfo.c'; fi` + +lib/lib_libvserver_a-syscall_gettasknid.o: lib/syscall_gettasknid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_gettasknid.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_gettasknid.Tpo -c -o lib/lib_libvserver_a-syscall_gettasknid.o `test -f 'lib/syscall_gettasknid.c' || echo '$(srcdir)/'`lib/syscall_gettasknid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_gettasknid.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_gettasknid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_gettasknid.c' object='lib/lib_libvserver_a-syscall_gettasknid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_gettasknid.o `test -f 'lib/syscall_gettasknid.c' || echo '$(srcdir)/'`lib/syscall_gettasknid.c + +lib/lib_libvserver_a-syscall_gettasknid.obj: lib/syscall_gettasknid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_gettasknid.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_gettasknid.Tpo -c -o lib/lib_libvserver_a-syscall_gettasknid.obj `if test -f 'lib/syscall_gettasknid.c'; then $(CYGPATH_W) 'lib/syscall_gettasknid.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_gettasknid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_gettasknid.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_gettasknid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_gettasknid.c' object='lib/lib_libvserver_a-syscall_gettasknid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_gettasknid.obj `if test -f 'lib/syscall_gettasknid.c'; then $(CYGPATH_W) 'lib/syscall_gettasknid.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_gettasknid.c'; fi` + +lib/lib_libvserver_a-syscall_gettaskxid.o: lib/syscall_gettaskxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_gettaskxid.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_gettaskxid.Tpo -c -o lib/lib_libvserver_a-syscall_gettaskxid.o `test -f 'lib/syscall_gettaskxid.c' || echo '$(srcdir)/'`lib/syscall_gettaskxid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_gettaskxid.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_gettaskxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_gettaskxid.c' object='lib/lib_libvserver_a-syscall_gettaskxid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_gettaskxid.o `test -f 'lib/syscall_gettaskxid.c' || echo '$(srcdir)/'`lib/syscall_gettaskxid.c + +lib/lib_libvserver_a-syscall_gettaskxid.obj: lib/syscall_gettaskxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_gettaskxid.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_gettaskxid.Tpo -c -o lib/lib_libvserver_a-syscall_gettaskxid.obj `if test -f 'lib/syscall_gettaskxid.c'; then $(CYGPATH_W) 'lib/syscall_gettaskxid.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_gettaskxid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_gettaskxid.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_gettaskxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_gettaskxid.c' object='lib/lib_libvserver_a-syscall_gettaskxid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_gettaskxid.obj `if test -f 'lib/syscall_gettaskxid.c'; then $(CYGPATH_W) 'lib/syscall_gettaskxid.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_gettaskxid.c'; fi` + +lib/lib_libvserver_a-syscall_getvhiname.o: lib/syscall_getvhiname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getvhiname.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getvhiname.Tpo -c -o lib/lib_libvserver_a-syscall_getvhiname.o `test -f 'lib/syscall_getvhiname.c' || echo '$(srcdir)/'`lib/syscall_getvhiname.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getvhiname.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getvhiname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvhiname.c' object='lib/lib_libvserver_a-syscall_getvhiname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getvhiname.o `test -f 'lib/syscall_getvhiname.c' || echo '$(srcdir)/'`lib/syscall_getvhiname.c + +lib/lib_libvserver_a-syscall_getvhiname.obj: lib/syscall_getvhiname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getvhiname.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getvhiname.Tpo -c -o lib/lib_libvserver_a-syscall_getvhiname.obj `if test -f 'lib/syscall_getvhiname.c'; then $(CYGPATH_W) 'lib/syscall_getvhiname.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getvhiname.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getvhiname.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getvhiname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvhiname.c' object='lib/lib_libvserver_a-syscall_getvhiname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getvhiname.obj `if test -f 'lib/syscall_getvhiname.c'; then $(CYGPATH_W) 'lib/syscall_getvhiname.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getvhiname.c'; fi` + +lib/lib_libvserver_a-syscall_getvxinfo.o: lib/syscall_getvxinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getvxinfo.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getvxinfo.Tpo -c -o lib/lib_libvserver_a-syscall_getvxinfo.o `test -f 'lib/syscall_getvxinfo.c' || echo '$(srcdir)/'`lib/syscall_getvxinfo.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getvxinfo.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getvxinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvxinfo.c' object='lib/lib_libvserver_a-syscall_getvxinfo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getvxinfo.o `test -f 'lib/syscall_getvxinfo.c' || echo '$(srcdir)/'`lib/syscall_getvxinfo.c + +lib/lib_libvserver_a-syscall_getvxinfo.obj: lib/syscall_getvxinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getvxinfo.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getvxinfo.Tpo -c -o lib/lib_libvserver_a-syscall_getvxinfo.obj `if test -f 'lib/syscall_getvxinfo.c'; then $(CYGPATH_W) 'lib/syscall_getvxinfo.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getvxinfo.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getvxinfo.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getvxinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvxinfo.c' object='lib/lib_libvserver_a-syscall_getvxinfo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getvxinfo.obj `if test -f 'lib/syscall_getvxinfo.c'; then $(CYGPATH_W) 'lib/syscall_getvxinfo.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getvxinfo.c'; fi` + +lib/lib_libvserver_a-syscall_netadd.o: lib/syscall_netadd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netadd.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netadd.Tpo -c -o lib/lib_libvserver_a-syscall_netadd.o `test -f 'lib/syscall_netadd.c' || echo '$(srcdir)/'`lib/syscall_netadd.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netadd.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netadd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netadd.c' object='lib/lib_libvserver_a-syscall_netadd.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netadd.o `test -f 'lib/syscall_netadd.c' || echo '$(srcdir)/'`lib/syscall_netadd.c + +lib/lib_libvserver_a-syscall_netadd.obj: lib/syscall_netadd.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netadd.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netadd.Tpo -c -o lib/lib_libvserver_a-syscall_netadd.obj `if test -f 'lib/syscall_netadd.c'; then $(CYGPATH_W) 'lib/syscall_netadd.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netadd.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netadd.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netadd.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netadd.c' object='lib/lib_libvserver_a-syscall_netadd.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netadd.obj `if test -f 'lib/syscall_netadd.c'; then $(CYGPATH_W) 'lib/syscall_netadd.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netadd.c'; fi` + +lib/lib_libvserver_a-syscall_netcreate.o: lib/syscall_netcreate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netcreate.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netcreate.Tpo -c -o lib/lib_libvserver_a-syscall_netcreate.o `test -f 'lib/syscall_netcreate.c' || echo '$(srcdir)/'`lib/syscall_netcreate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netcreate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netcreate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netcreate.c' object='lib/lib_libvserver_a-syscall_netcreate.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netcreate.o `test -f 'lib/syscall_netcreate.c' || echo '$(srcdir)/'`lib/syscall_netcreate.c + +lib/lib_libvserver_a-syscall_netcreate.obj: lib/syscall_netcreate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netcreate.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netcreate.Tpo -c -o lib/lib_libvserver_a-syscall_netcreate.obj `if test -f 'lib/syscall_netcreate.c'; then $(CYGPATH_W) 'lib/syscall_netcreate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netcreate.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netcreate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netcreate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netcreate.c' object='lib/lib_libvserver_a-syscall_netcreate.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netcreate.obj `if test -f 'lib/syscall_netcreate.c'; then $(CYGPATH_W) 'lib/syscall_netcreate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netcreate.c'; fi` + +lib/lib_libvserver_a-syscall_netmigrate.o: lib/syscall_netmigrate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netmigrate.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netmigrate.Tpo -c -o lib/lib_libvserver_a-syscall_netmigrate.o `test -f 'lib/syscall_netmigrate.c' || echo '$(srcdir)/'`lib/syscall_netmigrate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netmigrate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netmigrate.c' object='lib/lib_libvserver_a-syscall_netmigrate.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netmigrate.o `test -f 'lib/syscall_netmigrate.c' || echo '$(srcdir)/'`lib/syscall_netmigrate.c + +lib/lib_libvserver_a-syscall_netmigrate.obj: lib/syscall_netmigrate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netmigrate.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netmigrate.Tpo -c -o lib/lib_libvserver_a-syscall_netmigrate.obj `if test -f 'lib/syscall_netmigrate.c'; then $(CYGPATH_W) 'lib/syscall_netmigrate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netmigrate.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netmigrate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netmigrate.c' object='lib/lib_libvserver_a-syscall_netmigrate.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netmigrate.obj `if test -f 'lib/syscall_netmigrate.c'; then $(CYGPATH_W) 'lib/syscall_netmigrate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netmigrate.c'; fi` + +lib/lib_libvserver_a-syscall_netremove.o: lib/syscall_netremove.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netremove.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netremove.Tpo -c -o lib/lib_libvserver_a-syscall_netremove.o `test -f 'lib/syscall_netremove.c' || echo '$(srcdir)/'`lib/syscall_netremove.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netremove.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netremove.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netremove.c' object='lib/lib_libvserver_a-syscall_netremove.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netremove.o `test -f 'lib/syscall_netremove.c' || echo '$(srcdir)/'`lib/syscall_netremove.c + +lib/lib_libvserver_a-syscall_netremove.obj: lib/syscall_netremove.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_netremove.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_netremove.Tpo -c -o lib/lib_libvserver_a-syscall_netremove.obj `if test -f 'lib/syscall_netremove.c'; then $(CYGPATH_W) 'lib/syscall_netremove.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netremove.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_netremove.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_netremove.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netremove.c' object='lib/lib_libvserver_a-syscall_netremove.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_netremove.obj `if test -f 'lib/syscall_netremove.c'; then $(CYGPATH_W) 'lib/syscall_netremove.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_netremove.c'; fi` + +lib/lib_libvserver_a-syscall_setccaps.o: lib/syscall_setccaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setccaps.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setccaps.Tpo -c -o lib/lib_libvserver_a-syscall_setccaps.o `test -f 'lib/syscall_setccaps.c' || echo '$(srcdir)/'`lib/syscall_setccaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setccaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setccaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setccaps.c' object='lib/lib_libvserver_a-syscall_setccaps.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setccaps.o `test -f 'lib/syscall_setccaps.c' || echo '$(srcdir)/'`lib/syscall_setccaps.c + +lib/lib_libvserver_a-syscall_setccaps.obj: lib/syscall_setccaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setccaps.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setccaps.Tpo -c -o lib/lib_libvserver_a-syscall_setccaps.obj `if test -f 'lib/syscall_setccaps.c'; then $(CYGPATH_W) 'lib/syscall_setccaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setccaps.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setccaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setccaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setccaps.c' object='lib/lib_libvserver_a-syscall_setccaps.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setccaps.obj `if test -f 'lib/syscall_setccaps.c'; then $(CYGPATH_W) 'lib/syscall_setccaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setccaps.c'; fi` + +lib/lib_libvserver_a-syscall_setcflags.o: lib/syscall_setcflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setcflags.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setcflags.Tpo -c -o lib/lib_libvserver_a-syscall_setcflags.o `test -f 'lib/syscall_setcflags.c' || echo '$(srcdir)/'`lib/syscall_setcflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setcflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setcflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setcflags.c' object='lib/lib_libvserver_a-syscall_setcflags.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setcflags.o `test -f 'lib/syscall_setcflags.c' || echo '$(srcdir)/'`lib/syscall_setcflags.c + +lib/lib_libvserver_a-syscall_setcflags.obj: lib/syscall_setcflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setcflags.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setcflags.Tpo -c -o lib/lib_libvserver_a-syscall_setcflags.obj `if test -f 'lib/syscall_setcflags.c'; then $(CYGPATH_W) 'lib/syscall_setcflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setcflags.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setcflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setcflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setcflags.c' object='lib/lib_libvserver_a-syscall_setcflags.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setcflags.obj `if test -f 'lib/syscall_setcflags.c'; then $(CYGPATH_W) 'lib/syscall_setcflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setcflags.c'; fi` + +lib/lib_libvserver_a-syscall_setiattr.o: lib/syscall_setiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setiattr.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setiattr.Tpo -c -o lib/lib_libvserver_a-syscall_setiattr.o `test -f 'lib/syscall_setiattr.c' || echo '$(srcdir)/'`lib/syscall_setiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setiattr.c' object='lib/lib_libvserver_a-syscall_setiattr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setiattr.o `test -f 'lib/syscall_setiattr.c' || echo '$(srcdir)/'`lib/syscall_setiattr.c + +lib/lib_libvserver_a-syscall_setiattr.obj: lib/syscall_setiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setiattr.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setiattr.Tpo -c -o lib/lib_libvserver_a-syscall_setiattr.obj `if test -f 'lib/syscall_setiattr.c'; then $(CYGPATH_W) 'lib/syscall_setiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setiattr.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setiattr.c' object='lib/lib_libvserver_a-syscall_setiattr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setiattr.obj `if test -f 'lib/syscall_setiattr.c'; then $(CYGPATH_W) 'lib/syscall_setiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setiattr.c'; fi` + +lib/lib_libvserver_a-syscall_setnamespace.o: lib/syscall_setnamespace.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setnamespace.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setnamespace.Tpo -c -o lib/lib_libvserver_a-syscall_setnamespace.o `test -f 'lib/syscall_setnamespace.c' || echo '$(srcdir)/'`lib/syscall_setnamespace.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setnamespace.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setnamespace.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setnamespace.c' object='lib/lib_libvserver_a-syscall_setnamespace.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setnamespace.o `test -f 'lib/syscall_setnamespace.c' || echo '$(srcdir)/'`lib/syscall_setnamespace.c + +lib/lib_libvserver_a-syscall_setnamespace.obj: lib/syscall_setnamespace.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setnamespace.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setnamespace.Tpo -c -o lib/lib_libvserver_a-syscall_setnamespace.obj `if test -f 'lib/syscall_setnamespace.c'; then $(CYGPATH_W) 'lib/syscall_setnamespace.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setnamespace.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setnamespace.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setnamespace.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setnamespace.c' object='lib/lib_libvserver_a-syscall_setnamespace.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setnamespace.obj `if test -f 'lib/syscall_setnamespace.c'; then $(CYGPATH_W) 'lib/syscall_setnamespace.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setnamespace.c'; fi` + +lib/lib_libvserver_a-syscall_setncaps.o: lib/syscall_setncaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setncaps.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setncaps.Tpo -c -o lib/lib_libvserver_a-syscall_setncaps.o `test -f 'lib/syscall_setncaps.c' || echo '$(srcdir)/'`lib/syscall_setncaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setncaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setncaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setncaps.c' object='lib/lib_libvserver_a-syscall_setncaps.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setncaps.o `test -f 'lib/syscall_setncaps.c' || echo '$(srcdir)/'`lib/syscall_setncaps.c + +lib/lib_libvserver_a-syscall_setncaps.obj: lib/syscall_setncaps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setncaps.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setncaps.Tpo -c -o lib/lib_libvserver_a-syscall_setncaps.obj `if test -f 'lib/syscall_setncaps.c'; then $(CYGPATH_W) 'lib/syscall_setncaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setncaps.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setncaps.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setncaps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setncaps.c' object='lib/lib_libvserver_a-syscall_setncaps.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setncaps.obj `if test -f 'lib/syscall_setncaps.c'; then $(CYGPATH_W) 'lib/syscall_setncaps.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setncaps.c'; fi` + +lib/lib_libvserver_a-syscall_setnflags.o: lib/syscall_setnflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setnflags.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setnflags.Tpo -c -o lib/lib_libvserver_a-syscall_setnflags.o `test -f 'lib/syscall_setnflags.c' || echo '$(srcdir)/'`lib/syscall_setnflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setnflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setnflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setnflags.c' object='lib/lib_libvserver_a-syscall_setnflags.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setnflags.o `test -f 'lib/syscall_setnflags.c' || echo '$(srcdir)/'`lib/syscall_setnflags.c + +lib/lib_libvserver_a-syscall_setnflags.obj: lib/syscall_setnflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setnflags.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setnflags.Tpo -c -o lib/lib_libvserver_a-syscall_setnflags.obj `if test -f 'lib/syscall_setnflags.c'; then $(CYGPATH_W) 'lib/syscall_setnflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setnflags.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setnflags.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setnflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setnflags.c' object='lib/lib_libvserver_a-syscall_setnflags.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setnflags.obj `if test -f 'lib/syscall_setnflags.c'; then $(CYGPATH_W) 'lib/syscall_setnflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setnflags.c'; fi` + +lib/lib_libvserver_a-syscall_setsched.o: lib/syscall_setsched.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setsched.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setsched.Tpo -c -o lib/lib_libvserver_a-syscall_setsched.o `test -f 'lib/syscall_setsched.c' || echo '$(srcdir)/'`lib/syscall_setsched.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setsched.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setsched.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setsched.c' object='lib/lib_libvserver_a-syscall_setsched.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setsched.o `test -f 'lib/syscall_setsched.c' || echo '$(srcdir)/'`lib/syscall_setsched.c + +lib/lib_libvserver_a-syscall_setsched.obj: lib/syscall_setsched.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setsched.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setsched.Tpo -c -o lib/lib_libvserver_a-syscall_setsched.obj `if test -f 'lib/syscall_setsched.c'; then $(CYGPATH_W) 'lib/syscall_setsched.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setsched.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setsched.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setsched.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setsched.c' object='lib/lib_libvserver_a-syscall_setsched.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setsched.obj `if test -f 'lib/syscall_setsched.c'; then $(CYGPATH_W) 'lib/syscall_setsched.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setsched.c'; fi` + +lib/lib_libvserver_a-syscall_setvhiname.o: lib/syscall_setvhiname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setvhiname.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setvhiname.Tpo -c -o lib/lib_libvserver_a-syscall_setvhiname.o `test -f 'lib/syscall_setvhiname.c' || echo '$(srcdir)/'`lib/syscall_setvhiname.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setvhiname.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setvhiname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setvhiname.c' object='lib/lib_libvserver_a-syscall_setvhiname.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setvhiname.o `test -f 'lib/syscall_setvhiname.c' || echo '$(srcdir)/'`lib/syscall_setvhiname.c + +lib/lib_libvserver_a-syscall_setvhiname.obj: lib/syscall_setvhiname.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setvhiname.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setvhiname.Tpo -c -o lib/lib_libvserver_a-syscall_setvhiname.obj `if test -f 'lib/syscall_setvhiname.c'; then $(CYGPATH_W) 'lib/syscall_setvhiname.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setvhiname.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setvhiname.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setvhiname.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setvhiname.c' object='lib/lib_libvserver_a-syscall_setvhiname.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setvhiname.obj `if test -f 'lib/syscall_setvhiname.c'; then $(CYGPATH_W) 'lib/syscall_setvhiname.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setvhiname.c'; fi` + +lib/lib_libvserver_a-syscall_waitexit.o: lib/syscall_waitexit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_waitexit.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_waitexit.Tpo -c -o lib/lib_libvserver_a-syscall_waitexit.o `test -f 'lib/syscall_waitexit.c' || echo '$(srcdir)/'`lib/syscall_waitexit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_waitexit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_waitexit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_waitexit.c' object='lib/lib_libvserver_a-syscall_waitexit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_waitexit.o `test -f 'lib/syscall_waitexit.c' || echo '$(srcdir)/'`lib/syscall_waitexit.c + +lib/lib_libvserver_a-syscall_waitexit.obj: lib/syscall_waitexit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_waitexit.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_waitexit.Tpo -c -o lib/lib_libvserver_a-syscall_waitexit.obj `if test -f 'lib/syscall_waitexit.c'; then $(CYGPATH_W) 'lib/syscall_waitexit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_waitexit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_waitexit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_waitexit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_waitexit.c' object='lib/lib_libvserver_a-syscall_waitexit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_waitexit.obj `if test -f 'lib/syscall_waitexit.c'; then $(CYGPATH_W) 'lib/syscall_waitexit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_waitexit.c'; fi` + +lib/lib_libvserver_a-bcaps-v13.o: lib/bcaps-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-bcaps-v13.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-bcaps-v13.Tpo -c -o lib/lib_libvserver_a-bcaps-v13.o `test -f 'lib/bcaps-v13.c' || echo '$(srcdir)/'`lib/bcaps-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-bcaps-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-bcaps-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/bcaps-v13.c' object='lib/lib_libvserver_a-bcaps-v13.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-bcaps-v13.o `test -f 'lib/bcaps-v13.c' || echo '$(srcdir)/'`lib/bcaps-v13.c + +lib/lib_libvserver_a-bcaps-v13.obj: lib/bcaps-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-bcaps-v13.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-bcaps-v13.Tpo -c -o lib/lib_libvserver_a-bcaps-v13.obj `if test -f 'lib/bcaps-v13.c'; then $(CYGPATH_W) 'lib/bcaps-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/bcaps-v13.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-bcaps-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-bcaps-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/bcaps-v13.c' object='lib/lib_libvserver_a-bcaps-v13.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-bcaps-v13.obj `if test -f 'lib/bcaps-v13.c'; then $(CYGPATH_W) 'lib/bcaps-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/bcaps-v13.c'; fi` + +lib/lib_libvserver_a-bcaps_list-v13.o: lib/bcaps_list-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-bcaps_list-v13.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-bcaps_list-v13.Tpo -c -o lib/lib_libvserver_a-bcaps_list-v13.o `test -f 'lib/bcaps_list-v13.c' || echo '$(srcdir)/'`lib/bcaps_list-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-bcaps_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-bcaps_list-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/bcaps_list-v13.c' object='lib/lib_libvserver_a-bcaps_list-v13.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-bcaps_list-v13.o `test -f 'lib/bcaps_list-v13.c' || echo '$(srcdir)/'`lib/bcaps_list-v13.c + +lib/lib_libvserver_a-bcaps_list-v13.obj: lib/bcaps_list-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-bcaps_list-v13.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-bcaps_list-v13.Tpo -c -o lib/lib_libvserver_a-bcaps_list-v13.obj `if test -f 'lib/bcaps_list-v13.c'; then $(CYGPATH_W) 'lib/bcaps_list-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/bcaps_list-v13.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-bcaps_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-bcaps_list-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/bcaps_list-v13.c' object='lib/lib_libvserver_a-bcaps_list-v13.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-bcaps_list-v13.obj `if test -f 'lib/bcaps_list-v13.c'; then $(CYGPATH_W) 'lib/bcaps_list-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/bcaps_list-v13.c'; fi` + +lib/lib_libvserver_a-ccaps-v13.o: lib/ccaps-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ccaps-v13.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ccaps-v13.Tpo -c -o lib/lib_libvserver_a-ccaps-v13.o `test -f 'lib/ccaps-v13.c' || echo '$(srcdir)/'`lib/ccaps-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ccaps-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-ccaps-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ccaps-v13.c' object='lib/lib_libvserver_a-ccaps-v13.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ccaps-v13.o `test -f 'lib/ccaps-v13.c' || echo '$(srcdir)/'`lib/ccaps-v13.c + +lib/lib_libvserver_a-ccaps-v13.obj: lib/ccaps-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ccaps-v13.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ccaps-v13.Tpo -c -o lib/lib_libvserver_a-ccaps-v13.obj `if test -f 'lib/ccaps-v13.c'; then $(CYGPATH_W) 'lib/ccaps-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/ccaps-v13.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ccaps-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-ccaps-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ccaps-v13.c' object='lib/lib_libvserver_a-ccaps-v13.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ccaps-v13.obj `if test -f 'lib/ccaps-v13.c'; then $(CYGPATH_W) 'lib/ccaps-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/ccaps-v13.c'; fi` + +lib/lib_libvserver_a-ccaps_list-v13.o: lib/ccaps_list-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ccaps_list-v13.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ccaps_list-v13.Tpo -c -o lib/lib_libvserver_a-ccaps_list-v13.o `test -f 'lib/ccaps_list-v13.c' || echo '$(srcdir)/'`lib/ccaps_list-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ccaps_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-ccaps_list-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ccaps_list-v13.c' object='lib/lib_libvserver_a-ccaps_list-v13.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ccaps_list-v13.o `test -f 'lib/ccaps_list-v13.c' || echo '$(srcdir)/'`lib/ccaps_list-v13.c + +lib/lib_libvserver_a-ccaps_list-v13.obj: lib/ccaps_list-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ccaps_list-v13.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ccaps_list-v13.Tpo -c -o lib/lib_libvserver_a-ccaps_list-v13.obj `if test -f 'lib/ccaps_list-v13.c'; then $(CYGPATH_W) 'lib/ccaps_list-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/ccaps_list-v13.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ccaps_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-ccaps_list-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ccaps_list-v13.c' object='lib/lib_libvserver_a-ccaps_list-v13.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ccaps_list-v13.obj `if test -f 'lib/ccaps_list-v13.c'; then $(CYGPATH_W) 'lib/ccaps_list-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/ccaps_list-v13.c'; fi` + +lib/lib_libvserver_a-cflags-v13.o: lib/cflags-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags-v13.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags-v13.Tpo -c -o lib/lib_libvserver_a-cflags-v13.o `test -f 'lib/cflags-v13.c' || echo '$(srcdir)/'`lib/cflags-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags-v13.c' object='lib/lib_libvserver_a-cflags-v13.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags-v13.o `test -f 'lib/cflags-v13.c' || echo '$(srcdir)/'`lib/cflags-v13.c + +lib/lib_libvserver_a-cflags-v13.obj: lib/cflags-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags-v13.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags-v13.Tpo -c -o lib/lib_libvserver_a-cflags-v13.obj `if test -f 'lib/cflags-v13.c'; then $(CYGPATH_W) 'lib/cflags-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags-v13.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags-v13.c' object='lib/lib_libvserver_a-cflags-v13.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags-v13.obj `if test -f 'lib/cflags-v13.c'; then $(CYGPATH_W) 'lib/cflags-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags-v13.c'; fi` + +lib/lib_libvserver_a-cflags_list-v13.o: lib/cflags_list-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags_list-v13.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags_list-v13.Tpo -c -o lib/lib_libvserver_a-cflags_list-v13.o `test -f 'lib/cflags_list-v13.c' || echo '$(srcdir)/'`lib/cflags_list-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags_list-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags_list-v13.c' object='lib/lib_libvserver_a-cflags_list-v13.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags_list-v13.o `test -f 'lib/cflags_list-v13.c' || echo '$(srcdir)/'`lib/cflags_list-v13.c + +lib/lib_libvserver_a-cflags_list-v13.obj: lib/cflags_list-v13.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-cflags_list-v13.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-cflags_list-v13.Tpo -c -o lib/lib_libvserver_a-cflags_list-v13.obj `if test -f 'lib/cflags_list-v13.c'; then $(CYGPATH_W) 'lib/cflags_list-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags_list-v13.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-cflags_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_a-cflags_list-v13.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags_list-v13.c' object='lib/lib_libvserver_a-cflags_list-v13.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-cflags_list-v13.obj `if test -f 'lib/cflags_list-v13.c'; then $(CYGPATH_W) 'lib/cflags_list-v13.c'; else $(CYGPATH_W) '$(srcdir)/lib/cflags_list-v13.c'; fi` + +lib/lib_libvserver_a-ncaps-net.o: lib/ncaps-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ncaps-net.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ncaps-net.Tpo -c -o lib/lib_libvserver_a-ncaps-net.o `test -f 'lib/ncaps-net.c' || echo '$(srcdir)/'`lib/ncaps-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ncaps-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-ncaps-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ncaps-net.c' object='lib/lib_libvserver_a-ncaps-net.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ncaps-net.o `test -f 'lib/ncaps-net.c' || echo '$(srcdir)/'`lib/ncaps-net.c + +lib/lib_libvserver_a-ncaps-net.obj: lib/ncaps-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ncaps-net.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ncaps-net.Tpo -c -o lib/lib_libvserver_a-ncaps-net.obj `if test -f 'lib/ncaps-net.c'; then $(CYGPATH_W) 'lib/ncaps-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/ncaps-net.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ncaps-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-ncaps-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ncaps-net.c' object='lib/lib_libvserver_a-ncaps-net.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ncaps-net.obj `if test -f 'lib/ncaps-net.c'; then $(CYGPATH_W) 'lib/ncaps-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/ncaps-net.c'; fi` + +lib/lib_libvserver_a-ncaps_list-net.o: lib/ncaps_list-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ncaps_list-net.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ncaps_list-net.Tpo -c -o lib/lib_libvserver_a-ncaps_list-net.o `test -f 'lib/ncaps_list-net.c' || echo '$(srcdir)/'`lib/ncaps_list-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ncaps_list-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-ncaps_list-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ncaps_list-net.c' object='lib/lib_libvserver_a-ncaps_list-net.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ncaps_list-net.o `test -f 'lib/ncaps_list-net.c' || echo '$(srcdir)/'`lib/ncaps_list-net.c + +lib/lib_libvserver_a-ncaps_list-net.obj: lib/ncaps_list-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-ncaps_list-net.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-ncaps_list-net.Tpo -c -o lib/lib_libvserver_a-ncaps_list-net.obj `if test -f 'lib/ncaps_list-net.c'; then $(CYGPATH_W) 'lib/ncaps_list-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/ncaps_list-net.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-ncaps_list-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-ncaps_list-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ncaps_list-net.c' object='lib/lib_libvserver_a-ncaps_list-net.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-ncaps_list-net.obj `if test -f 'lib/ncaps_list-net.c'; then $(CYGPATH_W) 'lib/ncaps_list-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/ncaps_list-net.c'; fi` + +lib/lib_libvserver_a-nflags-net.o: lib/nflags-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-nflags-net.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-nflags-net.Tpo -c -o lib/lib_libvserver_a-nflags-net.o `test -f 'lib/nflags-net.c' || echo '$(srcdir)/'`lib/nflags-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-nflags-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-nflags-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nflags-net.c' object='lib/lib_libvserver_a-nflags-net.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-nflags-net.o `test -f 'lib/nflags-net.c' || echo '$(srcdir)/'`lib/nflags-net.c + +lib/lib_libvserver_a-nflags-net.obj: lib/nflags-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-nflags-net.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-nflags-net.Tpo -c -o lib/lib_libvserver_a-nflags-net.obj `if test -f 'lib/nflags-net.c'; then $(CYGPATH_W) 'lib/nflags-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/nflags-net.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-nflags-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-nflags-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nflags-net.c' object='lib/lib_libvserver_a-nflags-net.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-nflags-net.obj `if test -f 'lib/nflags-net.c'; then $(CYGPATH_W) 'lib/nflags-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/nflags-net.c'; fi` + +lib/lib_libvserver_a-nflags_list-net.o: lib/nflags_list-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-nflags_list-net.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-nflags_list-net.Tpo -c -o lib/lib_libvserver_a-nflags_list-net.o `test -f 'lib/nflags_list-net.c' || echo '$(srcdir)/'`lib/nflags_list-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-nflags_list-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-nflags_list-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nflags_list-net.c' object='lib/lib_libvserver_a-nflags_list-net.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-nflags_list-net.o `test -f 'lib/nflags_list-net.c' || echo '$(srcdir)/'`lib/nflags_list-net.c + +lib/lib_libvserver_a-nflags_list-net.obj: lib/nflags_list-net.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-nflags_list-net.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-nflags_list-net.Tpo -c -o lib/lib_libvserver_a-nflags_list-net.obj `if test -f 'lib/nflags_list-net.c'; then $(CYGPATH_W) 'lib/nflags_list-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/nflags_list-net.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-nflags_list-net.Tpo lib/$(DEPDIR)/lib_libvserver_a-nflags_list-net.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nflags_list-net.c' object='lib/lib_libvserver_a-nflags_list-net.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-nflags_list-net.obj `if test -f 'lib/nflags_list-net.c'; then $(CYGPATH_W) 'lib/nflags_list-net.c'; else $(CYGPATH_W) '$(srcdir)/lib/nflags_list-net.c'; fi` + +lib/lib_libvserver_a-syscall_adddlimit.o: lib/syscall_adddlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_adddlimit.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_adddlimit.Tpo -c -o lib/lib_libvserver_a-syscall_adddlimit.o `test -f 'lib/syscall_adddlimit.c' || echo '$(srcdir)/'`lib/syscall_adddlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_adddlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_adddlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_adddlimit.c' object='lib/lib_libvserver_a-syscall_adddlimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_adddlimit.o `test -f 'lib/syscall_adddlimit.c' || echo '$(srcdir)/'`lib/syscall_adddlimit.c + +lib/lib_libvserver_a-syscall_adddlimit.obj: lib/syscall_adddlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_adddlimit.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_adddlimit.Tpo -c -o lib/lib_libvserver_a-syscall_adddlimit.obj `if test -f 'lib/syscall_adddlimit.c'; then $(CYGPATH_W) 'lib/syscall_adddlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_adddlimit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_adddlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_adddlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_adddlimit.c' object='lib/lib_libvserver_a-syscall_adddlimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_adddlimit.obj `if test -f 'lib/syscall_adddlimit.c'; then $(CYGPATH_W) 'lib/syscall_adddlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_adddlimit.c'; fi` + +lib/lib_libvserver_a-syscall_getdlimit.o: lib/syscall_getdlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getdlimit.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getdlimit.Tpo -c -o lib/lib_libvserver_a-syscall_getdlimit.o `test -f 'lib/syscall_getdlimit.c' || echo '$(srcdir)/'`lib/syscall_getdlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getdlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getdlimit.c' object='lib/lib_libvserver_a-syscall_getdlimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getdlimit.o `test -f 'lib/syscall_getdlimit.c' || echo '$(srcdir)/'`lib/syscall_getdlimit.c + +lib/lib_libvserver_a-syscall_getdlimit.obj: lib/syscall_getdlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getdlimit.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getdlimit.Tpo -c -o lib/lib_libvserver_a-syscall_getdlimit.obj `if test -f 'lib/syscall_getdlimit.c'; then $(CYGPATH_W) 'lib/syscall_getdlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getdlimit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getdlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getdlimit.c' object='lib/lib_libvserver_a-syscall_getdlimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getdlimit.obj `if test -f 'lib/syscall_getdlimit.c'; then $(CYGPATH_W) 'lib/syscall_getdlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getdlimit.c'; fi` + +lib/lib_libvserver_a-syscall_remdlimit.o: lib/syscall_remdlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_remdlimit.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_remdlimit.Tpo -c -o lib/lib_libvserver_a-syscall_remdlimit.o `test -f 'lib/syscall_remdlimit.c' || echo '$(srcdir)/'`lib/syscall_remdlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_remdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_remdlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_remdlimit.c' object='lib/lib_libvserver_a-syscall_remdlimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_remdlimit.o `test -f 'lib/syscall_remdlimit.c' || echo '$(srcdir)/'`lib/syscall_remdlimit.c + +lib/lib_libvserver_a-syscall_remdlimit.obj: lib/syscall_remdlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_remdlimit.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_remdlimit.Tpo -c -o lib/lib_libvserver_a-syscall_remdlimit.obj `if test -f 'lib/syscall_remdlimit.c'; then $(CYGPATH_W) 'lib/syscall_remdlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_remdlimit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_remdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_remdlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_remdlimit.c' object='lib/lib_libvserver_a-syscall_remdlimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_remdlimit.obj `if test -f 'lib/syscall_remdlimit.c'; then $(CYGPATH_W) 'lib/syscall_remdlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_remdlimit.c'; fi` + +lib/lib_libvserver_a-syscall_setdlimit.o: lib/syscall_setdlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setdlimit.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setdlimit.Tpo -c -o lib/lib_libvserver_a-syscall_setdlimit.o `test -f 'lib/syscall_setdlimit.c' || echo '$(srcdir)/'`lib/syscall_setdlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setdlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setdlimit.c' object='lib/lib_libvserver_a-syscall_setdlimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setdlimit.o `test -f 'lib/syscall_setdlimit.c' || echo '$(srcdir)/'`lib/syscall_setdlimit.c + +lib/lib_libvserver_a-syscall_setdlimit.obj: lib/syscall_setdlimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setdlimit.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setdlimit.Tpo -c -o lib/lib_libvserver_a-syscall_setdlimit.obj `if test -f 'lib/syscall_setdlimit.c'; then $(CYGPATH_W) 'lib/syscall_setdlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setdlimit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setdlimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setdlimit.c' object='lib/lib_libvserver_a-syscall_setdlimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setdlimit.obj `if test -f 'lib/syscall_setdlimit.c'; then $(CYGPATH_W) 'lib/syscall_setdlimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setdlimit.c'; fi` + +lib/lib_libvserver_a-syscall_rlimitstat.o: lib/syscall_rlimitstat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_rlimitstat.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimitstat.Tpo -c -o lib/lib_libvserver_a-syscall_rlimitstat.o `test -f 'lib/syscall_rlimitstat.c' || echo '$(srcdir)/'`lib/syscall_rlimitstat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimitstat.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimitstat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_rlimitstat.c' object='lib/lib_libvserver_a-syscall_rlimitstat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_rlimitstat.o `test -f 'lib/syscall_rlimitstat.c' || echo '$(srcdir)/'`lib/syscall_rlimitstat.c + +lib/lib_libvserver_a-syscall_rlimitstat.obj: lib/syscall_rlimitstat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_rlimitstat.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimitstat.Tpo -c -o lib/lib_libvserver_a-syscall_rlimitstat.obj `if test -f 'lib/syscall_rlimitstat.c'; then $(CYGPATH_W) 'lib/syscall_rlimitstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_rlimitstat.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimitstat.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_rlimitstat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_rlimitstat.c' object='lib/lib_libvserver_a-syscall_rlimitstat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_rlimitstat.obj `if test -f 'lib/syscall_rlimitstat.c'; then $(CYGPATH_W) 'lib/syscall_rlimitstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_rlimitstat.c'; fi` + +lib/lib_libvserver_a-syscall_resetminmax.o: lib/syscall_resetminmax.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_resetminmax.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_resetminmax.Tpo -c -o lib/lib_libvserver_a-syscall_resetminmax.o `test -f 'lib/syscall_resetminmax.c' || echo '$(srcdir)/'`lib/syscall_resetminmax.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_resetminmax.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_resetminmax.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_resetminmax.c' object='lib/lib_libvserver_a-syscall_resetminmax.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_resetminmax.o `test -f 'lib/syscall_resetminmax.c' || echo '$(srcdir)/'`lib/syscall_resetminmax.c + +lib/lib_libvserver_a-syscall_resetminmax.obj: lib/syscall_resetminmax.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_resetminmax.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_resetminmax.Tpo -c -o lib/lib_libvserver_a-syscall_resetminmax.obj `if test -f 'lib/syscall_resetminmax.c'; then $(CYGPATH_W) 'lib/syscall_resetminmax.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_resetminmax.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_resetminmax.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_resetminmax.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_resetminmax.c' object='lib/lib_libvserver_a-syscall_resetminmax.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_resetminmax.obj `if test -f 'lib/syscall_resetminmax.c'; then $(CYGPATH_W) 'lib/syscall_resetminmax.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_resetminmax.c'; fi` + +lib/lib_libvserver_a-syscall_getvci.o: lib/syscall_getvci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getvci.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getvci.Tpo -c -o lib/lib_libvserver_a-syscall_getvci.o `test -f 'lib/syscall_getvci.c' || echo '$(srcdir)/'`lib/syscall_getvci.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getvci.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getvci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvci.c' object='lib/lib_libvserver_a-syscall_getvci.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getvci.o `test -f 'lib/syscall_getvci.c' || echo '$(srcdir)/'`lib/syscall_getvci.c + +lib/lib_libvserver_a-syscall_getvci.obj: lib/syscall_getvci.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getvci.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getvci.Tpo -c -o lib/lib_libvserver_a-syscall_getvci.obj `if test -f 'lib/syscall_getvci.c'; then $(CYGPATH_W) 'lib/syscall_getvci.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getvci.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getvci.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getvci.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvci.c' object='lib/lib_libvserver_a-syscall_getvci.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getvci.obj `if test -f 'lib/syscall_getvci.c'; then $(CYGPATH_W) 'lib/syscall_getvci.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getvci.c'; fi` + +lib/lib_libvserver_a-syscall_virtstat.o: lib/syscall_virtstat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_virtstat.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_virtstat.Tpo -c -o lib/lib_libvserver_a-syscall_virtstat.o `test -f 'lib/syscall_virtstat.c' || echo '$(srcdir)/'`lib/syscall_virtstat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_virtstat.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_virtstat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_virtstat.c' object='lib/lib_libvserver_a-syscall_virtstat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_virtstat.o `test -f 'lib/syscall_virtstat.c' || echo '$(srcdir)/'`lib/syscall_virtstat.c + +lib/lib_libvserver_a-syscall_virtstat.obj: lib/syscall_virtstat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_virtstat.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_virtstat.Tpo -c -o lib/lib_libvserver_a-syscall_virtstat.obj `if test -f 'lib/syscall_virtstat.c'; then $(CYGPATH_W) 'lib/syscall_virtstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_virtstat.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_virtstat.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_virtstat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_virtstat.c' object='lib/lib_libvserver_a-syscall_virtstat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_virtstat.obj `if test -f 'lib/syscall_virtstat.c'; then $(CYGPATH_W) 'lib/syscall_virtstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_virtstat.c'; fi` + +lib/lib_libvserver_a-syscall_ctxstat.o: lib/syscall_ctxstat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_ctxstat.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxstat.Tpo -c -o lib/lib_libvserver_a-syscall_ctxstat.o `test -f 'lib/syscall_ctxstat.c' || echo '$(srcdir)/'`lib/syscall_ctxstat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxstat.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxstat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxstat.c' object='lib/lib_libvserver_a-syscall_ctxstat.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_ctxstat.o `test -f 'lib/syscall_ctxstat.c' || echo '$(srcdir)/'`lib/syscall_ctxstat.c + +lib/lib_libvserver_a-syscall_ctxstat.obj: lib/syscall_ctxstat.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_ctxstat.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxstat.Tpo -c -o lib/lib_libvserver_a-syscall_ctxstat.obj `if test -f 'lib/syscall_ctxstat.c'; then $(CYGPATH_W) 'lib/syscall_ctxstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_ctxstat.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxstat.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_ctxstat.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxstat.c' object='lib/lib_libvserver_a-syscall_ctxstat.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_ctxstat.obj `if test -f 'lib/syscall_ctxstat.c'; then $(CYGPATH_W) 'lib/syscall_ctxstat.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_ctxstat.c'; fi` + +lib/lib_libvserver_a-syscall_getspacemask.o: lib/syscall_getspacemask.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getspacemask.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacemask.Tpo -c -o lib/lib_libvserver_a-syscall_getspacemask.o `test -f 'lib/syscall_getspacemask.c' || echo '$(srcdir)/'`lib/syscall_getspacemask.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacemask.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacemask.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getspacemask.c' object='lib/lib_libvserver_a-syscall_getspacemask.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getspacemask.o `test -f 'lib/syscall_getspacemask.c' || echo '$(srcdir)/'`lib/syscall_getspacemask.c + +lib/lib_libvserver_a-syscall_getspacemask.obj: lib/syscall_getspacemask.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getspacemask.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacemask.Tpo -c -o lib/lib_libvserver_a-syscall_getspacemask.obj `if test -f 'lib/syscall_getspacemask.c'; then $(CYGPATH_W) 'lib/syscall_getspacemask.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getspacemask.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacemask.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacemask.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getspacemask.c' object='lib/lib_libvserver_a-syscall_getspacemask.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getspacemask.obj `if test -f 'lib/syscall_getspacemask.c'; then $(CYGPATH_W) 'lib/syscall_getspacemask.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getspacemask.c'; fi` + +lib/lib_libvserver_a-syscall_setmapping.o: lib/syscall_setmapping.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setmapping.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setmapping.Tpo -c -o lib/lib_libvserver_a-syscall_setmapping.o `test -f 'lib/syscall_setmapping.c' || echo '$(srcdir)/'`lib/syscall_setmapping.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setmapping.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setmapping.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setmapping.c' object='lib/lib_libvserver_a-syscall_setmapping.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setmapping.o `test -f 'lib/syscall_setmapping.c' || echo '$(srcdir)/'`lib/syscall_setmapping.c + +lib/lib_libvserver_a-syscall_setmapping.obj: lib/syscall_setmapping.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setmapping.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setmapping.Tpo -c -o lib/lib_libvserver_a-syscall_setmapping.obj `if test -f 'lib/syscall_setmapping.c'; then $(CYGPATH_W) 'lib/syscall_setmapping.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setmapping.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setmapping.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setmapping.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setmapping.c' object='lib/lib_libvserver_a-syscall_setmapping.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setmapping.obj `if test -f 'lib/syscall_setmapping.c'; then $(CYGPATH_W) 'lib/syscall_setmapping.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setmapping.c'; fi` + +lib/lib_libvserver_a-syscall_unsetmapping.o: lib/syscall_unsetmapping.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_unsetmapping.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_unsetmapping.Tpo -c -o lib/lib_libvserver_a-syscall_unsetmapping.o `test -f 'lib/syscall_unsetmapping.c' || echo '$(srcdir)/'`lib/syscall_unsetmapping.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_unsetmapping.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_unsetmapping.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_unsetmapping.c' object='lib/lib_libvserver_a-syscall_unsetmapping.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_unsetmapping.o `test -f 'lib/syscall_unsetmapping.c' || echo '$(srcdir)/'`lib/syscall_unsetmapping.c + +lib/lib_libvserver_a-syscall_unsetmapping.obj: lib/syscall_unsetmapping.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_unsetmapping.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_unsetmapping.Tpo -c -o lib/lib_libvserver_a-syscall_unsetmapping.obj `if test -f 'lib/syscall_unsetmapping.c'; then $(CYGPATH_W) 'lib/syscall_unsetmapping.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_unsetmapping.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_unsetmapping.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_unsetmapping.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_unsetmapping.c' object='lib/lib_libvserver_a-syscall_unsetmapping.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_unsetmapping.obj `if test -f 'lib/syscall_unsetmapping.c'; then $(CYGPATH_W) 'lib/syscall_unsetmapping.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_unsetmapping.c'; fi` + +lib/lib_libvserver_a-syscall_schedinfo.o: lib/syscall_schedinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_schedinfo.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_schedinfo.Tpo -c -o lib/lib_libvserver_a-syscall_schedinfo.o `test -f 'lib/syscall_schedinfo.c' || echo '$(srcdir)/'`lib/syscall_schedinfo.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_schedinfo.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_schedinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_schedinfo.c' object='lib/lib_libvserver_a-syscall_schedinfo.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_schedinfo.o `test -f 'lib/syscall_schedinfo.c' || echo '$(srcdir)/'`lib/syscall_schedinfo.c + +lib/lib_libvserver_a-syscall_schedinfo.obj: lib/syscall_schedinfo.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_schedinfo.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_schedinfo.Tpo -c -o lib/lib_libvserver_a-syscall_schedinfo.obj `if test -f 'lib/syscall_schedinfo.c'; then $(CYGPATH_W) 'lib/syscall_schedinfo.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_schedinfo.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_schedinfo.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_schedinfo.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_schedinfo.c' object='lib/lib_libvserver_a-syscall_schedinfo.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_schedinfo.obj `if test -f 'lib/syscall_schedinfo.c'; then $(CYGPATH_W) 'lib/syscall_schedinfo.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_schedinfo.c'; fi` + +lib/lib_libvserver_a-syscall_getsched.o: lib/syscall_getsched.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getsched.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getsched.Tpo -c -o lib/lib_libvserver_a-syscall_getsched.o `test -f 'lib/syscall_getsched.c' || echo '$(srcdir)/'`lib/syscall_getsched.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getsched.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getsched.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getsched.c' object='lib/lib_libvserver_a-syscall_getsched.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getsched.o `test -f 'lib/syscall_getsched.c' || echo '$(srcdir)/'`lib/syscall_getsched.c + +lib/lib_libvserver_a-syscall_getsched.obj: lib/syscall_getsched.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getsched.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getsched.Tpo -c -o lib/lib_libvserver_a-syscall_getsched.obj `if test -f 'lib/syscall_getsched.c'; then $(CYGPATH_W) 'lib/syscall_getsched.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getsched.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getsched.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getsched.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getsched.c' object='lib/lib_libvserver_a-syscall_getsched.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getsched.obj `if test -f 'lib/syscall_getsched.c'; then $(CYGPATH_W) 'lib/syscall_getsched.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getsched.c'; fi` + +lib/lib_libvserver_a-syscall_fsetiattr.o: lib/syscall_fsetiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_fsetiattr.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_fsetiattr.Tpo -c -o lib/lib_libvserver_a-syscall_fsetiattr.o `test -f 'lib/syscall_fsetiattr.c' || echo '$(srcdir)/'`lib/syscall_fsetiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_fsetiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_fsetiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_fsetiattr.c' object='lib/lib_libvserver_a-syscall_fsetiattr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_fsetiattr.o `test -f 'lib/syscall_fsetiattr.c' || echo '$(srcdir)/'`lib/syscall_fsetiattr.c + +lib/lib_libvserver_a-syscall_fsetiattr.obj: lib/syscall_fsetiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_fsetiattr.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_fsetiattr.Tpo -c -o lib/lib_libvserver_a-syscall_fsetiattr.obj `if test -f 'lib/syscall_fsetiattr.c'; then $(CYGPATH_W) 'lib/syscall_fsetiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_fsetiattr.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_fsetiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_fsetiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_fsetiattr.c' object='lib/lib_libvserver_a-syscall_fsetiattr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_fsetiattr.obj `if test -f 'lib/syscall_fsetiattr.c'; then $(CYGPATH_W) 'lib/syscall_fsetiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_fsetiattr.c'; fi` + +lib/lib_libvserver_a-syscall_fgetiattr.o: lib/syscall_fgetiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_fgetiattr.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_fgetiattr.Tpo -c -o lib/lib_libvserver_a-syscall_fgetiattr.o `test -f 'lib/syscall_fgetiattr.c' || echo '$(srcdir)/'`lib/syscall_fgetiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_fgetiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_fgetiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_fgetiattr.c' object='lib/lib_libvserver_a-syscall_fgetiattr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_fgetiattr.o `test -f 'lib/syscall_fgetiattr.c' || echo '$(srcdir)/'`lib/syscall_fgetiattr.c + +lib/lib_libvserver_a-syscall_fgetiattr.obj: lib/syscall_fgetiattr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_fgetiattr.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_fgetiattr.Tpo -c -o lib/lib_libvserver_a-syscall_fgetiattr.obj `if test -f 'lib/syscall_fgetiattr.c'; then $(CYGPATH_W) 'lib/syscall_fgetiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_fgetiattr.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_fgetiattr.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_fgetiattr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_fgetiattr.c' object='lib/lib_libvserver_a-syscall_fgetiattr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_fgetiattr.obj `if test -f 'lib/syscall_fgetiattr.c'; then $(CYGPATH_W) 'lib/syscall_fgetiattr.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_fgetiattr.c'; fi` + +lib/lib_libvserver_a-syscall_tagmigrate.o: lib/syscall_tagmigrate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_tagmigrate.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_tagmigrate.Tpo -c -o lib/lib_libvserver_a-syscall_tagmigrate.o `test -f 'lib/syscall_tagmigrate.c' || echo '$(srcdir)/'`lib/syscall_tagmigrate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_tagmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_tagmigrate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tagmigrate.c' object='lib/lib_libvserver_a-syscall_tagmigrate.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_tagmigrate.o `test -f 'lib/syscall_tagmigrate.c' || echo '$(srcdir)/'`lib/syscall_tagmigrate.c + +lib/lib_libvserver_a-syscall_tagmigrate.obj: lib/syscall_tagmigrate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_tagmigrate.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_tagmigrate.Tpo -c -o lib/lib_libvserver_a-syscall_tagmigrate.obj `if test -f 'lib/syscall_tagmigrate.c'; then $(CYGPATH_W) 'lib/syscall_tagmigrate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_tagmigrate.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_tagmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_tagmigrate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tagmigrate.c' object='lib/lib_libvserver_a-syscall_tagmigrate.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_tagmigrate.obj `if test -f 'lib/syscall_tagmigrate.c'; then $(CYGPATH_W) 'lib/syscall_tagmigrate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_tagmigrate.c'; fi` + +lib/lib_libvserver_a-syscall_tagcreate.o: lib/syscall_tagcreate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_tagcreate.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_tagcreate.Tpo -c -o lib/lib_libvserver_a-syscall_tagcreate.o `test -f 'lib/syscall_tagcreate.c' || echo '$(srcdir)/'`lib/syscall_tagcreate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_tagcreate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_tagcreate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tagcreate.c' object='lib/lib_libvserver_a-syscall_tagcreate.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_tagcreate.o `test -f 'lib/syscall_tagcreate.c' || echo '$(srcdir)/'`lib/syscall_tagcreate.c + +lib/lib_libvserver_a-syscall_tagcreate.obj: lib/syscall_tagcreate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_tagcreate.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_tagcreate.Tpo -c -o lib/lib_libvserver_a-syscall_tagcreate.obj `if test -f 'lib/syscall_tagcreate.c'; then $(CYGPATH_W) 'lib/syscall_tagcreate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_tagcreate.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_tagcreate.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_tagcreate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tagcreate.c' object='lib/lib_libvserver_a-syscall_tagcreate.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_tagcreate.obj `if test -f 'lib/syscall_tagcreate.c'; then $(CYGPATH_W) 'lib/syscall_tagcreate.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_tagcreate.c'; fi` + +lib/lib_libvserver_a-syscall_tasktag.o: lib/syscall_tasktag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_tasktag.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_tasktag.Tpo -c -o lib/lib_libvserver_a-syscall_tasktag.o `test -f 'lib/syscall_tasktag.c' || echo '$(srcdir)/'`lib/syscall_tasktag.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_tasktag.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_tasktag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tasktag.c' object='lib/lib_libvserver_a-syscall_tasktag.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_tasktag.o `test -f 'lib/syscall_tasktag.c' || echo '$(srcdir)/'`lib/syscall_tasktag.c + +lib/lib_libvserver_a-syscall_tasktag.obj: lib/syscall_tasktag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_tasktag.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_tasktag.Tpo -c -o lib/lib_libvserver_a-syscall_tasktag.obj `if test -f 'lib/syscall_tasktag.c'; then $(CYGPATH_W) 'lib/syscall_tasktag.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_tasktag.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_tasktag.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_tasktag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tasktag.c' object='lib/lib_libvserver_a-syscall_tasktag.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_tasktag.obj `if test -f 'lib/syscall_tasktag.c'; then $(CYGPATH_W) 'lib/syscall_tasktag.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_tasktag.c'; fi` + +lib/lib_libvserver_a-syscall_getbadness.o: lib/syscall_getbadness.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getbadness.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getbadness.Tpo -c -o lib/lib_libvserver_a-syscall_getbadness.o `test -f 'lib/syscall_getbadness.c' || echo '$(srcdir)/'`lib/syscall_getbadness.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getbadness.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getbadness.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getbadness.c' object='lib/lib_libvserver_a-syscall_getbadness.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getbadness.o `test -f 'lib/syscall_getbadness.c' || echo '$(srcdir)/'`lib/syscall_getbadness.c + +lib/lib_libvserver_a-syscall_getbadness.obj: lib/syscall_getbadness.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getbadness.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getbadness.Tpo -c -o lib/lib_libvserver_a-syscall_getbadness.obj `if test -f 'lib/syscall_getbadness.c'; then $(CYGPATH_W) 'lib/syscall_getbadness.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getbadness.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getbadness.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getbadness.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getbadness.c' object='lib/lib_libvserver_a-syscall_getbadness.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getbadness.obj `if test -f 'lib/syscall_getbadness.c'; then $(CYGPATH_W) 'lib/syscall_getbadness.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getbadness.c'; fi` + +lib/lib_libvserver_a-syscall_setbadness.o: lib/syscall_setbadness.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setbadness.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setbadness.Tpo -c -o lib/lib_libvserver_a-syscall_setbadness.o `test -f 'lib/syscall_setbadness.c' || echo '$(srcdir)/'`lib/syscall_setbadness.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setbadness.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setbadness.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setbadness.c' object='lib/lib_libvserver_a-syscall_setbadness.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setbadness.o `test -f 'lib/syscall_setbadness.c' || echo '$(srcdir)/'`lib/syscall_setbadness.c + +lib/lib_libvserver_a-syscall_setbadness.obj: lib/syscall_setbadness.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_setbadness.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_setbadness.Tpo -c -o lib/lib_libvserver_a-syscall_setbadness.obj `if test -f 'lib/syscall_setbadness.c'; then $(CYGPATH_W) 'lib/syscall_setbadness.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setbadness.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_setbadness.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_setbadness.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setbadness.c' object='lib/lib_libvserver_a-syscall_setbadness.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_setbadness.obj `if test -f 'lib/syscall_setbadness.c'; then $(CYGPATH_W) 'lib/syscall_setbadness.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_setbadness.c'; fi` + +lib/lib_libvserver_a-syscall_getspacedefault.o: lib/syscall_getspacedefault.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getspacedefault.o -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacedefault.Tpo -c -o lib/lib_libvserver_a-syscall_getspacedefault.o `test -f 'lib/syscall_getspacedefault.c' || echo '$(srcdir)/'`lib/syscall_getspacedefault.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacedefault.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacedefault.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getspacedefault.c' object='lib/lib_libvserver_a-syscall_getspacedefault.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getspacedefault.o `test -f 'lib/syscall_getspacedefault.c' || echo '$(srcdir)/'`lib/syscall_getspacedefault.c + +lib/lib_libvserver_a-syscall_getspacedefault.obj: lib/syscall_getspacedefault.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_a-syscall_getspacedefault.obj -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacedefault.Tpo -c -o lib/lib_libvserver_a-syscall_getspacedefault.obj `if test -f 'lib/syscall_getspacedefault.c'; then $(CYGPATH_W) 'lib/syscall_getspacedefault.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getspacedefault.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacedefault.Tpo lib/$(DEPDIR)/lib_libvserver_a-syscall_getspacedefault.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getspacedefault.c' object='lib/lib_libvserver_a-syscall_getspacedefault.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_a-syscall_getspacedefault.obj `if test -f 'lib/syscall_getspacedefault.c'; then $(CYGPATH_W) 'lib/syscall_getspacedefault.c'; else $(CYGPATH_W) '$(srcdir)/lib/syscall_getspacedefault.c'; fi` + +ensc_fmt/lib_libvserver_a-fmt-32.o: ensc_fmt/fmt-32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmt-32.o -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-32.Tpo -c -o ensc_fmt/lib_libvserver_a-fmt-32.o `test -f 'ensc_fmt/fmt-32.c' || echo '$(srcdir)/'`ensc_fmt/fmt-32.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-32.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-32.c' object='ensc_fmt/lib_libvserver_a-fmt-32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmt-32.o `test -f 'ensc_fmt/fmt-32.c' || echo '$(srcdir)/'`ensc_fmt/fmt-32.c + +ensc_fmt/lib_libvserver_a-fmt-32.obj: ensc_fmt/fmt-32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmt-32.obj -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-32.Tpo -c -o ensc_fmt/lib_libvserver_a-fmt-32.obj `if test -f 'ensc_fmt/fmt-32.c'; then $(CYGPATH_W) 'ensc_fmt/fmt-32.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmt-32.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-32.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-32.c' object='ensc_fmt/lib_libvserver_a-fmt-32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmt-32.obj `if test -f 'ensc_fmt/fmt-32.c'; then $(CYGPATH_W) 'ensc_fmt/fmt-32.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmt-32.c'; fi` + +ensc_fmt/lib_libvserver_a-fmt-64.o: ensc_fmt/fmt-64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmt-64.o -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-64.Tpo -c -o ensc_fmt/lib_libvserver_a-fmt-64.o `test -f 'ensc_fmt/fmt-64.c' || echo '$(srcdir)/'`ensc_fmt/fmt-64.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-64.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-64.c' object='ensc_fmt/lib_libvserver_a-fmt-64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmt-64.o `test -f 'ensc_fmt/fmt-64.c' || echo '$(srcdir)/'`ensc_fmt/fmt-64.c + +ensc_fmt/lib_libvserver_a-fmt-64.obj: ensc_fmt/fmt-64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmt-64.obj -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-64.Tpo -c -o ensc_fmt/lib_libvserver_a-fmt-64.obj `if test -f 'ensc_fmt/fmt-64.c'; then $(CYGPATH_W) 'ensc_fmt/fmt-64.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmt-64.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-64.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-64.c' object='ensc_fmt/lib_libvserver_a-fmt-64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmt-64.obj `if test -f 'ensc_fmt/fmt-64.c'; then $(CYGPATH_W) 'ensc_fmt/fmt-64.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmt-64.c'; fi` + +ensc_fmt/lib_libvserver_a-fmtx-32.o: ensc_fmt/fmtx-32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmtx-32.o -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-32.Tpo -c -o ensc_fmt/lib_libvserver_a-fmtx-32.o `test -f 'ensc_fmt/fmtx-32.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-32.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-32.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmtx-32.c' object='ensc_fmt/lib_libvserver_a-fmtx-32.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmtx-32.o `test -f 'ensc_fmt/fmtx-32.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-32.c + +ensc_fmt/lib_libvserver_a-fmtx-32.obj: ensc_fmt/fmtx-32.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmtx-32.obj -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-32.Tpo -c -o ensc_fmt/lib_libvserver_a-fmtx-32.obj `if test -f 'ensc_fmt/fmtx-32.c'; then $(CYGPATH_W) 'ensc_fmt/fmtx-32.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmtx-32.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-32.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-32.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmtx-32.c' object='ensc_fmt/lib_libvserver_a-fmtx-32.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmtx-32.obj `if test -f 'ensc_fmt/fmtx-32.c'; then $(CYGPATH_W) 'ensc_fmt/fmtx-32.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmtx-32.c'; fi` + +ensc_fmt/lib_libvserver_a-fmtx-64.o: ensc_fmt/fmtx-64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmtx-64.o -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-64.Tpo -c -o ensc_fmt/lib_libvserver_a-fmtx-64.o `test -f 'ensc_fmt/fmtx-64.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-64.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-64.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmtx-64.c' object='ensc_fmt/lib_libvserver_a-fmtx-64.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmtx-64.o `test -f 'ensc_fmt/fmtx-64.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-64.c + +ensc_fmt/lib_libvserver_a-fmtx-64.obj: ensc_fmt/fmtx-64.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmtx-64.obj -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-64.Tpo -c -o ensc_fmt/lib_libvserver_a-fmtx-64.obj `if test -f 'ensc_fmt/fmtx-64.c'; then $(CYGPATH_W) 'ensc_fmt/fmtx-64.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmtx-64.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-64.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmtx-64.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmtx-64.c' object='ensc_fmt/lib_libvserver_a-fmtx-64.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmtx-64.obj `if test -f 'ensc_fmt/fmtx-64.c'; then $(CYGPATH_W) 'ensc_fmt/fmtx-64.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmtx-64.c'; fi` + +ensc_fmt/lib_libvserver_a-fmt-tai64n.o: ensc_fmt/fmt-tai64n.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmt-tai64n.o -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-tai64n.Tpo -c -o ensc_fmt/lib_libvserver_a-fmt-tai64n.o `test -f 'ensc_fmt/fmt-tai64n.c' || echo '$(srcdir)/'`ensc_fmt/fmt-tai64n.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-tai64n.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-tai64n.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-tai64n.c' object='ensc_fmt/lib_libvserver_a-fmt-tai64n.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmt-tai64n.o `test -f 'ensc_fmt/fmt-tai64n.c' || echo '$(srcdir)/'`ensc_fmt/fmt-tai64n.c + +ensc_fmt/lib_libvserver_a-fmt-tai64n.obj: ensc_fmt/fmt-tai64n.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_a-fmt-tai64n.obj -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-tai64n.Tpo -c -o ensc_fmt/lib_libvserver_a-fmt-tai64n.obj `if test -f 'ensc_fmt/fmt-tai64n.c'; then $(CYGPATH_W) 'ensc_fmt/fmt-tai64n.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmt-tai64n.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-tai64n.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_a-fmt-tai64n.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-tai64n.c' object='ensc_fmt/lib_libvserver_a-fmt-tai64n.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_a-fmt-tai64n.obj `if test -f 'ensc_fmt/fmt-tai64n.c'; then $(CYGPATH_W) 'ensc_fmt/fmt-tai64n.c'; else $(CYGPATH_W) '$(srcdir)/ensc_fmt/fmt-tai64n.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.o: lib_internal/errinfo-writeerrno.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-errinfo-writeerrno.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.o `test -f 'lib_internal/errinfo-writeerrno.c' || echo '$(srcdir)/'`lib_internal/errinfo-writeerrno.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-errinfo-writeerrno.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-errinfo-writeerrno.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/errinfo-writeerrno.c' object='lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.o `test -f 'lib_internal/errinfo-writeerrno.c' || echo '$(srcdir)/'`lib_internal/errinfo-writeerrno.c + +lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.obj: lib_internal/errinfo-writeerrno.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-errinfo-writeerrno.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.obj `if test -f 'lib_internal/errinfo-writeerrno.c'; then $(CYGPATH_W) 'lib_internal/errinfo-writeerrno.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/errinfo-writeerrno.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-errinfo-writeerrno.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-errinfo-writeerrno.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/errinfo-writeerrno.c' object='lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-errinfo-writeerrno.obj `if test -f 'lib_internal/errinfo-writeerrno.c'; then $(CYGPATH_W) 'lib_internal/errinfo-writeerrno.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/errinfo-writeerrno.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.o: lib_internal/jailintotempdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-jailintotempdir.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.o `test -f 'lib_internal/jailintotempdir.c' || echo '$(srcdir)/'`lib_internal/jailintotempdir.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-jailintotempdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-jailintotempdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/jailintotempdir.c' object='lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.o `test -f 'lib_internal/jailintotempdir.c' || echo '$(srcdir)/'`lib_internal/jailintotempdir.c + +lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.obj: lib_internal/jailintotempdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-jailintotempdir.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.obj `if test -f 'lib_internal/jailintotempdir.c'; then $(CYGPATH_W) 'lib_internal/jailintotempdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/jailintotempdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-jailintotempdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-jailintotempdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/jailintotempdir.c' object='lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-jailintotempdir.obj `if test -f 'lib_internal/jailintotempdir.c'; then $(CYGPATH_W) 'lib_internal/jailintotempdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/jailintotempdir.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.o: lib_internal/matchlist-appendfiles.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-appendfiles.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.o `test -f 'lib_internal/matchlist-appendfiles.c' || echo '$(srcdir)/'`lib_internal/matchlist-appendfiles.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-appendfiles.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-appendfiles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-appendfiles.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.o `test -f 'lib_internal/matchlist-appendfiles.c' || echo '$(srcdir)/'`lib_internal/matchlist-appendfiles.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.obj: lib_internal/matchlist-appendfiles.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-appendfiles.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.obj `if test -f 'lib_internal/matchlist-appendfiles.c'; then $(CYGPATH_W) 'lib_internal/matchlist-appendfiles.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-appendfiles.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-appendfiles.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-appendfiles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-appendfiles.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-appendfiles.obj `if test -f 'lib_internal/matchlist-appendfiles.c'; then $(CYGPATH_W) 'lib_internal/matchlist-appendfiles.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-appendfiles.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.o: lib_internal/matchlist-compare.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-compare.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.o `test -f 'lib_internal/matchlist-compare.c' || echo '$(srcdir)/'`lib_internal/matchlist-compare.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-compare.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-compare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-compare.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.o `test -f 'lib_internal/matchlist-compare.c' || echo '$(srcdir)/'`lib_internal/matchlist-compare.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.obj: lib_internal/matchlist-compare.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-compare.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.obj `if test -f 'lib_internal/matchlist-compare.c'; then $(CYGPATH_W) 'lib_internal/matchlist-compare.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-compare.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-compare.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-compare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-compare.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-compare.obj `if test -f 'lib_internal/matchlist-compare.c'; then $(CYGPATH_W) 'lib_internal/matchlist-compare.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-compare.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.o: lib_internal/matchlist-destroy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-destroy.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.o `test -f 'lib_internal/matchlist-destroy.c' || echo '$(srcdir)/'`lib_internal/matchlist-destroy.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-destroy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-destroy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-destroy.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.o `test -f 'lib_internal/matchlist-destroy.c' || echo '$(srcdir)/'`lib_internal/matchlist-destroy.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.obj: lib_internal/matchlist-destroy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-destroy.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.obj `if test -f 'lib_internal/matchlist-destroy.c'; then $(CYGPATH_W) 'lib_internal/matchlist-destroy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-destroy.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-destroy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-destroy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-destroy.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-destroy.obj `if test -f 'lib_internal/matchlist-destroy.c'; then $(CYGPATH_W) 'lib_internal/matchlist-destroy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-destroy.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-init.o: lib_internal/matchlist-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-init.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-init.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-init.o `test -f 'lib_internal/matchlist-init.c' || echo '$(srcdir)/'`lib_internal/matchlist-init.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-init.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-init.o `test -f 'lib_internal/matchlist-init.c' || echo '$(srcdir)/'`lib_internal/matchlist-init.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-init.obj: lib_internal/matchlist-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-init.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-init.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-init.obj `if test -f 'lib_internal/matchlist-init.c'; then $(CYGPATH_W) 'lib_internal/matchlist-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-init.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-init.obj `if test -f 'lib_internal/matchlist-init.c'; then $(CYGPATH_W) 'lib_internal/matchlist-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-init.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.o: lib_internal/matchlist-initmanually.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initmanually.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.o `test -f 'lib_internal/matchlist-initmanually.c' || echo '$(srcdir)/'`lib_internal/matchlist-initmanually.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initmanually.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initmanually.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initmanually.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.o `test -f 'lib_internal/matchlist-initmanually.c' || echo '$(srcdir)/'`lib_internal/matchlist-initmanually.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.obj: lib_internal/matchlist-initmanually.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initmanually.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.obj `if test -f 'lib_internal/matchlist-initmanually.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initmanually.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initmanually.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initmanually.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initmanually.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initmanually.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initmanually.obj `if test -f 'lib_internal/matchlist-initmanually.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initmanually.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initmanually.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.o: lib_internal/matchlist-initrefserverlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.o `test -f 'lib_internal/matchlist-initrefserverlist.c' || echo '$(srcdir)/'`lib_internal/matchlist-initrefserverlist.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initrefserverlist.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.o `test -f 'lib_internal/matchlist-initrefserverlist.c' || echo '$(srcdir)/'`lib_internal/matchlist-initrefserverlist.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.obj: lib_internal/matchlist-initrefserverlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.obj `if test -f 'lib_internal/matchlist-initrefserverlist.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initrefserverlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initrefserverlist.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initrefserverlist.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initrefserverlist.obj `if test -f 'lib_internal/matchlist-initrefserverlist.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initrefserverlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initrefserverlist.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.o: lib_internal/matchlist-printid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-printid.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.o `test -f 'lib_internal/matchlist-printid.c' || echo '$(srcdir)/'`lib_internal/matchlist-printid.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-printid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-printid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-printid.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.o `test -f 'lib_internal/matchlist-printid.c' || echo '$(srcdir)/'`lib_internal/matchlist-printid.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.obj: lib_internal/matchlist-printid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-printid.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.obj `if test -f 'lib_internal/matchlist-printid.c'; then $(CYGPATH_W) 'lib_internal/matchlist-printid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-printid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-printid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-printid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-printid.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-printid.obj `if test -f 'lib_internal/matchlist-printid.c'; then $(CYGPATH_W) 'lib_internal/matchlist-printid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-printid.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.o: lib_internal/matchvserverinfo-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-free.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.o `test -f 'lib_internal/matchvserverinfo-free.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-free.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-free.c' object='lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.o `test -f 'lib_internal/matchvserverinfo-free.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-free.c + +lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.obj: lib_internal/matchvserverinfo-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-free.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.obj `if test -f 'lib_internal/matchvserverinfo-free.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-free.c' object='lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-free.obj `if test -f 'lib_internal/matchvserverinfo-free.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-free.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.o: lib_internal/pathinfo-append.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-append.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.o `test -f 'lib_internal/pathinfo-append.c' || echo '$(srcdir)/'`lib_internal/pathinfo-append.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-append.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-append.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-append.c' object='lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.o `test -f 'lib_internal/pathinfo-append.c' || echo '$(srcdir)/'`lib_internal/pathinfo-append.c + +lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.obj: lib_internal/pathinfo-append.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-append.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.obj `if test -f 'lib_internal/pathinfo-append.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-append.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-append.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-append.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-append.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-append.c' object='lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-append.obj `if test -f 'lib_internal/pathinfo-append.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-append.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-append.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.o: lib_internal/pathinfo-test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-test.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.o `test -f 'lib_internal/pathinfo-test.c' || echo '$(srcdir)/'`lib_internal/pathinfo-test.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-test.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-test.c' object='lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.o `test -f 'lib_internal/pathinfo-test.c' || echo '$(srcdir)/'`lib_internal/pathinfo-test.c + +lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.obj: lib_internal/pathinfo-test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-test.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.obj `if test -f 'lib_internal/pathinfo-test.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-test.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-test.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-test.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-pathinfo-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-test.c' object='lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-pathinfo-test.obj `if test -f 'lib_internal/pathinfo-test.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-test.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-test.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.o: lib_internal/switchtowatchxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-switchtowatchxid.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.o `test -f 'lib_internal/switchtowatchxid.c' || echo '$(srcdir)/'`lib_internal/switchtowatchxid.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-switchtowatchxid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-switchtowatchxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/switchtowatchxid.c' object='lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.o `test -f 'lib_internal/switchtowatchxid.c' || echo '$(srcdir)/'`lib_internal/switchtowatchxid.c + +lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.obj: lib_internal/switchtowatchxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-switchtowatchxid.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.obj `if test -f 'lib_internal/switchtowatchxid.c'; then $(CYGPATH_W) 'lib_internal/switchtowatchxid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/switchtowatchxid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-switchtowatchxid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-switchtowatchxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/switchtowatchxid.c' object='lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-switchtowatchxid.obj `if test -f 'lib_internal/switchtowatchxid.c'; then $(CYGPATH_W) 'lib_internal/switchtowatchxid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/switchtowatchxid.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-unify-deunify.o: lib_internal/unify-deunify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-deunify.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-deunify.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-deunify.o `test -f 'lib_internal/unify-deunify.c' || echo '$(srcdir)/'`lib_internal/unify-deunify.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-deunify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-deunify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-deunify.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-deunify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-deunify.o `test -f 'lib_internal/unify-deunify.c' || echo '$(srcdir)/'`lib_internal/unify-deunify.c + +lib_internal/lib_internal_libinternal_diet_a-unify-deunify.obj: lib_internal/unify-deunify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-deunify.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-deunify.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-deunify.obj `if test -f 'lib_internal/unify-deunify.c'; then $(CYGPATH_W) 'lib_internal/unify-deunify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-deunify.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-deunify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-deunify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-deunify.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-deunify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-deunify.obj `if test -f 'lib_internal/unify-deunify.c'; then $(CYGPATH_W) 'lib_internal/unify-deunify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-deunify.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-unify-settime.o: lib_internal/unify-settime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-settime.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-settime.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-settime.o `test -f 'lib_internal/unify-settime.c' || echo '$(srcdir)/'`lib_internal/unify-settime.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-settime.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-settime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-settime.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-settime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-settime.o `test -f 'lib_internal/unify-settime.c' || echo '$(srcdir)/'`lib_internal/unify-settime.c + +lib_internal/lib_internal_libinternal_diet_a-unify-settime.obj: lib_internal/unify-settime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-settime.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-settime.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-settime.obj `if test -f 'lib_internal/unify-settime.c'; then $(CYGPATH_W) 'lib_internal/unify-settime.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-settime.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-settime.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-settime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-settime.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-settime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-settime.obj `if test -f 'lib_internal/unify-settime.c'; then $(CYGPATH_W) 'lib_internal/unify-settime.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-settime.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-unify-unify.o: lib_internal/unify-unify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-unify.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-unify.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-unify.o `test -f 'lib_internal/unify-unify.c' || echo '$(srcdir)/'`lib_internal/unify-unify.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-unify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-unify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-unify.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-unify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-unify.o `test -f 'lib_internal/unify-unify.c' || echo '$(srcdir)/'`lib_internal/unify-unify.c + +lib_internal/lib_internal_libinternal_diet_a-unify-unify.obj: lib_internal/unify-unify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-unify.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-unify.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-unify.obj `if test -f 'lib_internal/unify-unify.c'; then $(CYGPATH_W) 'lib_internal/unify-unify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-unify.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-unify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-unify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-unify.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-unify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-unify.obj `if test -f 'lib_internal/unify-unify.c'; then $(CYGPATH_W) 'lib_internal/unify-unify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-unify.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.o: lib_internal/unify-isiunlinkable.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-isiunlinkable.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.o `test -f 'lib_internal/unify-isiunlinkable.c' || echo '$(srcdir)/'`lib_internal/unify-isiunlinkable.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-isiunlinkable.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-isiunlinkable.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-isiunlinkable.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.o `test -f 'lib_internal/unify-isiunlinkable.c' || echo '$(srcdir)/'`lib_internal/unify-isiunlinkable.c + +lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.obj: lib_internal/unify-isiunlinkable.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-isiunlinkable.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.obj `if test -f 'lib_internal/unify-isiunlinkable.c'; then $(CYGPATH_W) 'lib_internal/unify-isiunlinkable.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-isiunlinkable.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-isiunlinkable.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-isiunlinkable.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-isiunlinkable.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-isiunlinkable.obj `if test -f 'lib_internal/unify-isiunlinkable.c'; then $(CYGPATH_W) 'lib_internal/unify-isiunlinkable.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-isiunlinkable.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-util-canonify.o: lib_internal/util-canonify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-canonify.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-canonify.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-canonify.o `test -f 'lib_internal/util-canonify.c' || echo '$(srcdir)/'`lib_internal/util-canonify.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-canonify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-canonify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-canonify.c' object='lib_internal/lib_internal_libinternal_diet_a-util-canonify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-canonify.o `test -f 'lib_internal/util-canonify.c' || echo '$(srcdir)/'`lib_internal/util-canonify.c + +lib_internal/lib_internal_libinternal_diet_a-util-canonify.obj: lib_internal/util-canonify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-canonify.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-canonify.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-canonify.obj `if test -f 'lib_internal/util-canonify.c'; then $(CYGPATH_W) 'lib_internal/util-canonify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-canonify.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-canonify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-canonify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-canonify.c' object='lib_internal/lib_internal_libinternal_diet_a-util-canonify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-canonify.obj `if test -f 'lib_internal/util-canonify.c'; then $(CYGPATH_W) 'lib_internal/util-canonify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-canonify.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-util-isnumber.o: lib_internal/util-isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-isnumber.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumber.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumber.o `test -f 'lib_internal/util-isnumber.c' || echo '$(srcdir)/'`lib_internal/util-isnumber.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumber.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumber.c' object='lib_internal/lib_internal_libinternal_diet_a-util-isnumber.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumber.o `test -f 'lib_internal/util-isnumber.c' || echo '$(srcdir)/'`lib_internal/util-isnumber.c + +lib_internal/lib_internal_libinternal_diet_a-util-isnumber.obj: lib_internal/util-isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-isnumber.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumber.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumber.obj `if test -f 'lib_internal/util-isnumber.c'; then $(CYGPATH_W) 'lib_internal/util-isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumber.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumber.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumber.c' object='lib_internal/lib_internal_libinternal_diet_a-util-isnumber.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumber.obj `if test -f 'lib_internal/util-isnumber.c'; then $(CYGPATH_W) 'lib_internal/util-isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumber.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.o: lib_internal/util-isnumberunsigned.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumberunsigned.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.o `test -f 'lib_internal/util-isnumberunsigned.c' || echo '$(srcdir)/'`lib_internal/util-isnumberunsigned.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumberunsigned.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumberunsigned.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumberunsigned.c' object='lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.o `test -f 'lib_internal/util-isnumberunsigned.c' || echo '$(srcdir)/'`lib_internal/util-isnumberunsigned.c + +lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.obj: lib_internal/util-isnumberunsigned.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumberunsigned.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.obj `if test -f 'lib_internal/util-isnumberunsigned.c'; then $(CYGPATH_W) 'lib_internal/util-isnumberunsigned.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumberunsigned.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumberunsigned.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-isnumberunsigned.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumberunsigned.c' object='lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-isnumberunsigned.obj `if test -f 'lib_internal/util-isnumberunsigned.c'; then $(CYGPATH_W) 'lib_internal/util-isnumberunsigned.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumberunsigned.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-util-lockfile.o: lib_internal/util-lockfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-lockfile.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-lockfile.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-lockfile.o `test -f 'lib_internal/util-lockfile.c' || echo '$(srcdir)/'`lib_internal/util-lockfile.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-lockfile.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-lockfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-lockfile.c' object='lib_internal/lib_internal_libinternal_diet_a-util-lockfile.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-lockfile.o `test -f 'lib_internal/util-lockfile.c' || echo '$(srcdir)/'`lib_internal/util-lockfile.c + +lib_internal/lib_internal_libinternal_diet_a-util-lockfile.obj: lib_internal/util-lockfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-lockfile.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-lockfile.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-lockfile.obj `if test -f 'lib_internal/util-lockfile.c'; then $(CYGPATH_W) 'lib_internal/util-lockfile.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-lockfile.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-lockfile.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-lockfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-lockfile.c' object='lib_internal/lib_internal_libinternal_diet_a-util-lockfile.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-lockfile.obj `if test -f 'lib_internal/util-lockfile.c'; then $(CYGPATH_W) 'lib_internal/util-lockfile.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-lockfile.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-util-safechdir.o: lib_internal/util-safechdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-safechdir.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-safechdir.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-safechdir.o `test -f 'lib_internal/util-safechdir.c' || echo '$(srcdir)/'`lib_internal/util-safechdir.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-safechdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-safechdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-safechdir.c' object='lib_internal/lib_internal_libinternal_diet_a-util-safechdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-safechdir.o `test -f 'lib_internal/util-safechdir.c' || echo '$(srcdir)/'`lib_internal/util-safechdir.c + +lib_internal/lib_internal_libinternal_diet_a-util-safechdir.obj: lib_internal/util-safechdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-util-safechdir.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-safechdir.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-util-safechdir.obj `if test -f 'lib_internal/util-safechdir.c'; then $(CYGPATH_W) 'lib_internal/util-safechdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-safechdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-safechdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-util-safechdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-safechdir.c' object='lib_internal/lib_internal_libinternal_diet_a-util-safechdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-util-safechdir.obj `if test -f 'lib_internal/util-safechdir.c'; then $(CYGPATH_W) 'lib_internal/util-safechdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-safechdir.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-mkdir.o: lib_internal/mkdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-mkdir.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-mkdir.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-mkdir.o `test -f 'lib_internal/mkdir.c' || echo '$(srcdir)/'`lib_internal/mkdir.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-mkdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-mkdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/mkdir.c' object='lib_internal/lib_internal_libinternal_diet_a-mkdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-mkdir.o `test -f 'lib_internal/mkdir.c' || echo '$(srcdir)/'`lib_internal/mkdir.c + +lib_internal/lib_internal_libinternal_diet_a-mkdir.obj: lib_internal/mkdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-mkdir.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-mkdir.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-mkdir.obj `if test -f 'lib_internal/mkdir.c'; then $(CYGPATH_W) 'lib_internal/mkdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/mkdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-mkdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-mkdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/mkdir.c' object='lib_internal/lib_internal_libinternal_diet_a-mkdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-mkdir.obj `if test -f 'lib_internal/mkdir.c'; then $(CYGPATH_W) 'lib_internal/mkdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/mkdir.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.o: lib_internal/command-appendparameter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-appendparameter.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.o `test -f 'lib_internal/command-appendparameter.c' || echo '$(srcdir)/'`lib_internal/command-appendparameter.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-appendparameter.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-appendparameter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-appendparameter.c' object='lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.o `test -f 'lib_internal/command-appendparameter.c' || echo '$(srcdir)/'`lib_internal/command-appendparameter.c + +lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.obj: lib_internal/command-appendparameter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-appendparameter.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.obj `if test -f 'lib_internal/command-appendparameter.c'; then $(CYGPATH_W) 'lib_internal/command-appendparameter.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-appendparameter.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-appendparameter.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-appendparameter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-appendparameter.c' object='lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-appendparameter.obj `if test -f 'lib_internal/command-appendparameter.c'; then $(CYGPATH_W) 'lib_internal/command-appendparameter.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-appendparameter.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-command-setparams.o: lib_internal/command-setparams.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-setparams.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-setparams.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-setparams.o `test -f 'lib_internal/command-setparams.c' || echo '$(srcdir)/'`lib_internal/command-setparams.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-setparams.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-setparams.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-setparams.c' object='lib_internal/lib_internal_libinternal_diet_a-command-setparams.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-setparams.o `test -f 'lib_internal/command-setparams.c' || echo '$(srcdir)/'`lib_internal/command-setparams.c + +lib_internal/lib_internal_libinternal_diet_a-command-setparams.obj: lib_internal/command-setparams.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-setparams.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-setparams.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-setparams.obj `if test -f 'lib_internal/command-setparams.c'; then $(CYGPATH_W) 'lib_internal/command-setparams.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-setparams.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-setparams.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-setparams.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-setparams.c' object='lib_internal/lib_internal_libinternal_diet_a-command-setparams.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-setparams.obj `if test -f 'lib_internal/command-setparams.c'; then $(CYGPATH_W) 'lib_internal/command-setparams.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-setparams.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-command-exec.o: lib_internal/command-exec.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-exec.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-exec.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-exec.o `test -f 'lib_internal/command-exec.c' || echo '$(srcdir)/'`lib_internal/command-exec.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-exec.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-exec.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-exec.c' object='lib_internal/lib_internal_libinternal_diet_a-command-exec.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-exec.o `test -f 'lib_internal/command-exec.c' || echo '$(srcdir)/'`lib_internal/command-exec.c + +lib_internal/lib_internal_libinternal_diet_a-command-exec.obj: lib_internal/command-exec.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-exec.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-exec.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-exec.obj `if test -f 'lib_internal/command-exec.c'; then $(CYGPATH_W) 'lib_internal/command-exec.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-exec.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-exec.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-exec.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-exec.c' object='lib_internal/lib_internal_libinternal_diet_a-command-exec.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-exec.obj `if test -f 'lib_internal/command-exec.c'; then $(CYGPATH_W) 'lib_internal/command-exec.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-exec.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-command-free.o: lib_internal/command-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-free.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-free.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-free.o `test -f 'lib_internal/command-free.c' || echo '$(srcdir)/'`lib_internal/command-free.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-free.c' object='lib_internal/lib_internal_libinternal_diet_a-command-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-free.o `test -f 'lib_internal/command-free.c' || echo '$(srcdir)/'`lib_internal/command-free.c + +lib_internal/lib_internal_libinternal_diet_a-command-free.obj: lib_internal/command-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-free.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-free.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-free.obj `if test -f 'lib_internal/command-free.c'; then $(CYGPATH_W) 'lib_internal/command-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-free.c' object='lib_internal/lib_internal_libinternal_diet_a-command-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-free.obj `if test -f 'lib_internal/command-free.c'; then $(CYGPATH_W) 'lib_internal/command-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-free.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-command-init.o: lib_internal/command-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-init.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-init.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-init.o `test -f 'lib_internal/command-init.c' || echo '$(srcdir)/'`lib_internal/command-init.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-init.c' object='lib_internal/lib_internal_libinternal_diet_a-command-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-init.o `test -f 'lib_internal/command-init.c' || echo '$(srcdir)/'`lib_internal/command-init.c + +lib_internal/lib_internal_libinternal_diet_a-command-init.obj: lib_internal/command-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-init.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-init.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-init.obj `if test -f 'lib_internal/command-init.c'; then $(CYGPATH_W) 'lib_internal/command-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-init.c' object='lib_internal/lib_internal_libinternal_diet_a-command-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-init.obj `if test -f 'lib_internal/command-init.c'; then $(CYGPATH_W) 'lib_internal/command-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-init.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-command-reset.o: lib_internal/command-reset.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-reset.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-reset.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-reset.o `test -f 'lib_internal/command-reset.c' || echo '$(srcdir)/'`lib_internal/command-reset.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-reset.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-reset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-reset.c' object='lib_internal/lib_internal_libinternal_diet_a-command-reset.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-reset.o `test -f 'lib_internal/command-reset.c' || echo '$(srcdir)/'`lib_internal/command-reset.c + +lib_internal/lib_internal_libinternal_diet_a-command-reset.obj: lib_internal/command-reset.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-reset.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-reset.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-reset.obj `if test -f 'lib_internal/command-reset.c'; then $(CYGPATH_W) 'lib_internal/command-reset.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-reset.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-reset.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-reset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-reset.c' object='lib_internal/lib_internal_libinternal_diet_a-command-reset.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-reset.obj `if test -f 'lib_internal/command-reset.c'; then $(CYGPATH_W) 'lib_internal/command-reset.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-reset.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-command-wait.o: lib_internal/command-wait.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-wait.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-wait.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-wait.o `test -f 'lib_internal/command-wait.c' || echo '$(srcdir)/'`lib_internal/command-wait.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-wait.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-wait.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-wait.c' object='lib_internal/lib_internal_libinternal_diet_a-command-wait.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-wait.o `test -f 'lib_internal/command-wait.c' || echo '$(srcdir)/'`lib_internal/command-wait.c + +lib_internal/lib_internal_libinternal_diet_a-command-wait.obj: lib_internal/command-wait.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-command-wait.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-wait.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-command-wait.obj `if test -f 'lib_internal/command-wait.c'; then $(CYGPATH_W) 'lib_internal/command-wait.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-wait.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-wait.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-command-wait.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-wait.c' object='lib_internal/lib_internal_libinternal_diet_a-command-wait.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-command-wait.obj `if test -f 'lib_internal/command-wait.c'; then $(CYGPATH_W) 'lib_internal/command-wait.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-wait.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.o: lib_internal/filecfg-iteratemultiline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.o `test -f 'lib_internal/filecfg-iteratemultiline.c' || echo '$(srcdir)/'`lib_internal/filecfg-iteratemultiline.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-iteratemultiline.c' object='lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.o `test -f 'lib_internal/filecfg-iteratemultiline.c' || echo '$(srcdir)/'`lib_internal/filecfg-iteratemultiline.c + +lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.obj: lib_internal/filecfg-iteratemultiline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.obj `if test -f 'lib_internal/filecfg-iteratemultiline.c'; then $(CYGPATH_W) 'lib_internal/filecfg-iteratemultiline.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-iteratemultiline.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-iteratemultiline.c' object='lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-iteratemultiline.obj `if test -f 'lib_internal/filecfg-iteratemultiline.c'; then $(CYGPATH_W) 'lib_internal/filecfg-iteratemultiline.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-iteratemultiline.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.o: lib_internal/filecfg-readentryflag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentryflag.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.o `test -f 'lib_internal/filecfg-readentryflag.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentryflag.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentryflag.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentryflag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentryflag.c' object='lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.o `test -f 'lib_internal/filecfg-readentryflag.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentryflag.c + +lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.obj: lib_internal/filecfg-readentryflag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentryflag.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.obj `if test -f 'lib_internal/filecfg-readentryflag.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentryflag.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentryflag.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentryflag.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentryflag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentryflag.c' object='lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentryflag.obj `if test -f 'lib_internal/filecfg-readentryflag.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentryflag.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentryflag.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.o: lib_internal/filecfg-readentrystr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentrystr.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.o `test -f 'lib_internal/filecfg-readentrystr.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentrystr.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentrystr.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentrystr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentrystr.c' object='lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.o `test -f 'lib_internal/filecfg-readentrystr.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentrystr.c + +lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.obj: lib_internal/filecfg-readentrystr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentrystr.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.obj `if test -f 'lib_internal/filecfg-readentrystr.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentrystr.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentrystr.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentrystr.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-filecfg-readentrystr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentrystr.c' object='lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-filecfg-readentrystr.obj `if test -f 'lib_internal/filecfg-readentrystr.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentrystr.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentrystr.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.o: lib_internal/matchlist-initbyvserver.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initbyvserver.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.o `test -f 'lib_internal/matchlist-initbyvserver.c' || echo '$(srcdir)/'`lib_internal/matchlist-initbyvserver.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initbyvserver.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initbyvserver.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initbyvserver.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.o `test -f 'lib_internal/matchlist-initbyvserver.c' || echo '$(srcdir)/'`lib_internal/matchlist-initbyvserver.c + +lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.obj: lib_internal/matchlist-initbyvserver.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initbyvserver.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.obj `if test -f 'lib_internal/matchlist-initbyvserver.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initbyvserver.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initbyvserver.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initbyvserver.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchlist-initbyvserver.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initbyvserver.c' object='lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchlist-initbyvserver.obj `if test -f 'lib_internal/matchlist-initbyvserver.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initbyvserver.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initbyvserver.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.o: lib_internal/matchvserverinfo-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-init.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.o `test -f 'lib_internal/matchvserverinfo-init.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-init.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-init.c' object='lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.o `test -f 'lib_internal/matchvserverinfo-init.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-init.c + +lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.obj: lib_internal/matchvserverinfo-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-init.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.obj `if test -f 'lib_internal/matchvserverinfo-init.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-matchvserverinfo-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-init.c' object='lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-matchvserverinfo-init.obj `if test -f 'lib_internal/matchvserverinfo-init.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-init.c'; fi` + +lib_internal/lib_internal_libinternal_diet_a-unify-copy.o: lib_internal/unify-copy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-copy.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-copy.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-copy.o `test -f 'lib_internal/unify-copy.c' || echo '$(srcdir)/'`lib_internal/unify-copy.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-copy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-copy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-copy.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-copy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-copy.o `test -f 'lib_internal/unify-copy.c' || echo '$(srcdir)/'`lib_internal/unify-copy.c + +lib_internal/lib_internal_libinternal_diet_a-unify-copy.obj: lib_internal/unify-copy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_diet_a-unify-copy.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-copy.Tpo -c -o lib_internal/lib_internal_libinternal_diet_a-unify-copy.obj `if test -f 'lib_internal/unify-copy.c'; then $(CYGPATH_W) 'lib_internal/unify-copy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-copy.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-copy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_diet_a-unify-copy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-copy.c' object='lib_internal/lib_internal_libinternal_diet_a-unify-copy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_diet_a-unify-copy.obj `if test -f 'lib_internal/unify-copy.c'; then $(CYGPATH_W) 'lib_internal/unify-copy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-copy.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.o: lib_internal/errinfo-writeerrno.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-errinfo-writeerrno.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.o `test -f 'lib_internal/errinfo-writeerrno.c' || echo '$(srcdir)/'`lib_internal/errinfo-writeerrno.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-errinfo-writeerrno.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-errinfo-writeerrno.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/errinfo-writeerrno.c' object='lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.o `test -f 'lib_internal/errinfo-writeerrno.c' || echo '$(srcdir)/'`lib_internal/errinfo-writeerrno.c + +lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.obj: lib_internal/errinfo-writeerrno.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-errinfo-writeerrno.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.obj `if test -f 'lib_internal/errinfo-writeerrno.c'; then $(CYGPATH_W) 'lib_internal/errinfo-writeerrno.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/errinfo-writeerrno.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-errinfo-writeerrno.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-errinfo-writeerrno.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/errinfo-writeerrno.c' object='lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-errinfo-writeerrno.obj `if test -f 'lib_internal/errinfo-writeerrno.c'; then $(CYGPATH_W) 'lib_internal/errinfo-writeerrno.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/errinfo-writeerrno.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.o: lib_internal/jailintotempdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-jailintotempdir.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.o `test -f 'lib_internal/jailintotempdir.c' || echo '$(srcdir)/'`lib_internal/jailintotempdir.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-jailintotempdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-jailintotempdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/jailintotempdir.c' object='lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.o `test -f 'lib_internal/jailintotempdir.c' || echo '$(srcdir)/'`lib_internal/jailintotempdir.c + +lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.obj: lib_internal/jailintotempdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-jailintotempdir.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.obj `if test -f 'lib_internal/jailintotempdir.c'; then $(CYGPATH_W) 'lib_internal/jailintotempdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/jailintotempdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-jailintotempdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-jailintotempdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/jailintotempdir.c' object='lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-jailintotempdir.obj `if test -f 'lib_internal/jailintotempdir.c'; then $(CYGPATH_W) 'lib_internal/jailintotempdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/jailintotempdir.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.o: lib_internal/matchlist-appendfiles.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-appendfiles.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.o `test -f 'lib_internal/matchlist-appendfiles.c' || echo '$(srcdir)/'`lib_internal/matchlist-appendfiles.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-appendfiles.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-appendfiles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-appendfiles.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.o `test -f 'lib_internal/matchlist-appendfiles.c' || echo '$(srcdir)/'`lib_internal/matchlist-appendfiles.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.obj: lib_internal/matchlist-appendfiles.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-appendfiles.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.obj `if test -f 'lib_internal/matchlist-appendfiles.c'; then $(CYGPATH_W) 'lib_internal/matchlist-appendfiles.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-appendfiles.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-appendfiles.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-appendfiles.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-appendfiles.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-appendfiles.obj `if test -f 'lib_internal/matchlist-appendfiles.c'; then $(CYGPATH_W) 'lib_internal/matchlist-appendfiles.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-appendfiles.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.o: lib_internal/matchlist-compare.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-compare.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.o `test -f 'lib_internal/matchlist-compare.c' || echo '$(srcdir)/'`lib_internal/matchlist-compare.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-compare.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-compare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-compare.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.o `test -f 'lib_internal/matchlist-compare.c' || echo '$(srcdir)/'`lib_internal/matchlist-compare.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.obj: lib_internal/matchlist-compare.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-compare.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.obj `if test -f 'lib_internal/matchlist-compare.c'; then $(CYGPATH_W) 'lib_internal/matchlist-compare.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-compare.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-compare.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-compare.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-compare.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-compare.obj `if test -f 'lib_internal/matchlist-compare.c'; then $(CYGPATH_W) 'lib_internal/matchlist-compare.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-compare.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.o: lib_internal/matchlist-destroy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-destroy.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.o `test -f 'lib_internal/matchlist-destroy.c' || echo '$(srcdir)/'`lib_internal/matchlist-destroy.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-destroy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-destroy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-destroy.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.o `test -f 'lib_internal/matchlist-destroy.c' || echo '$(srcdir)/'`lib_internal/matchlist-destroy.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.obj: lib_internal/matchlist-destroy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-destroy.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.obj `if test -f 'lib_internal/matchlist-destroy.c'; then $(CYGPATH_W) 'lib_internal/matchlist-destroy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-destroy.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-destroy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-destroy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-destroy.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-destroy.obj `if test -f 'lib_internal/matchlist-destroy.c'; then $(CYGPATH_W) 'lib_internal/matchlist-destroy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-destroy.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.o: lib_internal/matchlist-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-init.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.o `test -f 'lib_internal/matchlist-init.c' || echo '$(srcdir)/'`lib_internal/matchlist-init.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-init.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.o `test -f 'lib_internal/matchlist-init.c' || echo '$(srcdir)/'`lib_internal/matchlist-init.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.obj: lib_internal/matchlist-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-init.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.obj `if test -f 'lib_internal/matchlist-init.c'; then $(CYGPATH_W) 'lib_internal/matchlist-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-init.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-init.obj `if test -f 'lib_internal/matchlist-init.c'; then $(CYGPATH_W) 'lib_internal/matchlist-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-init.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.o: lib_internal/matchlist-initmanually.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initmanually.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.o `test -f 'lib_internal/matchlist-initmanually.c' || echo '$(srcdir)/'`lib_internal/matchlist-initmanually.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initmanually.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initmanually.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initmanually.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.o `test -f 'lib_internal/matchlist-initmanually.c' || echo '$(srcdir)/'`lib_internal/matchlist-initmanually.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.obj: lib_internal/matchlist-initmanually.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initmanually.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.obj `if test -f 'lib_internal/matchlist-initmanually.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initmanually.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initmanually.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initmanually.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initmanually.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initmanually.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initmanually.obj `if test -f 'lib_internal/matchlist-initmanually.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initmanually.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initmanually.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.o: lib_internal/matchlist-initrefserverlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.o `test -f 'lib_internal/matchlist-initrefserverlist.c' || echo '$(srcdir)/'`lib_internal/matchlist-initrefserverlist.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initrefserverlist.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.o `test -f 'lib_internal/matchlist-initrefserverlist.c' || echo '$(srcdir)/'`lib_internal/matchlist-initrefserverlist.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.obj: lib_internal/matchlist-initrefserverlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.obj `if test -f 'lib_internal/matchlist-initrefserverlist.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initrefserverlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initrefserverlist.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initrefserverlist.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initrefserverlist.obj `if test -f 'lib_internal/matchlist-initrefserverlist.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initrefserverlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initrefserverlist.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.o: lib_internal/matchlist-printid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-printid.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.o `test -f 'lib_internal/matchlist-printid.c' || echo '$(srcdir)/'`lib_internal/matchlist-printid.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-printid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-printid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-printid.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.o `test -f 'lib_internal/matchlist-printid.c' || echo '$(srcdir)/'`lib_internal/matchlist-printid.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.obj: lib_internal/matchlist-printid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-printid.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.obj `if test -f 'lib_internal/matchlist-printid.c'; then $(CYGPATH_W) 'lib_internal/matchlist-printid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-printid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-printid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-printid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-printid.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-printid.obj `if test -f 'lib_internal/matchlist-printid.c'; then $(CYGPATH_W) 'lib_internal/matchlist-printid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-printid.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.o: lib_internal/matchvserverinfo-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-free.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.o `test -f 'lib_internal/matchvserverinfo-free.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-free.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-free.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.o `test -f 'lib_internal/matchvserverinfo-free.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-free.c + +lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.obj: lib_internal/matchvserverinfo-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-free.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.obj `if test -f 'lib_internal/matchvserverinfo-free.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-free.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-free.obj `if test -f 'lib_internal/matchvserverinfo-free.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-free.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.o: lib_internal/pathinfo-append.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-append.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.o `test -f 'lib_internal/pathinfo-append.c' || echo '$(srcdir)/'`lib_internal/pathinfo-append.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-append.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-append.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-append.c' object='lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.o `test -f 'lib_internal/pathinfo-append.c' || echo '$(srcdir)/'`lib_internal/pathinfo-append.c + +lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.obj: lib_internal/pathinfo-append.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-append.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.obj `if test -f 'lib_internal/pathinfo-append.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-append.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-append.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-append.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-append.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-append.c' object='lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-append.obj `if test -f 'lib_internal/pathinfo-append.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-append.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-append.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.o: lib_internal/pathinfo-test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-test.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.o `test -f 'lib_internal/pathinfo-test.c' || echo '$(srcdir)/'`lib_internal/pathinfo-test.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-test.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-test.c' object='lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.o `test -f 'lib_internal/pathinfo-test.c' || echo '$(srcdir)/'`lib_internal/pathinfo-test.c + +lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.obj: lib_internal/pathinfo-test.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-test.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.obj `if test -f 'lib_internal/pathinfo-test.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-test.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-test.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-test.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-pathinfo-test.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/pathinfo-test.c' object='lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-pathinfo-test.obj `if test -f 'lib_internal/pathinfo-test.c'; then $(CYGPATH_W) 'lib_internal/pathinfo-test.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/pathinfo-test.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.o: lib_internal/switchtowatchxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-switchtowatchxid.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.o `test -f 'lib_internal/switchtowatchxid.c' || echo '$(srcdir)/'`lib_internal/switchtowatchxid.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-switchtowatchxid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-switchtowatchxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/switchtowatchxid.c' object='lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.o `test -f 'lib_internal/switchtowatchxid.c' || echo '$(srcdir)/'`lib_internal/switchtowatchxid.c + +lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.obj: lib_internal/switchtowatchxid.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-switchtowatchxid.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.obj `if test -f 'lib_internal/switchtowatchxid.c'; then $(CYGPATH_W) 'lib_internal/switchtowatchxid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/switchtowatchxid.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-switchtowatchxid.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-switchtowatchxid.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/switchtowatchxid.c' object='lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-switchtowatchxid.obj `if test -f 'lib_internal/switchtowatchxid.c'; then $(CYGPATH_W) 'lib_internal/switchtowatchxid.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/switchtowatchxid.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.o: lib_internal/unify-deunify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-deunify.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.o `test -f 'lib_internal/unify-deunify.c' || echo '$(srcdir)/'`lib_internal/unify-deunify.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-deunify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-deunify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-deunify.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.o `test -f 'lib_internal/unify-deunify.c' || echo '$(srcdir)/'`lib_internal/unify-deunify.c + +lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.obj: lib_internal/unify-deunify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-deunify.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.obj `if test -f 'lib_internal/unify-deunify.c'; then $(CYGPATH_W) 'lib_internal/unify-deunify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-deunify.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-deunify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-deunify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-deunify.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-deunify.obj `if test -f 'lib_internal/unify-deunify.c'; then $(CYGPATH_W) 'lib_internal/unify-deunify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-deunify.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-unify-settime.o: lib_internal/unify-settime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-settime.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-settime.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-settime.o `test -f 'lib_internal/unify-settime.c' || echo '$(srcdir)/'`lib_internal/unify-settime.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-settime.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-settime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-settime.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-settime.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-settime.o `test -f 'lib_internal/unify-settime.c' || echo '$(srcdir)/'`lib_internal/unify-settime.c + +lib_internal/lib_internal_libinternal_glibc_a-unify-settime.obj: lib_internal/unify-settime.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-settime.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-settime.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-settime.obj `if test -f 'lib_internal/unify-settime.c'; then $(CYGPATH_W) 'lib_internal/unify-settime.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-settime.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-settime.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-settime.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-settime.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-settime.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-settime.obj `if test -f 'lib_internal/unify-settime.c'; then $(CYGPATH_W) 'lib_internal/unify-settime.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-settime.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-unify-unify.o: lib_internal/unify-unify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-unify.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-unify.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-unify.o `test -f 'lib_internal/unify-unify.c' || echo '$(srcdir)/'`lib_internal/unify-unify.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-unify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-unify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-unify.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-unify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-unify.o `test -f 'lib_internal/unify-unify.c' || echo '$(srcdir)/'`lib_internal/unify-unify.c + +lib_internal/lib_internal_libinternal_glibc_a-unify-unify.obj: lib_internal/unify-unify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-unify.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-unify.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-unify.obj `if test -f 'lib_internal/unify-unify.c'; then $(CYGPATH_W) 'lib_internal/unify-unify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-unify.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-unify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-unify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-unify.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-unify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-unify.obj `if test -f 'lib_internal/unify-unify.c'; then $(CYGPATH_W) 'lib_internal/unify-unify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-unify.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.o: lib_internal/unify-isiunlinkable.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-isiunlinkable.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.o `test -f 'lib_internal/unify-isiunlinkable.c' || echo '$(srcdir)/'`lib_internal/unify-isiunlinkable.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-isiunlinkable.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-isiunlinkable.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-isiunlinkable.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.o `test -f 'lib_internal/unify-isiunlinkable.c' || echo '$(srcdir)/'`lib_internal/unify-isiunlinkable.c + +lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.obj: lib_internal/unify-isiunlinkable.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-isiunlinkable.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.obj `if test -f 'lib_internal/unify-isiunlinkable.c'; then $(CYGPATH_W) 'lib_internal/unify-isiunlinkable.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-isiunlinkable.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-isiunlinkable.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-isiunlinkable.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-isiunlinkable.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-isiunlinkable.obj `if test -f 'lib_internal/unify-isiunlinkable.c'; then $(CYGPATH_W) 'lib_internal/unify-isiunlinkable.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-isiunlinkable.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-util-canonify.o: lib_internal/util-canonify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-canonify.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-canonify.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-canonify.o `test -f 'lib_internal/util-canonify.c' || echo '$(srcdir)/'`lib_internal/util-canonify.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-canonify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-canonify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-canonify.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-canonify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-canonify.o `test -f 'lib_internal/util-canonify.c' || echo '$(srcdir)/'`lib_internal/util-canonify.c + +lib_internal/lib_internal_libinternal_glibc_a-util-canonify.obj: lib_internal/util-canonify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-canonify.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-canonify.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-canonify.obj `if test -f 'lib_internal/util-canonify.c'; then $(CYGPATH_W) 'lib_internal/util-canonify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-canonify.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-canonify.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-canonify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-canonify.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-canonify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-canonify.obj `if test -f 'lib_internal/util-canonify.c'; then $(CYGPATH_W) 'lib_internal/util-canonify.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-canonify.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.o: lib_internal/util-isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumber.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.o `test -f 'lib_internal/util-isnumber.c' || echo '$(srcdir)/'`lib_internal/util-isnumber.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumber.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumber.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.o `test -f 'lib_internal/util-isnumber.c' || echo '$(srcdir)/'`lib_internal/util-isnumber.c + +lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.obj: lib_internal/util-isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumber.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.obj `if test -f 'lib_internal/util-isnumber.c'; then $(CYGPATH_W) 'lib_internal/util-isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumber.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumber.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumber.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumber.obj `if test -f 'lib_internal/util-isnumber.c'; then $(CYGPATH_W) 'lib_internal/util-isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumber.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.o: lib_internal/util-isnumberunsigned.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumberunsigned.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.o `test -f 'lib_internal/util-isnumberunsigned.c' || echo '$(srcdir)/'`lib_internal/util-isnumberunsigned.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumberunsigned.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumberunsigned.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumberunsigned.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.o `test -f 'lib_internal/util-isnumberunsigned.c' || echo '$(srcdir)/'`lib_internal/util-isnumberunsigned.c + +lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.obj: lib_internal/util-isnumberunsigned.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumberunsigned.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.obj `if test -f 'lib_internal/util-isnumberunsigned.c'; then $(CYGPATH_W) 'lib_internal/util-isnumberunsigned.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumberunsigned.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumberunsigned.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-isnumberunsigned.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-isnumberunsigned.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-isnumberunsigned.obj `if test -f 'lib_internal/util-isnumberunsigned.c'; then $(CYGPATH_W) 'lib_internal/util-isnumberunsigned.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-isnumberunsigned.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.o: lib_internal/util-lockfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-lockfile.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.o `test -f 'lib_internal/util-lockfile.c' || echo '$(srcdir)/'`lib_internal/util-lockfile.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-lockfile.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-lockfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-lockfile.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.o `test -f 'lib_internal/util-lockfile.c' || echo '$(srcdir)/'`lib_internal/util-lockfile.c + +lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.obj: lib_internal/util-lockfile.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-lockfile.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.obj `if test -f 'lib_internal/util-lockfile.c'; then $(CYGPATH_W) 'lib_internal/util-lockfile.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-lockfile.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-lockfile.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-lockfile.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-lockfile.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-lockfile.obj `if test -f 'lib_internal/util-lockfile.c'; then $(CYGPATH_W) 'lib_internal/util-lockfile.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-lockfile.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.o: lib_internal/util-safechdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-safechdir.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.o `test -f 'lib_internal/util-safechdir.c' || echo '$(srcdir)/'`lib_internal/util-safechdir.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-safechdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-safechdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-safechdir.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.o `test -f 'lib_internal/util-safechdir.c' || echo '$(srcdir)/'`lib_internal/util-safechdir.c + +lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.obj: lib_internal/util-safechdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-safechdir.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.obj `if test -f 'lib_internal/util-safechdir.c'; then $(CYGPATH_W) 'lib_internal/util-safechdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-safechdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-safechdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-util-safechdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/util-safechdir.c' object='lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-util-safechdir.obj `if test -f 'lib_internal/util-safechdir.c'; then $(CYGPATH_W) 'lib_internal/util-safechdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/util-safechdir.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-mkdir.o: lib_internal/mkdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-mkdir.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-mkdir.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-mkdir.o `test -f 'lib_internal/mkdir.c' || echo '$(srcdir)/'`lib_internal/mkdir.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-mkdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-mkdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/mkdir.c' object='lib_internal/lib_internal_libinternal_glibc_a-mkdir.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-mkdir.o `test -f 'lib_internal/mkdir.c' || echo '$(srcdir)/'`lib_internal/mkdir.c + +lib_internal/lib_internal_libinternal_glibc_a-mkdir.obj: lib_internal/mkdir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-mkdir.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-mkdir.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-mkdir.obj `if test -f 'lib_internal/mkdir.c'; then $(CYGPATH_W) 'lib_internal/mkdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/mkdir.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-mkdir.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-mkdir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/mkdir.c' object='lib_internal/lib_internal_libinternal_glibc_a-mkdir.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-mkdir.obj `if test -f 'lib_internal/mkdir.c'; then $(CYGPATH_W) 'lib_internal/mkdir.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/mkdir.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.o: lib_internal/command-appendparameter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-appendparameter.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.o `test -f 'lib_internal/command-appendparameter.c' || echo '$(srcdir)/'`lib_internal/command-appendparameter.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-appendparameter.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-appendparameter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-appendparameter.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.o `test -f 'lib_internal/command-appendparameter.c' || echo '$(srcdir)/'`lib_internal/command-appendparameter.c + +lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.obj: lib_internal/command-appendparameter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-appendparameter.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.obj `if test -f 'lib_internal/command-appendparameter.c'; then $(CYGPATH_W) 'lib_internal/command-appendparameter.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-appendparameter.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-appendparameter.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-appendparameter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-appendparameter.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-appendparameter.obj `if test -f 'lib_internal/command-appendparameter.c'; then $(CYGPATH_W) 'lib_internal/command-appendparameter.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-appendparameter.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-command-setparams.o: lib_internal/command-setparams.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-setparams.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-setparams.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-setparams.o `test -f 'lib_internal/command-setparams.c' || echo '$(srcdir)/'`lib_internal/command-setparams.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-setparams.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-setparams.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-setparams.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-setparams.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-setparams.o `test -f 'lib_internal/command-setparams.c' || echo '$(srcdir)/'`lib_internal/command-setparams.c + +lib_internal/lib_internal_libinternal_glibc_a-command-setparams.obj: lib_internal/command-setparams.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-setparams.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-setparams.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-setparams.obj `if test -f 'lib_internal/command-setparams.c'; then $(CYGPATH_W) 'lib_internal/command-setparams.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-setparams.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-setparams.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-setparams.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-setparams.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-setparams.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-setparams.obj `if test -f 'lib_internal/command-setparams.c'; then $(CYGPATH_W) 'lib_internal/command-setparams.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-setparams.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-command-exec.o: lib_internal/command-exec.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-exec.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-exec.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-exec.o `test -f 'lib_internal/command-exec.c' || echo '$(srcdir)/'`lib_internal/command-exec.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-exec.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-exec.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-exec.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-exec.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-exec.o `test -f 'lib_internal/command-exec.c' || echo '$(srcdir)/'`lib_internal/command-exec.c + +lib_internal/lib_internal_libinternal_glibc_a-command-exec.obj: lib_internal/command-exec.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-exec.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-exec.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-exec.obj `if test -f 'lib_internal/command-exec.c'; then $(CYGPATH_W) 'lib_internal/command-exec.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-exec.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-exec.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-exec.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-exec.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-exec.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-exec.obj `if test -f 'lib_internal/command-exec.c'; then $(CYGPATH_W) 'lib_internal/command-exec.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-exec.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-command-free.o: lib_internal/command-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-free.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-free.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-free.o `test -f 'lib_internal/command-free.c' || echo '$(srcdir)/'`lib_internal/command-free.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-free.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-free.o `test -f 'lib_internal/command-free.c' || echo '$(srcdir)/'`lib_internal/command-free.c + +lib_internal/lib_internal_libinternal_glibc_a-command-free.obj: lib_internal/command-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-free.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-free.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-free.obj `if test -f 'lib_internal/command-free.c'; then $(CYGPATH_W) 'lib_internal/command-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-free.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-free.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-free.obj `if test -f 'lib_internal/command-free.c'; then $(CYGPATH_W) 'lib_internal/command-free.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-free.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-command-init.o: lib_internal/command-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-init.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-init.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-init.o `test -f 'lib_internal/command-init.c' || echo '$(srcdir)/'`lib_internal/command-init.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-init.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-init.o `test -f 'lib_internal/command-init.c' || echo '$(srcdir)/'`lib_internal/command-init.c + +lib_internal/lib_internal_libinternal_glibc_a-command-init.obj: lib_internal/command-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-init.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-init.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-init.obj `if test -f 'lib_internal/command-init.c'; then $(CYGPATH_W) 'lib_internal/command-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-init.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-init.obj `if test -f 'lib_internal/command-init.c'; then $(CYGPATH_W) 'lib_internal/command-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-init.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-command-reset.o: lib_internal/command-reset.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-reset.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-reset.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-reset.o `test -f 'lib_internal/command-reset.c' || echo '$(srcdir)/'`lib_internal/command-reset.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-reset.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-reset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-reset.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-reset.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-reset.o `test -f 'lib_internal/command-reset.c' || echo '$(srcdir)/'`lib_internal/command-reset.c + +lib_internal/lib_internal_libinternal_glibc_a-command-reset.obj: lib_internal/command-reset.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-reset.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-reset.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-reset.obj `if test -f 'lib_internal/command-reset.c'; then $(CYGPATH_W) 'lib_internal/command-reset.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-reset.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-reset.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-reset.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-reset.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-reset.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-reset.obj `if test -f 'lib_internal/command-reset.c'; then $(CYGPATH_W) 'lib_internal/command-reset.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-reset.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-command-wait.o: lib_internal/command-wait.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-wait.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-wait.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-wait.o `test -f 'lib_internal/command-wait.c' || echo '$(srcdir)/'`lib_internal/command-wait.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-wait.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-wait.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-wait.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-wait.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-wait.o `test -f 'lib_internal/command-wait.c' || echo '$(srcdir)/'`lib_internal/command-wait.c + +lib_internal/lib_internal_libinternal_glibc_a-command-wait.obj: lib_internal/command-wait.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-command-wait.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-wait.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-command-wait.obj `if test -f 'lib_internal/command-wait.c'; then $(CYGPATH_W) 'lib_internal/command-wait.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-wait.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-wait.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-command-wait.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/command-wait.c' object='lib_internal/lib_internal_libinternal_glibc_a-command-wait.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-command-wait.obj `if test -f 'lib_internal/command-wait.c'; then $(CYGPATH_W) 'lib_internal/command-wait.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/command-wait.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.o: lib_internal/filecfg-iteratemultiline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.o `test -f 'lib_internal/filecfg-iteratemultiline.c' || echo '$(srcdir)/'`lib_internal/filecfg-iteratemultiline.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-iteratemultiline.c' object='lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.o `test -f 'lib_internal/filecfg-iteratemultiline.c' || echo '$(srcdir)/'`lib_internal/filecfg-iteratemultiline.c + +lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.obj: lib_internal/filecfg-iteratemultiline.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.obj `if test -f 'lib_internal/filecfg-iteratemultiline.c'; then $(CYGPATH_W) 'lib_internal/filecfg-iteratemultiline.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-iteratemultiline.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-iteratemultiline.c' object='lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-iteratemultiline.obj `if test -f 'lib_internal/filecfg-iteratemultiline.c'; then $(CYGPATH_W) 'lib_internal/filecfg-iteratemultiline.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-iteratemultiline.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.o: lib_internal/filecfg-readentryflag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentryflag.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.o `test -f 'lib_internal/filecfg-readentryflag.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentryflag.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentryflag.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentryflag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentryflag.c' object='lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.o `test -f 'lib_internal/filecfg-readentryflag.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentryflag.c + +lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.obj: lib_internal/filecfg-readentryflag.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentryflag.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.obj `if test -f 'lib_internal/filecfg-readentryflag.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentryflag.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentryflag.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentryflag.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentryflag.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentryflag.c' object='lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentryflag.obj `if test -f 'lib_internal/filecfg-readentryflag.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentryflag.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentryflag.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.o: lib_internal/filecfg-readentrystr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentrystr.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.o `test -f 'lib_internal/filecfg-readentrystr.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentrystr.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentrystr.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentrystr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentrystr.c' object='lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.o `test -f 'lib_internal/filecfg-readentrystr.c' || echo '$(srcdir)/'`lib_internal/filecfg-readentrystr.c + +lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.obj: lib_internal/filecfg-readentrystr.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentrystr.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.obj `if test -f 'lib_internal/filecfg-readentrystr.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentrystr.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentrystr.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentrystr.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-filecfg-readentrystr.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/filecfg-readentrystr.c' object='lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-filecfg-readentrystr.obj `if test -f 'lib_internal/filecfg-readentrystr.c'; then $(CYGPATH_W) 'lib_internal/filecfg-readentrystr.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/filecfg-readentrystr.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.o: lib_internal/matchlist-initbyvserver.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.o `test -f 'lib_internal/matchlist-initbyvserver.c' || echo '$(srcdir)/'`lib_internal/matchlist-initbyvserver.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initbyvserver.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.o `test -f 'lib_internal/matchlist-initbyvserver.c' || echo '$(srcdir)/'`lib_internal/matchlist-initbyvserver.c + +lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.obj: lib_internal/matchlist-initbyvserver.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.obj `if test -f 'lib_internal/matchlist-initbyvserver.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initbyvserver.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initbyvserver.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchlist-initbyvserver.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchlist-initbyvserver.obj `if test -f 'lib_internal/matchlist-initbyvserver.c'; then $(CYGPATH_W) 'lib_internal/matchlist-initbyvserver.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchlist-initbyvserver.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.o: lib_internal/matchvserverinfo-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-init.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.o `test -f 'lib_internal/matchvserverinfo-init.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-init.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-init.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.o `test -f 'lib_internal/matchvserverinfo-init.c' || echo '$(srcdir)/'`lib_internal/matchvserverinfo-init.c + +lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.obj: lib_internal/matchvserverinfo-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-init.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.obj `if test -f 'lib_internal/matchvserverinfo-init.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-init.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-matchvserverinfo-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/matchvserverinfo-init.c' object='lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-matchvserverinfo-init.obj `if test -f 'lib_internal/matchvserverinfo-init.c'; then $(CYGPATH_W) 'lib_internal/matchvserverinfo-init.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/matchvserverinfo-init.c'; fi` + +lib_internal/lib_internal_libinternal_glibc_a-unify-copy.o: lib_internal/unify-copy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-copy.o -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-copy.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-copy.o `test -f 'lib_internal/unify-copy.c' || echo '$(srcdir)/'`lib_internal/unify-copy.c +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-copy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-copy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-copy.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-copy.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-copy.o `test -f 'lib_internal/unify-copy.c' || echo '$(srcdir)/'`lib_internal/unify-copy.c + +lib_internal/lib_internal_libinternal_glibc_a-unify-copy.obj: lib_internal/unify-copy.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/lib_internal_libinternal_glibc_a-unify-copy.obj -MD -MP -MF lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-copy.Tpo -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-copy.obj `if test -f 'lib_internal/unify-copy.c'; then $(CYGPATH_W) 'lib_internal/unify-copy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-copy.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-copy.Tpo lib_internal/$(DEPDIR)/lib_internal_libinternal_glibc_a-unify-copy.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/unify-copy.c' object='lib_internal/lib_internal_libinternal_glibc_a-unify-copy.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_libinternal_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/lib_internal_libinternal_glibc_a-unify-copy.obj `if test -f 'lib_internal/unify-copy.c'; then $(CYGPATH_W) 'lib_internal/unify-copy.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/unify-copy.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-clear.o: ensc_vector/vector-clear.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-clear.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-clear.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-clear.o `test -f 'ensc_vector/vector-clear.c' || echo '$(srcdir)/'`ensc_vector/vector-clear.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-clear.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-clear.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-clear.c' object='ensc_vector/libensc_vector_diet_a-vector-clear.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-clear.o `test -f 'ensc_vector/vector-clear.c' || echo '$(srcdir)/'`ensc_vector/vector-clear.c + +ensc_vector/libensc_vector_diet_a-vector-clear.obj: ensc_vector/vector-clear.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-clear.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-clear.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-clear.obj `if test -f 'ensc_vector/vector-clear.c'; then $(CYGPATH_W) 'ensc_vector/vector-clear.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-clear.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-clear.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-clear.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-clear.c' object='ensc_vector/libensc_vector_diet_a-vector-clear.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-clear.obj `if test -f 'ensc_vector/vector-clear.c'; then $(CYGPATH_W) 'ensc_vector/vector-clear.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-clear.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-foreach.o: ensc_vector/vector-foreach.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-foreach.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-foreach.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-foreach.o `test -f 'ensc_vector/vector-foreach.c' || echo '$(srcdir)/'`ensc_vector/vector-foreach.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-foreach.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-foreach.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-foreach.c' object='ensc_vector/libensc_vector_diet_a-vector-foreach.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-foreach.o `test -f 'ensc_vector/vector-foreach.c' || echo '$(srcdir)/'`ensc_vector/vector-foreach.c + +ensc_vector/libensc_vector_diet_a-vector-foreach.obj: ensc_vector/vector-foreach.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-foreach.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-foreach.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-foreach.obj `if test -f 'ensc_vector/vector-foreach.c'; then $(CYGPATH_W) 'ensc_vector/vector-foreach.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-foreach.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-foreach.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-foreach.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-foreach.c' object='ensc_vector/libensc_vector_diet_a-vector-foreach.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-foreach.obj `if test -f 'ensc_vector/vector-foreach.c'; then $(CYGPATH_W) 'ensc_vector/vector-foreach.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-foreach.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-free.o: ensc_vector/vector-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-free.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-free.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-free.o `test -f 'ensc_vector/vector-free.c' || echo '$(srcdir)/'`ensc_vector/vector-free.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-free.c' object='ensc_vector/libensc_vector_diet_a-vector-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-free.o `test -f 'ensc_vector/vector-free.c' || echo '$(srcdir)/'`ensc_vector/vector-free.c + +ensc_vector/libensc_vector_diet_a-vector-free.obj: ensc_vector/vector-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-free.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-free.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-free.obj `if test -f 'ensc_vector/vector-free.c'; then $(CYGPATH_W) 'ensc_vector/vector-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-free.c' object='ensc_vector/libensc_vector_diet_a-vector-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-free.obj `if test -f 'ensc_vector/vector-free.c'; then $(CYGPATH_W) 'ensc_vector/vector-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-free.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-init.o: ensc_vector/vector-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-init.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-init.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-init.o `test -f 'ensc_vector/vector-init.c' || echo '$(srcdir)/'`ensc_vector/vector-init.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-init.c' object='ensc_vector/libensc_vector_diet_a-vector-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-init.o `test -f 'ensc_vector/vector-init.c' || echo '$(srcdir)/'`ensc_vector/vector-init.c + +ensc_vector/libensc_vector_diet_a-vector-init.obj: ensc_vector/vector-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-init.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-init.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-init.obj `if test -f 'ensc_vector/vector-init.c'; then $(CYGPATH_W) 'ensc_vector/vector-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-init.c' object='ensc_vector/libensc_vector_diet_a-vector-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-init.obj `if test -f 'ensc_vector/vector-init.c'; then $(CYGPATH_W) 'ensc_vector/vector-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-init.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-insert.o: ensc_vector/vector-insert.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-insert.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-insert.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-insert.o `test -f 'ensc_vector/vector-insert.c' || echo '$(srcdir)/'`ensc_vector/vector-insert.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-insert.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-insert.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-insert.c' object='ensc_vector/libensc_vector_diet_a-vector-insert.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-insert.o `test -f 'ensc_vector/vector-insert.c' || echo '$(srcdir)/'`ensc_vector/vector-insert.c + +ensc_vector/libensc_vector_diet_a-vector-insert.obj: ensc_vector/vector-insert.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-insert.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-insert.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-insert.obj `if test -f 'ensc_vector/vector-insert.c'; then $(CYGPATH_W) 'ensc_vector/vector-insert.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-insert.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-insert.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-insert.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-insert.c' object='ensc_vector/libensc_vector_diet_a-vector-insert.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-insert.obj `if test -f 'ensc_vector/vector-insert.c'; then $(CYGPATH_W) 'ensc_vector/vector-insert.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-insert.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-popback.o: ensc_vector/vector-popback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-popback.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-popback.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-popback.o `test -f 'ensc_vector/vector-popback.c' || echo '$(srcdir)/'`ensc_vector/vector-popback.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-popback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-popback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-popback.c' object='ensc_vector/libensc_vector_diet_a-vector-popback.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-popback.o `test -f 'ensc_vector/vector-popback.c' || echo '$(srcdir)/'`ensc_vector/vector-popback.c + +ensc_vector/libensc_vector_diet_a-vector-popback.obj: ensc_vector/vector-popback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-popback.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-popback.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-popback.obj `if test -f 'ensc_vector/vector-popback.c'; then $(CYGPATH_W) 'ensc_vector/vector-popback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-popback.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-popback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-popback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-popback.c' object='ensc_vector/libensc_vector_diet_a-vector-popback.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-popback.obj `if test -f 'ensc_vector/vector-popback.c'; then $(CYGPATH_W) 'ensc_vector/vector-popback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-popback.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-pushback.o: ensc_vector/vector-pushback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-pushback.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-pushback.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-pushback.o `test -f 'ensc_vector/vector-pushback.c' || echo '$(srcdir)/'`ensc_vector/vector-pushback.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-pushback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-pushback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-pushback.c' object='ensc_vector/libensc_vector_diet_a-vector-pushback.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-pushback.o `test -f 'ensc_vector/vector-pushback.c' || echo '$(srcdir)/'`ensc_vector/vector-pushback.c + +ensc_vector/libensc_vector_diet_a-vector-pushback.obj: ensc_vector/vector-pushback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-pushback.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-pushback.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-pushback.obj `if test -f 'ensc_vector/vector-pushback.c'; then $(CYGPATH_W) 'ensc_vector/vector-pushback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-pushback.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-pushback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-pushback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-pushback.c' object='ensc_vector/libensc_vector_diet_a-vector-pushback.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-pushback.obj `if test -f 'ensc_vector/vector-pushback.c'; then $(CYGPATH_W) 'ensc_vector/vector-pushback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-pushback.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-resize.o: ensc_vector/vector-resize.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-resize.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-resize.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-resize.o `test -f 'ensc_vector/vector-resize.c' || echo '$(srcdir)/'`ensc_vector/vector-resize.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-resize.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-resize.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-resize.c' object='ensc_vector/libensc_vector_diet_a-vector-resize.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-resize.o `test -f 'ensc_vector/vector-resize.c' || echo '$(srcdir)/'`ensc_vector/vector-resize.c + +ensc_vector/libensc_vector_diet_a-vector-resize.obj: ensc_vector/vector-resize.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-resize.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-resize.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-resize.obj `if test -f 'ensc_vector/vector-resize.c'; then $(CYGPATH_W) 'ensc_vector/vector-resize.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-resize.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-resize.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-resize.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-resize.c' object='ensc_vector/libensc_vector_diet_a-vector-resize.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-resize.obj `if test -f 'ensc_vector/vector-resize.c'; then $(CYGPATH_W) 'ensc_vector/vector-resize.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-resize.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-search.o: ensc_vector/vector-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-search.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-search.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-search.o `test -f 'ensc_vector/vector-search.c' || echo '$(srcdir)/'`ensc_vector/vector-search.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-search.c' object='ensc_vector/libensc_vector_diet_a-vector-search.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-search.o `test -f 'ensc_vector/vector-search.c' || echo '$(srcdir)/'`ensc_vector/vector-search.c + +ensc_vector/libensc_vector_diet_a-vector-search.obj: ensc_vector/vector-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-search.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-search.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-search.obj `if test -f 'ensc_vector/vector-search.c'; then $(CYGPATH_W) 'ensc_vector/vector-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-search.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-search.c' object='ensc_vector/libensc_vector_diet_a-vector-search.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-search.obj `if test -f 'ensc_vector/vector-search.c'; then $(CYGPATH_W) 'ensc_vector/vector-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-search.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-searchselforg.o: ensc_vector/vector-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-searchselforg.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-searchselforg.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-searchselforg.o `test -f 'ensc_vector/vector-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/vector-searchselforg.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-searchselforg.c' object='ensc_vector/libensc_vector_diet_a-vector-searchselforg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-searchselforg.o `test -f 'ensc_vector/vector-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/vector-searchselforg.c + +ensc_vector/libensc_vector_diet_a-vector-searchselforg.obj: ensc_vector/vector-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-searchselforg.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-searchselforg.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-searchselforg.obj `if test -f 'ensc_vector/vector-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/vector-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-searchselforg.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-searchselforg.c' object='ensc_vector/libensc_vector_diet_a-vector-searchselforg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-searchselforg.obj `if test -f 'ensc_vector/vector-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/vector-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-searchselforg.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-sort.o: ensc_vector/vector-sort.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-sort.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-sort.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-sort.o `test -f 'ensc_vector/vector-sort.c' || echo '$(srcdir)/'`ensc_vector/vector-sort.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-sort.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-sort.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-sort.c' object='ensc_vector/libensc_vector_diet_a-vector-sort.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-sort.o `test -f 'ensc_vector/vector-sort.c' || echo '$(srcdir)/'`ensc_vector/vector-sort.c + +ensc_vector/libensc_vector_diet_a-vector-sort.obj: ensc_vector/vector-sort.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-sort.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-sort.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-sort.obj `if test -f 'ensc_vector/vector-sort.c'; then $(CYGPATH_W) 'ensc_vector/vector-sort.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-sort.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-sort.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-sort.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-sort.c' object='ensc_vector/libensc_vector_diet_a-vector-sort.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-sort.obj `if test -f 'ensc_vector/vector-sort.c'; then $(CYGPATH_W) 'ensc_vector/vector-sort.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-sort.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-unique.o: ensc_vector/vector-unique.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-unique.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-unique.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-unique.o `test -f 'ensc_vector/vector-unique.c' || echo '$(srcdir)/'`ensc_vector/vector-unique.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-unique.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-unique.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-unique.c' object='ensc_vector/libensc_vector_diet_a-vector-unique.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-unique.o `test -f 'ensc_vector/vector-unique.c' || echo '$(srcdir)/'`ensc_vector/vector-unique.c + +ensc_vector/libensc_vector_diet_a-vector-unique.obj: ensc_vector/vector-unique.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-unique.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-unique.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-unique.obj `if test -f 'ensc_vector/vector-unique.c'; then $(CYGPATH_W) 'ensc_vector/vector-unique.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-unique.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-unique.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-unique.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-unique.c' object='ensc_vector/libensc_vector_diet_a-vector-unique.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-unique.obj `if test -f 'ensc_vector/vector-unique.c'; then $(CYGPATH_W) 'ensc_vector/vector-unique.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-unique.c'; fi` + +ensc_vector/libensc_vector_diet_a-vector-zeroend.o: ensc_vector/vector-zeroend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-zeroend.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-zeroend.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-zeroend.o `test -f 'ensc_vector/vector-zeroend.c' || echo '$(srcdir)/'`ensc_vector/vector-zeroend.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-zeroend.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-zeroend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-zeroend.c' object='ensc_vector/libensc_vector_diet_a-vector-zeroend.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-zeroend.o `test -f 'ensc_vector/vector-zeroend.c' || echo '$(srcdir)/'`ensc_vector/vector-zeroend.c + +ensc_vector/libensc_vector_diet_a-vector-zeroend.obj: ensc_vector/vector-zeroend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-vector-zeroend.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-zeroend.Tpo -c -o ensc_vector/libensc_vector_diet_a-vector-zeroend.obj `if test -f 'ensc_vector/vector-zeroend.c'; then $(CYGPATH_W) 'ensc_vector/vector-zeroend.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-zeroend.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-zeroend.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-vector-zeroend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-zeroend.c' object='ensc_vector/libensc_vector_diet_a-vector-zeroend.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-vector-zeroend.obj `if test -f 'ensc_vector/vector-zeroend.c'; then $(CYGPATH_W) 'ensc_vector/vector-zeroend.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-zeroend.c'; fi` + +ensc_vector/libensc_vector_diet_a-list-at.o: ensc_vector/list-at.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-at.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-at.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-at.o `test -f 'ensc_vector/list-at.c' || echo '$(srcdir)/'`ensc_vector/list-at.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-at.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-at.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-at.c' object='ensc_vector/libensc_vector_diet_a-list-at.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-at.o `test -f 'ensc_vector/list-at.c' || echo '$(srcdir)/'`ensc_vector/list-at.c + +ensc_vector/libensc_vector_diet_a-list-at.obj: ensc_vector/list-at.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-at.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-at.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-at.obj `if test -f 'ensc_vector/list-at.c'; then $(CYGPATH_W) 'ensc_vector/list-at.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-at.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-at.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-at.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-at.c' object='ensc_vector/libensc_vector_diet_a-list-at.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-at.obj `if test -f 'ensc_vector/list-at.c'; then $(CYGPATH_W) 'ensc_vector/list-at.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-at.c'; fi` + +ensc_vector/libensc_vector_diet_a-list-add.o: ensc_vector/list-add.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-add.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-add.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-add.o `test -f 'ensc_vector/list-add.c' || echo '$(srcdir)/'`ensc_vector/list-add.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-add.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-add.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-add.c' object='ensc_vector/libensc_vector_diet_a-list-add.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-add.o `test -f 'ensc_vector/list-add.c' || echo '$(srcdir)/'`ensc_vector/list-add.c + +ensc_vector/libensc_vector_diet_a-list-add.obj: ensc_vector/list-add.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-add.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-add.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-add.obj `if test -f 'ensc_vector/list-add.c'; then $(CYGPATH_W) 'ensc_vector/list-add.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-add.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-add.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-add.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-add.c' object='ensc_vector/libensc_vector_diet_a-list-add.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-add.obj `if test -f 'ensc_vector/list-add.c'; then $(CYGPATH_W) 'ensc_vector/list-add.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-add.c'; fi` + +ensc_vector/libensc_vector_diet_a-list-free.o: ensc_vector/list-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-free.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-free.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-free.o `test -f 'ensc_vector/list-free.c' || echo '$(srcdir)/'`ensc_vector/list-free.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-free.c' object='ensc_vector/libensc_vector_diet_a-list-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-free.o `test -f 'ensc_vector/list-free.c' || echo '$(srcdir)/'`ensc_vector/list-free.c + +ensc_vector/libensc_vector_diet_a-list-free.obj: ensc_vector/list-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-free.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-free.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-free.obj `if test -f 'ensc_vector/list-free.c'; then $(CYGPATH_W) 'ensc_vector/list-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-free.c' object='ensc_vector/libensc_vector_diet_a-list-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-free.obj `if test -f 'ensc_vector/list-free.c'; then $(CYGPATH_W) 'ensc_vector/list-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-free.c'; fi` + +ensc_vector/libensc_vector_diet_a-list-init.o: ensc_vector/list-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-init.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-init.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-init.o `test -f 'ensc_vector/list-init.c' || echo '$(srcdir)/'`ensc_vector/list-init.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-init.c' object='ensc_vector/libensc_vector_diet_a-list-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-init.o `test -f 'ensc_vector/list-init.c' || echo '$(srcdir)/'`ensc_vector/list-init.c + +ensc_vector/libensc_vector_diet_a-list-init.obj: ensc_vector/list-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-init.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-init.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-init.obj `if test -f 'ensc_vector/list-init.c'; then $(CYGPATH_W) 'ensc_vector/list-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-init.c' object='ensc_vector/libensc_vector_diet_a-list-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-init.obj `if test -f 'ensc_vector/list-init.c'; then $(CYGPATH_W) 'ensc_vector/list-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-init.c'; fi` + +ensc_vector/libensc_vector_diet_a-list-insertinternal.o: ensc_vector/list-insertinternal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-insertinternal.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-insertinternal.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-insertinternal.o `test -f 'ensc_vector/list-insertinternal.c' || echo '$(srcdir)/'`ensc_vector/list-insertinternal.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-insertinternal.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-insertinternal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-insertinternal.c' object='ensc_vector/libensc_vector_diet_a-list-insertinternal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-insertinternal.o `test -f 'ensc_vector/list-insertinternal.c' || echo '$(srcdir)/'`ensc_vector/list-insertinternal.c + +ensc_vector/libensc_vector_diet_a-list-insertinternal.obj: ensc_vector/list-insertinternal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-insertinternal.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-insertinternal.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-insertinternal.obj `if test -f 'ensc_vector/list-insertinternal.c'; then $(CYGPATH_W) 'ensc_vector/list-insertinternal.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-insertinternal.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-insertinternal.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-insertinternal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-insertinternal.c' object='ensc_vector/libensc_vector_diet_a-list-insertinternal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-insertinternal.obj `if test -f 'ensc_vector/list-insertinternal.c'; then $(CYGPATH_W) 'ensc_vector/list-insertinternal.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-insertinternal.c'; fi` + +ensc_vector/libensc_vector_diet_a-list-search.o: ensc_vector/list-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-search.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-search.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-search.o `test -f 'ensc_vector/list-search.c' || echo '$(srcdir)/'`ensc_vector/list-search.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-search.c' object='ensc_vector/libensc_vector_diet_a-list-search.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-search.o `test -f 'ensc_vector/list-search.c' || echo '$(srcdir)/'`ensc_vector/list-search.c + +ensc_vector/libensc_vector_diet_a-list-search.obj: ensc_vector/list-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-search.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-search.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-search.obj `if test -f 'ensc_vector/list-search.c'; then $(CYGPATH_W) 'ensc_vector/list-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-search.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-search.c' object='ensc_vector/libensc_vector_diet_a-list-search.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-search.obj `if test -f 'ensc_vector/list-search.c'; then $(CYGPATH_W) 'ensc_vector/list-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-search.c'; fi` + +ensc_vector/libensc_vector_diet_a-list-searchselforg.o: ensc_vector/list-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-searchselforg.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-searchselforg.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-searchselforg.o `test -f 'ensc_vector/list-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/list-searchselforg.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-searchselforg.c' object='ensc_vector/libensc_vector_diet_a-list-searchselforg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-searchselforg.o `test -f 'ensc_vector/list-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/list-searchselforg.c + +ensc_vector/libensc_vector_diet_a-list-searchselforg.obj: ensc_vector/list-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_diet_a-list-searchselforg.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-searchselforg.Tpo -c -o ensc_vector/libensc_vector_diet_a-list-searchselforg.obj `if test -f 'ensc_vector/list-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/list-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-searchselforg.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_diet_a-list-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-searchselforg.c' object='ensc_vector/libensc_vector_diet_a-list-searchselforg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_diet_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_diet_a-list-searchselforg.obj `if test -f 'ensc_vector/list-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/list-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-searchselforg.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-clear.o: ensc_vector/vector-clear.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-clear.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-clear.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-clear.o `test -f 'ensc_vector/vector-clear.c' || echo '$(srcdir)/'`ensc_vector/vector-clear.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-clear.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-clear.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-clear.c' object='ensc_vector/libensc_vector_glibc_a-vector-clear.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-clear.o `test -f 'ensc_vector/vector-clear.c' || echo '$(srcdir)/'`ensc_vector/vector-clear.c + +ensc_vector/libensc_vector_glibc_a-vector-clear.obj: ensc_vector/vector-clear.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-clear.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-clear.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-clear.obj `if test -f 'ensc_vector/vector-clear.c'; then $(CYGPATH_W) 'ensc_vector/vector-clear.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-clear.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-clear.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-clear.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-clear.c' object='ensc_vector/libensc_vector_glibc_a-vector-clear.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-clear.obj `if test -f 'ensc_vector/vector-clear.c'; then $(CYGPATH_W) 'ensc_vector/vector-clear.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-clear.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-foreach.o: ensc_vector/vector-foreach.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-foreach.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-foreach.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-foreach.o `test -f 'ensc_vector/vector-foreach.c' || echo '$(srcdir)/'`ensc_vector/vector-foreach.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-foreach.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-foreach.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-foreach.c' object='ensc_vector/libensc_vector_glibc_a-vector-foreach.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-foreach.o `test -f 'ensc_vector/vector-foreach.c' || echo '$(srcdir)/'`ensc_vector/vector-foreach.c + +ensc_vector/libensc_vector_glibc_a-vector-foreach.obj: ensc_vector/vector-foreach.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-foreach.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-foreach.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-foreach.obj `if test -f 'ensc_vector/vector-foreach.c'; then $(CYGPATH_W) 'ensc_vector/vector-foreach.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-foreach.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-foreach.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-foreach.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-foreach.c' object='ensc_vector/libensc_vector_glibc_a-vector-foreach.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-foreach.obj `if test -f 'ensc_vector/vector-foreach.c'; then $(CYGPATH_W) 'ensc_vector/vector-foreach.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-foreach.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-free.o: ensc_vector/vector-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-free.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-free.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-free.o `test -f 'ensc_vector/vector-free.c' || echo '$(srcdir)/'`ensc_vector/vector-free.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-free.c' object='ensc_vector/libensc_vector_glibc_a-vector-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-free.o `test -f 'ensc_vector/vector-free.c' || echo '$(srcdir)/'`ensc_vector/vector-free.c + +ensc_vector/libensc_vector_glibc_a-vector-free.obj: ensc_vector/vector-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-free.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-free.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-free.obj `if test -f 'ensc_vector/vector-free.c'; then $(CYGPATH_W) 'ensc_vector/vector-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-free.c' object='ensc_vector/libensc_vector_glibc_a-vector-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-free.obj `if test -f 'ensc_vector/vector-free.c'; then $(CYGPATH_W) 'ensc_vector/vector-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-free.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-init.o: ensc_vector/vector-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-init.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-init.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-init.o `test -f 'ensc_vector/vector-init.c' || echo '$(srcdir)/'`ensc_vector/vector-init.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-init.c' object='ensc_vector/libensc_vector_glibc_a-vector-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-init.o `test -f 'ensc_vector/vector-init.c' || echo '$(srcdir)/'`ensc_vector/vector-init.c + +ensc_vector/libensc_vector_glibc_a-vector-init.obj: ensc_vector/vector-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-init.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-init.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-init.obj `if test -f 'ensc_vector/vector-init.c'; then $(CYGPATH_W) 'ensc_vector/vector-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-init.c' object='ensc_vector/libensc_vector_glibc_a-vector-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-init.obj `if test -f 'ensc_vector/vector-init.c'; then $(CYGPATH_W) 'ensc_vector/vector-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-init.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-insert.o: ensc_vector/vector-insert.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-insert.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-insert.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-insert.o `test -f 'ensc_vector/vector-insert.c' || echo '$(srcdir)/'`ensc_vector/vector-insert.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-insert.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-insert.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-insert.c' object='ensc_vector/libensc_vector_glibc_a-vector-insert.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-insert.o `test -f 'ensc_vector/vector-insert.c' || echo '$(srcdir)/'`ensc_vector/vector-insert.c + +ensc_vector/libensc_vector_glibc_a-vector-insert.obj: ensc_vector/vector-insert.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-insert.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-insert.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-insert.obj `if test -f 'ensc_vector/vector-insert.c'; then $(CYGPATH_W) 'ensc_vector/vector-insert.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-insert.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-insert.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-insert.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-insert.c' object='ensc_vector/libensc_vector_glibc_a-vector-insert.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-insert.obj `if test -f 'ensc_vector/vector-insert.c'; then $(CYGPATH_W) 'ensc_vector/vector-insert.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-insert.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-popback.o: ensc_vector/vector-popback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-popback.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-popback.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-popback.o `test -f 'ensc_vector/vector-popback.c' || echo '$(srcdir)/'`ensc_vector/vector-popback.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-popback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-popback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-popback.c' object='ensc_vector/libensc_vector_glibc_a-vector-popback.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-popback.o `test -f 'ensc_vector/vector-popback.c' || echo '$(srcdir)/'`ensc_vector/vector-popback.c + +ensc_vector/libensc_vector_glibc_a-vector-popback.obj: ensc_vector/vector-popback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-popback.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-popback.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-popback.obj `if test -f 'ensc_vector/vector-popback.c'; then $(CYGPATH_W) 'ensc_vector/vector-popback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-popback.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-popback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-popback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-popback.c' object='ensc_vector/libensc_vector_glibc_a-vector-popback.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-popback.obj `if test -f 'ensc_vector/vector-popback.c'; then $(CYGPATH_W) 'ensc_vector/vector-popback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-popback.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-pushback.o: ensc_vector/vector-pushback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-pushback.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-pushback.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-pushback.o `test -f 'ensc_vector/vector-pushback.c' || echo '$(srcdir)/'`ensc_vector/vector-pushback.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-pushback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-pushback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-pushback.c' object='ensc_vector/libensc_vector_glibc_a-vector-pushback.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-pushback.o `test -f 'ensc_vector/vector-pushback.c' || echo '$(srcdir)/'`ensc_vector/vector-pushback.c + +ensc_vector/libensc_vector_glibc_a-vector-pushback.obj: ensc_vector/vector-pushback.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-pushback.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-pushback.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-pushback.obj `if test -f 'ensc_vector/vector-pushback.c'; then $(CYGPATH_W) 'ensc_vector/vector-pushback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-pushback.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-pushback.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-pushback.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-pushback.c' object='ensc_vector/libensc_vector_glibc_a-vector-pushback.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-pushback.obj `if test -f 'ensc_vector/vector-pushback.c'; then $(CYGPATH_W) 'ensc_vector/vector-pushback.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-pushback.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-resize.o: ensc_vector/vector-resize.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-resize.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-resize.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-resize.o `test -f 'ensc_vector/vector-resize.c' || echo '$(srcdir)/'`ensc_vector/vector-resize.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-resize.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-resize.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-resize.c' object='ensc_vector/libensc_vector_glibc_a-vector-resize.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-resize.o `test -f 'ensc_vector/vector-resize.c' || echo '$(srcdir)/'`ensc_vector/vector-resize.c + +ensc_vector/libensc_vector_glibc_a-vector-resize.obj: ensc_vector/vector-resize.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-resize.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-resize.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-resize.obj `if test -f 'ensc_vector/vector-resize.c'; then $(CYGPATH_W) 'ensc_vector/vector-resize.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-resize.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-resize.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-resize.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-resize.c' object='ensc_vector/libensc_vector_glibc_a-vector-resize.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-resize.obj `if test -f 'ensc_vector/vector-resize.c'; then $(CYGPATH_W) 'ensc_vector/vector-resize.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-resize.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-search.o: ensc_vector/vector-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-search.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-search.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-search.o `test -f 'ensc_vector/vector-search.c' || echo '$(srcdir)/'`ensc_vector/vector-search.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-search.c' object='ensc_vector/libensc_vector_glibc_a-vector-search.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-search.o `test -f 'ensc_vector/vector-search.c' || echo '$(srcdir)/'`ensc_vector/vector-search.c + +ensc_vector/libensc_vector_glibc_a-vector-search.obj: ensc_vector/vector-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-search.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-search.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-search.obj `if test -f 'ensc_vector/vector-search.c'; then $(CYGPATH_W) 'ensc_vector/vector-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-search.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-search.c' object='ensc_vector/libensc_vector_glibc_a-vector-search.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-search.obj `if test -f 'ensc_vector/vector-search.c'; then $(CYGPATH_W) 'ensc_vector/vector-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-search.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-searchselforg.o: ensc_vector/vector-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-searchselforg.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-searchselforg.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-searchselforg.o `test -f 'ensc_vector/vector-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/vector-searchselforg.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-searchselforg.c' object='ensc_vector/libensc_vector_glibc_a-vector-searchselforg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-searchselforg.o `test -f 'ensc_vector/vector-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/vector-searchselforg.c + +ensc_vector/libensc_vector_glibc_a-vector-searchselforg.obj: ensc_vector/vector-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-searchselforg.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-searchselforg.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-searchselforg.obj `if test -f 'ensc_vector/vector-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/vector-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-searchselforg.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-searchselforg.c' object='ensc_vector/libensc_vector_glibc_a-vector-searchselforg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-searchselforg.obj `if test -f 'ensc_vector/vector-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/vector-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-searchselforg.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-sort.o: ensc_vector/vector-sort.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-sort.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-sort.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-sort.o `test -f 'ensc_vector/vector-sort.c' || echo '$(srcdir)/'`ensc_vector/vector-sort.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-sort.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-sort.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-sort.c' object='ensc_vector/libensc_vector_glibc_a-vector-sort.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-sort.o `test -f 'ensc_vector/vector-sort.c' || echo '$(srcdir)/'`ensc_vector/vector-sort.c + +ensc_vector/libensc_vector_glibc_a-vector-sort.obj: ensc_vector/vector-sort.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-sort.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-sort.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-sort.obj `if test -f 'ensc_vector/vector-sort.c'; then $(CYGPATH_W) 'ensc_vector/vector-sort.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-sort.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-sort.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-sort.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-sort.c' object='ensc_vector/libensc_vector_glibc_a-vector-sort.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-sort.obj `if test -f 'ensc_vector/vector-sort.c'; then $(CYGPATH_W) 'ensc_vector/vector-sort.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-sort.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-unique.o: ensc_vector/vector-unique.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-unique.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-unique.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-unique.o `test -f 'ensc_vector/vector-unique.c' || echo '$(srcdir)/'`ensc_vector/vector-unique.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-unique.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-unique.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-unique.c' object='ensc_vector/libensc_vector_glibc_a-vector-unique.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-unique.o `test -f 'ensc_vector/vector-unique.c' || echo '$(srcdir)/'`ensc_vector/vector-unique.c + +ensc_vector/libensc_vector_glibc_a-vector-unique.obj: ensc_vector/vector-unique.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-unique.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-unique.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-unique.obj `if test -f 'ensc_vector/vector-unique.c'; then $(CYGPATH_W) 'ensc_vector/vector-unique.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-unique.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-unique.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-unique.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-unique.c' object='ensc_vector/libensc_vector_glibc_a-vector-unique.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-unique.obj `if test -f 'ensc_vector/vector-unique.c'; then $(CYGPATH_W) 'ensc_vector/vector-unique.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-unique.c'; fi` + +ensc_vector/libensc_vector_glibc_a-vector-zeroend.o: ensc_vector/vector-zeroend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-zeroend.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-zeroend.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-zeroend.o `test -f 'ensc_vector/vector-zeroend.c' || echo '$(srcdir)/'`ensc_vector/vector-zeroend.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-zeroend.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-zeroend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-zeroend.c' object='ensc_vector/libensc_vector_glibc_a-vector-zeroend.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-zeroend.o `test -f 'ensc_vector/vector-zeroend.c' || echo '$(srcdir)/'`ensc_vector/vector-zeroend.c + +ensc_vector/libensc_vector_glibc_a-vector-zeroend.obj: ensc_vector/vector-zeroend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-vector-zeroend.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-zeroend.Tpo -c -o ensc_vector/libensc_vector_glibc_a-vector-zeroend.obj `if test -f 'ensc_vector/vector-zeroend.c'; then $(CYGPATH_W) 'ensc_vector/vector-zeroend.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-zeroend.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-zeroend.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-vector-zeroend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/vector-zeroend.c' object='ensc_vector/libensc_vector_glibc_a-vector-zeroend.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-vector-zeroend.obj `if test -f 'ensc_vector/vector-zeroend.c'; then $(CYGPATH_W) 'ensc_vector/vector-zeroend.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/vector-zeroend.c'; fi` + +ensc_vector/libensc_vector_glibc_a-list-at.o: ensc_vector/list-at.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-at.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-at.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-at.o `test -f 'ensc_vector/list-at.c' || echo '$(srcdir)/'`ensc_vector/list-at.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-at.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-at.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-at.c' object='ensc_vector/libensc_vector_glibc_a-list-at.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-at.o `test -f 'ensc_vector/list-at.c' || echo '$(srcdir)/'`ensc_vector/list-at.c + +ensc_vector/libensc_vector_glibc_a-list-at.obj: ensc_vector/list-at.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-at.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-at.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-at.obj `if test -f 'ensc_vector/list-at.c'; then $(CYGPATH_W) 'ensc_vector/list-at.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-at.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-at.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-at.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-at.c' object='ensc_vector/libensc_vector_glibc_a-list-at.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-at.obj `if test -f 'ensc_vector/list-at.c'; then $(CYGPATH_W) 'ensc_vector/list-at.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-at.c'; fi` + +ensc_vector/libensc_vector_glibc_a-list-add.o: ensc_vector/list-add.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-add.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-add.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-add.o `test -f 'ensc_vector/list-add.c' || echo '$(srcdir)/'`ensc_vector/list-add.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-add.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-add.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-add.c' object='ensc_vector/libensc_vector_glibc_a-list-add.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-add.o `test -f 'ensc_vector/list-add.c' || echo '$(srcdir)/'`ensc_vector/list-add.c + +ensc_vector/libensc_vector_glibc_a-list-add.obj: ensc_vector/list-add.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-add.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-add.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-add.obj `if test -f 'ensc_vector/list-add.c'; then $(CYGPATH_W) 'ensc_vector/list-add.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-add.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-add.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-add.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-add.c' object='ensc_vector/libensc_vector_glibc_a-list-add.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-add.obj `if test -f 'ensc_vector/list-add.c'; then $(CYGPATH_W) 'ensc_vector/list-add.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-add.c'; fi` + +ensc_vector/libensc_vector_glibc_a-list-free.o: ensc_vector/list-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-free.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-free.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-free.o `test -f 'ensc_vector/list-free.c' || echo '$(srcdir)/'`ensc_vector/list-free.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-free.c' object='ensc_vector/libensc_vector_glibc_a-list-free.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-free.o `test -f 'ensc_vector/list-free.c' || echo '$(srcdir)/'`ensc_vector/list-free.c + +ensc_vector/libensc_vector_glibc_a-list-free.obj: ensc_vector/list-free.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-free.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-free.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-free.obj `if test -f 'ensc_vector/list-free.c'; then $(CYGPATH_W) 'ensc_vector/list-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-free.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-free.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-free.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-free.c' object='ensc_vector/libensc_vector_glibc_a-list-free.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-free.obj `if test -f 'ensc_vector/list-free.c'; then $(CYGPATH_W) 'ensc_vector/list-free.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-free.c'; fi` + +ensc_vector/libensc_vector_glibc_a-list-init.o: ensc_vector/list-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-init.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-init.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-init.o `test -f 'ensc_vector/list-init.c' || echo '$(srcdir)/'`ensc_vector/list-init.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-init.c' object='ensc_vector/libensc_vector_glibc_a-list-init.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-init.o `test -f 'ensc_vector/list-init.c' || echo '$(srcdir)/'`ensc_vector/list-init.c + +ensc_vector/libensc_vector_glibc_a-list-init.obj: ensc_vector/list-init.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-init.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-init.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-init.obj `if test -f 'ensc_vector/list-init.c'; then $(CYGPATH_W) 'ensc_vector/list-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-init.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-init.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-init.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-init.c' object='ensc_vector/libensc_vector_glibc_a-list-init.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-init.obj `if test -f 'ensc_vector/list-init.c'; then $(CYGPATH_W) 'ensc_vector/list-init.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-init.c'; fi` + +ensc_vector/libensc_vector_glibc_a-list-insertinternal.o: ensc_vector/list-insertinternal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-insertinternal.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-insertinternal.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-insertinternal.o `test -f 'ensc_vector/list-insertinternal.c' || echo '$(srcdir)/'`ensc_vector/list-insertinternal.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-insertinternal.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-insertinternal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-insertinternal.c' object='ensc_vector/libensc_vector_glibc_a-list-insertinternal.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-insertinternal.o `test -f 'ensc_vector/list-insertinternal.c' || echo '$(srcdir)/'`ensc_vector/list-insertinternal.c + +ensc_vector/libensc_vector_glibc_a-list-insertinternal.obj: ensc_vector/list-insertinternal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-insertinternal.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-insertinternal.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-insertinternal.obj `if test -f 'ensc_vector/list-insertinternal.c'; then $(CYGPATH_W) 'ensc_vector/list-insertinternal.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-insertinternal.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-insertinternal.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-insertinternal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-insertinternal.c' object='ensc_vector/libensc_vector_glibc_a-list-insertinternal.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-insertinternal.obj `if test -f 'ensc_vector/list-insertinternal.c'; then $(CYGPATH_W) 'ensc_vector/list-insertinternal.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-insertinternal.c'; fi` + +ensc_vector/libensc_vector_glibc_a-list-search.o: ensc_vector/list-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-search.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-search.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-search.o `test -f 'ensc_vector/list-search.c' || echo '$(srcdir)/'`ensc_vector/list-search.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-search.c' object='ensc_vector/libensc_vector_glibc_a-list-search.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-search.o `test -f 'ensc_vector/list-search.c' || echo '$(srcdir)/'`ensc_vector/list-search.c + +ensc_vector/libensc_vector_glibc_a-list-search.obj: ensc_vector/list-search.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-search.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-search.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-search.obj `if test -f 'ensc_vector/list-search.c'; then $(CYGPATH_W) 'ensc_vector/list-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-search.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-search.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-search.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-search.c' object='ensc_vector/libensc_vector_glibc_a-list-search.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-search.obj `if test -f 'ensc_vector/list-search.c'; then $(CYGPATH_W) 'ensc_vector/list-search.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-search.c'; fi` + +ensc_vector/libensc_vector_glibc_a-list-searchselforg.o: ensc_vector/list-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-searchselforg.o -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-searchselforg.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-searchselforg.o `test -f 'ensc_vector/list-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/list-searchselforg.c +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-searchselforg.c' object='ensc_vector/libensc_vector_glibc_a-list-searchselforg.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-searchselforg.o `test -f 'ensc_vector/list-searchselforg.c' || echo '$(srcdir)/'`ensc_vector/list-searchselforg.c + +ensc_vector/libensc_vector_glibc_a-list-searchselforg.obj: ensc_vector/list-searchselforg.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_vector/libensc_vector_glibc_a-list-searchselforg.obj -MD -MP -MF ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-searchselforg.Tpo -c -o ensc_vector/libensc_vector_glibc_a-list-searchselforg.obj `if test -f 'ensc_vector/list-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/list-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-searchselforg.c'; fi` +@am__fastdepCC_TRUE@ mv -f ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-searchselforg.Tpo ensc_vector/$(DEPDIR)/libensc_vector_glibc_a-list-searchselforg.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_vector/list-searchselforg.c' object='ensc_vector/libensc_vector_glibc_a-list-searchselforg.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libensc_vector_glibc_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_vector/libensc_vector_glibc_a-list-searchselforg.obj `if test -f 'ensc_vector/list-searchselforg.c'; then $(CYGPATH_W) 'ensc_vector/list-searchselforg.c'; else $(CYGPATH_W) '$(srcdir)/ensc_vector/list-searchselforg.c'; fi` + +lib/lib_libvserver_la-syscall.lo: lib/syscall.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall.Tpo -c -o lib/lib_libvserver_la-syscall.lo `test -f 'lib/syscall.c' || echo '$(srcdir)/'`lib/syscall.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall.c' object='lib/lib_libvserver_la-syscall.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall.lo `test -f 'lib/syscall.c' || echo '$(srcdir)/'`lib/syscall.c + +lib/lib_libvserver_la-checkversion.lo: lib/checkversion.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-checkversion.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-checkversion.Tpo -c -o lib/lib_libvserver_la-checkversion.lo `test -f 'lib/checkversion.c' || echo '$(srcdir)/'`lib/checkversion.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-checkversion.Tpo lib/$(DEPDIR)/lib_libvserver_la-checkversion.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/checkversion.c' object='lib/lib_libvserver_la-checkversion.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-checkversion.lo `test -f 'lib/checkversion.c' || echo '$(srcdir)/'`lib/checkversion.c + +lib/lib_libvserver_la-checkconfig.lo: lib/checkconfig.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-checkconfig.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-checkconfig.Tpo -c -o lib/lib_libvserver_la-checkconfig.lo `test -f 'lib/checkconfig.c' || echo '$(srcdir)/'`lib/checkconfig.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-checkconfig.Tpo lib/$(DEPDIR)/lib_libvserver_la-checkconfig.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/checkconfig.c' object='lib/lib_libvserver_la-checkconfig.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-checkconfig.lo `test -f 'lib/checkconfig.c' || echo '$(srcdir)/'`lib/checkconfig.c + +lib/lib_libvserver_la-isdirectory.lo: lib/isdirectory.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-isdirectory.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-isdirectory.Tpo -c -o lib/lib_libvserver_la-isdirectory.lo `test -f 'lib/isdirectory.c' || echo '$(srcdir)/'`lib/isdirectory.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-isdirectory.Tpo lib/$(DEPDIR)/lib_libvserver_la-isdirectory.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isdirectory.c' object='lib/lib_libvserver_la-isdirectory.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-isdirectory.lo `test -f 'lib/isdirectory.c' || echo '$(srcdir)/'`lib/isdirectory.c + +lib/lib_libvserver_la-isfile.lo: lib/isfile.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-isfile.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-isfile.Tpo -c -o lib/lib_libvserver_la-isfile.lo `test -f 'lib/isfile.c' || echo '$(srcdir)/'`lib/isfile.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-isfile.Tpo lib/$(DEPDIR)/lib_libvserver_la-isfile.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isfile.c' object='lib/lib_libvserver_la-isfile.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-isfile.lo `test -f 'lib/isfile.c' || echo '$(srcdir)/'`lib/isfile.c + +lib/lib_libvserver_la-islink.lo: lib/islink.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-islink.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-islink.Tpo -c -o lib/lib_libvserver_la-islink.lo `test -f 'lib/islink.c' || echo '$(srcdir)/'`lib/islink.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-islink.Tpo lib/$(DEPDIR)/lib_libvserver_la-islink.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/islink.c' object='lib/lib_libvserver_la-islink.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-islink.lo `test -f 'lib/islink.c' || echo '$(srcdir)/'`lib/islink.c + +lib/lib_libvserver_la-getnbipv4root.lo: lib/getnbipv4root.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getnbipv4root.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getnbipv4root.Tpo -c -o lib/lib_libvserver_la-getnbipv4root.lo `test -f 'lib/getnbipv4root.c' || echo '$(srcdir)/'`lib/getnbipv4root.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getnbipv4root.Tpo lib/$(DEPDIR)/lib_libvserver_la-getnbipv4root.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getnbipv4root.c' object='lib/lib_libvserver_la-getnbipv4root.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getnbipv4root.lo `test -f 'lib/getnbipv4root.c' || echo '$(srcdir)/'`lib/getnbipv4root.c + +lib/lib_libvserver_la-getversion.lo: lib/getversion.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getversion.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getversion.Tpo -c -o lib/lib_libvserver_la-getversion.lo `test -f 'lib/getversion.c' || echo '$(srcdir)/'`lib/getversion.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getversion.Tpo lib/$(DEPDIR)/lib_libvserver_la-getversion.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getversion.c' object='lib/lib_libvserver_la-getversion.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getversion.lo `test -f 'lib/getversion.c' || echo '$(srcdir)/'`lib/getversion.c + +lib/lib_libvserver_la-capabilities.lo: lib/capabilities.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-capabilities.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-capabilities.Tpo -c -o lib/lib_libvserver_la-capabilities.lo `test -f 'lib/capabilities.c' || echo '$(srcdir)/'`lib/capabilities.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-capabilities.Tpo lib/$(DEPDIR)/lib_libvserver_la-capabilities.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/capabilities.c' object='lib/lib_libvserver_la-capabilities.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-capabilities.lo `test -f 'lib/capabilities.c' || echo '$(srcdir)/'`lib/capabilities.c + +lib/lib_libvserver_la-getfilecontext.lo: lib/getfilecontext.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getfilecontext.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getfilecontext.Tpo -c -o lib/lib_libvserver_la-getfilecontext.lo `test -f 'lib/getfilecontext.c' || echo '$(srcdir)/'`lib/getfilecontext.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getfilecontext.Tpo lib/$(DEPDIR)/lib_libvserver_la-getfilecontext.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getfilecontext.c' object='lib/lib_libvserver_la-getfilecontext.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getfilecontext.lo `test -f 'lib/getfilecontext.c' || echo '$(srcdir)/'`lib/getfilecontext.c + +lib/lib_libvserver_la-getinsecurebcaps.lo: lib/getinsecurebcaps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getinsecurebcaps.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getinsecurebcaps.Tpo -c -o lib/lib_libvserver_la-getinsecurebcaps.lo `test -f 'lib/getinsecurebcaps.c' || echo '$(srcdir)/'`lib/getinsecurebcaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getinsecurebcaps.Tpo lib/$(DEPDIR)/lib_libvserver_la-getinsecurebcaps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getinsecurebcaps.c' object='lib/lib_libvserver_la-getinsecurebcaps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getinsecurebcaps.lo `test -f 'lib/getinsecurebcaps.c' || echo '$(srcdir)/'`lib/getinsecurebcaps.c + +lib/lib_libvserver_la-getxidtype.lo: lib/getxidtype.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getxidtype.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getxidtype.Tpo -c -o lib/lib_libvserver_la-getxidtype.lo `test -f 'lib/getxidtype.c' || echo '$(srcdir)/'`lib/getxidtype.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getxidtype.Tpo lib/$(DEPDIR)/lib_libvserver_la-getxidtype.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getxidtype.c' object='lib/lib_libvserver_la-getxidtype.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getxidtype.lo `test -f 'lib/getxidtype.c' || echo '$(srcdir)/'`lib/getxidtype.c + +lib/lib_libvserver_la-isdynamicxid.lo: lib/isdynamicxid.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-isdynamicxid.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-isdynamicxid.Tpo -c -o lib/lib_libvserver_la-isdynamicxid.lo `test -f 'lib/isdynamicxid.c' || echo '$(srcdir)/'`lib/isdynamicxid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-isdynamicxid.Tpo lib/$(DEPDIR)/lib_libvserver_la-isdynamicxid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/isdynamicxid.c' object='lib/lib_libvserver_la-isdynamicxid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-isdynamicxid.lo `test -f 'lib/isdynamicxid.c' || echo '$(srcdir)/'`lib/isdynamicxid.c + +lib/lib_libvserver_la-issupported.lo: lib/issupported.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-issupported.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-issupported.Tpo -c -o lib/lib_libvserver_la-issupported.lo `test -f 'lib/issupported.c' || echo '$(srcdir)/'`lib/issupported.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-issupported.Tpo lib/$(DEPDIR)/lib_libvserver_la-issupported.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/issupported.c' object='lib/lib_libvserver_la-issupported.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-issupported.lo `test -f 'lib/issupported.c' || echo '$(srcdir)/'`lib/issupported.c + +lib/lib_libvserver_la-issupportedstring.lo: lib/issupportedstring.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-issupportedstring.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-issupportedstring.Tpo -c -o lib/lib_libvserver_la-issupportedstring.lo `test -f 'lib/issupportedstring.c' || echo '$(srcdir)/'`lib/issupportedstring.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-issupportedstring.Tpo lib/$(DEPDIR)/lib_libvserver_la-issupportedstring.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/issupportedstring.c' object='lib/lib_libvserver_la-issupportedstring.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-issupportedstring.lo `test -f 'lib/issupportedstring.c' || echo '$(srcdir)/'`lib/issupportedstring.c + +lib/lib_libvserver_la-listparser_uint32.lo: lib/listparser_uint32.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-listparser_uint32.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-listparser_uint32.Tpo -c -o lib/lib_libvserver_la-listparser_uint32.lo `test -f 'lib/listparser_uint32.c' || echo '$(srcdir)/'`lib/listparser_uint32.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-listparser_uint32.Tpo lib/$(DEPDIR)/lib_libvserver_la-listparser_uint32.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/listparser_uint32.c' object='lib/lib_libvserver_la-listparser_uint32.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-listparser_uint32.lo `test -f 'lib/listparser_uint32.c' || echo '$(srcdir)/'`lib/listparser_uint32.c + +lib/lib_libvserver_la-listparser_uint64.lo: lib/listparser_uint64.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-listparser_uint64.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-listparser_uint64.Tpo -c -o lib/lib_libvserver_la-listparser_uint64.lo `test -f 'lib/listparser_uint64.c' || echo '$(srcdir)/'`lib/listparser_uint64.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-listparser_uint64.Tpo lib/$(DEPDIR)/lib_libvserver_la-listparser_uint64.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/listparser_uint64.c' object='lib/lib_libvserver_la-listparser_uint64.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-listparser_uint64.lo `test -f 'lib/listparser_uint64.c' || echo '$(srcdir)/'`lib/listparser_uint64.c + +lib/lib_libvserver_la-personalityflag.lo: lib/personalityflag.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-personalityflag.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-personalityflag.Tpo -c -o lib/lib_libvserver_la-personalityflag.lo `test -f 'lib/personalityflag.c' || echo '$(srcdir)/'`lib/personalityflag.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-personalityflag.Tpo lib/$(DEPDIR)/lib_libvserver_la-personalityflag.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalityflag.c' object='lib/lib_libvserver_la-personalityflag.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-personalityflag.lo `test -f 'lib/personalityflag.c' || echo '$(srcdir)/'`lib/personalityflag.c + +lib/lib_libvserver_la-personalityflag_list.lo: lib/personalityflag_list.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-personalityflag_list.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-personalityflag_list.Tpo -c -o lib/lib_libvserver_la-personalityflag_list.lo `test -f 'lib/personalityflag_list.c' || echo '$(srcdir)/'`lib/personalityflag_list.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-personalityflag_list.Tpo lib/$(DEPDIR)/lib_libvserver_la-personalityflag_list.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalityflag_list.c' object='lib/lib_libvserver_la-personalityflag_list.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-personalityflag_list.lo `test -f 'lib/personalityflag_list.c' || echo '$(srcdir)/'`lib/personalityflag_list.c + +lib/lib_libvserver_la-personalitytype.lo: lib/personalitytype.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-personalitytype.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-personalitytype.Tpo -c -o lib/lib_libvserver_la-personalitytype.lo `test -f 'lib/personalitytype.c' || echo '$(srcdir)/'`lib/personalitytype.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-personalitytype.Tpo lib/$(DEPDIR)/lib_libvserver_la-personalitytype.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/personalitytype.c' object='lib/lib_libvserver_la-personalitytype.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-personalitytype.lo `test -f 'lib/personalitytype.c' || echo '$(srcdir)/'`lib/personalitytype.c + +lib/lib_libvserver_la-syscall-syscall.lo: lib/syscall-syscall.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall-syscall.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall-syscall.Tpo -c -o lib/lib_libvserver_la-syscall-syscall.lo `test -f 'lib/syscall-syscall.c' || echo '$(srcdir)/'`lib/syscall-syscall.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall-syscall.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall-syscall.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall-syscall.c' object='lib/lib_libvserver_la-syscall-syscall.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall-syscall.lo `test -f 'lib/syscall-syscall.c' || echo '$(srcdir)/'`lib/syscall-syscall.c + +lib/lib_libvserver_la-val2text-t2v-uint32.lo: lib/val2text-t2v-uint32.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-val2text-t2v-uint32.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint32.Tpo -c -o lib/lib_libvserver_la-val2text-t2v-uint32.lo `test -f 'lib/val2text-t2v-uint32.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint32.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint32.Tpo lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint32.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-t2v-uint32.c' object='lib/lib_libvserver_la-val2text-t2v-uint32.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-val2text-t2v-uint32.lo `test -f 'lib/val2text-t2v-uint32.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint32.c + +lib/lib_libvserver_la-val2text-t2v-uint64.lo: lib/val2text-t2v-uint64.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-val2text-t2v-uint64.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint64.Tpo -c -o lib/lib_libvserver_la-val2text-t2v-uint64.lo `test -f 'lib/val2text-t2v-uint64.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint64.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint64.Tpo lib/$(DEPDIR)/lib_libvserver_la-val2text-t2v-uint64.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-t2v-uint64.c' object='lib/lib_libvserver_la-val2text-t2v-uint64.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-val2text-t2v-uint64.lo `test -f 'lib/val2text-t2v-uint64.c' || echo '$(srcdir)/'`lib/val2text-t2v-uint64.c + +lib/lib_libvserver_la-val2text-v2t-uint32.lo: lib/val2text-v2t-uint32.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-val2text-v2t-uint32.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint32.Tpo -c -o lib/lib_libvserver_la-val2text-v2t-uint32.lo `test -f 'lib/val2text-v2t-uint32.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint32.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint32.Tpo lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint32.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-v2t-uint32.c' object='lib/lib_libvserver_la-val2text-v2t-uint32.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-val2text-v2t-uint32.lo `test -f 'lib/val2text-v2t-uint32.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint32.c + +lib/lib_libvserver_la-val2text-v2t-uint64.lo: lib/val2text-v2t-uint64.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-val2text-v2t-uint64.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint64.Tpo -c -o lib/lib_libvserver_la-val2text-v2t-uint64.lo `test -f 'lib/val2text-v2t-uint64.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint64.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint64.Tpo lib/$(DEPDIR)/lib_libvserver_la-val2text-v2t-uint64.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/val2text-v2t-uint64.c' object='lib/lib_libvserver_la-val2text-v2t-uint64.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-val2text-v2t-uint64.lo `test -f 'lib/val2text-v2t-uint64.c' || echo '$(srcdir)/'`lib/val2text-v2t-uint64.c + +lib/lib_libvserver_la-parselimit.lo: lib/parselimit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-parselimit.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-parselimit.Tpo -c -o lib/lib_libvserver_la-parselimit.lo `test -f 'lib/parselimit.c' || echo '$(srcdir)/'`lib/parselimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-parselimit.Tpo lib/$(DEPDIR)/lib_libvserver_la-parselimit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/parselimit.c' object='lib/lib_libvserver_la-parselimit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-parselimit.lo `test -f 'lib/parselimit.c' || echo '$(srcdir)/'`lib/parselimit.c + +lib/lib_libvserver_la-getprocentry-legacy.lo: lib/getprocentry-legacy.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getprocentry-legacy.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getprocentry-legacy.Tpo -c -o lib/lib_libvserver_la-getprocentry-legacy.lo `test -f 'lib/getprocentry-legacy.c' || echo '$(srcdir)/'`lib/getprocentry-legacy.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getprocentry-legacy.Tpo lib/$(DEPDIR)/lib_libvserver_la-getprocentry-legacy.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getprocentry-legacy.c' object='lib/lib_libvserver_la-getprocentry-legacy.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getprocentry-legacy.lo `test -f 'lib/getprocentry-legacy.c' || echo '$(srcdir)/'`lib/getprocentry-legacy.c + +lib/lib_libvserver_la-cflags-compat.lo: lib/cflags-compat.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-cflags-compat.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-cflags-compat.Tpo -c -o lib/lib_libvserver_la-cflags-compat.lo `test -f 'lib/cflags-compat.c' || echo '$(srcdir)/'`lib/cflags-compat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-cflags-compat.Tpo lib/$(DEPDIR)/lib_libvserver_la-cflags-compat.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags-compat.c' object='lib/lib_libvserver_la-cflags-compat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-cflags-compat.lo `test -f 'lib/cflags-compat.c' || echo '$(srcdir)/'`lib/cflags-compat.c + +lib/lib_libvserver_la-cflags_list-compat.lo: lib/cflags_list-compat.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-cflags_list-compat.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-cflags_list-compat.Tpo -c -o lib/lib_libvserver_la-cflags_list-compat.lo `test -f 'lib/cflags_list-compat.c' || echo '$(srcdir)/'`lib/cflags_list-compat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-cflags_list-compat.Tpo lib/$(DEPDIR)/lib_libvserver_la-cflags_list-compat.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags_list-compat.c' object='lib/lib_libvserver_la-cflags_list-compat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-cflags_list-compat.lo `test -f 'lib/cflags_list-compat.c' || echo '$(srcdir)/'`lib/cflags_list-compat.c + +lib/lib_libvserver_la-comparevserverbyid.lo: lib/comparevserverbyid.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-comparevserverbyid.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-comparevserverbyid.Tpo -c -o lib/lib_libvserver_la-comparevserverbyid.lo `test -f 'lib/comparevserverbyid.c' || echo '$(srcdir)/'`lib/comparevserverbyid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-comparevserverbyid.Tpo lib/$(DEPDIR)/lib_libvserver_la-comparevserverbyid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/comparevserverbyid.c' object='lib/lib_libvserver_la-comparevserverbyid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-comparevserverbyid.lo `test -f 'lib/comparevserverbyid.c' || echo '$(srcdir)/'`lib/comparevserverbyid.c + +lib/lib_libvserver_la-createskeleton.lo: lib/createskeleton.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-createskeleton.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-createskeleton.Tpo -c -o lib/lib_libvserver_la-createskeleton.lo `test -f 'lib/createskeleton.c' || echo '$(srcdir)/'`lib/createskeleton.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-createskeleton.Tpo lib/$(DEPDIR)/lib_libvserver_la-createskeleton.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/createskeleton.c' object='lib/lib_libvserver_la-createskeleton.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-createskeleton.lo `test -f 'lib/createskeleton.c' || echo '$(srcdir)/'`lib/createskeleton.c + +lib/lib_libvserver_la-getvserverbyctx.lo: lib/getvserverbyctx.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getvserverbyctx.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getvserverbyctx.Tpo -c -o lib/lib_libvserver_la-getvserverbyctx.lo `test -f 'lib/getvserverbyctx.c' || echo '$(srcdir)/'`lib/getvserverbyctx.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getvserverbyctx.Tpo lib/$(DEPDIR)/lib_libvserver_la-getvserverbyctx.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverbyctx.c' object='lib/lib_libvserver_la-getvserverbyctx.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getvserverbyctx.lo `test -f 'lib/getvserverbyctx.c' || echo '$(srcdir)/'`lib/getvserverbyctx.c + +lib/lib_libvserver_la-getvservercfgstyle.lo: lib/getvservercfgstyle.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getvservercfgstyle.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getvservercfgstyle.Tpo -c -o lib/lib_libvserver_la-getvservercfgstyle.lo `test -f 'lib/getvservercfgstyle.c' || echo '$(srcdir)/'`lib/getvservercfgstyle.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getvservercfgstyle.Tpo lib/$(DEPDIR)/lib_libvserver_la-getvservercfgstyle.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservercfgstyle.c' object='lib/lib_libvserver_la-getvservercfgstyle.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getvservercfgstyle.lo `test -f 'lib/getvservercfgstyle.c' || echo '$(srcdir)/'`lib/getvservercfgstyle.c + +lib/lib_libvserver_la-getvserverappdir.lo: lib/getvserverappdir.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getvserverappdir.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getvserverappdir.Tpo -c -o lib/lib_libvserver_la-getvserverappdir.lo `test -f 'lib/getvserverappdir.c' || echo '$(srcdir)/'`lib/getvserverappdir.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getvserverappdir.Tpo lib/$(DEPDIR)/lib_libvserver_la-getvserverappdir.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverappdir.c' object='lib/lib_libvserver_la-getvserverappdir.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getvserverappdir.lo `test -f 'lib/getvserverappdir.c' || echo '$(srcdir)/'`lib/getvserverappdir.c + +lib/lib_libvserver_la-getvservercfgdir.lo: lib/getvservercfgdir.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getvservercfgdir.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getvservercfgdir.Tpo -c -o lib/lib_libvserver_la-getvservercfgdir.lo `test -f 'lib/getvservercfgdir.c' || echo '$(srcdir)/'`lib/getvservercfgdir.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getvservercfgdir.Tpo lib/$(DEPDIR)/lib_libvserver_la-getvservercfgdir.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservercfgdir.c' object='lib/lib_libvserver_la-getvservercfgdir.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getvservercfgdir.lo `test -f 'lib/getvservercfgdir.c' || echo '$(srcdir)/'`lib/getvservercfgdir.c + +lib/lib_libvserver_la-getvserverctx.lo: lib/getvserverctx.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getvserverctx.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getvserverctx.Tpo -c -o lib/lib_libvserver_la-getvserverctx.lo `test -f 'lib/getvserverctx.c' || echo '$(srcdir)/'`lib/getvserverctx.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getvserverctx.Tpo lib/$(DEPDIR)/lib_libvserver_la-getvserverctx.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvserverctx.c' object='lib/lib_libvserver_la-getvserverctx.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getvserverctx.lo `test -f 'lib/getvserverctx.c' || echo '$(srcdir)/'`lib/getvserverctx.c + +lib/lib_libvserver_la-getvservername.lo: lib/getvservername.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getvservername.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getvservername.Tpo -c -o lib/lib_libvserver_la-getvservername.lo `test -f 'lib/getvservername.c' || echo '$(srcdir)/'`lib/getvservername.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getvservername.Tpo lib/$(DEPDIR)/lib_libvserver_la-getvservername.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservername.c' object='lib/lib_libvserver_la-getvservername.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getvservername.lo `test -f 'lib/getvservername.c' || echo '$(srcdir)/'`lib/getvservername.c + +lib/lib_libvserver_la-getvservervdir.lo: lib/getvservervdir.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-getvservervdir.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-getvservervdir.Tpo -c -o lib/lib_libvserver_la-getvservervdir.lo `test -f 'lib/getvservervdir.c' || echo '$(srcdir)/'`lib/getvservervdir.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-getvservervdir.Tpo lib/$(DEPDIR)/lib_libvserver_la-getvservervdir.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/getvservervdir.c' object='lib/lib_libvserver_la-getvservervdir.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-getvservervdir.lo `test -f 'lib/getvservervdir.c' || echo '$(srcdir)/'`lib/getvservervdir.c + +lib/lib_libvserver_la-xidopt2xid.lo: lib/xidopt2xid.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-xidopt2xid.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-xidopt2xid.Tpo -c -o lib/lib_libvserver_la-xidopt2xid.lo `test -f 'lib/xidopt2xid.c' || echo '$(srcdir)/'`lib/xidopt2xid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-xidopt2xid.Tpo lib/$(DEPDIR)/lib_libvserver_la-xidopt2xid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/xidopt2xid.c' object='lib/lib_libvserver_la-xidopt2xid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-xidopt2xid.lo `test -f 'lib/xidopt2xid.c' || echo '$(srcdir)/'`lib/xidopt2xid.c + +lib/lib_libvserver_la-nidopt2nid.lo: lib/nidopt2nid.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-nidopt2nid.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-nidopt2nid.Tpo -c -o lib/lib_libvserver_la-nidopt2nid.lo `test -f 'lib/nidopt2nid.c' || echo '$(srcdir)/'`lib/nidopt2nid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-nidopt2nid.Tpo lib/$(DEPDIR)/lib_libvserver_la-nidopt2nid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nidopt2nid.c' object='lib/lib_libvserver_la-nidopt2nid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-nidopt2nid.lo `test -f 'lib/nidopt2nid.c' || echo '$(srcdir)/'`lib/nidopt2nid.c + +lib/lib_libvserver_la-tagopt2tag.lo: lib/tagopt2tag.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-tagopt2tag.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-tagopt2tag.Tpo -c -o lib/lib_libvserver_la-tagopt2tag.lo `test -f 'lib/tagopt2tag.c' || echo '$(srcdir)/'`lib/tagopt2tag.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-tagopt2tag.Tpo lib/$(DEPDIR)/lib_libvserver_la-tagopt2tag.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/tagopt2tag.c' object='lib/lib_libvserver_la-tagopt2tag.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-tagopt2tag.lo `test -f 'lib/tagopt2tag.c' || echo '$(srcdir)/'`lib/tagopt2tag.c + +lib/lib_libvserver_la-exitlikeprocess.lo: lib/exitlikeprocess.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-exitlikeprocess.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-exitlikeprocess.Tpo -c -o lib/lib_libvserver_la-exitlikeprocess.lo `test -f 'lib/exitlikeprocess.c' || echo '$(srcdir)/'`lib/exitlikeprocess.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-exitlikeprocess.Tpo lib/$(DEPDIR)/lib_libvserver_la-exitlikeprocess.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/exitlikeprocess.c' object='lib/lib_libvserver_la-exitlikeprocess.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-exitlikeprocess.lo `test -f 'lib/exitlikeprocess.c' || echo '$(srcdir)/'`lib/exitlikeprocess.c + +lib/lib_libvserver_la-syscall_rlimit.lo: lib/syscall_rlimit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_rlimit.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimit.Tpo -c -o lib/lib_libvserver_la-syscall_rlimit.lo `test -f 'lib/syscall_rlimit.c' || echo '$(srcdir)/'`lib/syscall_rlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimit.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_rlimit.c' object='lib/lib_libvserver_la-syscall_rlimit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_rlimit.lo `test -f 'lib/syscall_rlimit.c' || echo '$(srcdir)/'`lib/syscall_rlimit.c + +lib/lib_libvserver_la-syscall_kill.lo: lib/syscall_kill.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_kill.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_kill.Tpo -c -o lib/lib_libvserver_la-syscall_kill.lo `test -f 'lib/syscall_kill.c' || echo '$(srcdir)/'`lib/syscall_kill.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_kill.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_kill.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_kill.c' object='lib/lib_libvserver_la-syscall_kill.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_kill.lo `test -f 'lib/syscall_kill.c' || echo '$(srcdir)/'`lib/syscall_kill.c + +lib/lib_libvserver_la-syscall_ctxcreate.lo: lib/syscall_ctxcreate.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_ctxcreate.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxcreate.Tpo -c -o lib/lib_libvserver_la-syscall_ctxcreate.lo `test -f 'lib/syscall_ctxcreate.c' || echo '$(srcdir)/'`lib/syscall_ctxcreate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxcreate.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxcreate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxcreate.c' object='lib/lib_libvserver_la-syscall_ctxcreate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_ctxcreate.lo `test -f 'lib/syscall_ctxcreate.c' || echo '$(srcdir)/'`lib/syscall_ctxcreate.c + +lib/lib_libvserver_la-syscall_ctxmigrate.lo: lib/syscall_ctxmigrate.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_ctxmigrate.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxmigrate.Tpo -c -o lib/lib_libvserver_la-syscall_ctxmigrate.lo `test -f 'lib/syscall_ctxmigrate.c' || echo '$(srcdir)/'`lib/syscall_ctxmigrate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxmigrate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxmigrate.c' object='lib/lib_libvserver_la-syscall_ctxmigrate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_ctxmigrate.lo `test -f 'lib/syscall_ctxmigrate.c' || echo '$(srcdir)/'`lib/syscall_ctxmigrate.c + +lib/lib_libvserver_la-syscall_cleanupnamespace.lo: lib/syscall_cleanupnamespace.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_cleanupnamespace.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_cleanupnamespace.Tpo -c -o lib/lib_libvserver_la-syscall_cleanupnamespace.lo `test -f 'lib/syscall_cleanupnamespace.c' || echo '$(srcdir)/'`lib/syscall_cleanupnamespace.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_cleanupnamespace.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_cleanupnamespace.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_cleanupnamespace.c' object='lib/lib_libvserver_la-syscall_cleanupnamespace.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_cleanupnamespace.lo `test -f 'lib/syscall_cleanupnamespace.c' || echo '$(srcdir)/'`lib/syscall_cleanupnamespace.c + +lib/lib_libvserver_la-syscall_enternamespace.lo: lib/syscall_enternamespace.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_enternamespace.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_enternamespace.Tpo -c -o lib/lib_libvserver_la-syscall_enternamespace.lo `test -f 'lib/syscall_enternamespace.c' || echo '$(srcdir)/'`lib/syscall_enternamespace.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_enternamespace.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_enternamespace.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_enternamespace.c' object='lib/lib_libvserver_la-syscall_enternamespace.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_enternamespace.lo `test -f 'lib/syscall_enternamespace.c' || echo '$(srcdir)/'`lib/syscall_enternamespace.c + +lib/lib_libvserver_la-syscall_getccaps.lo: lib/syscall_getccaps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getccaps.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getccaps.Tpo -c -o lib/lib_libvserver_la-syscall_getccaps.lo `test -f 'lib/syscall_getccaps.c' || echo '$(srcdir)/'`lib/syscall_getccaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getccaps.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getccaps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getccaps.c' object='lib/lib_libvserver_la-syscall_getccaps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getccaps.lo `test -f 'lib/syscall_getccaps.c' || echo '$(srcdir)/'`lib/syscall_getccaps.c + +lib/lib_libvserver_la-syscall_getcflags.lo: lib/syscall_getcflags.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getcflags.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getcflags.Tpo -c -o lib/lib_libvserver_la-syscall_getcflags.lo `test -f 'lib/syscall_getcflags.c' || echo '$(srcdir)/'`lib/syscall_getcflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getcflags.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getcflags.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getcflags.c' object='lib/lib_libvserver_la-syscall_getcflags.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getcflags.lo `test -f 'lib/syscall_getcflags.c' || echo '$(srcdir)/'`lib/syscall_getcflags.c + +lib/lib_libvserver_la-syscall_getiattr.lo: lib/syscall_getiattr.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getiattr.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getiattr.Tpo -c -o lib/lib_libvserver_la-syscall_getiattr.lo `test -f 'lib/syscall_getiattr.c' || echo '$(srcdir)/'`lib/syscall_getiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getiattr.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getiattr.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getiattr.c' object='lib/lib_libvserver_la-syscall_getiattr.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getiattr.lo `test -f 'lib/syscall_getiattr.c' || echo '$(srcdir)/'`lib/syscall_getiattr.c + +lib/lib_libvserver_la-syscall_getncaps.lo: lib/syscall_getncaps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getncaps.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getncaps.Tpo -c -o lib/lib_libvserver_la-syscall_getncaps.lo `test -f 'lib/syscall_getncaps.c' || echo '$(srcdir)/'`lib/syscall_getncaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getncaps.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getncaps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getncaps.c' object='lib/lib_libvserver_la-syscall_getncaps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getncaps.lo `test -f 'lib/syscall_getncaps.c' || echo '$(srcdir)/'`lib/syscall_getncaps.c + +lib/lib_libvserver_la-syscall_getnflags.lo: lib/syscall_getnflags.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getnflags.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getnflags.Tpo -c -o lib/lib_libvserver_la-syscall_getnflags.lo `test -f 'lib/syscall_getnflags.c' || echo '$(srcdir)/'`lib/syscall_getnflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getnflags.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getnflags.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getnflags.c' object='lib/lib_libvserver_la-syscall_getnflags.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getnflags.lo `test -f 'lib/syscall_getnflags.c' || echo '$(srcdir)/'`lib/syscall_getnflags.c + +lib/lib_libvserver_la-syscall_getnxinfo.lo: lib/syscall_getnxinfo.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getnxinfo.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getnxinfo.Tpo -c -o lib/lib_libvserver_la-syscall_getnxinfo.lo `test -f 'lib/syscall_getnxinfo.c' || echo '$(srcdir)/'`lib/syscall_getnxinfo.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getnxinfo.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getnxinfo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getnxinfo.c' object='lib/lib_libvserver_la-syscall_getnxinfo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getnxinfo.lo `test -f 'lib/syscall_getnxinfo.c' || echo '$(srcdir)/'`lib/syscall_getnxinfo.c + +lib/lib_libvserver_la-syscall_gettasknid.lo: lib/syscall_gettasknid.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_gettasknid.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_gettasknid.Tpo -c -o lib/lib_libvserver_la-syscall_gettasknid.lo `test -f 'lib/syscall_gettasknid.c' || echo '$(srcdir)/'`lib/syscall_gettasknid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_gettasknid.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_gettasknid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_gettasknid.c' object='lib/lib_libvserver_la-syscall_gettasknid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_gettasknid.lo `test -f 'lib/syscall_gettasknid.c' || echo '$(srcdir)/'`lib/syscall_gettasknid.c + +lib/lib_libvserver_la-syscall_gettaskxid.lo: lib/syscall_gettaskxid.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_gettaskxid.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_gettaskxid.Tpo -c -o lib/lib_libvserver_la-syscall_gettaskxid.lo `test -f 'lib/syscall_gettaskxid.c' || echo '$(srcdir)/'`lib/syscall_gettaskxid.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_gettaskxid.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_gettaskxid.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_gettaskxid.c' object='lib/lib_libvserver_la-syscall_gettaskxid.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_gettaskxid.lo `test -f 'lib/syscall_gettaskxid.c' || echo '$(srcdir)/'`lib/syscall_gettaskxid.c + +lib/lib_libvserver_la-syscall_getvhiname.lo: lib/syscall_getvhiname.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getvhiname.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getvhiname.Tpo -c -o lib/lib_libvserver_la-syscall_getvhiname.lo `test -f 'lib/syscall_getvhiname.c' || echo '$(srcdir)/'`lib/syscall_getvhiname.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getvhiname.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getvhiname.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvhiname.c' object='lib/lib_libvserver_la-syscall_getvhiname.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getvhiname.lo `test -f 'lib/syscall_getvhiname.c' || echo '$(srcdir)/'`lib/syscall_getvhiname.c + +lib/lib_libvserver_la-syscall_getvxinfo.lo: lib/syscall_getvxinfo.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getvxinfo.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getvxinfo.Tpo -c -o lib/lib_libvserver_la-syscall_getvxinfo.lo `test -f 'lib/syscall_getvxinfo.c' || echo '$(srcdir)/'`lib/syscall_getvxinfo.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getvxinfo.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getvxinfo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvxinfo.c' object='lib/lib_libvserver_la-syscall_getvxinfo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getvxinfo.lo `test -f 'lib/syscall_getvxinfo.c' || echo '$(srcdir)/'`lib/syscall_getvxinfo.c + +lib/lib_libvserver_la-syscall_netadd.lo: lib/syscall_netadd.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_netadd.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_netadd.Tpo -c -o lib/lib_libvserver_la-syscall_netadd.lo `test -f 'lib/syscall_netadd.c' || echo '$(srcdir)/'`lib/syscall_netadd.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_netadd.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_netadd.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netadd.c' object='lib/lib_libvserver_la-syscall_netadd.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_netadd.lo `test -f 'lib/syscall_netadd.c' || echo '$(srcdir)/'`lib/syscall_netadd.c + +lib/lib_libvserver_la-syscall_netcreate.lo: lib/syscall_netcreate.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_netcreate.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_netcreate.Tpo -c -o lib/lib_libvserver_la-syscall_netcreate.lo `test -f 'lib/syscall_netcreate.c' || echo '$(srcdir)/'`lib/syscall_netcreate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_netcreate.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_netcreate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netcreate.c' object='lib/lib_libvserver_la-syscall_netcreate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_netcreate.lo `test -f 'lib/syscall_netcreate.c' || echo '$(srcdir)/'`lib/syscall_netcreate.c + +lib/lib_libvserver_la-syscall_netmigrate.lo: lib/syscall_netmigrate.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_netmigrate.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_netmigrate.Tpo -c -o lib/lib_libvserver_la-syscall_netmigrate.lo `test -f 'lib/syscall_netmigrate.c' || echo '$(srcdir)/'`lib/syscall_netmigrate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_netmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_netmigrate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netmigrate.c' object='lib/lib_libvserver_la-syscall_netmigrate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_netmigrate.lo `test -f 'lib/syscall_netmigrate.c' || echo '$(srcdir)/'`lib/syscall_netmigrate.c + +lib/lib_libvserver_la-syscall_netremove.lo: lib/syscall_netremove.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_netremove.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_netremove.Tpo -c -o lib/lib_libvserver_la-syscall_netremove.lo `test -f 'lib/syscall_netremove.c' || echo '$(srcdir)/'`lib/syscall_netremove.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_netremove.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_netremove.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_netremove.c' object='lib/lib_libvserver_la-syscall_netremove.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_netremove.lo `test -f 'lib/syscall_netremove.c' || echo '$(srcdir)/'`lib/syscall_netremove.c + +lib/lib_libvserver_la-syscall_setccaps.lo: lib/syscall_setccaps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setccaps.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setccaps.Tpo -c -o lib/lib_libvserver_la-syscall_setccaps.lo `test -f 'lib/syscall_setccaps.c' || echo '$(srcdir)/'`lib/syscall_setccaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setccaps.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setccaps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setccaps.c' object='lib/lib_libvserver_la-syscall_setccaps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setccaps.lo `test -f 'lib/syscall_setccaps.c' || echo '$(srcdir)/'`lib/syscall_setccaps.c + +lib/lib_libvserver_la-syscall_setcflags.lo: lib/syscall_setcflags.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setcflags.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setcflags.Tpo -c -o lib/lib_libvserver_la-syscall_setcflags.lo `test -f 'lib/syscall_setcflags.c' || echo '$(srcdir)/'`lib/syscall_setcflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setcflags.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setcflags.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setcflags.c' object='lib/lib_libvserver_la-syscall_setcflags.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setcflags.lo `test -f 'lib/syscall_setcflags.c' || echo '$(srcdir)/'`lib/syscall_setcflags.c + +lib/lib_libvserver_la-syscall_setiattr.lo: lib/syscall_setiattr.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setiattr.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setiattr.Tpo -c -o lib/lib_libvserver_la-syscall_setiattr.lo `test -f 'lib/syscall_setiattr.c' || echo '$(srcdir)/'`lib/syscall_setiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setiattr.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setiattr.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setiattr.c' object='lib/lib_libvserver_la-syscall_setiattr.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setiattr.lo `test -f 'lib/syscall_setiattr.c' || echo '$(srcdir)/'`lib/syscall_setiattr.c + +lib/lib_libvserver_la-syscall_setnamespace.lo: lib/syscall_setnamespace.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setnamespace.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setnamespace.Tpo -c -o lib/lib_libvserver_la-syscall_setnamespace.lo `test -f 'lib/syscall_setnamespace.c' || echo '$(srcdir)/'`lib/syscall_setnamespace.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setnamespace.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setnamespace.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setnamespace.c' object='lib/lib_libvserver_la-syscall_setnamespace.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setnamespace.lo `test -f 'lib/syscall_setnamespace.c' || echo '$(srcdir)/'`lib/syscall_setnamespace.c + +lib/lib_libvserver_la-syscall_setncaps.lo: lib/syscall_setncaps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setncaps.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setncaps.Tpo -c -o lib/lib_libvserver_la-syscall_setncaps.lo `test -f 'lib/syscall_setncaps.c' || echo '$(srcdir)/'`lib/syscall_setncaps.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setncaps.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setncaps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setncaps.c' object='lib/lib_libvserver_la-syscall_setncaps.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setncaps.lo `test -f 'lib/syscall_setncaps.c' || echo '$(srcdir)/'`lib/syscall_setncaps.c + +lib/lib_libvserver_la-syscall_setnflags.lo: lib/syscall_setnflags.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setnflags.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setnflags.Tpo -c -o lib/lib_libvserver_la-syscall_setnflags.lo `test -f 'lib/syscall_setnflags.c' || echo '$(srcdir)/'`lib/syscall_setnflags.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setnflags.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setnflags.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setnflags.c' object='lib/lib_libvserver_la-syscall_setnflags.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setnflags.lo `test -f 'lib/syscall_setnflags.c' || echo '$(srcdir)/'`lib/syscall_setnflags.c + +lib/lib_libvserver_la-syscall_setsched.lo: lib/syscall_setsched.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setsched.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setsched.Tpo -c -o lib/lib_libvserver_la-syscall_setsched.lo `test -f 'lib/syscall_setsched.c' || echo '$(srcdir)/'`lib/syscall_setsched.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setsched.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setsched.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setsched.c' object='lib/lib_libvserver_la-syscall_setsched.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setsched.lo `test -f 'lib/syscall_setsched.c' || echo '$(srcdir)/'`lib/syscall_setsched.c + +lib/lib_libvserver_la-syscall_setvhiname.lo: lib/syscall_setvhiname.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setvhiname.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setvhiname.Tpo -c -o lib/lib_libvserver_la-syscall_setvhiname.lo `test -f 'lib/syscall_setvhiname.c' || echo '$(srcdir)/'`lib/syscall_setvhiname.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setvhiname.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setvhiname.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setvhiname.c' object='lib/lib_libvserver_la-syscall_setvhiname.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setvhiname.lo `test -f 'lib/syscall_setvhiname.c' || echo '$(srcdir)/'`lib/syscall_setvhiname.c + +lib/lib_libvserver_la-syscall_waitexit.lo: lib/syscall_waitexit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_waitexit.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_waitexit.Tpo -c -o lib/lib_libvserver_la-syscall_waitexit.lo `test -f 'lib/syscall_waitexit.c' || echo '$(srcdir)/'`lib/syscall_waitexit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_waitexit.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_waitexit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_waitexit.c' object='lib/lib_libvserver_la-syscall_waitexit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_waitexit.lo `test -f 'lib/syscall_waitexit.c' || echo '$(srcdir)/'`lib/syscall_waitexit.c + +lib/lib_libvserver_la-bcaps-v13.lo: lib/bcaps-v13.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-bcaps-v13.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-bcaps-v13.Tpo -c -o lib/lib_libvserver_la-bcaps-v13.lo `test -f 'lib/bcaps-v13.c' || echo '$(srcdir)/'`lib/bcaps-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-bcaps-v13.Tpo lib/$(DEPDIR)/lib_libvserver_la-bcaps-v13.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/bcaps-v13.c' object='lib/lib_libvserver_la-bcaps-v13.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-bcaps-v13.lo `test -f 'lib/bcaps-v13.c' || echo '$(srcdir)/'`lib/bcaps-v13.c + +lib/lib_libvserver_la-bcaps_list-v13.lo: lib/bcaps_list-v13.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-bcaps_list-v13.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-bcaps_list-v13.Tpo -c -o lib/lib_libvserver_la-bcaps_list-v13.lo `test -f 'lib/bcaps_list-v13.c' || echo '$(srcdir)/'`lib/bcaps_list-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-bcaps_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_la-bcaps_list-v13.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/bcaps_list-v13.c' object='lib/lib_libvserver_la-bcaps_list-v13.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-bcaps_list-v13.lo `test -f 'lib/bcaps_list-v13.c' || echo '$(srcdir)/'`lib/bcaps_list-v13.c + +lib/lib_libvserver_la-ccaps-v13.lo: lib/ccaps-v13.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-ccaps-v13.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-ccaps-v13.Tpo -c -o lib/lib_libvserver_la-ccaps-v13.lo `test -f 'lib/ccaps-v13.c' || echo '$(srcdir)/'`lib/ccaps-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-ccaps-v13.Tpo lib/$(DEPDIR)/lib_libvserver_la-ccaps-v13.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ccaps-v13.c' object='lib/lib_libvserver_la-ccaps-v13.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-ccaps-v13.lo `test -f 'lib/ccaps-v13.c' || echo '$(srcdir)/'`lib/ccaps-v13.c + +lib/lib_libvserver_la-ccaps_list-v13.lo: lib/ccaps_list-v13.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-ccaps_list-v13.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-ccaps_list-v13.Tpo -c -o lib/lib_libvserver_la-ccaps_list-v13.lo `test -f 'lib/ccaps_list-v13.c' || echo '$(srcdir)/'`lib/ccaps_list-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-ccaps_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_la-ccaps_list-v13.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ccaps_list-v13.c' object='lib/lib_libvserver_la-ccaps_list-v13.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-ccaps_list-v13.lo `test -f 'lib/ccaps_list-v13.c' || echo '$(srcdir)/'`lib/ccaps_list-v13.c + +lib/lib_libvserver_la-cflags-v13.lo: lib/cflags-v13.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-cflags-v13.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-cflags-v13.Tpo -c -o lib/lib_libvserver_la-cflags-v13.lo `test -f 'lib/cflags-v13.c' || echo '$(srcdir)/'`lib/cflags-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-cflags-v13.Tpo lib/$(DEPDIR)/lib_libvserver_la-cflags-v13.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags-v13.c' object='lib/lib_libvserver_la-cflags-v13.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-cflags-v13.lo `test -f 'lib/cflags-v13.c' || echo '$(srcdir)/'`lib/cflags-v13.c + +lib/lib_libvserver_la-cflags_list-v13.lo: lib/cflags_list-v13.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-cflags_list-v13.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-cflags_list-v13.Tpo -c -o lib/lib_libvserver_la-cflags_list-v13.lo `test -f 'lib/cflags_list-v13.c' || echo '$(srcdir)/'`lib/cflags_list-v13.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-cflags_list-v13.Tpo lib/$(DEPDIR)/lib_libvserver_la-cflags_list-v13.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/cflags_list-v13.c' object='lib/lib_libvserver_la-cflags_list-v13.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-cflags_list-v13.lo `test -f 'lib/cflags_list-v13.c' || echo '$(srcdir)/'`lib/cflags_list-v13.c + +lib/lib_libvserver_la-ncaps-net.lo: lib/ncaps-net.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-ncaps-net.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-ncaps-net.Tpo -c -o lib/lib_libvserver_la-ncaps-net.lo `test -f 'lib/ncaps-net.c' || echo '$(srcdir)/'`lib/ncaps-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-ncaps-net.Tpo lib/$(DEPDIR)/lib_libvserver_la-ncaps-net.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ncaps-net.c' object='lib/lib_libvserver_la-ncaps-net.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-ncaps-net.lo `test -f 'lib/ncaps-net.c' || echo '$(srcdir)/'`lib/ncaps-net.c + +lib/lib_libvserver_la-ncaps_list-net.lo: lib/ncaps_list-net.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-ncaps_list-net.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-ncaps_list-net.Tpo -c -o lib/lib_libvserver_la-ncaps_list-net.lo `test -f 'lib/ncaps_list-net.c' || echo '$(srcdir)/'`lib/ncaps_list-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-ncaps_list-net.Tpo lib/$(DEPDIR)/lib_libvserver_la-ncaps_list-net.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/ncaps_list-net.c' object='lib/lib_libvserver_la-ncaps_list-net.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-ncaps_list-net.lo `test -f 'lib/ncaps_list-net.c' || echo '$(srcdir)/'`lib/ncaps_list-net.c + +lib/lib_libvserver_la-nflags-net.lo: lib/nflags-net.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-nflags-net.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-nflags-net.Tpo -c -o lib/lib_libvserver_la-nflags-net.lo `test -f 'lib/nflags-net.c' || echo '$(srcdir)/'`lib/nflags-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-nflags-net.Tpo lib/$(DEPDIR)/lib_libvserver_la-nflags-net.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nflags-net.c' object='lib/lib_libvserver_la-nflags-net.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-nflags-net.lo `test -f 'lib/nflags-net.c' || echo '$(srcdir)/'`lib/nflags-net.c + +lib/lib_libvserver_la-nflags_list-net.lo: lib/nflags_list-net.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-nflags_list-net.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-nflags_list-net.Tpo -c -o lib/lib_libvserver_la-nflags_list-net.lo `test -f 'lib/nflags_list-net.c' || echo '$(srcdir)/'`lib/nflags_list-net.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-nflags_list-net.Tpo lib/$(DEPDIR)/lib_libvserver_la-nflags_list-net.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/nflags_list-net.c' object='lib/lib_libvserver_la-nflags_list-net.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-nflags_list-net.lo `test -f 'lib/nflags_list-net.c' || echo '$(srcdir)/'`lib/nflags_list-net.c + +lib/lib_libvserver_la-syscall_adddlimit.lo: lib/syscall_adddlimit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_adddlimit.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_adddlimit.Tpo -c -o lib/lib_libvserver_la-syscall_adddlimit.lo `test -f 'lib/syscall_adddlimit.c' || echo '$(srcdir)/'`lib/syscall_adddlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_adddlimit.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_adddlimit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_adddlimit.c' object='lib/lib_libvserver_la-syscall_adddlimit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_adddlimit.lo `test -f 'lib/syscall_adddlimit.c' || echo '$(srcdir)/'`lib/syscall_adddlimit.c + +lib/lib_libvserver_la-syscall_getdlimit.lo: lib/syscall_getdlimit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getdlimit.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getdlimit.Tpo -c -o lib/lib_libvserver_la-syscall_getdlimit.lo `test -f 'lib/syscall_getdlimit.c' || echo '$(srcdir)/'`lib/syscall_getdlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getdlimit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getdlimit.c' object='lib/lib_libvserver_la-syscall_getdlimit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getdlimit.lo `test -f 'lib/syscall_getdlimit.c' || echo '$(srcdir)/'`lib/syscall_getdlimit.c + +lib/lib_libvserver_la-syscall_remdlimit.lo: lib/syscall_remdlimit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_remdlimit.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_remdlimit.Tpo -c -o lib/lib_libvserver_la-syscall_remdlimit.lo `test -f 'lib/syscall_remdlimit.c' || echo '$(srcdir)/'`lib/syscall_remdlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_remdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_remdlimit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_remdlimit.c' object='lib/lib_libvserver_la-syscall_remdlimit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_remdlimit.lo `test -f 'lib/syscall_remdlimit.c' || echo '$(srcdir)/'`lib/syscall_remdlimit.c + +lib/lib_libvserver_la-syscall_setdlimit.lo: lib/syscall_setdlimit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setdlimit.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setdlimit.Tpo -c -o lib/lib_libvserver_la-syscall_setdlimit.lo `test -f 'lib/syscall_setdlimit.c' || echo '$(srcdir)/'`lib/syscall_setdlimit.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setdlimit.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setdlimit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setdlimit.c' object='lib/lib_libvserver_la-syscall_setdlimit.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setdlimit.lo `test -f 'lib/syscall_setdlimit.c' || echo '$(srcdir)/'`lib/syscall_setdlimit.c + +lib/lib_libvserver_la-syscall_rlimitstat.lo: lib/syscall_rlimitstat.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_rlimitstat.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimitstat.Tpo -c -o lib/lib_libvserver_la-syscall_rlimitstat.lo `test -f 'lib/syscall_rlimitstat.c' || echo '$(srcdir)/'`lib/syscall_rlimitstat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimitstat.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_rlimitstat.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_rlimitstat.c' object='lib/lib_libvserver_la-syscall_rlimitstat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_rlimitstat.lo `test -f 'lib/syscall_rlimitstat.c' || echo '$(srcdir)/'`lib/syscall_rlimitstat.c + +lib/lib_libvserver_la-syscall_resetminmax.lo: lib/syscall_resetminmax.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_resetminmax.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_resetminmax.Tpo -c -o lib/lib_libvserver_la-syscall_resetminmax.lo `test -f 'lib/syscall_resetminmax.c' || echo '$(srcdir)/'`lib/syscall_resetminmax.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_resetminmax.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_resetminmax.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_resetminmax.c' object='lib/lib_libvserver_la-syscall_resetminmax.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_resetminmax.lo `test -f 'lib/syscall_resetminmax.c' || echo '$(srcdir)/'`lib/syscall_resetminmax.c + +lib/lib_libvserver_la-syscall_getvci.lo: lib/syscall_getvci.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getvci.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getvci.Tpo -c -o lib/lib_libvserver_la-syscall_getvci.lo `test -f 'lib/syscall_getvci.c' || echo '$(srcdir)/'`lib/syscall_getvci.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getvci.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getvci.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getvci.c' object='lib/lib_libvserver_la-syscall_getvci.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getvci.lo `test -f 'lib/syscall_getvci.c' || echo '$(srcdir)/'`lib/syscall_getvci.c + +lib/lib_libvserver_la-syscall_virtstat.lo: lib/syscall_virtstat.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_virtstat.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_virtstat.Tpo -c -o lib/lib_libvserver_la-syscall_virtstat.lo `test -f 'lib/syscall_virtstat.c' || echo '$(srcdir)/'`lib/syscall_virtstat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_virtstat.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_virtstat.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_virtstat.c' object='lib/lib_libvserver_la-syscall_virtstat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_virtstat.lo `test -f 'lib/syscall_virtstat.c' || echo '$(srcdir)/'`lib/syscall_virtstat.c + +lib/lib_libvserver_la-syscall_ctxstat.lo: lib/syscall_ctxstat.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_ctxstat.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxstat.Tpo -c -o lib/lib_libvserver_la-syscall_ctxstat.lo `test -f 'lib/syscall_ctxstat.c' || echo '$(srcdir)/'`lib/syscall_ctxstat.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxstat.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_ctxstat.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_ctxstat.c' object='lib/lib_libvserver_la-syscall_ctxstat.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_ctxstat.lo `test -f 'lib/syscall_ctxstat.c' || echo '$(srcdir)/'`lib/syscall_ctxstat.c + +lib/lib_libvserver_la-syscall_getspacemask.lo: lib/syscall_getspacemask.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getspacemask.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacemask.Tpo -c -o lib/lib_libvserver_la-syscall_getspacemask.lo `test -f 'lib/syscall_getspacemask.c' || echo '$(srcdir)/'`lib/syscall_getspacemask.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacemask.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacemask.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getspacemask.c' object='lib/lib_libvserver_la-syscall_getspacemask.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getspacemask.lo `test -f 'lib/syscall_getspacemask.c' || echo '$(srcdir)/'`lib/syscall_getspacemask.c + +lib/lib_libvserver_la-syscall_setmapping.lo: lib/syscall_setmapping.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setmapping.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setmapping.Tpo -c -o lib/lib_libvserver_la-syscall_setmapping.lo `test -f 'lib/syscall_setmapping.c' || echo '$(srcdir)/'`lib/syscall_setmapping.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setmapping.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setmapping.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setmapping.c' object='lib/lib_libvserver_la-syscall_setmapping.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setmapping.lo `test -f 'lib/syscall_setmapping.c' || echo '$(srcdir)/'`lib/syscall_setmapping.c + +lib/lib_libvserver_la-syscall_unsetmapping.lo: lib/syscall_unsetmapping.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_unsetmapping.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_unsetmapping.Tpo -c -o lib/lib_libvserver_la-syscall_unsetmapping.lo `test -f 'lib/syscall_unsetmapping.c' || echo '$(srcdir)/'`lib/syscall_unsetmapping.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_unsetmapping.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_unsetmapping.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_unsetmapping.c' object='lib/lib_libvserver_la-syscall_unsetmapping.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_unsetmapping.lo `test -f 'lib/syscall_unsetmapping.c' || echo '$(srcdir)/'`lib/syscall_unsetmapping.c + +lib/lib_libvserver_la-syscall_schedinfo.lo: lib/syscall_schedinfo.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_schedinfo.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_schedinfo.Tpo -c -o lib/lib_libvserver_la-syscall_schedinfo.lo `test -f 'lib/syscall_schedinfo.c' || echo '$(srcdir)/'`lib/syscall_schedinfo.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_schedinfo.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_schedinfo.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_schedinfo.c' object='lib/lib_libvserver_la-syscall_schedinfo.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_schedinfo.lo `test -f 'lib/syscall_schedinfo.c' || echo '$(srcdir)/'`lib/syscall_schedinfo.c + +lib/lib_libvserver_la-syscall_getsched.lo: lib/syscall_getsched.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getsched.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getsched.Tpo -c -o lib/lib_libvserver_la-syscall_getsched.lo `test -f 'lib/syscall_getsched.c' || echo '$(srcdir)/'`lib/syscall_getsched.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getsched.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getsched.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getsched.c' object='lib/lib_libvserver_la-syscall_getsched.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getsched.lo `test -f 'lib/syscall_getsched.c' || echo '$(srcdir)/'`lib/syscall_getsched.c + +lib/lib_libvserver_la-syscall_fsetiattr.lo: lib/syscall_fsetiattr.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_fsetiattr.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_fsetiattr.Tpo -c -o lib/lib_libvserver_la-syscall_fsetiattr.lo `test -f 'lib/syscall_fsetiattr.c' || echo '$(srcdir)/'`lib/syscall_fsetiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_fsetiattr.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_fsetiattr.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_fsetiattr.c' object='lib/lib_libvserver_la-syscall_fsetiattr.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_fsetiattr.lo `test -f 'lib/syscall_fsetiattr.c' || echo '$(srcdir)/'`lib/syscall_fsetiattr.c + +lib/lib_libvserver_la-syscall_fgetiattr.lo: lib/syscall_fgetiattr.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_fgetiattr.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_fgetiattr.Tpo -c -o lib/lib_libvserver_la-syscall_fgetiattr.lo `test -f 'lib/syscall_fgetiattr.c' || echo '$(srcdir)/'`lib/syscall_fgetiattr.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_fgetiattr.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_fgetiattr.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_fgetiattr.c' object='lib/lib_libvserver_la-syscall_fgetiattr.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_fgetiattr.lo `test -f 'lib/syscall_fgetiattr.c' || echo '$(srcdir)/'`lib/syscall_fgetiattr.c + +lib/lib_libvserver_la-syscall_tagmigrate.lo: lib/syscall_tagmigrate.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_tagmigrate.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_tagmigrate.Tpo -c -o lib/lib_libvserver_la-syscall_tagmigrate.lo `test -f 'lib/syscall_tagmigrate.c' || echo '$(srcdir)/'`lib/syscall_tagmigrate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_tagmigrate.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_tagmigrate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tagmigrate.c' object='lib/lib_libvserver_la-syscall_tagmigrate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_tagmigrate.lo `test -f 'lib/syscall_tagmigrate.c' || echo '$(srcdir)/'`lib/syscall_tagmigrate.c + +lib/lib_libvserver_la-syscall_tagcreate.lo: lib/syscall_tagcreate.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_tagcreate.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_tagcreate.Tpo -c -o lib/lib_libvserver_la-syscall_tagcreate.lo `test -f 'lib/syscall_tagcreate.c' || echo '$(srcdir)/'`lib/syscall_tagcreate.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_tagcreate.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_tagcreate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tagcreate.c' object='lib/lib_libvserver_la-syscall_tagcreate.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_tagcreate.lo `test -f 'lib/syscall_tagcreate.c' || echo '$(srcdir)/'`lib/syscall_tagcreate.c + +lib/lib_libvserver_la-syscall_tasktag.lo: lib/syscall_tasktag.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_tasktag.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_tasktag.Tpo -c -o lib/lib_libvserver_la-syscall_tasktag.lo `test -f 'lib/syscall_tasktag.c' || echo '$(srcdir)/'`lib/syscall_tasktag.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_tasktag.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_tasktag.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_tasktag.c' object='lib/lib_libvserver_la-syscall_tasktag.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_tasktag.lo `test -f 'lib/syscall_tasktag.c' || echo '$(srcdir)/'`lib/syscall_tasktag.c + +lib/lib_libvserver_la-syscall_getbadness.lo: lib/syscall_getbadness.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getbadness.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getbadness.Tpo -c -o lib/lib_libvserver_la-syscall_getbadness.lo `test -f 'lib/syscall_getbadness.c' || echo '$(srcdir)/'`lib/syscall_getbadness.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getbadness.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getbadness.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getbadness.c' object='lib/lib_libvserver_la-syscall_getbadness.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getbadness.lo `test -f 'lib/syscall_getbadness.c' || echo '$(srcdir)/'`lib/syscall_getbadness.c + +lib/lib_libvserver_la-syscall_setbadness.lo: lib/syscall_setbadness.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_setbadness.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_setbadness.Tpo -c -o lib/lib_libvserver_la-syscall_setbadness.lo `test -f 'lib/syscall_setbadness.c' || echo '$(srcdir)/'`lib/syscall_setbadness.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_setbadness.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_setbadness.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_setbadness.c' object='lib/lib_libvserver_la-syscall_setbadness.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_setbadness.lo `test -f 'lib/syscall_setbadness.c' || echo '$(srcdir)/'`lib/syscall_setbadness.c + +lib/lib_libvserver_la-syscall_getspacedefault.lo: lib/syscall_getspacedefault.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/lib_libvserver_la-syscall_getspacedefault.lo -MD -MP -MF lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacedefault.Tpo -c -o lib/lib_libvserver_la-syscall_getspacedefault.lo `test -f 'lib/syscall_getspacedefault.c' || echo '$(srcdir)/'`lib/syscall_getspacedefault.c +@am__fastdepCC_TRUE@ mv -f lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacedefault.Tpo lib/$(DEPDIR)/lib_libvserver_la-syscall_getspacedefault.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/syscall_getspacedefault.c' object='lib/lib_libvserver_la-syscall_getspacedefault.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/lib_libvserver_la-syscall_getspacedefault.lo `test -f 'lib/syscall_getspacedefault.c' || echo '$(srcdir)/'`lib/syscall_getspacedefault.c + +ensc_fmt/lib_libvserver_la-fmt-32.lo: ensc_fmt/fmt-32.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_la-fmt-32.lo -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-32.Tpo -c -o ensc_fmt/lib_libvserver_la-fmt-32.lo `test -f 'ensc_fmt/fmt-32.c' || echo '$(srcdir)/'`ensc_fmt/fmt-32.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-32.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-32.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-32.c' object='ensc_fmt/lib_libvserver_la-fmt-32.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_la-fmt-32.lo `test -f 'ensc_fmt/fmt-32.c' || echo '$(srcdir)/'`ensc_fmt/fmt-32.c + +ensc_fmt/lib_libvserver_la-fmt-64.lo: ensc_fmt/fmt-64.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_la-fmt-64.lo -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-64.Tpo -c -o ensc_fmt/lib_libvserver_la-fmt-64.lo `test -f 'ensc_fmt/fmt-64.c' || echo '$(srcdir)/'`ensc_fmt/fmt-64.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-64.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-64.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-64.c' object='ensc_fmt/lib_libvserver_la-fmt-64.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_la-fmt-64.lo `test -f 'ensc_fmt/fmt-64.c' || echo '$(srcdir)/'`ensc_fmt/fmt-64.c + +ensc_fmt/lib_libvserver_la-fmtx-32.lo: ensc_fmt/fmtx-32.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_la-fmtx-32.lo -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-32.Tpo -c -o ensc_fmt/lib_libvserver_la-fmtx-32.lo `test -f 'ensc_fmt/fmtx-32.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-32.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-32.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-32.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmtx-32.c' object='ensc_fmt/lib_libvserver_la-fmtx-32.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_la-fmtx-32.lo `test -f 'ensc_fmt/fmtx-32.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-32.c + +ensc_fmt/lib_libvserver_la-fmtx-64.lo: ensc_fmt/fmtx-64.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_la-fmtx-64.lo -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-64.Tpo -c -o ensc_fmt/lib_libvserver_la-fmtx-64.lo `test -f 'ensc_fmt/fmtx-64.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-64.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-64.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmtx-64.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmtx-64.c' object='ensc_fmt/lib_libvserver_la-fmtx-64.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_la-fmtx-64.lo `test -f 'ensc_fmt/fmtx-64.c' || echo '$(srcdir)/'`ensc_fmt/fmtx-64.c + +ensc_fmt/lib_libvserver_la-fmt-tai64n.lo: ensc_fmt/fmt-tai64n.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ensc_fmt/lib_libvserver_la-fmt-tai64n.lo -MD -MP -MF ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-tai64n.Tpo -c -o ensc_fmt/lib_libvserver_la-fmt-tai64n.lo `test -f 'ensc_fmt/fmt-tai64n.c' || echo '$(srcdir)/'`ensc_fmt/fmt-tai64n.c +@am__fastdepCC_TRUE@ mv -f ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-tai64n.Tpo ensc_fmt/$(DEPDIR)/lib_libvserver_la-fmt-tai64n.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ensc_fmt/fmt-tai64n.c' object='ensc_fmt/lib_libvserver_la-fmt-tai64n.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_libvserver_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ensc_fmt/lib_libvserver_la-fmt-tai64n.lo `test -f 'ensc_fmt/fmt-tai64n.c' || echo '$(srcdir)/'`ensc_fmt/fmt-tai64n.c + +python/python__libvserver_la-_libvserver.lo: python/_libvserver.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(python__libvserver_la_CFLAGS) $(CFLAGS) -MT python/python__libvserver_la-_libvserver.lo -MD -MP -MF python/$(DEPDIR)/python__libvserver_la-_libvserver.Tpo -c -o python/python__libvserver_la-_libvserver.lo `test -f 'python/_libvserver.c' || echo '$(srcdir)/'`python/_libvserver.c +@am__fastdepCC_TRUE@ mv -f python/$(DEPDIR)/python__libvserver_la-_libvserver.Tpo python/$(DEPDIR)/python__libvserver_la-_libvserver.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='python/_libvserver.c' object='python/python__libvserver_la-_libvserver.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(python__libvserver_la_CFLAGS) $(CFLAGS) -c -o python/python__libvserver_la-_libvserver.lo `test -f 'python/_libvserver.c' || echo '$(srcdir)/'`python/_libvserver.c + +src/src_rpm_fake_la-rpm-fake.lo: src/rpm-fake.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_rpm_fake_la_CFLAGS) $(CFLAGS) -MT src/src_rpm_fake_la-rpm-fake.lo -MD -MP -MF src/$(DEPDIR)/src_rpm_fake_la-rpm-fake.Tpo -c -o src/src_rpm_fake_la-rpm-fake.lo `test -f 'src/rpm-fake.c' || echo '$(srcdir)/'`src/rpm-fake.c +@am__fastdepCC_TRUE@ mv -f src/$(DEPDIR)/src_rpm_fake_la-rpm-fake.Tpo src/$(DEPDIR)/src_rpm_fake_la-rpm-fake.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/rpm-fake.c' object='src/src_rpm_fake_la-rpm-fake.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_rpm_fake_la_CFLAGS) $(CFLAGS) -c -o src/src_rpm_fake_la-rpm-fake.lo `test -f 'src/rpm-fake.c' || echo '$(srcdir)/'`src/rpm-fake.c + +lib/testsuite/lib_testsuite_cflags-cflags.o: lib/testsuite/cflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_cflags_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_cflags-cflags.o -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_cflags-cflags.Tpo -c -o lib/testsuite/lib_testsuite_cflags-cflags.o `test -f 'lib/testsuite/cflags.c' || echo '$(srcdir)/'`lib/testsuite/cflags.c +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_cflags-cflags.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_cflags-cflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/cflags.c' object='lib/testsuite/lib_testsuite_cflags-cflags.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_cflags_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_cflags-cflags.o `test -f 'lib/testsuite/cflags.c' || echo '$(srcdir)/'`lib/testsuite/cflags.c + +lib/testsuite/lib_testsuite_cflags-cflags.obj: lib/testsuite/cflags.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_cflags_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_cflags-cflags.obj -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_cflags-cflags.Tpo -c -o lib/testsuite/lib_testsuite_cflags-cflags.obj `if test -f 'lib/testsuite/cflags.c'; then $(CYGPATH_W) 'lib/testsuite/cflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/cflags.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_cflags-cflags.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_cflags-cflags.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/cflags.c' object='lib/testsuite/lib_testsuite_cflags-cflags.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_cflags_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_cflags-cflags.obj `if test -f 'lib/testsuite/cflags.c'; then $(CYGPATH_W) 'lib/testsuite/cflags.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/cflags.c'; fi` + +lib/testsuite/lib_testsuite_fmt-fmt.o: lib/testsuite/fmt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_fmt_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_fmt-fmt.o -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_fmt-fmt.Tpo -c -o lib/testsuite/lib_testsuite_fmt-fmt.o `test -f 'lib/testsuite/fmt.c' || echo '$(srcdir)/'`lib/testsuite/fmt.c +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_fmt-fmt.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_fmt-fmt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/fmt.c' object='lib/testsuite/lib_testsuite_fmt-fmt.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_fmt_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_fmt-fmt.o `test -f 'lib/testsuite/fmt.c' || echo '$(srcdir)/'`lib/testsuite/fmt.c + +lib/testsuite/lib_testsuite_fmt-fmt.obj: lib/testsuite/fmt.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_fmt_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_fmt-fmt.obj -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_fmt-fmt.Tpo -c -o lib/testsuite/lib_testsuite_fmt-fmt.obj `if test -f 'lib/testsuite/fmt.c'; then $(CYGPATH_W) 'lib/testsuite/fmt.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/fmt.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_fmt-fmt.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_fmt-fmt.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/fmt.c' object='lib/testsuite/lib_testsuite_fmt-fmt.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_fmt_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_fmt-fmt.obj `if test -f 'lib/testsuite/fmt.c'; then $(CYGPATH_W) 'lib/testsuite/fmt.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/fmt.c'; fi` + +lib/testsuite/lib_testsuite_parselimit-parselimit.o: lib/testsuite/parselimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_parselimit_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_parselimit-parselimit.o -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_parselimit-parselimit.Tpo -c -o lib/testsuite/lib_testsuite_parselimit-parselimit.o `test -f 'lib/testsuite/parselimit.c' || echo '$(srcdir)/'`lib/testsuite/parselimit.c +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_parselimit-parselimit.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_parselimit-parselimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/parselimit.c' object='lib/testsuite/lib_testsuite_parselimit-parselimit.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_parselimit_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_parselimit-parselimit.o `test -f 'lib/testsuite/parselimit.c' || echo '$(srcdir)/'`lib/testsuite/parselimit.c + +lib/testsuite/lib_testsuite_parselimit-parselimit.obj: lib/testsuite/parselimit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_parselimit_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_parselimit-parselimit.obj -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_parselimit-parselimit.Tpo -c -o lib/testsuite/lib_testsuite_parselimit-parselimit.obj `if test -f 'lib/testsuite/parselimit.c'; then $(CYGPATH_W) 'lib/testsuite/parselimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/parselimit.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_parselimit-parselimit.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_parselimit-parselimit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/parselimit.c' object='lib/testsuite/lib_testsuite_parselimit-parselimit.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_parselimit_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_parselimit-parselimit.obj `if test -f 'lib/testsuite/parselimit.c'; then $(CYGPATH_W) 'lib/testsuite/parselimit.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/parselimit.c'; fi` + +lib/testsuite/lib_testsuite_personality-personality.o: lib/testsuite/personality.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_personality_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_personality-personality.o -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_personality-personality.Tpo -c -o lib/testsuite/lib_testsuite_personality-personality.o `test -f 'lib/testsuite/personality.c' || echo '$(srcdir)/'`lib/testsuite/personality.c +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_personality-personality.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_personality-personality.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/personality.c' object='lib/testsuite/lib_testsuite_personality-personality.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_personality_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_personality-personality.o `test -f 'lib/testsuite/personality.c' || echo '$(srcdir)/'`lib/testsuite/personality.c + +lib/testsuite/lib_testsuite_personality-personality.obj: lib/testsuite/personality.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_personality_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib/testsuite/lib_testsuite_personality-personality.obj -MD -MP -MF lib/testsuite/$(DEPDIR)/lib_testsuite_personality-personality.Tpo -c -o lib/testsuite/lib_testsuite_personality-personality.obj `if test -f 'lib/testsuite/personality.c'; then $(CYGPATH_W) 'lib/testsuite/personality.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/personality.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib/testsuite/$(DEPDIR)/lib_testsuite_personality-personality.Tpo lib/testsuite/$(DEPDIR)/lib_testsuite_personality-personality.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib/testsuite/personality.c' object='lib/testsuite/lib_testsuite_personality-personality.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_testsuite_personality_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib/testsuite/lib_testsuite_personality-personality.obj `if test -f 'lib/testsuite/personality.c'; then $(CYGPATH_W) 'lib/testsuite/personality.c'; else $(CYGPATH_W) '$(srcdir)/lib/testsuite/personality.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.o: lib_internal/testsuite/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto-crypto.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.o `test -f 'lib_internal/testsuite/crypto.c' || echo '$(srcdir)/'`lib_internal/testsuite/crypto.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto-crypto.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/crypto.c' object='lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.o `test -f 'lib_internal/testsuite/crypto.c' || echo '$(srcdir)/'`lib_internal/testsuite/crypto.c + +lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.obj: lib_internal/testsuite/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto-crypto.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.obj `if test -f 'lib_internal/testsuite/crypto.c'; then $(CYGPATH_W) 'lib_internal/testsuite/crypto.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/crypto.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto-crypto.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/crypto.c' object='lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_crypto-crypto.obj `if test -f 'lib_internal/testsuite/crypto.c'; then $(CYGPATH_W) 'lib_internal/testsuite/crypto.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/crypto.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.o: lib_internal/testsuite/crypto-speed.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_speed_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto_speed-crypto-speed.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.o `test -f 'lib_internal/testsuite/crypto-speed.c' || echo '$(srcdir)/'`lib_internal/testsuite/crypto-speed.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto_speed-crypto-speed.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto_speed-crypto-speed.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/crypto-speed.c' object='lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_speed_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.o `test -f 'lib_internal/testsuite/crypto-speed.c' || echo '$(srcdir)/'`lib_internal/testsuite/crypto-speed.c + +lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.obj: lib_internal/testsuite/crypto-speed.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_speed_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto_speed-crypto-speed.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.obj `if test -f 'lib_internal/testsuite/crypto-speed.c'; then $(CYGPATH_W) 'lib_internal/testsuite/crypto-speed.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/crypto-speed.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto_speed-crypto-speed.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_crypto_speed-crypto-speed.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/crypto-speed.c' object='lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_internal_testsuite_crypto_speed_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_crypto_speed-crypto-speed.obj `if test -f 'lib_internal/testsuite/crypto-speed.c'; then $(CYGPATH_W) 'lib_internal/testsuite/crypto-speed.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/crypto-speed.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.o: lib_internal/testsuite/isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber-isnumber.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.o `test -f 'lib_internal/testsuite/isnumber.c' || echo '$(srcdir)/'`lib_internal/testsuite/isnumber.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber-isnumber.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/isnumber.c' object='lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.o `test -f 'lib_internal/testsuite/isnumber.c' || echo '$(srcdir)/'`lib_internal/testsuite/isnumber.c + +lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.obj: lib_internal/testsuite/isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber-isnumber.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.obj `if test -f 'lib_internal/testsuite/isnumber.c'; then $(CYGPATH_W) 'lib_internal/testsuite/isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/isnumber.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber-isnumber.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/isnumber.c' object='lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber-isnumber.obj `if test -f 'lib_internal/testsuite/isnumber.c'; then $(CYGPATH_W) 'lib_internal/testsuite/isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/isnumber.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.o: lib_internal/testsuite/isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber_gnu-isnumber.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.o `test -f 'lib_internal/testsuite/isnumber.c' || echo '$(srcdir)/'`lib_internal/testsuite/isnumber.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber_gnu-isnumber.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber_gnu-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/isnumber.c' object='lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.o `test -f 'lib_internal/testsuite/isnumber.c' || echo '$(srcdir)/'`lib_internal/testsuite/isnumber.c + +lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.obj: lib_internal/testsuite/isnumber.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber_gnu-isnumber.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.obj `if test -f 'lib_internal/testsuite/isnumber.c'; then $(CYGPATH_W) 'lib_internal/testsuite/isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/isnumber.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber_gnu-isnumber.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_isnumber_gnu-isnumber.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/isnumber.c' object='lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_isnumber_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_isnumber_gnu-isnumber.obj `if test -f 'lib_internal/testsuite/isnumber.c'; then $(CYGPATH_W) 'lib_internal/testsuite/isnumber.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/isnumber.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.o: lib_internal/testsuite/matchlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist-matchlist.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.o `test -f 'lib_internal/testsuite/matchlist.c' || echo '$(srcdir)/'`lib_internal/testsuite/matchlist.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist-matchlist.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist-matchlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/matchlist.c' object='lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.o `test -f 'lib_internal/testsuite/matchlist.c' || echo '$(srcdir)/'`lib_internal/testsuite/matchlist.c + +lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.obj: lib_internal/testsuite/matchlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist-matchlist.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.obj `if test -f 'lib_internal/testsuite/matchlist.c'; then $(CYGPATH_W) 'lib_internal/testsuite/matchlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/matchlist.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist-matchlist.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist-matchlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/matchlist.c' object='lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist-matchlist.obj `if test -f 'lib_internal/testsuite/matchlist.c'; then $(CYGPATH_W) 'lib_internal/testsuite/matchlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/matchlist.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.o: lib_internal/testsuite/matchlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist_gnu-matchlist.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.o `test -f 'lib_internal/testsuite/matchlist.c' || echo '$(srcdir)/'`lib_internal/testsuite/matchlist.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist_gnu-matchlist.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist_gnu-matchlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/matchlist.c' object='lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.o `test -f 'lib_internal/testsuite/matchlist.c' || echo '$(srcdir)/'`lib_internal/testsuite/matchlist.c + +lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.obj: lib_internal/testsuite/matchlist.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist_gnu-matchlist.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.obj `if test -f 'lib_internal/testsuite/matchlist.c'; then $(CYGPATH_W) 'lib_internal/testsuite/matchlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/matchlist.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist_gnu-matchlist.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_matchlist_gnu-matchlist.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/matchlist.c' object='lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_matchlist_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_matchlist_gnu-matchlist.obj `if test -f 'lib_internal/testsuite/matchlist.c'; then $(CYGPATH_W) 'lib_internal/testsuite/matchlist.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/matchlist.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.o: lib_internal/testsuite/sigbus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus-sigbus.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.o `test -f 'lib_internal/testsuite/sigbus.c' || echo '$(srcdir)/'`lib_internal/testsuite/sigbus.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus-sigbus.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus-sigbus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/sigbus.c' object='lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.o `test -f 'lib_internal/testsuite/sigbus.c' || echo '$(srcdir)/'`lib_internal/testsuite/sigbus.c + +lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.obj: lib_internal/testsuite/sigbus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus-sigbus.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.obj `if test -f 'lib_internal/testsuite/sigbus.c'; then $(CYGPATH_W) 'lib_internal/testsuite/sigbus.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/sigbus.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus-sigbus.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus-sigbus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/sigbus.c' object='lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus-sigbus.obj `if test -f 'lib_internal/testsuite/sigbus.c'; then $(CYGPATH_W) 'lib_internal/testsuite/sigbus.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/sigbus.c'; fi` + +lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.o: lib_internal/testsuite/sigbus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.o -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus_gnu-sigbus.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.o `test -f 'lib_internal/testsuite/sigbus.c' || echo '$(srcdir)/'`lib_internal/testsuite/sigbus.c +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus_gnu-sigbus.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus_gnu-sigbus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/sigbus.c' object='lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.o `test -f 'lib_internal/testsuite/sigbus.c' || echo '$(srcdir)/'`lib_internal/testsuite/sigbus.c + +lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.obj: lib_internal/testsuite/sigbus.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.obj -MD -MP -MF lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus_gnu-sigbus.Tpo -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.obj `if test -f 'lib_internal/testsuite/sigbus.c'; then $(CYGPATH_W) 'lib_internal/testsuite/sigbus.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/sigbus.c'; fi` +@am__fastdepCC_TRUE@ mv -f lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus_gnu-sigbus.Tpo lib_internal/testsuite/$(DEPDIR)/lib_internal_testsuite_sigbus_gnu-sigbus.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='lib_internal/testsuite/sigbus.c' object='lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib_internal_testsuite_sigbus_gnu_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o lib_internal/testsuite/lib_internal_testsuite_sigbus_gnu-sigbus.obj `if test -f 'lib_internal/testsuite/sigbus.c'; then $(CYGPATH_W) 'lib_internal/testsuite/sigbus.c'; else $(CYGPATH_W) '$(srcdir)/lib_internal/testsuite/sigbus.c'; fi` + +src/testsuite/src_testsuite_hashcalc-hashcalc.o: src/testsuite/hashcalc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_CFLAGS) $(CFLAGS) -MT src/testsuite/src_testsuite_hashcalc-hashcalc.o -MD -MP -MF src/testsuite/$(DEPDIR)/src_testsuite_hashcalc-hashcalc.Tpo -c -o src/testsuite/src_testsuite_hashcalc-hashcalc.o `test -f 'src/testsuite/hashcalc.c' || echo '$(srcdir)/'`src/testsuite/hashcalc.c +@am__fastdepCC_TRUE@ mv -f src/testsuite/$(DEPDIR)/src_testsuite_hashcalc-hashcalc.Tpo src/testsuite/$(DEPDIR)/src_testsuite_hashcalc-hashcalc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/testsuite/hashcalc.c' object='src/testsuite/src_testsuite_hashcalc-hashcalc.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_CFLAGS) $(CFLAGS) -c -o src/testsuite/src_testsuite_hashcalc-hashcalc.o `test -f 'src/testsuite/hashcalc.c' || echo '$(srcdir)/'`src/testsuite/hashcalc.c + +src/testsuite/src_testsuite_hashcalc-hashcalc.obj: src/testsuite/hashcalc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_CFLAGS) $(CFLAGS) -MT src/testsuite/src_testsuite_hashcalc-hashcalc.obj -MD -MP -MF src/testsuite/$(DEPDIR)/src_testsuite_hashcalc-hashcalc.Tpo -c -o src/testsuite/src_testsuite_hashcalc-hashcalc.obj `if test -f 'src/testsuite/hashcalc.c'; then $(CYGPATH_W) 'src/testsuite/hashcalc.c'; else $(CYGPATH_W) '$(srcdir)/src/testsuite/hashcalc.c'; fi` +@am__fastdepCC_TRUE@ mv -f src/testsuite/$(DEPDIR)/src_testsuite_hashcalc-hashcalc.Tpo src/testsuite/$(DEPDIR)/src_testsuite_hashcalc-hashcalc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/testsuite/hashcalc.c' object='src/testsuite/src_testsuite_hashcalc-hashcalc.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_CFLAGS) $(CFLAGS) -c -o src/testsuite/src_testsuite_hashcalc-hashcalc.obj `if test -f 'src/testsuite/hashcalc.c'; then $(CYGPATH_W) 'src/testsuite/hashcalc.c'; else $(CYGPATH_W) '$(srcdir)/src/testsuite/hashcalc.c'; fi` + +src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.o: src/testsuite/hashcalc-plain.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_plain_CFLAGS) $(CFLAGS) -MT src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.o -MD -MP -MF src/testsuite/$(DEPDIR)/src_testsuite_hashcalc_plain-hashcalc-plain.Tpo -c -o src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.o `test -f 'src/testsuite/hashcalc-plain.c' || echo '$(srcdir)/'`src/testsuite/hashcalc-plain.c +@am__fastdepCC_TRUE@ mv -f src/testsuite/$(DEPDIR)/src_testsuite_hashcalc_plain-hashcalc-plain.Tpo src/testsuite/$(DEPDIR)/src_testsuite_hashcalc_plain-hashcalc-plain.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/testsuite/hashcalc-plain.c' object='src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_plain_CFLAGS) $(CFLAGS) -c -o src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.o `test -f 'src/testsuite/hashcalc-plain.c' || echo '$(srcdir)/'`src/testsuite/hashcalc-plain.c + +src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.obj: src/testsuite/hashcalc-plain.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_plain_CFLAGS) $(CFLAGS) -MT src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.obj -MD -MP -MF src/testsuite/$(DEPDIR)/src_testsuite_hashcalc_plain-hashcalc-plain.Tpo -c -o src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.obj `if test -f 'src/testsuite/hashcalc-plain.c'; then $(CYGPATH_W) 'src/testsuite/hashcalc-plain.c'; else $(CYGPATH_W) '$(srcdir)/src/testsuite/hashcalc-plain.c'; fi` +@am__fastdepCC_TRUE@ mv -f src/testsuite/$(DEPDIR)/src_testsuite_hashcalc_plain-hashcalc-plain.Tpo src/testsuite/$(DEPDIR)/src_testsuite_hashcalc_plain-hashcalc-plain.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/testsuite/hashcalc-plain.c' object='src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_testsuite_hashcalc_plain_CFLAGS) $(CFLAGS) -c -o src/testsuite/src_testsuite_hashcalc_plain-hashcalc-plain.obj `if test -f 'src/testsuite/hashcalc-plain.c'; then $(CYGPATH_W) 'src/testsuite/hashcalc-plain.c'; else $(CYGPATH_W) '$(srcdir)/src/testsuite/hashcalc-plain.c'; fi` + +src/testsuite/src_testsuite_vunify_functest-vunify-functest.o: src/testsuite/vunify-functest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_testsuite_vunify_functest_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/testsuite/src_testsuite_vunify_functest-vunify-functest.o -MD -MP -MF src/testsuite/$(DEPDIR)/src_testsuite_vunify_functest-vunify-functest.Tpo -c -o src/testsuite/src_testsuite_vunify_functest-vunify-functest.o `test -f 'src/testsuite/vunify-functest.c' || echo '$(srcdir)/'`src/testsuite/vunify-functest.c +@am__fastdepCC_TRUE@ mv -f src/testsuite/$(DEPDIR)/src_testsuite_vunify_functest-vunify-functest.Tpo src/testsuite/$(DEPDIR)/src_testsuite_vunify_functest-vunify-functest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/testsuite/vunify-functest.c' object='src/testsuite/src_testsuite_vunify_functest-vunify-functest.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_testsuite_vunify_functest_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/testsuite/src_testsuite_vunify_functest-vunify-functest.o `test -f 'src/testsuite/vunify-functest.c' || echo '$(srcdir)/'`src/testsuite/vunify-functest.c + +src/testsuite/src_testsuite_vunify_functest-vunify-functest.obj: src/testsuite/vunify-functest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_testsuite_vunify_functest_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/testsuite/src_testsuite_vunify_functest-vunify-functest.obj -MD -MP -MF src/testsuite/$(DEPDIR)/src_testsuite_vunify_functest-vunify-functest.Tpo -c -o src/testsuite/src_testsuite_vunify_functest-vunify-functest.obj `if test -f 'src/testsuite/vunify-functest.c'; then $(CYGPATH_W) 'src/testsuite/vunify-functest.c'; else $(CYGPATH_W) '$(srcdir)/src/testsuite/vunify-functest.c'; fi` +@am__fastdepCC_TRUE@ mv -f src/testsuite/$(DEPDIR)/src_testsuite_vunify_functest-vunify-functest.Tpo src/testsuite/$(DEPDIR)/src_testsuite_vunify_functest-vunify-functest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/testsuite/vunify-functest.c' object='src/testsuite/src_testsuite_vunify_functest-vunify-functest.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_testsuite_vunify_functest_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/testsuite/src_testsuite_vunify_functest-vunify-functest.obj `if test -f 'src/testsuite/vunify-functest.c'; then $(CYGPATH_W) 'src/testsuite/vunify-functest.c'; else $(CYGPATH_W) '$(srcdir)/src/testsuite/vunify-functest.c'; fi` + +src/src_vhashify-vhashify.o: src/vhashify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_vhashify_CFLAGS) $(CFLAGS) -MT src/src_vhashify-vhashify.o -MD -MP -MF src/$(DEPDIR)/src_vhashify-vhashify.Tpo -c -o src/src_vhashify-vhashify.o `test -f 'src/vhashify.c' || echo '$(srcdir)/'`src/vhashify.c +@am__fastdepCC_TRUE@ mv -f src/$(DEPDIR)/src_vhashify-vhashify.Tpo src/$(DEPDIR)/src_vhashify-vhashify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/vhashify.c' object='src/src_vhashify-vhashify.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_vhashify_CFLAGS) $(CFLAGS) -c -o src/src_vhashify-vhashify.o `test -f 'src/vhashify.c' || echo '$(srcdir)/'`src/vhashify.c + +src/src_vhashify-vhashify.obj: src/vhashify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_vhashify_CFLAGS) $(CFLAGS) -MT src/src_vhashify-vhashify.obj -MD -MP -MF src/$(DEPDIR)/src_vhashify-vhashify.Tpo -c -o src/src_vhashify-vhashify.obj `if test -f 'src/vhashify.c'; then $(CYGPATH_W) 'src/vhashify.c'; else $(CYGPATH_W) '$(srcdir)/src/vhashify.c'; fi` +@am__fastdepCC_TRUE@ mv -f src/$(DEPDIR)/src_vhashify-vhashify.Tpo src/$(DEPDIR)/src_vhashify-vhashify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/vhashify.c' object='src/src_vhashify-vhashify.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_vhashify_CFLAGS) $(CFLAGS) -c -o src/src_vhashify-vhashify.obj `if test -f 'src/vhashify.c'; then $(CYGPATH_W) 'src/vhashify.c'; else $(CYGPATH_W) '$(srcdir)/src/vhashify.c'; fi` + +src/src_vkill-vkill.o: src/vkill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_vkill_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/src_vkill-vkill.o -MD -MP -MF src/$(DEPDIR)/src_vkill-vkill.Tpo -c -o src/src_vkill-vkill.o `test -f 'src/vkill.c' || echo '$(srcdir)/'`src/vkill.c +@am__fastdepCC_TRUE@ mv -f src/$(DEPDIR)/src_vkill-vkill.Tpo src/$(DEPDIR)/src_vkill-vkill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/vkill.c' object='src/src_vkill-vkill.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_vkill_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/src_vkill-vkill.o `test -f 'src/vkill.c' || echo '$(srcdir)/'`src/vkill.c + +src/src_vkill-vkill.obj: src/vkill.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_vkill_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/src_vkill-vkill.obj -MD -MP -MF src/$(DEPDIR)/src_vkill-vkill.Tpo -c -o src/src_vkill-vkill.obj `if test -f 'src/vkill.c'; then $(CYGPATH_W) 'src/vkill.c'; else $(CYGPATH_W) '$(srcdir)/src/vkill.c'; fi` +@am__fastdepCC_TRUE@ mv -f src/$(DEPDIR)/src_vkill-vkill.Tpo src/$(DEPDIR)/src_vkill-vkill.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='src/vkill.c' object='src/src_vkill-vkill.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(src_vkill_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/src_vkill-vkill.obj `if test -f 'src/vkill.c'; then $(CYGPATH_W) 'src/vkill.c'; else $(CYGPATH_W) '$(srcdir)/src/vkill.c'; fi` + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf ensc_fmt/.libs ensc_fmt/_libs + -rm -rf ensc_vector/testsuite/.libs ensc_vector/testsuite/_libs + -rm -rf lib/.libs lib/_libs + -rm -rf lib/testsuite/.libs lib/testsuite/_libs + -rm -rf lib_internal/testsuite/.libs lib_internal/testsuite/_libs + -rm -rf python/.libs python/_libs + -rm -rf src/.libs src/_libs + -rm -rf src/testsuite/.libs src/testsuite/_libs + -rm -rf tests/.libs tests/_libs + +distclean-libtool: + -rm -f libtool +install-man8: $(man8_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.8*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ + else file=$$i; fi; \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + case "$$ext" in \ + 8*) ;; \ + *) ext='8' ;; \ + esac; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \ + done +uninstall-man8: + @$(NORMAL_UNINSTALL) + @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \ + l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ + for i in $$l2; do \ + case "$$i" in \ + *.8*) list="$$list $$i" ;; \ + esac; \ + done; \ + for i in $$list; do \ + ext=`echo $$i | sed -e 's/^.*\\.//'`; \ + case "$$ext" in \ + 8*) ;; \ + *) ext='8' ;; \ + esac; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ + inst=`echo $$inst | sed -e 's/^.*\///'`; \ + inst=`echo $$inst | sed '$(transform)'`.$$ext; \ + echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \ + rm -f "$(DESTDIR)$(man8dir)/$$inst"; \ + done +install-pkgconfDATA: $(pkgconf_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfdir)" + @list='$(pkgconf_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkgconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfdir)/$$f'"; \ + $(pkgconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfdir)/$$f"; \ + done + +uninstall-pkgconfDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconf_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkgconfdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkgconfdir)/$$f"; \ + done +install-pkglibDATA: $(pkglib_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" + @list='$(pkglib_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(pkglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(pkglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +uninstall-pkglibDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done +install-sysconfDATA: $(sysconf_DATA) + @$(NORMAL_INSTALL) + test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" + @list='$(sysconf_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ + $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ + done + +uninstall-sysconfDATA: + @$(NORMAL_UNINSTALL) + @list='$(sysconf_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(sysconfdir)/$$f'"; \ + rm -f "$(DESTDIR)$(sysconfdir)/$$f"; \ + done +install-includeHEADERS: $(include_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" + @list='$(include_HEADERS)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ + $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ + done + +uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(include_HEADERS)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ + rm -f "$(DESTDIR)$(includedir)/$$f"; \ + done + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + echo "XPASS: $$tst"; \ + ;; \ + *) \ + echo "PASS: $$tst"; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *$$ws$$tst$$ws*) \ + xfail=`expr $$xfail + 1`; \ + echo "XFAIL: $$tst"; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + echo "FAIL: $$tst"; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + echo "SKIP: $$tst"; \ + fi; \ + done; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="All $$all tests passed"; \ + else \ + banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all tests failed"; \ + else \ + banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + skipped="($$skip tests were not run)"; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + echo "$$dashes"; \ + echo "$$banner"; \ + test -z "$$skipped" || echo "$$skipped"; \ + test -z "$$report" || echo "$$report"; \ + echo "$$dashes"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d $(distdir) || mkdir $(distdir) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS) + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-recursive +all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) \ + $(MANS) $(DATA) $(HEADERS) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(pyexecdir)" "$(DESTDIR)$(legacydir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(initrddir)" "$(DESTDIR)$(legacydir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(pkgconfdir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(sysconfdir)" "$(DESTDIR)$(includedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -rm -f ensc_fmt/$(DEPDIR)/$(am__dirstamp) + -rm -f ensc_fmt/$(am__dirstamp) + -rm -f ensc_vector/$(DEPDIR)/$(am__dirstamp) + -rm -f ensc_vector/$(am__dirstamp) + -rm -f ensc_vector/testsuite/$(DEPDIR)/$(am__dirstamp) + -rm -f ensc_vector/testsuite/$(am__dirstamp) + -rm -f lib/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/$(am__dirstamp) + -rm -f lib/testsuite/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/testsuite/$(am__dirstamp) + -rm -f lib_internal/$(DEPDIR)/$(am__dirstamp) + -rm -f lib_internal/$(am__dirstamp) + -rm -f lib_internal/testsuite/$(DEPDIR)/$(am__dirstamp) + -rm -f lib_internal/testsuite/$(am__dirstamp) + -rm -f python/$(DEPDIR)/$(am__dirstamp) + -rm -f python/$(am__dirstamp) + -rm -f src/$(DEPDIR)/$(am__dirstamp) + -rm -f src/$(am__dirstamp) + -rm -f src/testsuite/$(DEPDIR)/$(am__dirstamp) + -rm -f src/testsuite/$(am__dirstamp) + -rm -f tests/$(DEPDIR)/$(am__dirstamp) + -rm -f tests/$(am__dirstamp) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-recursive + +clean-am: clean-checkPROGRAMS clean-generic clean-legacyPROGRAMS \ + clean-libLIBRARIES clean-libLTLIBRARIES clean-libtool \ + clean-local clean-noinstLIBRARIES clean-noinstPROGRAMS \ + clean-pkglibLTLIBRARIES clean-pkglibPROGRAMS \ + clean-pyexecLTLIBRARIES clean-sbinPROGRAMS mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf ./$(DEPDIR) ensc_fmt/$(DEPDIR) ensc_vector/$(DEPDIR) ensc_vector/testsuite/$(DEPDIR) lib/$(DEPDIR) lib/testsuite/$(DEPDIR) lib_internal/$(DEPDIR) lib_internal/testsuite/$(DEPDIR) python/$(DEPDIR) src/$(DEPDIR) src/testsuite/$(DEPDIR) tests/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-hdr distclean-libtool distclean-local distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: install-includeHEADERS install-initrdSCRIPTS \ + install-legacyPROGRAMS install-legacySCRIPTS install-man \ + install-pkgconfDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook + +install-dvi: install-dvi-recursive + +install-exec-am: install-libLIBRARIES install-libLTLIBRARIES \ + install-pkglibDATA install-pkglibLTLIBRARIES \ + install-pkglibPROGRAMS install-pkglibSCRIPTS \ + install-pyexecLTLIBRARIES install-sbinPROGRAMS \ + install-sbinSCRIPTS install-sysconfDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook + +install-html: install-html-recursive + +install-info: install-info-recursive + +install-man: install-man8 + +install-pdf: install-pdf-recursive + +install-ps: install-ps-recursive + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf ./$(DEPDIR) ensc_fmt/$(DEPDIR) ensc_vector/$(DEPDIR) ensc_vector/testsuite/$(DEPDIR) lib/$(DEPDIR) lib/testsuite/$(DEPDIR) lib_internal/$(DEPDIR) lib_internal/testsuite/$(DEPDIR) python/$(DEPDIR) src/$(DEPDIR) src/testsuite/$(DEPDIR) tests/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-includeHEADERS uninstall-initrdSCRIPTS \ + uninstall-legacyPROGRAMS uninstall-legacySCRIPTS \ + uninstall-libLIBRARIES uninstall-libLTLIBRARIES uninstall-man \ + uninstall-pkgconfDATA uninstall-pkglibDATA \ + uninstall-pkglibLTLIBRARIES uninstall-pkglibPROGRAMS \ + uninstall-pkglibSCRIPTS uninstall-pyexecLTLIBRARIES \ + uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS \ + uninstall-sysconfDATA + +uninstall-man: uninstall-man8 + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \ + install-data-am install-exec-am install-strip + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-TESTS check-am clean \ + clean-checkPROGRAMS clean-generic clean-legacyPROGRAMS \ + clean-libLIBRARIES clean-libLTLIBRARIES clean-libtool \ + clean-local clean-noinstLIBRARIES clean-noinstPROGRAMS \ + clean-pkglibLTLIBRARIES clean-pkglibPROGRAMS \ + clean-pyexecLTLIBRARIES clean-sbinPROGRAMS ctags \ + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-lzma \ + dist-shar dist-tarZ dist-zip distcheck distclean \ + distclean-compile distclean-generic distclean-hdr \ + distclean-libtool distclean-local distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data-hook install-dvi install-dvi-am \ + install-exec install-exec-am install-exec-hook install-html \ + install-html-am install-includeHEADERS install-info \ + install-info-am install-initrdSCRIPTS install-legacyPROGRAMS \ + install-legacySCRIPTS install-libLIBRARIES \ + install-libLTLIBRARIES install-man install-man8 install-pdf \ + install-pdf-am install-pkgconfDATA install-pkglibDATA \ + install-pkglibLTLIBRARIES install-pkglibPROGRAMS \ + install-pkglibSCRIPTS install-ps install-ps-am \ + install-pyexecLTLIBRARIES install-sbinPROGRAMS \ + install-sbinSCRIPTS install-strip install-sysconfDATA \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ + uninstall-includeHEADERS uninstall-initrdSCRIPTS \ + uninstall-legacyPROGRAMS uninstall-legacySCRIPTS \ + uninstall-libLIBRARIES uninstall-libLTLIBRARIES uninstall-man \ + uninstall-man8 uninstall-pkgconfDATA uninstall-pkglibDATA \ + uninstall-pkglibLTLIBRARIES uninstall-pkglibPROGRAMS \ + uninstall-pkglibSCRIPTS uninstall-pyexecLTLIBRARIES \ + uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS \ + uninstall-sysconfDATA + + +silent.%: FORCE + @t=$$($(MKTEMP) -d /tmp/build.XXXXXX) && \ + trap "rm -rf $$t" EXIT && \ + mkfifo $$t/fifo && \ + ( grep --line-buffered -v \ + -e ': In function' \ + -e 'your code still has assertions enabled' \ + -e ' is obsoleted' \ + -e 'warning: #warning' <$$t/fifo & ) && \ + exec 2>$$t/fifo && \ + $(MAKE) '$*' -s >/dev/null + +pathconfig.h: .pathconfig.h.pathsubst.stamp +.%.pathsubst.stamp: %.pathsubst Makefile + @mkdir -p $$(dirname '$@') + @echo "$(SED) -e '...' $*.pathsubst >$*" + @$(SED) -e '$(pathsubst_RULES)' '$<' >'$@.tmp' + @-chmod --reference='$<' '$@.tmp' + @if cmp -s '$@.tmp' '$*'; then \ + echo "... no changes, reusing old version"; \ + rm -f '$@.tmp'; \ + else \ + rm -f '$*'; mv '$@.tmp' '$*'; \ + fi + @chmod a-w '$*' + @touch '$@' + +update-doc: doc + $(top_srcdir)/update-doc + +install-data-hook: install-fix-script-paths install-create-dirs + +install-create-dirs: + $(mkinstalldirs) -m 0755 $(DESTDIR)$(pkgstatedir) $(DESTDIR)$(pkgstatedir).rev $(DESTDIR)$(vshelperstatedir) + $(mkinstalldirs) -m 0700 $(DESTDIR)$(pkgcachedir) + $(mkinstalldirs) -m 0755 $(DESTDIR)$(confdefaultsdir) + f=$(DESTDIR)$(confdefaultsdir)/vdirbase; test -e "$$f" || ln -sf '$(vserverdir)' "$$f" + f=$(DESTDIR)$(confdefaultsdir)/cachebase; test -e "$$f" || ln -sf '$(pkgcachedir)' "$$f" + f=$(DESTDIR)$(pkgstaterevdir); test -e "$$f" || ln -sf '$(pkgstatedir).rev' "$$f" + +install-fix-script-paths: + test "/usr/lib/util-vserver" = "$(pkglibdir)" || \ + for i in $(fix_SCRPTS); do \ + f="$(DESTDIR)$$i"; \ + $(SED) -e 's!/usr/lib/util-vserver!$(pkglibdir)!g' "$$f" >"$$f.tmp"; \ + $(CMP) -s "$$f.tmp" "$$f" || cat "$$f.tmp" >"$$f"; \ + rm -f "$$f.tmp"; \ + done + +install-distribution: _install-vserverdir _install-vshelperlink + +_install-vshelperlink: + $(mkinstalldirs) $(DESTDIR)/sbin + ln -sf ..$(pkglibdir)/vshelper $(DESTDIR)/sbin/vshelper + +_install-vserverdir: + $(mkinstalldirs) $(DESTDIR)$(vserverdir) $(DESTDIR)$(vserverpkgdir) + +.fixups: config.status util-vserver.spec + chmod a-w util-vserver.spec + touch $@ + +@USE_DIETLIBC_TRUE@$(addsuffix $(EXEEXT), $(DIETPROGS)) \ +@USE_DIETLIBC_TRUE@$(addsuffix $(OBJEXT), $(DIETPROGS)) \ +@USE_DIETLIBC_TRUE@ : CC=$(DIET_CC) + +doc: lib/apidoc/.apidoc +clean-local: clean_lib_apidoc + +clean_lib_apidoc: + -rm -rf lib/apidoc/html lib/apidoc/latex lib/apidoc/man + +lib/apidoc/.apidoc: lib/apidoc/Doxyfile lib/vserver.h lib/internal.h + -rm -rf lib/apidoc/html lib/apidoc/latex lib/apidoc/man + cd "$$(dirname '$<')" && $(DOXYGEN) "$$(basename '$<')" + $(MAKE) -j1 -C lib/apidoc/latex + touch '$@' + +install-exec-hook: src_install_exec_hook + +src_install_exec_hook: + -rm -f $(DESTDIR)$(pkglibdir)/rpm-fake.a $(DESTDIR)$(pkglibdir)/rpm-fake.la + +clean-local: clean-testsuite + +clean-testsuite: + rm -rf src/testsuite/.libs src/testsuite/_libs + +doc/configuration.html: STYLESHEET=$(srcdir)/doc/configuration-xhtml.xsl +doc/configuration.html: $(srcdir)/doc/configuration-xhtml.xsl + +doc/compatibility.html: STYLESHEET=$(srcdir)/doc/compatibility-xhtml.xsl +doc/compatibility.html: $(srcdir)/doc/compatibility-xhtml.xsl + +doc: doc_doc +doc_doc: $(doc_gen_DOCS) +@HAVE_XSLTP_TRUE@%.html: %.xml $(STYLESHEET) +@HAVE_XSLTP_TRUE@ @-rm -f '$@.tmp' '$@' +@HAVE_XSLTP_TRUE@ LANG=C $(XSLTP) $(XSLTP_AMFLAGS) -in '$<' -xsl $(STYLESHEET) -out '$@.tmp' +@HAVE_XSLTP_TRUE@ @mv -f '$@.tmp' '$@' +@HAVE_XSLTPROC_TRUE@@HAVE_XSLTP_FALSE@%.html: %.xml $(STYLESHEET) +@HAVE_XSLTPROC_TRUE@@HAVE_XSLTP_FALSE@ @-rm -f '$@.tmp' '$@' +@HAVE_XSLTPROC_TRUE@@HAVE_XSLTP_FALSE@ $(XSLTPROC) $(XSLT_FLAGS) $(XSLT_AMFLAGS) -o '$@.tmp' "$(STYLESHEET)" "$<" +@HAVE_XSLTPROC_TRUE@@HAVE_XSLTP_FALSE@ @mv -f '$@.tmp' '$@' + +man/vserver-build.8: man/.vserver-build.8.pathsubst.stamp + +scripts/util-vserver-vars: scripts/.util-vserver-vars.pathsubst.stamp +scripts/legacy/vps: scripts/legacy/.vps.pathsubst.stamp + +sysv/%: sysv/%.subst + @mkdir -p $$(dirname '$@') + sed -e '$(sysv_SUBSTRULE)' '$<' >'$@.tmp' + @rm -f '$@' + @if cmp -s '$<' '$@.tmp'; then \ + cp -p '$<' '$@'; \ + else \ + mv -f '$@.tmp' '$@'; \ + fi + @rm -f '$@.tmp' + @chmod a-w '$@' + +contrib/manifest.dat: contrib/.manifest.dat.pathsubst.stamp + +# FIXME: Dude, this is ugly. +@HAVE_PYTHON_TRUE@python/_libvserver.c: $(top_builddir)/python/_libvserver-constants.c +@HAVE_PYTHON_TRUE@$(top_builddir)/python/_libvserver-constants.c: lib/vserver.h \ +@HAVE_PYTHON_TRUE@ $(top_srcdir)/python/ctags-constants.awk +@HAVE_PYTHON_TRUE@ $(CTAGS) -x $(top_srcdir)/lib/vserver.h | \ +@HAVE_PYTHON_TRUE@ $(AWK) -f $(top_srcdir)/python/ctags-constants.awk \ +@HAVE_PYTHON_TRUE@ > $(top_builddir)/python/_libvserver-constants.c + +gpgsig: + gpgkey=$(GPG_KEY); \ + gpg $${gpgkey:+--default-key "$$gpgkey"} --armor --detach-sign $(distdir).tar.bz2 + +$(BUILT_SOURCES) config.h: .X$(subst /,_,$(sysconfdir))-up-to-date + +distclean-local: distclean-uptodate + +distclean-uptodate: + @rm -f .*-up-to-date + +.%-up-to-date: + @rm -f .*-up-to-date + @$(MAKE) -s clean + @touch -t 197001020000 '$@' + @$(MAKE) -s $(BUILT_SOURCES) + +ChangeLog.sed: + test "$(srcdir)" != "." + +@HAVE_SVN2CL_TRUE@ChangeLog: Makefile +@HAVE_SVN2CL_TRUE@ if test "$(srcdir)" = "." -a -d .svn; then \ +@HAVE_SVN2CL_TRUE@ $(SVN2CL) $(SVN2CL_ALLFLAGS) -o $@; \ +@HAVE_SVN2CL_TRUE@ fi + +.PHONY: ChangeLog + +%.pc: %.pc.subst Makefile + rm -f $@ + @case '$(libdir)' in \ + $(BAD_LIB_PATHS)) libflags=;; \ + *) libflags='-L$${libdir} ';; \ + esac; \ + case '$(pkgincludedir)' in \ + $(BAD_INC_PATHS)) pkgincflags=;; \ + *) pkgincflags='-I$${pkgincludedir} ';; \ + esac; \ + case '$(includedir)' in \ + $(BAD_INC_PATHS)) incflags=;; \ + *) incflags='-I$${includedir} ';; \ + esac; \ + sed -e '$(pkgconf_SUBST)' $< >$@ + test -z "$(CHMOD_REFERENCE)" || $(CHMOD_REFERENCE) '$<' '$@' + chmod a-w $@ + +# if !ENSC_USE_DIETLIBC +# if !ENSC_USE_GLIBC +# nodist_lib_nolib_enabled_error_a_SOURCES = \ +# lib-nolib-enabled-error.c +# endif +# endif + +.PHONY: lib-glibc-not-enabled-error.a \ + lib-glibc-not-enabled-error.c \ + lib-dietlibc-not-enabled-error.a \ + lib-dietlibc-not-enabled-error.c \ + lib-nolib-enabled-error.a \ + lib-nolib-enabled-error.c + +install-exec-hook install-data-hook: install-notify-xtra + +install-notify-xtra: + @echo + @echo + @echo '***************************' + @echo '*' + @echo '* NOTE: a plain "make install" installs only the files under $$(prefix)' + @echo '* which might be insufficient. To complete the installation,' + @echo '* "make install-distribution" should be executed. See README,' + @echo '* "Notes for distributors" for details.' + @echo '*' + @echo '***************************' + @echo + @echo + +.PHONY: install-notify-xtra + +#include $(top_srcdir)/vserver-start/Makefile-files + +.PHONY: FORCE update-doc +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..84c73b5 --- /dev/null +++ b/NEWS @@ -0,0 +1,166 @@ +version 0.30.215 +================ + + - added support for using libnss instead of beecrypt for + vhashify's hash calculation. libnss has bad SHA1 performance on + i386, but is a) maintained and b) gives better performance with + all other hashes and on x86_64. + + - added tunctl, a small program to setup tun/tap interfaces, with + support in the configuration. + + - vattribute and nattribute now support a --get operation, which + parses the flags and capabilities into a human-readable form. + + - vspace supports all the spaces currently available. + + - vmemctrl controls the OOM bias of context. + + - dynamic contexts are unbroken. + + - hopefully all rpm-fake races have been fixed. + + - flock has been replaced by lockf, which works on NFS. + + - the clone build method now supports exclude lists. + + - vmount handles mounting into a guest. + + - various fixes for the Gentoo-scripts, thanks to Benedikt Böhm. + + - support for yum's persistdir has been added. + + - per-guest device maps are now supported. + + - vserver ... build now sets the barrier on the parent directory. + + - fsck is now supported for the guest's fstab. + + - symlinks are now handled on all levels in namespace cleanup. + + - the debootstrap build method now supports debootstrap 1.0.8. + + - a documentation update, thanks to Micah Anderson. + + - use numeric uids/gids for the template build method. + + - add support for the alpine and f8 distributions. + +version 0.30.214 +================ + - patches for yum-3.2. + + - various fixes to allow for *SuSE guests. + + - added Fedora 7. + + - replace file with h2ext for build -m template. + + - add exclude list support for vclone. + + - include debootstrap scripts for a lot of distributions. + + - fixes to allow the Gentoo initscripts to be used with baselayout 2. + + - remove disk limit caches on vserver ... delete. + + - added support for the new APIs in 2.2 and 2.3, in particular the + netv2 API, allowing native IPv6 support. + + - added support for a separate filesystem tag. + +version 0.30.213 +================ + - added support for the device mapping feature present in development + kernels. + + - further improved Gentoo support, again thanks to Benedikt Böhm. + + - support persistent contexts. + + - add another initscript that creates directories, configures vshelper + as well as kills all contexts. + + - new vserver-stat implementation, which uses the accounting APIs + available in Linux-VServer 2.2. + + - added support for setting sysctl values in the guest configuration. + + - added a clone build method, which simply links already unified files. + + - implement dynamic contexts in userspace, generating a static one + during vserver ... build. + + - fix the endless loop in vlogin. + + - fix Ubuntu builds. + + - improved support for Debian Etch, thanks to Benedikt Böhm. + + - added CentOS 5. + + - use the state change helper to try to cleanup after us if the guest + exited on its own. + +version 0.30.212 +================ + - support for the Linux-VServer 2.1 API has been implemented. + + - the scheduler configuration has been split up into multiple files. + + - namespace cleanup is enabled by default. This can be disabled by + touch ${sysconfdir}/vservers/.defaults/nonamespace-cleanup + + - all unset ulimits are now reset to infinity, so limits are no longer + inherited from the host. + + - much improved Gentoo support, thanks to Benedikt Böhm. + +version 0.30.211 +================ + + - novlandev is now the default. To reenable the old behaviour of + creating VLAN interfaces where used, touch + ${sysconfdir}/vservers/.defaults/interfaces/vlandev. + + - vshelper now works correctly with the kernel legacy support turned + off. + + - vlogin provides a terminal proxy which allocates a new psuedo-tty + on the inside when you enter a guest. + + - and lots of other features/fixes, see ChangeLog. + + +version 0.30.210 +================ + + - LEGACY BREAKAGE: by default, only recent kernel APIs will be + supported so you have to make sure to use at least the vs2.0.1 + kernel patch. With older kernels, you have to call 'configure' + with '--enable-apis=NOLEGACY'. Some programs will not work anymore + with the default settings; these ones are: + + + capchroot + * chcontext-context + * reducecap + + - dlimit support was integrated into the standard vserver + operations. Thanks to Daniel Hokka Zakrisson for his patch. + + - recent kernel API is now used for setting up the network + contexts. So it should be now possible to use a kernel compiled + without CONFIG_VSERVER_LEGACYNET. Thanks to Daniel Hokka Zakrisson + for his patch. . + + +version 0.30.209 +================ + + - large revamping... + + +version 0.23.6 +============== + + - fixed '--level' option on 'vserver ... chkconfig' diff --git a/README b/README new file mode 100644 index 0000000..e99e999 --- /dev/null +++ b/README @@ -0,0 +1,190 @@ +Some common notes/FAQs: +====================== + +* when vserver startup/shutdown fails, or when you get + + | Error: /proc must be mounted + + errors, make sure, that 'vprocunhide' was executed. When installing + 'util-vserver' with packagemanagement, an appropriate initscript + should be installed + +* the name of old-style vservers is shown on 2.4 kernels only; the + needed functionality is not implemented for 2.6 kernels. + + + +Some distribution specific notes: +================================= + +Red Hat 7.3, Red Hat 9, Fedora Core 1&2 +--------------------------------------- +* tested and running successfully as host and guest systems + +* it is *strongly* suggested to use the rpm packages which can be + created from the tarball with + + | $ rpmbuild -tb util-vserver-.tar.bz2 + + For distributions below Fedora Core 2, additional + + | --without dietlibc --without xalan + + flags are required for the 'rpmbuild' command. Builds on Red Hat 7.3 + will require a + + | --nodeps + + also, since 'vconfig' is not available there. Since it is required + for path-detection only and paths from RH systems will be assumed by + default, this should not be a big problem. + +* guest systems can be created with the 'apt-rpm' or 'yum' build-methods. + The first one requires the 'apt' package e.g. from http://fedora.us and + the configuration of a near mirror in + + | /etc/vservers/.distributions//apt/sources.list + + (To avoid slashdotting by the masses of util-vserver-users, there + does not exist a standard mirror). + + The 'yum' method uses the repository configuration shipped by the + fedora-release package. + +* RH/FC uses the 'sysv' initstyle which is assumed by default + +* when having existing vservers with RH 9 or Fedora Core 1, the startup + of the vserver will probably fail. You will have to add + + | true + + to etc/rc.d/rc (within the vserver root directory) + +* when having RH/FC guestsystems, it is *strongly* recommended to use + a dietlibc linked version of 'rpm-fake-resolver'. Else, package + installation with 'vrpm', 'vapt-get' or 'vyum' can fail since users + can not be resolved. + + + +Debian Woody & Sarge +-------------------- +* tested and running successfully as guest systems on FC1/FC2 hosts + +* guest systems can be created with the 'debootstrap' method. When + not already existing, the needed package will be downloaded + automatically. Since it is updated very often, it can happen + that a '404 Not found' error occurs; in this case look either + for a newer util-vserver package, or configure the new URI e.g. with + + | echo 'http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap__i386.deb' \ + | >/etc/vservers/.defaults/apps/debootstrap/uri + + You can download a local copy of this tarball also, and register it + with + + | echo '/' \ + | >/etc/vservers/.defaults/apps/debootstrap/uri + +* it is known, that warning messages will be created at startup and + shutdown of guest servers. This is non fatal and can be ignored + +* Debian guest systems are running fine with the 'sysv' initstyle; + success with 'plain' was reported also + +* no packages for Debian hosts are known at time of writing (May 2004) + + + +Gentoo +------ +* Gentoo guest systems are very complicated and are requiring lots of + modifications in the initscripts. Currently, no step-by-step guide + can be provided + +* 'sysv' initstyle is probably not working for Gentoo guests (e.g. you + will see messages about missing 'utmp' files); 'gentoo' should be + used instead of: + + | echo 'gentoo' >/etc/vservers//apps/init/style + +* there does not exist a build-method for Gentoo guests; instead of, + create a skeleton with + + | # vserver build -m skeleton --initstyle gentoo * + + and fill the vserver directory at /etc/vservers//vdir/ manually. + + + +Notes for distributors: +======================= + +To generate FHS compliant paths, call configure with + +| ./configure --prefix=/usr --mandir=/usr/share/man \ +| --sysconfdir=/etc --localstatedir=/var \ +| --with-vrootdir= + +Except the '--with-vrootdir' option, rpm's '%configure' option will +expand to this. + + +There exists a 'make install-distribution' target which installs +files outside of the configured 'prefix'. In particular, these files are: + +* the /sbin/vshelper symlink +* the /vservers and related directories (or whatever you configured + with '--with-vrootdir') + +Without this rule, 'make distcheck' would fail. + + +It might be needed also, to call 'setattr --barrier /vservers' in an +after-installation script. + + + +Which version shall I use? +========================== + +As you probably know, two branches of 'util-vserver' are existing: the +'stable' one, and the 'alpha' one. This terms are to be understood as +a level of the featureset stability but not of the software stability. + +E.g. 'stable' is not really stable: it has huge security problems and +missing functionality. But you can expect that the current configuration +will work in future versions also. This version is untested on author's +side and it will be hard to bring patches/fixes in, since it must be +proofed that they will not break anything. + +In the opposite, the 'alpha' branch does not have known security issues +and works well (at least on author's system ;)). But it may happen +that some behavior or configuration options change. + +With 'alpha' you should be still able to use vservers created with the +'stable' branch, but you may encounter some oddities -- especially on +kernel 2.6 systems (e.g. 'vserver-stat' will not show the names of old +vservers). + + +So let me summarize: + +* when you have productive vservers running for some years already, stay + at the 'stable' branch. A change to 'alpha' will need a completely + rewritten configuration which must be perhaps changed again. + +* when you are new at vservers, use the 'alpha' branch. You will have + to learn the principles of vserver configuration for both branches + but 'alpha' makes some things easier. + +* when you have existing vservers and want all the new kernel 2.6 + functionality, use the 'alpha' branch. + + +A last note: the 'alpha' branch works both with the stable 2.4 and the +development 2.6 kernel patch. + + + +## $Id: README 2283 2006-09-10 17:07:57Z hollow $ diff --git a/REQUIREMENTS b/REQUIREMENTS new file mode 100644 index 0000000..4796318 --- /dev/null +++ b/REQUIREMENTS @@ -0,0 +1,10 @@ +Build requirements: +* iproute/iproute2 +* iptables +* vconfig/vlan (see http://www.candelatech.com/~greear/vlan.html) +* wget + +Recommended build environment: +* gcc >= 3 +* beecrypt-devel +* dietlibc >= 0.25 diff --git a/THANKS b/THANKS new file mode 100644 index 0000000..5a47f91 --- /dev/null +++ b/THANKS @@ -0,0 +1,24 @@ +I want to thank + +Jacques Gelinas , + who wrote and maintains the 'vserver' package on which util-vserver + is based on + +Sam Vilain, + for providing man-pages and patches used in the Debian package + +Olivier Poitrey + for his work on the XML/XSD based documentation format + +Herbert Poetzl, + for providing the alternative syscall.h implementation + +Daniel Hokka Zakrisson + for his patches which add support for non-legacy network functionality + and much better dlimit support + +Benedikt Böhm + for the much improved Gentoo support + + +all the other people, who contributed to the original 'vserver' package diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..74b2a56 --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,7832 @@ +# generated automatically by aclocal 1.10.1 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(AC_AUTOCONF_VERSION, [2.61],, +[m4_warning([this file was generated for autoconf 2.61. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- + +# serial 51 AC_PROG_LIBTOOL + + +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) +# ----------------------------------------------------------- +# If this macro is not defined by Autoconf, define it here. +m4_ifdef([AC_PROVIDE_IFELSE], + [], + [m4_define([AC_PROVIDE_IFELSE], + [m4_ifdef([AC_PROVIDE_$1], + [$2], [$3])])]) + + +# AC_PROG_LIBTOOL +# --------------- +AC_DEFUN([AC_PROG_LIBTOOL], +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. + AC_PROVIDE_IFELSE([AC_PROG_CXX], + [AC_LIBTOOL_CXX], + [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX + ])]) +dnl And a similar setup for Fortran 77 support + AC_PROVIDE_IFELSE([AC_PROG_F77], + [AC_LIBTOOL_F77], + [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 +])]) + +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. + AC_PROVIDE_IFELSE([AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], + [AC_LIBTOOL_GCJ], + [ifdef([AC_PROG_GCJ], + [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([A][M_PROG_GCJ], + [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) + ifdef([LT_AC_PROG_GCJ], + [define([LT_AC_PROG_GCJ], + defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) +])])# AC_PROG_LIBTOOL + + +# _AC_PROG_LIBTOOL +# ---------------- +AC_DEFUN([_AC_PROG_LIBTOOL], +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +AC_SUBST(LIBTOOL)dnl + +# Prevent multiple expansion +define([AC_PROG_LIBTOOL], []) +])# _AC_PROG_LIBTOOL + + +# AC_LIBTOOL_SETUP +# ---------------- +AC_DEFUN([AC_LIBTOOL_SETUP], +[AC_PREREQ(2.50)dnl +AC_REQUIRE([AC_ENABLE_SHARED])dnl +AC_REQUIRE([AC_ENABLE_STATIC])dnl +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_PROG_LD])dnl +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl +AC_REQUIRE([AC_PROG_NM])dnl + +AC_REQUIRE([AC_PROG_LN_S])dnl +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! +AC_REQUIRE([AC_OBJEXT])dnl +AC_REQUIRE([AC_EXEEXT])dnl +dnl + +AC_LIBTOOL_SYS_MAX_CMD_LEN +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +AC_LIBTOOL_OBJDIR + +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +_LT_AC_PROG_ECHO_BACKSLASH + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e 1s/^X//' +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] + +# Same as above, but do not quote variable references. +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +AC_CHECK_TOOL(AR, ar, false) +AC_CHECK_TOOL(RANLIB, ranlib, :) +AC_CHECK_TOOL(STRIP, strip, :) + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +_LT_CC_BASENAME([$compiler]) + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + AC_PATH_MAGIC + fi + ;; +esac + +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +enable_win32_dll=yes, enable_win32_dll=no) + +AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +AC_ARG_WITH([pic], + [AC_HELP_STRING([--with-pic], + [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], + [pic_mode="$withval"], + [pic_mode=default]) +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +AC_LIBTOOL_LANG_C_CONFIG +_LT_AC_TAGCONFIG +])# AC_LIBTOOL_SETUP + + +# _LT_AC_SYS_COMPILER +# ------------------- +AC_DEFUN([_LT_AC_SYS_COMPILER], +[AC_REQUIRE([AC_PROG_CC])dnl + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC +])# _LT_AC_SYS_COMPILER + + +# _LT_CC_BASENAME(CC) +# ------------------- +# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. +AC_DEFUN([_LT_CC_BASENAME], +[for cc_temp in $1""; do + case $cc_temp in + compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; + distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` +]) + + +# _LT_COMPILER_BOILERPLATE +# ------------------------ +# Check for compiler boilerplate output or warnings with +# the simple compiler test code. +AC_DEFUN([_LT_COMPILER_BOILERPLATE], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* +])# _LT_COMPILER_BOILERPLATE + + +# _LT_LINKER_BOILERPLATE +# ---------------------- +# Check for linker boilerplate output or warnings with +# the simple link test code. +AC_DEFUN([_LT_LINKER_BOILERPLATE], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm conftest* +])# _LT_LINKER_BOILERPLATE + + +# _LT_AC_SYS_LIBPATH_AIX +# ---------------------- +# Links a minimal program and checks the executable +# for the system default hardcoded library path. In most cases, +# this is /usr/lib:/lib, but when the MPI compilers are used +# the location of the communication and MPI libs are included too. +# If we don't find anything, use the default library path according +# to the aix ld manual. +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_LINK_IFELSE(AC_LANG_PROGRAM,[ +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi],[]) +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi +])# _LT_AC_SYS_LIBPATH_AIX + + +# _LT_AC_SHELL_INIT(ARG) +# ---------------------- +AC_DEFUN([_LT_AC_SHELL_INIT], +[ifdef([AC_DIVERSION_NOTICE], + [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], + [AC_DIVERT_PUSH(NOTICE)]) +$1 +AC_DIVERT_POP +])# _LT_AC_SHELL_INIT + + +# _LT_AC_PROG_ECHO_BACKSLASH +# -------------------------- +# Add some code to the start of the generated configure script which +# will find an echo command which doesn't interpret backslashes. +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], +[_LT_AC_SHELL_INIT([ +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` + ;; +esac + +echo=${ECHO-echo} +if test "X[$]1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X[$]1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} +fi + +if test "X[$]1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null 2>&1 && unset CDPATH + +if test -z "$ECHO"; then +if test "X${echo_test_string+set}" != Xset; then +# find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... + if (echo_test_string=`eval $cmd`) 2>/dev/null && + echo_test_string=`eval $cmd` && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL [$]0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL [$]0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "[$]0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" +fi + +AC_SUBST(ECHO) +])])# _LT_AC_PROG_ECHO_BACKSLASH + + +# _LT_AC_LOCK +# ----------- +AC_DEFUN([_LT_AC_LOCK], +[AC_ARG_ENABLE([libtool-lock], + [AC_HELP_STRING([--disable-libtool-lock], + [avoid locking (might break parallel builds)])]) +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '[#]line __oline__ "configure"' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + libsuff=64 + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, + [AC_LANG_PUSH(C) + AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) + AC_LANG_POP]) + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if AC_TRY_EVAL(ac_compile); then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) LD="${LD-ld} -64" ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) + AC_CHECK_TOOL(DLLTOOL, dlltool, false) + AC_CHECK_TOOL(AS, as, false) + AC_CHECK_TOOL(OBJDUMP, objdump, false) + ;; + ]) +esac + +need_locks="$enable_libtool_lock" + +])# _LT_AC_LOCK + + +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) +# ---------------------------------------------------------------- +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], +[AC_REQUIRE([LT_AC_PROG_SED]) +AC_CACHE_CHECK([$1], [$2], + [$2=no + ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$3" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + fi + $rm conftest* +]) + +if test x"[$]$2" = xyes; then + ifelse([$5], , :, [$5]) +else + ifelse([$6], , :, [$6]) +fi +])# AC_LIBTOOL_COMPILER_OPTION + + +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, +# [ACTION-SUCCESS], [ACTION-FAILURE]) +# ------------------------------------------------------------ +# Check whether the given compiler option works +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_CACHE_CHECK([$1], [$2], + [$2=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $3" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&AS_MESSAGE_LOG_FD + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + $2=yes + fi + else + $2=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" +]) + +if test x"[$]$2" = xyes; then + ifelse([$4], , :, [$4]) +else + ifelse([$5], , :, [$5]) +fi +])# AC_LIBTOOL_LINKER_OPTION + + +# AC_LIBTOOL_SYS_MAX_CMD_LEN +# -------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], +[# find the maximum length of command line arguments +AC_MSG_CHECKING([the maximum length of command line arguments]) +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + teststring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac +]) +if test -n $lt_cv_sys_max_cmd_len ; then + AC_MSG_RESULT($lt_cv_sys_max_cmd_len) +else + AC_MSG_RESULT(none) +fi +])# AC_LIBTOOL_SYS_MAX_CMD_LEN + + +# _LT_AC_CHECK_DLFCN +# ------------------ +AC_DEFUN([_LT_AC_CHECK_DLFCN], +[AC_CHECK_HEADERS(dlfcn.h)dnl +])# _LT_AC_CHECK_DLFCN + + +# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, +# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) +# --------------------------------------------------------------------- +AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "$cross_compiling" = yes; then : + [$4] +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + exit (status); +}] +EOF + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) $1 ;; + x$lt_dlneed_uscore) $2 ;; + x$lt_dlunknown|x*) $3 ;; + esac + else : + # compilation failed + $3 + fi +fi +rm -fr conftest* +])# _LT_AC_TRY_DLOPEN_SELF + + +# AC_LIBTOOL_DLOPEN_SELF +# ---------------------- +AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], +[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ]) + ;; + + *) + AC_CHECK_FUNC([shl_load], + [lt_cv_dlopen="shl_load"], + [AC_CHECK_LIB([dld], [shl_load], + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], + [AC_CHECK_FUNC([dlopen], + [lt_cv_dlopen="dlopen"], + [AC_CHECK_LIB([dl], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], + [AC_CHECK_LIB([svld], [dlopen], + [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], + [AC_CHECK_LIB([dld], [dld_link], + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) + ]) + ]) + ]) + ]) + ]) + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + AC_CACHE_CHECK([whether a program can dlopen itself], + lt_cv_dlopen_self, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, + lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) + ]) + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + AC_CACHE_CHECK([whether a statically linked program can dlopen itself], + lt_cv_dlopen_self_static, [dnl + _LT_AC_TRY_DLOPEN_SELF( + lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, + lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) + ]) + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi +])# AC_LIBTOOL_DLOPEN_SELF + + +# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) +# --------------------------------- +# Check to see if options -c and -o are simultaneously supported by compiler +AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl +AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], + [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&AS_MESSAGE_LOG_FD + echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + fi + fi + chmod u+w . 2>&AS_MESSAGE_LOG_FD + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* +]) +])# AC_LIBTOOL_PROG_CC_C_O + + +# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) +# ----------------------------------------- +# Check to see if we can do hard links to lock some files if needed +AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], +[AC_REQUIRE([_LT_AC_LOCK])dnl + +hard_links="nottested" +if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + AC_MSG_CHECKING([if we can lock with hard links]) + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + AC_MSG_RESULT([$hard_links]) + if test "$hard_links" = no; then + AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) + need_locks=warn + fi +else + need_locks=no +fi +])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS + + +# AC_LIBTOOL_OBJDIR +# ----------------- +AC_DEFUN([AC_LIBTOOL_OBJDIR], +[AC_CACHE_CHECK([for objdir], [lt_cv_objdir], +[rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null]) +objdir=$lt_cv_objdir +])# AC_LIBTOOL_OBJDIR + + +# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) +# ---------------------------------------------- +# Check hardcoding attributes. +AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], +[AC_MSG_CHECKING([how to hardcode library paths into programs]) +_LT_AC_TAGVAR(hardcode_action, $1)= +if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ + test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ + test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && + test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then + # Linking always hardcodes the temporary library directory. + _LT_AC_TAGVAR(hardcode_action, $1)=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + _LT_AC_TAGVAR(hardcode_action, $1)=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + _LT_AC_TAGVAR(hardcode_action, $1)=unsupported +fi +AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) + +if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi +])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH + + +# AC_LIBTOOL_SYS_LIB_STRIP +# ------------------------ +AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], +[striplib= +old_striplib= +AC_MSG_CHECKING([whether stripping libraries is possible]) +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + AC_MSG_RESULT([yes]) +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +fi + ;; + *) + AC_MSG_RESULT([no]) + ;; + esac +fi +])# AC_LIBTOOL_SYS_LIB_STRIP + + +# AC_LIBTOOL_SYS_DYNAMIC_LINKER +# ----------------------------- +# PORTME Fill in your ld.so characteristics +AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_MSG_CHECKING([dynamic linker characteristics]) +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" +m4_if($1,[],[ +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` + else + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[[lt_foo]]++; } + if (lt_freq[[lt_foo]] == 1) { print lt_foo; } +}'` + sys_lib_search_path_spec=`echo $lt_search_path_spec` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi]) +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[[01]] | aix4.[[01]].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[[45]]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + m4_if([$1], [],[ + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[[123]]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[[01]]* | freebsdelf3.[[01]]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ + freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[[3-9]]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[[89]] | openbsd2.[[89]].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +AC_MSG_RESULT([$dynamic_linker]) +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER + + +# _LT_AC_TAGCONFIG +# ---------------- +AC_DEFUN([_LT_AC_TAGCONFIG], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_ARG_WITH([tags], + [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], + [include additional configurations @<:@automatic@:>@])], + [tagnames="$withval"]) + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + AC_MSG_WARN([output file `$ofile' does not exist]) + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) + else + AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) + fi + fi + if test -z "$LTCFLAGS"; then + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in + "") ;; + *) AC_MSG_ERROR([invalid tag name: $tagname]) + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + AC_MSG_ERROR([tag name \"$tagname\" already exists]) + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_LIBTOOL_LANG_CXX_CONFIG + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + AC_LIBTOOL_LANG_F77_CONFIG + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + AC_LIBTOOL_LANG_GCJ_CONFIG + else + tagname="" + fi + ;; + + RC) + AC_LIBTOOL_LANG_RC_CONFIG + ;; + + *) + AC_MSG_ERROR([Unsupported tag name: $tagname]) + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + AC_MSG_ERROR([unable to update list of available tagged configurations.]) + fi +fi +])# _LT_AC_TAGCONFIG + + +# AC_LIBTOOL_DLOPEN +# ----------------- +# enable checks for dlopen support +AC_DEFUN([AC_LIBTOOL_DLOPEN], + [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_DLOPEN + + +# AC_LIBTOOL_WIN32_DLL +# -------------------- +# declare package support for building win32 DLLs +AC_DEFUN([AC_LIBTOOL_WIN32_DLL], +[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) +])# AC_LIBTOOL_WIN32_DLL + + +# AC_ENABLE_SHARED([DEFAULT]) +# --------------------------- +# implement the --enable-shared flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_SHARED], +[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([shared], + [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], + [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_shared=]AC_ENABLE_SHARED_DEFAULT) +])# AC_ENABLE_SHARED + + +# AC_DISABLE_SHARED +# ----------------- +# set the default shared flag to --disable-shared +AC_DEFUN([AC_DISABLE_SHARED], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_SHARED(no) +])# AC_DISABLE_SHARED + + +# AC_ENABLE_STATIC([DEFAULT]) +# --------------------------- +# implement the --enable-static flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_STATIC], +[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([static], + [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], + [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_static=]AC_ENABLE_STATIC_DEFAULT) +])# AC_ENABLE_STATIC + + +# AC_DISABLE_STATIC +# ----------------- +# set the default static flag to --disable-static +AC_DEFUN([AC_DISABLE_STATIC], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_STATIC(no) +])# AC_DISABLE_STATIC + + +# AC_ENABLE_FAST_INSTALL([DEFAULT]) +# --------------------------------- +# implement the --enable-fast-install flag +# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. +AC_DEFUN([AC_ENABLE_FAST_INSTALL], +[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl +AC_ARG_ENABLE([fast-install], + [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], + [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], + [p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac], + [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) +])# AC_ENABLE_FAST_INSTALL + + +# AC_DISABLE_FAST_INSTALL +# ----------------------- +# set the default to --disable-fast-install +AC_DEFUN([AC_DISABLE_FAST_INSTALL], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +AC_ENABLE_FAST_INSTALL(no) +])# AC_DISABLE_FAST_INSTALL + + +# AC_LIBTOOL_PICMODE([MODE]) +# -------------------------- +# implement the --with-pic flag +# MODE is either `yes' or `no'. If omitted, it defaults to `both'. +AC_DEFUN([AC_LIBTOOL_PICMODE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl +pic_mode=ifelse($#,1,$1,default) +])# AC_LIBTOOL_PICMODE + + +# AC_PROG_EGREP +# ------------- +# This is predefined starting with Autoconf 2.54, so this conditional +# definition can be removed once we require Autoconf 2.54 or later. +m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], +[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], + [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi]) + EGREP=$ac_cv_prog_egrep + AC_SUBST([EGREP]) +])]) + + +# AC_PATH_TOOL_PREFIX +# ------------------- +# find a file program which can recognize shared library +AC_DEFUN([AC_PATH_TOOL_PREFIX], +[AC_REQUIRE([AC_PROG_EGREP])dnl +AC_MSG_CHECKING([for $1]) +AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, +[case $MAGIC_CMD in +[[\\/*] | ?:[\\/]*]) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR +dnl $ac_dummy forces splitting on constant user-supplied paths. +dnl POSIX.2 word splitting is done only on the output of word expansions, +dnl not every word. This closes a longstanding sh security hole. + ac_dummy="ifelse([$2], , $PATH, [$2])" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$1; then + lt_cv_path_MAGIC_CMD="$ac_dir/$1" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac]) +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + AC_MSG_RESULT($MAGIC_CMD) +else + AC_MSG_RESULT(no) +fi +])# AC_PATH_TOOL_PREFIX + + +# AC_PATH_MAGIC +# ------------- +# find a file program which can recognize a shared library +AC_DEFUN([AC_PATH_MAGIC], +[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) + else + MAGIC_CMD=: + fi +fi +])# AC_PATH_MAGIC + + +# AC_PROG_LD +# ---------- +# find the pathname to the GNU or non-GNU linker +AC_DEFUN([AC_PROG_LD], +[AC_ARG_WITH([gnu-ld], + [AC_HELP_STRING([--with-gnu-ld], + [assume the C compiler uses GNU ld @<:@default=no@:>@])], + [test "$withval" = no || with_gnu_ld=yes], + [with_gnu_ld=no]) +AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_REQUIRE([AC_PROG_CC])dnl +AC_REQUIRE([AC_CANONICAL_HOST])dnl +AC_REQUIRE([AC_CANONICAL_BUILD])dnl +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by $CC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]]* | ?:[[\\/]]*) + re_direlt='/[[^/]][[^/]]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(lt_cv_path_LD, +[if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[[3-9]]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac +]) +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown +])# AC_DEPLIBS_CHECK_METHOD + + +# AC_PROG_NM +# ---------- +# find the pathname to a BSD-compatible name lister +AC_DEFUN([AC_PROG_NM], +[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, +[if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi]) +NM="$lt_cv_path_NM" +])# AC_PROG_NM + + +# AC_CHECK_LIBM +# ------------- +# check for math library +AC_DEFUN([AC_CHECK_LIBM], +[AC_REQUIRE([AC_CANONICAL_HOST])dnl +LIBM= +case $host in +*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) + # These system don't have libm, or don't need it + ;; +*-ncr-sysv4.3*) + AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") + AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") + ;; +*) + AC_CHECK_LIB(m, cos, LIBM="-lm") + ;; +esac +])# AC_CHECK_LIBM + + +# AC_LIBLTDL_CONVENIENCE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl convenience library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-convenience to the configure arguments. Note that +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, +# it is assumed to be `libltdl'. LIBLTDL will be prefixed with +# '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' +# (note the single quotes!). If your package is not flat and you're not +# using automake, define top_builddir and top_srcdir appropriately in +# the Makefiles. +AC_DEFUN([AC_LIBLTDL_CONVENIENCE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + case $enable_ltdl_convenience in + no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; + "") enable_ltdl_convenience=yes + ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; + esac + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_CONVENIENCE + + +# AC_LIBLTDL_INSTALLABLE([DIRECTORY]) +# ----------------------------------- +# sets LIBLTDL to the link flags for the libltdl installable library and +# LTDLINCL to the include flags for the libltdl header and adds +# --enable-ltdl-install to the configure arguments. Note that +# AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, +# and an installed libltdl is not found, it is assumed to be `libltdl'. +# LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with +# '${top_srcdir}/' (note the single quotes!). If your package is not +# flat and you're not using automake, define top_builddir and top_srcdir +# appropriately in the Makefiles. +# In the future, this macro may have to be called after AC_PROG_LIBTOOL. +AC_DEFUN([AC_LIBLTDL_INSTALLABLE], +[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl + AC_CHECK_LIB(ltdl, lt_dlinit, + [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], + [if test x"$enable_ltdl_install" = xno; then + AC_MSG_WARN([libltdl not installed, but installation disabled]) + else + enable_ltdl_install=yes + fi + ]) + if test x"$enable_ltdl_install" = x"yes"; then + ac_configure_args="$ac_configure_args --enable-ltdl-install" + LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la + LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) + else + ac_configure_args="$ac_configure_args --enable-ltdl-install=no" + LIBLTDL="-lltdl" + LTDLINCL= + fi + # For backwards non-gettext consistent compatibility... + INCLTDL="$LTDLINCL" +])# AC_LIBLTDL_INSTALLABLE + + +# AC_LIBTOOL_CXX +# -------------- +# enable support for C++ libraries +AC_DEFUN([AC_LIBTOOL_CXX], +[AC_REQUIRE([_LT_AC_LANG_CXX]) +])# AC_LIBTOOL_CXX + + +# _LT_AC_LANG_CXX +# --------------- +AC_DEFUN([_LT_AC_LANG_CXX], +[AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) +])# _LT_AC_LANG_CXX + +# _LT_AC_PROG_CXXCPP +# ------------------ +AC_DEFUN([_LT_AC_PROG_CXXCPP], +[ +AC_REQUIRE([AC_PROG_CXX]) +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + AC_PROG_CXXCPP +fi +])# _LT_AC_PROG_CXXCPP + +# AC_LIBTOOL_F77 +# -------------- +# enable support for Fortran 77 libraries +AC_DEFUN([AC_LIBTOOL_F77], +[AC_REQUIRE([_LT_AC_LANG_F77]) +])# AC_LIBTOOL_F77 + + +# _LT_AC_LANG_F77 +# --------------- +AC_DEFUN([_LT_AC_LANG_F77], +[AC_REQUIRE([AC_PROG_F77]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) +])# _LT_AC_LANG_F77 + + +# AC_LIBTOOL_GCJ +# -------------- +# enable support for GCJ libraries +AC_DEFUN([AC_LIBTOOL_GCJ], +[AC_REQUIRE([_LT_AC_LANG_GCJ]) +])# AC_LIBTOOL_GCJ + + +# _LT_AC_LANG_GCJ +# --------------- +AC_DEFUN([_LT_AC_LANG_GCJ], +[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], + [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], + [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], + [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], + [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) +])# _LT_AC_LANG_GCJ + + +# AC_LIBTOOL_RC +# ------------- +# enable support for Windows resource files +AC_DEFUN([AC_LIBTOOL_RC], +[AC_REQUIRE([LT_AC_PROG_RC]) +_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) +])# AC_LIBTOOL_RC + + +# AC_LIBTOOL_LANG_C_CONFIG +# ------------------------ +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) +AC_DEFUN([_LT_AC_LANG_C_CONFIG], +[lt_save_CC="$CC" +AC_LANG_PUSH(C) + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) +AC_LIBTOOL_SYS_LIB_STRIP +AC_LIBTOOL_DLOPEN_SELF + +# Report which library types will actually be built +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4* | aix5*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_C_CONFIG + + +# AC_LIBTOOL_LANG_CXX_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) +AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], +[AC_LANG_PUSH(C++) +AC_REQUIRE([AC_PROG_CXX]) +AC_REQUIRE([_LT_AC_PROG_CXXCPP]) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Dependencies to place before and after the object being linked: +_LT_AC_TAGVAR(predep_objects, $1)= +_LT_AC_TAGVAR(postdep_objects, $1)= +_LT_AC_TAGVAR(predeps, $1)= +_LT_AC_TAGVAR(postdeps, $1)= +_LT_AC_TAGVAR(compiler_lib_search_path, $1)= + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + $as_unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + $as_unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' +else + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + AC_PROG_LD + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +_LT_AC_TAGVAR(ld_shlibs, $1)=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GXX" = yes ; then + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + freebsd[[12]]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + freebsd-elf*) + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + ;; + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + ;; + gnu*) + ;; + hpux9*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) ;; + *) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + interix[[3-9]]*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + esac + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc*) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC*) + # Portland Group C++ compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + m88k*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + openbsd2*) + # C++ shared libraries are fairly broken + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd='echo' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + osf3*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + cxx*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ + $rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + # So that behaviour is only enabled if SCOABSPATH is set to a + # non-empty value in the environment. Most likely only useful for + # creating official distributions of packages. + # This is a hack until libtool officially supports absolute path + # names for shared libraries. + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + *) + # FIXME: insert proper C++ library support + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; +esac +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +_LT_AC_TAGVAR(GCC, $1)="$GXX" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_POSTDEP_PREDEP($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld +])# AC_LIBTOOL_LANG_CXX_CONFIG + +# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) +# ------------------------------------ +# Figure out "hidden" library dependencies from verbose +# compiler output when linking a shared library. +# Parse the compiler output and extract the necessary +# objects, libraries and library flags. +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ +dnl we can't use the lt_simple_compile_test_code here, +dnl because it contains code intended for an executable, +dnl not a library. It's possible we should let each +dnl tag define a new lt_????_link_test_code variable, +dnl but it's only used here... +ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + # + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + if test "$solaris_use_stlport4" != yes; then + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac +]) + +case " $_LT_AC_TAGVAR(postdeps, $1) " in +*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; +esac +])# AC_LIBTOOL_POSTDEP_PREDEP + +# AC_LIBTOOL_LANG_F77_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)]) +AC_DEFUN([_LT_AC_LANG_F77_CONFIG], +[AC_REQUIRE([AC_PROG_F77]) +AC_LANG_PUSH(Fortran 77) + +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no +_LT_AC_TAGVAR(allow_undefined_flag, $1)= +_LT_AC_TAGVAR(always_export_symbols, $1)=no +_LT_AC_TAGVAR(archive_expsym_cmds, $1)= +_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_direct, $1)=no +_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= +_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= +_LT_AC_TAGVAR(hardcode_libdir_separator, $1)= +_LT_AC_TAGVAR(hardcode_minus_L, $1)=no +_LT_AC_TAGVAR(hardcode_automatic, $1)=no +_LT_AC_TAGVAR(module_cmds, $1)= +_LT_AC_TAGVAR(module_expsym_cmds, $1)= +_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds +_LT_AC_TAGVAR(no_undefined_flag, $1)= +_LT_AC_TAGVAR(whole_archive_flag_spec, $1)= +_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="\ + subroutine t + return + end +" + +# Code to be used in simple link tests +lt_simple_link_test_code="\ + program t + end +" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) + +AC_MSG_CHECKING([if libtool supports shared libraries]) +AC_MSG_RESULT([$can_build_shared]) + +AC_MSG_CHECKING([whether to build shared libraries]) +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4* | aix5*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +AC_MSG_RESULT([$enable_shared]) + +AC_MSG_CHECKING([whether to build static libraries]) +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +AC_MSG_RESULT([$enable_static]) + +_LT_AC_TAGVAR(GCC, $1)="$G77" +_LT_AC_TAGVAR(LD, $1)="$LD" + +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_POP +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_F77_CONFIG + + +# AC_LIBTOOL_LANG_GCJ_CONFIG +# -------------------------- +# Ensure that the configuration vars for the C compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)]) +AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG], +[AC_LANG_SAVE + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + +_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds + +AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) +AC_LIBTOOL_PROG_COMPILER_PIC($1) +AC_LIBTOOL_PROG_CC_C_O($1) +AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) +AC_LIBTOOL_PROG_LD_SHLIBS($1) +AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) +AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_RESTORE +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_GCJ_CONFIG + + +# AC_LIBTOOL_LANG_RC_CONFIG +# ------------------------- +# Ensure that the configuration vars for the Windows resource compiler are +# suitably defined. Those variables are subsequently used by +# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. +AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)]) +AC_DEFUN([_LT_AC_LANG_RC_CONFIG], +[AC_LANG_SAVE + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +_LT_AC_TAGVAR(objext, $1)=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. +_LT_AC_SYS_COMPILER + +# save warnings/boilerplate of simple test code +_LT_COMPILER_BOILERPLATE +_LT_LINKER_BOILERPLATE + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +_LT_AC_TAGVAR(compiler, $1)=$CC +_LT_CC_BASENAME([$compiler]) +_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes + +AC_LIBTOOL_CONFIG($1) + +AC_LANG_RESTORE +CC="$lt_save_CC" +])# AC_LIBTOOL_LANG_RC_CONFIG + + +# AC_LIBTOOL_CONFIG([TAGNAME]) +# ---------------------------- +# If TAGNAME is not passed, then create an initial libtool script +# with a default configuration from the untagged config vars. Otherwise +# add code to config.status for appending the configuration named by +# TAGNAME from the matching tagged config vars. +AC_DEFUN([AC_LIBTOOL_CONFIG], +[# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + _LT_AC_TAGVAR(compiler, $1) \ + _LT_AC_TAGVAR(CC, $1) \ + _LT_AC_TAGVAR(LD, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \ + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \ + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \ + _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ + _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ + _LT_AC_TAGVAR(old_archive_cmds, $1) \ + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ + _LT_AC_TAGVAR(predep_objects, $1) \ + _LT_AC_TAGVAR(postdep_objects, $1) \ + _LT_AC_TAGVAR(predeps, $1) \ + _LT_AC_TAGVAR(postdeps, $1) \ + _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ + _LT_AC_TAGVAR(archive_cmds, $1) \ + _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ + _LT_AC_TAGVAR(postinstall_cmds, $1) \ + _LT_AC_TAGVAR(postuninstall_cmds, $1) \ + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ + _LT_AC_TAGVAR(allow_undefined_flag, $1) \ + _LT_AC_TAGVAR(no_undefined_flag, $1) \ + _LT_AC_TAGVAR(export_symbols_cmds, $1) \ + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ + _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \ + _LT_AC_TAGVAR(hardcode_automatic, $1) \ + _LT_AC_TAGVAR(module_cmds, $1) \ + _LT_AC_TAGVAR(module_expsym_cmds, $1) \ + _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \ + _LT_AC_TAGVAR(fix_srcfile_path, $1) \ + _LT_AC_TAGVAR(exclude_expsyms, $1) \ + _LT_AC_TAGVAR(include_expsyms, $1); do + + case $var in + _LT_AC_TAGVAR(old_archive_cmds, $1) | \ + _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \ + _LT_AC_TAGVAR(archive_cmds, $1) | \ + _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \ + _LT_AC_TAGVAR(module_cmds, $1) | \ + _LT_AC_TAGVAR(module_expsym_cmds, $1) | \ + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \ + _LT_AC_TAGVAR(export_symbols_cmds, $1) | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\[$]0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'` + ;; + esac + +ifelse([$1], [], + [cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + AC_MSG_NOTICE([creating $ofile])], + [cfgfile="$ofile"]) + + cat <<__EOF__ >> "$cfgfile" +ifelse([$1], [], +[#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e 1s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG], +[# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) + +# Is the compiler the GNU C compiler? +with_gcc=$_LT_AC_TAGVAR(GCC, $1) + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_[]_LT_AC_TAGVAR(LD, $1) + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) + +# Commands used to build and install a shared archive. +archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) +archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) +module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) + +# The commands to list exported symbols. +export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) + +# Symbols that must always be exported. +include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) + +ifelse([$1],[], +[# ### END LIBTOOL CONFIG], +[# ### END LIBTOOL TAG CONFIG: $tagname]) + +__EOF__ + +ifelse([$1],[], [ + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" +]) +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi +])# AC_LIBTOOL_CONFIG + + +# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) +# ------------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], +[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl + +_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= + +if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' + + AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], + lt_cv_prog_compiler_rtti_exceptions, + [-fno-rtti -fno-exceptions], [], + [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) +fi +])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI + + +# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE +# --------------------------------- +AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], +[AC_REQUIRE([AC_CANONICAL_HOST]) +AC_REQUIRE([LT_AC_PROG_SED]) +AC_REQUIRE([AC_PROG_NM]) +AC_REQUIRE([AC_OBJEXT]) +# Check for command to grab the raw symbol name followed by C symbol from nm. +AC_MSG_CHECKING([command to parse $NM output from $compiler object]) +AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], +[ +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[[BCDEGRST]]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[[BCDT]]' + ;; +cygwin* | mingw* | pw32*) + symcode='[[ABCDGISTW]]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[[ABCDEGRST]]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +linux* | k*bsd*-gnu) + if test "$host_cpu" = ia64; then + symcode='[[ABCDGIRSTW]]' + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + fi + ;; +irix* | nonstopux*) + symcode='[[BCDEGRST]]' + ;; +osf*) + symcode='[[BCDEGQRST]]' + ;; +solaris*) + symcode='[[BDRT]]' + ;; +sco3.2v5*) + symcode='[[DT]]' + ;; +sysv4.2uw2*) + symcode='[[DT]]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[[ABDT]]' + ;; +sysv4) + symcode='[[DFNSTU]]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[[ABCDGIRSTW]]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[[]] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" + if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD + fi + else + echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done +]) +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + AC_MSG_RESULT(failed) +else + AC_MSG_RESULT(ok) +fi +]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE + + +# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) +# --------------------------------------- +AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], +[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= +_LT_AC_TAGVAR(lt_prog_compiler_static, $1)= + +AC_MSG_CHECKING([for $compiler option to produce PIC]) + ifelse([$1],[CXX],[ + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + fi + ;; + aCC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + icpc* | ecpc*) + # Intel C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgCC*) + # Portland Group C++ compiler. + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + cxx*) + # Digital/Compaq C++ + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + lcc*) + # Lucid + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + esac + ;; + vxworks*) + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +], +[ + if test "$GCC" = yes; then + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' + ;; + + interix[[3-9]]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + else + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # PIC (with -KPIC) is the default. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + newsos6) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + ccc*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All Alpha code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + # All OSF/1 code is PIC. + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + rdos*) + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' + ;; + + solaris*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; + *) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; + esac + ;; + + sunos4*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + unicos*) + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + + uts4*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; + + *) + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then + AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], + _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), + [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], + [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in + "" | " "*) ;; + *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; + esac], + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= + ;; + *) + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" +AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], + _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), + $lt_tmp_static_flag, + [], + [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) +]) + + +# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) +# ------------------------------------ +# See if the linker supports building shared libraries. +AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], +[AC_REQUIRE([LT_AC_PROG_SED])dnl +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) +ifelse([$1],[CXX],[ + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" + ;; + cygwin* | mingw*) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + ;; + *) + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac +],[ + runpath_var= + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no + _LT_AC_TAGVAR(archive_cmds, $1)= + _LT_AC_TAGVAR(archive_expsym_cmds, $1)= + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= + _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_minus_L, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown + _LT_AC_TAGVAR(hardcode_automatic, $1)=no + _LT_AC_TAGVAR(module_cmds, $1)= + _LT_AC_TAGVAR(module_expsym_cmds, $1)= + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + _LT_AC_TAGVAR(include_expsyms, $1)= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + _LT_CC_BASENAME([$compiler]) + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, + # as there is no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=no + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + interix[[3-9]]*) + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + ;; + + sunos4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + esac + + if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then + runpath_var= + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + else + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + _LT_AC_TAGVAR(archive_cmds, $1)='' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[[012]]|aix4.[[012]].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + _LT_AC_TAGVAR(always_export_symbols, $1)=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' + _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + _LT_AC_SYS_LIBPATH_AIX + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + # This is similar to how AIX traditionally builds its shared libraries. + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + # see comment about different semantics on the GNU ld section + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + bsdi[[45]]*) + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' + # FIXME: Should let the user specify the lib program. + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' + _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' + _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[[012]]) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_automatic, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi + ;; + + dgux*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + freebsd1*) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + hpux9*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + + case $host_cpu in + hppa*64*|ia64*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + *) + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + newsos6) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' + else + case $host_os in + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + ;; + *) + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' + ;; + esac + fi + else + _LT_AC_TAGVAR(ld_shlibs, $1)=no + fi + ;; + + os2*) + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported + _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + else + _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' + fi + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: + ;; + + solaris*) + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + case $host_os in + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' + fi + ;; + esac + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes + _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4) + case $host_vendor in + sni) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' + _LT_AC_TAGVAR(hardcode_direct, $1)=no + ;; + motorola) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + sysv4.3*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + _LT_AC_TAGVAR(ld_shlibs, $1)=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' + _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' + _LT_AC_TAGVAR(link_all_deplibs, $1)=yes + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + + *) + _LT_AC_TAGVAR(ld_shlibs, $1)=no + ;; + esac + fi +]) +AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) +test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in +x|xyes) + # Assume -lc should be added + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $_LT_AC_TAGVAR(archive_cmds, $1) in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + AC_MSG_CHECKING([whether -lc should be explicitly linked in]) + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if AC_TRY_EVAL(ac_compile) 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) + pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) + _LT_AC_TAGVAR(allow_undefined_flag, $1)= + if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) + then + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no + else + _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes + fi + _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) + ;; + esac + fi + ;; +esac +])# AC_LIBTOOL_PROG_LD_SHLIBS + + +# _LT_AC_FILE_LTDLL_C +# ------------------- +# Be careful that the start marker always follows a newline. +AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ +# /* ltdll.c starts here */ +# #define WIN32_LEAN_AND_MEAN +# #include +# #undef WIN32_LEAN_AND_MEAN +# #include +# +# #ifndef __CYGWIN__ +# # ifdef __CYGWIN32__ +# # define __CYGWIN__ __CYGWIN32__ +# # endif +# #endif +# +# #ifdef __cplusplus +# extern "C" { +# #endif +# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); +# #ifdef __cplusplus +# } +# #endif +# +# #ifdef __CYGWIN__ +# #include +# DECLARE_CYGWIN_DLL( DllMain ); +# #endif +# HINSTANCE __hDllInstance_base; +# +# BOOL APIENTRY +# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) +# { +# __hDllInstance_base = hInst; +# return TRUE; +# } +# /* ltdll.c ends here */ +])# _LT_AC_FILE_LTDLL_C + + +# _LT_AC_TAGVAR(VARNAME, [TAGNAME]) +# --------------------------------- +AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) + + +# old names +AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) +AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) +AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) +AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) +AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) +AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) +AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) + +# This is just to silence aclocal about the macro not being used +ifelse([AC_DISABLE_FAST_INSTALL]) + +AC_DEFUN([LT_AC_PROG_GCJ], +[AC_CHECK_TOOL(GCJ, gcj, no) + test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" + AC_SUBST(GCJFLAGS) +]) + +AC_DEFUN([LT_AC_PROG_RC], +[AC_CHECK_TOOL(RC, windres, no) +]) + + +# Cheap backport of AS_EXECUTABLE_P and required macros +# from Autoconf 2.59; we should not use $as_executable_p directly. + +# _AS_TEST_PREPARE +# ---------------- +m4_ifndef([_AS_TEST_PREPARE], +[m4_defun([_AS_TEST_PREPARE], +[if test -x / >/dev/null 2>&1; then + as_executable_p='test -x' +else + as_executable_p='test -f' +fi +])])# _AS_TEST_PREPARE + +# AS_EXECUTABLE_P +# --------------- +# Check whether a file is executable. +m4_ifndef([AS_EXECUTABLE_P], +[m4_defun([AS_EXECUTABLE_P], +[AS_REQUIRE([_AS_TEST_PREPARE])dnl +$as_executable_p $1[]dnl +])])# AS_EXECUTABLE_P + +# NOTE: This macro has been submitted for inclusion into # +# GNU Autoconf as AC_PROG_SED. When it is available in # +# a released version of Autoconf we should remove this # +# macro and use it instead. # +# LT_AC_PROG_SED +# -------------- +# Check for a fully-functional sed program, that truncates +# as few characters as possible. Prefer GNU sed if found. +AC_DEFUN([LT_AC_PROG_SED], +[AC_MSG_CHECKING([for a sed that does not truncate output]) +AC_CACHE_VAL(lt_cv_path_SED, +[# Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done +]) +SED=$lt_cv_path_SED +AC_SUBST([SED]) +AC_MSG_RESULT([$SED]) +]) + +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# +# Copyright © 2004 Scott James Remnant . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi + +fi[]dnl +])# PKG_PROG_PKG_CONFIG + +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# +# Similar to PKG_CHECK_MODULES, make sure that the first instance of +# this or PKG_CHECK_MODULES is called, or make sure to call +# PKG_CHECK_EXISTS manually +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_ifval([$2], [$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + + +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])# _PKG_CONFIG + +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])# _PKG_SHORT_ERRORS_SUPPORTED + + +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# +# +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + ifelse([$4], , [AC_MSG_ERROR(dnl +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT +])], + [AC_MSG_RESULT([no]) + $4]) +elif test $pkg_failed = untried; then + ifelse([$4], , [AC_MSG_FAILURE(dnl +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see .])], + [$4]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + ifelse([$3], , :, [$3]) +fi[]dnl +])# PKG_CHECK_MODULES + +# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.10' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.10.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.10.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 8 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 9 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +#serial 3 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 13 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.60])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +AC_DEFUN([AM_MAINTAINER_MODE], +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode is disabled by default + AC_ARG_ENABLE(maintainer-mode, +[ --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer], + USE_MAINTAINER_MODE=$enableval, + USE_MAINTAINER_MODE=no) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST(MAINT)dnl +] +) + +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 5 + +# AM_PROG_CC_C_O +# -------------- +# Like AC_PROG_CC_C_O, but changed for automake. +AC_DEFUN([AM_PROG_CC_C_O], +[AC_REQUIRE([AC_PROG_CC_C_O])dnl +AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` +if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +dnl Make sure AC_PROG_CC is never called again, or it will override our +dnl setting of CC. +m4_define([AC_PROG_CC], + [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 5 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_MKDIR_P +# --------------- +# Check for `mkdir -p'. +AC_DEFUN([AM_PROG_MKDIR_P], +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# --------------------------------------------------------------------------- +# Adds support for distributing Python modules and packages. To +# install modules, copy them to $(pythondir), using the python_PYTHON +# automake variable. To install a package with the same name as the +# automake package, install to $(pkgpythondir), or use the +# pkgpython_PYTHON automake variable. +# +# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as +# locations to install python extension modules (shared libraries). +# Another macro is required to find the appropriate flags to compile +# extension modules. +# +# If your package is configured with a different prefix to python, +# users will have to add the install directory to the PYTHONPATH +# environment variable, or create a .pth file (see the python +# documentation for details). +# +# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will +# cause an error if the version of python installed on the system +# doesn't meet the requirement. MINIMUM-VERSION should consist of +# numbers and dots only. +AC_DEFUN([AM_PATH_PYTHON], + [ + dnl Find a Python interpreter. Python versions prior to 1.5 are not + dnl supported because the default installation locations changed from + dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages + dnl in 1.5. + m4_define_default([_AM_PYTHON_INTERPRETER_LIST], + [python python2 python2.5 python2.4 python2.3 python2.2 dnl +python2.1 python2.0 python1.6 python1.5]) + + m4_if([$1],[],[ + dnl No version check is needed. + # Find any Python interpreter. + if test -z "$PYTHON"; then + AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) + fi + am_display_PYTHON=python + ], [ + dnl A version check is needed. + if test -n "$PYTHON"; then + # If the user set $PYTHON, use it and don't search something else. + AC_MSG_CHECKING([whether $PYTHON version >= $1]) + AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], + [AC_MSG_RESULT(yes)], + [AC_MSG_ERROR(too old)]) + am_display_PYTHON=$PYTHON + else + # Otherwise, try each interpreter until we find one that satisfies + # VERSION. + AC_CACHE_CHECK([for a Python interpreter with version >= $1], + [am_cv_pathless_PYTHON],[ + for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do + test "$am_cv_pathless_PYTHON" = none && break + AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) + done]) + # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. + if test "$am_cv_pathless_PYTHON" = none; then + PYTHON=: + else + AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) + fi + am_display_PYTHON=$am_cv_pathless_PYTHON + fi + ]) + + if test "$PYTHON" = :; then + dnl Run any user-specified action, or abort. + m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) + else + + dnl Query Python for its version number. Getting [:3] seems to be + dnl the best way to do this; it's what "site.py" does in the standard + dnl library. + + AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], + [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) + AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) + + dnl Use the values of $prefix and $exec_prefix for the corresponding + dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made + dnl distinct variables so they can be overridden if need be. However, + dnl general consensus is that you shouldn't need this ability. + + AC_SUBST([PYTHON_PREFIX], ['${prefix}']) + AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) + + dnl At times (like when building shared libraries) you may want + dnl to know which OS platform Python thinks this is. + + AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], + [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) + AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) + + + dnl Set up 4 directories: + + dnl pythondir -- where to install python scripts. This is the + dnl site-packages directory, not the python standard library + dnl directory like in previous automake betas. This behavior + dnl is more consistent with lispdir.m4 for example. + dnl Query distutils for this directory. distutils does not exist in + dnl Python 1.5, so we fall back to the hardcoded directory if it + dnl doesn't work. + AC_CACHE_CHECK([for $am_display_PYTHON script directory], + [am_cv_python_pythondir], + [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) + AC_SUBST([pythondir], [$am_cv_python_pythondir]) + + dnl pkgpythondir -- $PACKAGE directory under pythondir. Was + dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is + dnl more consistent with the rest of automake. + + AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) + + dnl pyexecdir -- directory for installing python extension modules + dnl (shared libraries) + dnl Query distutils for this directory. distutils does not exist in + dnl Python 1.5, so we fall back to the hardcoded directory if it + dnl doesn't work. + AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], + [am_cv_python_pyexecdir], + [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || + echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) + AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) + + dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) + + AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) + + dnl Run any user-specified action. + $2 + fi + +]) + + +# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) +# --------------------------------------------------------------------------- +# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. +# Run ACTION-IF-FALSE otherwise. +# This test uses sys.hexversion instead of the string equivalent (first +# word of sys.version), in order to cope with versions such as 2.2c1. +# hexversion has been introduced in Python 1.5.2; it's probably not +# worth to support older versions (1.5.1 was released on October 31, 1998). +AC_DEFUN([AM_PYTHON_CHECK_VERSION], + [prog="import sys, string +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +minver = map(int, string.split('$2', '.')) + [[0, 0, 0]] +minverhex = 0 +for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]] +sys.exit(sys.hexversion < minverhex)" + AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/ensc_cflags.m4]) +m4_include([m4/ensc_changelog.m4]) +m4_include([m4/ensc_cxxcompiler.m4]) +m4_include([m4/ensc_dietlibc.m4]) +m4_include([m4/ensc_dietlibc_compat.m4]) +m4_include([m4/ensc_e2fscheck.m4]) +m4_include([m4/ensc_initrddir.m4]) +m4_include([m4/ensc_pathprog.m4]) +m4_include([m4/ensc_personality.m4]) +m4_include([m4/ensc_release.m4]) +m4_include([m4/ensc_syscall.m4]) +m4_include([m4/ensc_syscallnr.m4]) +m4_include([m4/ensc_uv_vrootdir.m4]) diff --git a/compat-c99.h b/compat-c99.h new file mode 100644 index 0000000..25e24d8 --- /dev/null +++ b/compat-c99.h @@ -0,0 +1,31 @@ +// $Id: compat-c99.h 2283 2006-09-10 17:07:57Z hollow $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_COMPAT_C99_H +#define H_UTIL_VSERVER_COMPAT_C99_H + +#if defined(__GNUC__) && __GNUC__ < 3 || (__GNUC__==3 && __GNUC_MINOR__<3) +# warning Enabling hacks to make it compilable with non-C99 compilers +# define BS { do {} while (0) +# define BE } do {} while (0) +#else +# define BS do {} while (0) +# define BE do {} while (0) +#endif + +#endif // H_UTIL_VSERVER_COMPAT_C99_H diff --git a/compat.h b/compat.h new file mode 100644 index 0000000..99f71df --- /dev/null +++ b/compat.h @@ -0,0 +1,107 @@ +// $Id: compat.h 2589 2007-08-16 03:06:50Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_COMPAT_H +#define H_UTIL_VSERVER_COMPAT_H + +#if defined(__dietlibc__) && !defined(ENSC_DIETLIBC_C99) && defined(__STRICT_ANSI__) && defined(__STDC_VERSION__) +# include +# undef inline + +# undef __STRICT_ANSI__ +# include +# define __STRICT_ANSI__ +#endif + +#if defined(__dietlibc__) +# define ENSC_FIX_IOCTL(X) do { if ((X)<-1) { errno=-(X); (X) = -1; } } while (0) +#else +# define ENSC_FIX_IOCTL(X) do { } while (0) +#endif + +#if defined(__GNUC__) +# define UNUSED __attribute__((__unused__)) +# define NORETURN __attribute__((__noreturn__)) +# define CONST __attribute__((__const__)) +# if __GNUC__*0x10000 + __GNUC_MINOR__*0x100 + __GNUC_PATCHLEVEL__ >= 0x30300 +# define NONNULL(ARGS) __attribute__((__nonnull__ ARGS)) +# define ALWAYSINLINE __attribute__((__always_inline__)) +# else +# define NONNULL(ARGS) +# define ALWAYSINLINE +# define PURE +# endif +# if __GNUC__*0x10000 + __GNUC_MINOR__*0x100 + __GNUC_PATCHLEVEL__ >= 0x30303 +# define PURE __attribute__((__pure__)) +# else +# define PURE +# endif +#else +# define NONNULL(ARGS) +# define UNUSED +# define NORETURN +# define ALWAYSINLINE +# define PURE +# define CONST +#endif + + // shamelessly stolen from dietlibc +#define LINK_WARNING(symbol,msg) \ + __asm__ (".section .gnu.warning." symbol "\n\t.string \"" msg "\"\n\t.previous") + +#if !defined(__builtin_expect) && (__GNUC__+0)<3 +# define __builtin_expect(foo,bar) (foo) +#endif + +#if !defined(__STDC_VERSION__) || (__STDC_VERSION__<199901L) +# define restrict +#endif + +#if !defined(HAVE_DECL_MS_MOVE) || !(HAVE_DECL_MS_MOVE) + // from +# define MS_MOVE 8192 +#endif + +#ifndef HAVE_XID_T +#include +typedef uint32_t xid_t; +#endif + +#ifndef HAVE_NID_T +#include +typedef uint32_t nid_t; +#endif + +#ifndef HAVE_TAG_T +#include +typedef uint32_t tag_t; +#endif + + +#if defined(__dietlibc__) + #define TEMP_FAILURE_RETRY(expression) \ + (__extension__ \ + ({ long int __result; \ + do __result = (long int) (expression); \ + while (__result == -1L && errno == EINTR); \ + __result; })) +#endif + +#define FMT_PREFIX utilvserver_fmt_ + +#endif // H_UTIL_VSERVER_COMPAT_H diff --git a/compile b/compile new file mode 100755 index 0000000..1b1d232 --- /dev/null +++ b/compile @@ -0,0 +1,142 @@ +#! /bin/sh +# Wrapper for compilers which do not understand `-c -o'. + +scriptversion=2005-05-14.22 + +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand `-c -o'. +Remove `-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file `INSTALL'. + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; +esac + +ofile= +cfile= +eat= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as `compile cc -o foo foo.c'. + # So we strip `-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no `-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # `.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'` + +# Create the lock directory. +# Note: use `[/.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/config.guess b/config.guess new file mode 100755 index 0000000..ca2a03c --- /dev/null +++ b/config.guess @@ -0,0 +1,1526 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. + +timestamp='2008-01-08' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# This script attempts to guess a canonical system name similar to +# config.sub. If it succeeds, it prints the system name on stdout, and +# exits with 0. Otherwise, it exits with 1. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit build system type. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then + CC_FOR_BUILD="$c"; break ; + fi ; + done ; + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found ; + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; +esac ; set_cc_for_build= ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +# Note: order is significant - the case branches are not exclusive. + +case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently, or will in the future. + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + eval $set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep __ELF__ >/dev/null + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "${machine}-${os}${release}" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} + exit ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit ;; + *:SolidBSD:*:*) + echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd${UNAME_RELEASE} + exit ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + exit ;; + Alpha\ *:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix${UNAME_RELEASE} + exit ;; + arm:riscos:*:*|arm:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && + dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`$dummy $dummyarg` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos${UNAME_RELEASE} + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[456]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in + 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in + 32) HP_ARCH="hppa2.0n" ;; + 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + eval $set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | + grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi + echo ${HP_ARCH}-hp-hpux${HPUX_REV} + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit ;; + *:FreeBSD:*:*) + case ${UNAME_MACHINE} in + pc98) + echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + amd64) + echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit ;; + *:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + exit ;; + i*:windows32*:*) + # uname -m includes "-pc" on this system. + echo ${UNAME_MACHINE}-mingw32 + exit ;; + i*:PW*:*) + echo ${UNAME_MACHINE}-pc-pw32 + exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks + exit ;; + i*:Windows_NT*:* | Pentium*:Windows_NT*:*) + # How do we know it's Interix rather than the generic POSIX subsystem? + # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we + # UNAME_MACHINE based on the output of uname instead of i386? + echo i586-pc-interix + exit ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit ;; + *:GNU:*:*) + # the GNU system + echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu + exit ;; + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; + arm*:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi + exit ;; + avr32*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + cris:Linux:*:*) + echo cris-axis-linux-gnu + exit ;; + crisv32:Linux:*:*) + echo crisv32-axis-linux-gnu + exit ;; + frv:Linux:*:*) + echo frv-unknown-linux-gnu + exit ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + mips:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^CPU/{ + s: ::g + p + }'`" + test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } + ;; + or32:Linux:*:*) + echo or32-unknown-linux-gnu + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null + if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-gnu ;; + PA8*) echo hppa2.0-unknown-linux-gnu ;; + *) echo hppa-unknown-linux-gnu ;; + esac + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-gnu + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sh*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; + x86_64:Linux:*:*) + echo x86_64-unknown-linux-gnu + exit ;; + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu + exit ;; + i*86:Linux:*:*) + # The BFD linker knows what the default object file format is, so + # first see if it will tell us. cd to the root directory to prevent + # problems with other programs or directories called `ld' in the path. + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ + | sed -ne '/supported targets:/!d + s/[ ][ ]*/ /g + s/.*supported targets: *// + s/ .*// + p'` + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" + ;; + a.out-i386-linux) + echo "${UNAME_MACHINE}-pc-linux-gnuaout" + exit ;; + coff-i386) + echo "${UNAME_MACHINE}-pc-linux-gnucoff" + exit ;; + "") + # Either a pre-BFD a.out linker (linux-gnuoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + exit ;; + esac + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif +EOF + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' + /^LIBC/{ + s: ::g + p + }'`" + test x"${LIBC}" != x && { + echo "${UNAME_MACHINE}-pc-linux-${LIBC}" + exit + } + test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } + ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit ;; + i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) + UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo ${UNAME_MACHINE}-pc-sco$UNAME_REL + else + echo ${UNAME_MACHINE}-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i386. + echo i386-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3${OS_REL}; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo ${UNAME_MACHINE}-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux${UNAME_RELEASE} + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux${UNAME_RELEASE} + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux${UNAME_RELEASE} + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NSE-?:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk${UNAME_RELEASE} + exit ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; +esac + +#echo '(No uname command or uname output not recognized.)' 1>&2 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix\n"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && + { echo "$SYSTEM_NAME"; exit; } + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + c34*) + echo c34-convex-bsd + exit ;; + c38*) + echo c38-convex-bsd + exit ;; + c4*) + echo c4-convex-bsd + exit ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..4a68c5c --- /dev/null +++ b/config.h.in @@ -0,0 +1,271 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Used crypto API */ +#undef ENSC_CRYPTO_API + +/* Define to 1 if dietlibc supports C99 */ +#undef ENSC_DIETLIBC_C99 + +/* Define to 1 if dietlibc declares syscall */ +#undef ENSC_DIETLIBC_HAS_SYSCALL + +/* define when is usable */ +#undef ENSC_HAVE_EXT2FS_EXT2_FS_H + +/* define when is usable */ +#undef ENSC_HAVE_LINUX_EXT2_FS_H + +/* Define to 1 when the fast syscall(2) invocation does not work */ +#undef ENSC_SYSCALL_TRADITIONAL + +/* The number of the vserver syscall */ +#undef ENSC_SYSCALL__NR_vserver + +/* Use alternative _syscallX macros */ +#undef ENSC_USE_ALTERNATIVE_SYSCALL_MACROS + +/* Define to 1 if you have the declaration of `ADDR_LIMIT_32BIT', and to 0 if + you don't. */ +#undef HAVE_DECL_ADDR_LIMIT_32BIT + +/* Define to 1 if you have the declaration of `ADDR_LIMIT_3GB', and to 0 if + you don't. */ +#undef HAVE_DECL_ADDR_LIMIT_3GB + +/* Define to 1 if you have the declaration of `MMAP_PAGE_ZERO', and to 0 if + you don't. */ +#undef HAVE_DECL_MMAP_PAGE_ZERO + +/* Define to 1 if you have the declaration of `MS_MOVE', and to 0 if you + don't. */ +#undef HAVE_DECL_MS_MOVE + +/* Define to 1 if you have the declaration of `PER_BSD', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_BSD + +/* Define to 1 if you have the declaration of `PER_HPUX', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_HPUX + +/* Define to 1 if you have the declaration of `PER_IRIX32', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_IRIX32 + +/* Define to 1 if you have the declaration of `PER_IRIX64', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_IRIX64 + +/* Define to 1 if you have the declaration of `PER_IRIXN32', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_IRIXN32 + +/* Define to 1 if you have the declaration of `PER_ISCR4', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_ISCR4 + +/* Define to 1 if you have the declaration of `PER_LINUX', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_LINUX + +/* Define to 1 if you have the declaration of `PER_LINUX32', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_LINUX32 + +/* Define to 1 if you have the declaration of `PER_LINUX32_3GB', and to 0 if + you don't. */ +#undef HAVE_DECL_PER_LINUX32_3GB + +/* Define to 1 if you have the declaration of `PER_LINUX_32BIT', and to 0 if + you don't. */ +#undef HAVE_DECL_PER_LINUX_32BIT + +/* Define to 1 if you have the declaration of `PER_OSF4', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_OSF4 + +/* Define to 1 if you have the declaration of `PER_OSR5', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_OSR5 + +/* Define to 1 if you have the declaration of `PER_RISCOS', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_RISCOS + +/* Define to 1 if you have the declaration of `PER_SCOSVR3', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_SCOSVR3 + +/* Define to 1 if you have the declaration of `PER_SOLARIS', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_SOLARIS + +/* Define to 1 if you have the declaration of `PER_SUNOS', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_SUNOS + +/* Define to 1 if you have the declaration of `PER_SVR3', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_SVR3 + +/* Define to 1 if you have the declaration of `PER_SVR4', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_SVR4 + +/* Define to 1 if you have the declaration of `PER_UW7', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_UW7 + +/* Define to 1 if you have the declaration of `PER_WYSEV386', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_WYSEV386 + +/* Define to 1 if you have the declaration of `PER_XENIX', and to 0 if you + don't. */ +#undef HAVE_DECL_PER_XENIX + +/* Define to 1 if you have the declaration of `SHORT_INODE', and to 0 if you + don't. */ +#undef HAVE_DECL_SHORT_INODE + +/* Define to 1 if you have the declaration of `STICKY_TIMEOUTS', and to 0 if + you don't. */ +#undef HAVE_DECL_STICKY_TIMEOUTS + +/* Define to 1 if you have the declaration of `WHOLE_SECONDS', and to 0 if you + don't. */ +#undef HAVE_DECL_WHOLE_SECONDS + +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if the stack is on growing addresses */ +#undef HAVE_GROWING_STACK + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the `util' library (-lutil). */ +#undef HAVE_LIBUTIL + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if the system has the type `nid_t'. */ +#undef HAVE_NID_T + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_CAPABILITY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if the system has the type `tag_t'. */ +#undef HAVE_TAG_T + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define this to use library versioning */ +#undef HAVE_VERSIONING + +/* Define to 1 if you have the `vserver' function. */ +#undef HAVE_VSERVER + +/* Define to 1 if the system has the type `xid_t'. */ +#undef HAVE_XID_T + +/* Define to 1 if your C compiler doesn't accept -c and -o together. */ +#undef NO_MINUS_C_MINUS_O + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* The utmp gid-number */ +#undef UTMP_GID + +/* Enable support for compatibility syscall API */ +#undef VC_ENABLE_API_COMPAT + +/* Enable support for filesystem compatibility API */ +#undef VC_ENABLE_API_FSCOMPAT + +/* Enable support for old, /proc parsing API */ +#undef VC_ENABLE_API_LEGACY + +/* Enable support for network context API */ +#undef VC_ENABLE_API_NET + +/* Enable support for new networking API */ +#undef VC_ENABLE_API_NETV2 + +/* Enable API for a backward compatible /proc parsing */ +#undef VC_ENABLE_API_OLDPROC + +/* Enable API for a backward compatible uts handling */ +#undef VC_ENABLE_API_OLDUTS + +/* Enable support for API of vserver 1.1.x */ +#undef VC_ENABLE_API_V11 + +/* Enable support for API of vserver 1.3.x */ +#undef VC_ENABLE_API_V13 + +/* Enable support for some obsoleted API of vserver 1.3.x */ +#undef VC_ENABLE_API_V13OBS + +/* Enable support for API of vserver 2.1.x */ +#undef VC_ENABLE_API_V21 + +/* Enable support for API of vserver 2.2.x */ +#undef VC_ENABLE_API_V22 + +/* Enable support for API of vserver 2.3.x */ +#undef VC_ENABLE_API_V23 + +/* Version number of package */ +#undef VERSION + +/* Use 64bit interface for filesystem operations */ +#undef _FILE_OFFSET_BITS + + +#if defined(__pic__) && defined(__i386) && !defined(ENSC_SYSCALL_TRADITIONAL) && !defined(ENSC_USE_ALTERNATIVE_SYSCALL_MACROS) +# define ENSC_SYSCALL_TRADITIONAL 1 +#endif + +#include "compat.h" + diff --git a/config.sub b/config.sub new file mode 100755 index 0000000..6759825 --- /dev/null +++ b/config.sub @@ -0,0 +1,1658 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. + +timestamp='2008-01-16' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# Here we must recognize all the valid KERNEL-OS combinations. +maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` +case $maybe_os in + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ + -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ + -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ + -apple | -axis | -knuth | -cray) + os= + basic_machine=$1 + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 1750a | 580 \ + | a29k \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | bfin \ + | c4x | clipper \ + | d10v | d30v | dlx | dsp16xx \ + | fido | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | ip2k | iq2000 \ + | m32c | m32r | m32rle | m68000 | m68k | m88k \ + | maxq | mb | microblaze | mcore | mep \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ + | mn10200 | mn10300 \ + | mt \ + | msp430 \ + | nios | nios2 \ + | ns16k | ns32k \ + | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | score \ + | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ + | spu | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ + | we32k \ + | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + ms1) + basic_machine=mt-unknown + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* | avr32-* \ + | bfin-* | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | m32c-* | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | m88k-* | maxq-* | mcore-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mips64vr5900-* | mips64vr5900el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | mt-* \ + | msp430-* \ + | nios-* | nios2-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ + | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ + | we32k-* \ + | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ + | xstormy16-* | xtensa*-* \ + | ymp-* \ + | z8k-*) + ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + basic_machine=a29k-none + os=-bsd + ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + amdahl) + basic_machine=580-amdahl + os=-sysv + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16) + basic_machine=cr16-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + crisv32 | crisv32-* | etraxfs*) + basic_machine=crisv32-axis + ;; + cris | cris-* | etrax*) + basic_machine=cris-axis + ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; + da30 | da30-*) + basic_machine=m68k-da30 + ;; + decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) + basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + djgpp) + basic_machine=i586-pc + os=-msdosdjgpp + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + basic_machine=hppa1.1-oki + os=-proelf + ;; + openrisc | openrisc-*) + basic_machine=or32-unknown + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=-ose + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pc98) + basic_machine=i386-pc + ;; + pc98-*) + basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + power) basic_machine=power-ibm + ;; + ppc) basic_machine=powerpc-unknown + ;; + ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppcle | powerpclittle | ppc-le | powerpc-little) + basic_machine=powerpcle-unknown + ;; + ppcle-* | powerpclittle-*) + basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64) basic_machine=powerpc64-unknown + ;; + ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ppc64le | powerpc64little | ppc64-le | powerpc64-little) + basic_machine=powerpc64le-unknown + ;; + ppc64le-* | powerpc64little-*) + basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + rtpc | rtpc-*) + basic_machine=romp-ibm + ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; + sa29200) + basic_machine=a29k-amd + os=-udi + ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sde) + basic_machine=mipsisa32-sde + os=-elf + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; + sequent) + basic_machine=i386-sequent + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh5el) + basic_machine=sh5le-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray + os=-unicos + ;; + tic54x | c54x*) + basic_machine=tic54x-unknown + os=-coff + ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; + tile*) + basic_machine=tile-unknown + os=-linux-gnu + ;; + tx39) + basic_machine=mipstx39-unknown + ;; + tx39el) + basic_machine=mipstx39el-unknown + ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; + tower | tower-32) + basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf + ;; + udi29k) + basic_machine=a29k-amd + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xbox) + basic_machine=i686-pc + os=-mingw32 + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ + | -openbsd* | -solidbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + -qnx*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -zvmoe) + os=-zvmoe + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + score-*) + os=-elf + ;; + spu-*) + os=-elf + ;; + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mep-*) + os=-elf + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-haiku) + os=-haiku + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/configure b/configure new file mode 100755 index 0000000..b8bc3e2 --- /dev/null +++ b/configure @@ -0,0 +1,31050 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.61 for util-vserver 0.30.216-pre2833. +# +# Report bugs to . +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + +if test "x$CONFIG_SHELL" = x; then + if (eval ":") 2>/dev/null; then + as_have_required=yes +else + as_have_required=no +fi + + if test $as_have_required = yes && (eval ": +(as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test \$exitcode = 0) || { (exit 1); exit 1; } + +( + as_lineno_1=\$LINENO + as_lineno_2=\$LINENO + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } +") 2> /dev/null; then + : +else + as_candidate_shells= + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + case $as_dir in + /*) + for as_base in sh bash ksh sh5; do + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" + done;; + esac +done +IFS=$as_save_IFS + + + for as_shell in $as_candidate_shells $SHELL; do + # Try only shells that exist, to save several forks. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { ("$as_shell") 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + +: +_ASEOF +}; then + CONFIG_SHELL=$as_shell + as_have_required=yes + if { "$as_shell" 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + +: +(as_func_return () { + (exit $1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = "$1" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test $exitcode = 0) || { (exit 1); exit 1; } + +( + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } + +_ASEOF +}; then + break +fi + +fi + + done + + if test "x$CONFIG_SHELL" != x; then + for as_var in BASH_ENV ENV + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + done + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + + if test $as_have_required = no; then + echo This script requires a shell more modern than all the + echo shells that I found on your system. Please install a + echo modern shell, or manually run the script under such a + echo shell if you do have one. + { (exit 1); exit 1; } +fi + + +fi + +fi + + + +(eval "as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test \$exitcode = 0") || { + echo No shell found that supports shell functions. + echo Please tell autoconf@gnu.org about your system, + echo including any error possibly output before this + echo message +} + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir +fi +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + + + +# Check that we are running under the correct shell. +SHELL=${CONFIG_SHELL-/bin/sh} + +case X$ECHO in +X*--fallback-echo) + # Remove one level of quotation (which was required for Make). + ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` + ;; +esac + +echo=${ECHO-echo} +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then + # Yippee, $echo works! + : +else + # Restart under the correct shell. + exec $SHELL "$0" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat </dev/null 2>&1 && unset CDPATH + +if test -z "$ECHO"; then +if test "X${echo_test_string+set}" != Xset; then +# find a string as large as possible, as long as the shell can cope with it + for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do + # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... + if (echo_test_string=`eval $cmd`) 2>/dev/null && + echo_test_string=`eval $cmd` && + (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null + then + break + fi + done +fi + +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + : +else + # The Solaris, AIX, and Digital Unix default echo programs unquote + # backslashes. This makes it impossible to quote backslashes using + # echo "$something" | sed 's/\\/\\\\/g' + # + # So, first we look for a working echo in the user's PATH. + + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for dir in $PATH /usr/ucb; do + IFS="$lt_save_ifs" + if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && + test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$dir/echo" + break + fi + done + IFS="$lt_save_ifs" + + if test "X$echo" = Xecho; then + # We didn't find a better echo, so look for alternatives. + if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # This shell has a builtin print -r that does the trick. + echo='print -r' + elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && + test "X$CONFIG_SHELL" != X/bin/ksh; then + # If we have ksh, try running configure again with it. + ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} + export ORIGINAL_CONFIG_SHELL + CONFIG_SHELL=/bin/ksh + export CONFIG_SHELL + exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} + else + # Try using printf. + echo='printf %s\n' + if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && + echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + # Cool, printf works + : + elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL + export CONFIG_SHELL + SHELL="$CONFIG_SHELL" + export SHELL + echo="$CONFIG_SHELL $0 --fallback-echo" + elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && + test "X$echo_testing_string" = 'X\t' && + echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && + test "X$echo_testing_string" = "X$echo_test_string"; then + echo="$CONFIG_SHELL $0 --fallback-echo" + else + # maybe with a smaller string... + prev=: + + for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do + if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null + then + break + fi + prev="$cmd" + done + + if test "$prev" != 'sed 50q "$0"'; then + echo_test_string=`eval $prev` + export echo_test_string + exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} + else + # Oops. We lost completely, so just stick with echo. + echo=echo + fi + fi + fi + fi +fi +fi + +# Copy echo and quote the copy suitably for passing to libtool from +# the Makefile, instead of quoting the original, which is used later. +ECHO=$echo +if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then + ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" +fi + + + + +tagnames=${tagnames+${tagnames},}CXX + +tagnames=${tagnames+${tagnames},}F77 + +exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Identity of this package. +PACKAGE_NAME='util-vserver' +PACKAGE_TARNAME='util-vserver' +PACKAGE_VERSION='0.30.216-pre2833' +PACKAGE_STRING='util-vserver 0.30.216-pre2833' +PACKAGE_BUGREPORT='vserver@list.linux-vserver.org' + +ac_unique_file="src/capchroot.c" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='SHELL +PATH_SEPARATOR +PACKAGE_NAME +PACKAGE_TARNAME +PACKAGE_VERSION +PACKAGE_STRING +PACKAGE_BUGREPORT +exec_prefix +prefix +program_transform_name +bindir +sbindir +libexecdir +datarootdir +datadir +sysconfdir +sharedstatedir +localstatedir +includedir +oldincludedir +docdir +infodir +htmldir +dvidir +pdfdir +psdir +libdir +localedir +mandir +DEFS +ECHO_C +ECHO_N +ECHO_T +LIBS +build_alias +host_alias +target_alias +INSTALL_PROGRAM +INSTALL_SCRIPT +INSTALL_DATA +am__isrc +CYGPATH_W +PACKAGE +VERSION +ACLOCAL +AUTOCONF +AUTOMAKE +AUTOHEADER +MAKEINFO +install_sh +STRIP +INSTALL_STRIP_PROGRAM +mkdir_p +AWK +SET_MAKE +am__leading_dot +AMTAR +am__tar +am__untar +MAINTAINER_MODE_TRUE +MAINTAINER_MODE_FALSE +MAINT +build +build_cpu +build_vendor +build_os +host +host_cpu +host_vendor +host_os +GPG_KEY +CXX +CXXFLAGS +LDFLAGS +CPPFLAGS +ac_ct_CXX +EXEEXT +OBJEXT +DEPDIR +am__include +am__quote +AMDEP_TRUE +AMDEP_FALSE +AMDEPBACKSLASH +CXXDEPMODE +am__fastdepCXX_TRUE +am__fastdepCXX_FALSE +CC +CFLAGS +ac_ct_CC +CCDEPMODE +am__fastdepCC_TRUE +am__fastdepCC_FALSE +LN_S +PKG_CONFIG +ENSC_HAVE_CXX_COMPILER_TRUE +ENSC_HAVE_CXX_COMPILER_FALSE +ENSC_HAVE_C99_COMPILER_TRUE +ENSC_HAVE_C99_COMPILER_FALSE +ENSC_PATHPROG_SED +CAT +CHOWN +CMP +CP +DIRNAME +EGREP +ENV +GREP +LN +MKDIR +MKFIFO +MKTEMP +MOUNT +MV +NICE +PS +RM +RMDIR +SED +SH +TAC +TAR +TOUCH +TTY +UMOUNT +WC +IP +IPTABLES +MODPROBE +NAMEIF +NOHUP +RMMOD +VCONFIG +WGET +IONICE +FILE +GZIP +BZIP2 +CPIO +RESTORE +RSYNC +STRACE +FSCK +DOXYGEN +XSLTP +XSLTPROC +HAVE_XSLTP_TRUE +HAVE_XSLTP_FALSE +HAVE_XSLTPROC_TRUE +HAVE_XSLTPROC_FALSE +LIB_DEBUG_CPPFLAGS +ENSC_USE_EXPENSIVE_TESTS +initrddir +RELEASE_CPPFLAGS +CPP +DIET +DIETFLAGS +USE_DIETLIBC_TRUE +USE_DIETLIBC_FALSE +USE_DIETLIBC_COMPAT_TRUE +USE_DIETLIBC_COMPAT_FALSE +ENSC_USE_DIETLIBC_TRUE +ENSC_USE_DIETLIBC_FALSE +ENSC_USE_GLIBC_TRUE +ENSC_USE_GLIBC_FALSE +ECHO +AR +RANLIB +CXXCPP +F77 +FFLAGS +ac_ct_F77 +LIBTOOL +vserverdir +SVN2CL +HAVE_SVN2CL_TRUE +HAVE_SVN2CL_FALSE +ENSC_ENABLE_INTERNAL_HEADERS_TRUE +ENSC_ENABLE_INTERNAL_HEADERS_FALSE +ENSC_HAVE_BEECRYPT_TRUE +ENSC_HAVE_BEECRYPT_FALSE +ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE +ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE +NSS_CFLAGS +NSS_LIBS +ENSC_HAVE_CRYPTO_TRUE +ENSC_HAVE_CRYPTO_FALSE +ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE +ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE +ENSC_CRYPTO_CFLAGS +ENSC_CRYPTO_LIB +HAVE_GENTOO_INIT_TRUE +HAVE_GENTOO_INIT_FALSE +HAVE_SYSV_INIT_TRUE +HAVE_SYSV_INIT_FALSE +PYTHON +PYTHON_VERSION +PYTHON_PREFIX +PYTHON_EXEC_PREFIX +PYTHON_PLATFORM +pythondir +pkgpythondir +pyexecdir +pkgpyexecdir +PYTHON_CFLAGS +PYTHON_LDFLAGS +CTAGS +HAVE_PYTHON_TRUE +HAVE_PYTHON_FALSE +HAVE_VERSIONING_TRUE +HAVE_VERSIONING_FALSE +LIBOBJS +LTLIBOBJS' +ac_subst_files='' + ac_precious_vars='build_alias +host_alias +target_alias +CXX +CXXFLAGS +LDFLAGS +LIBS +CPPFLAGS +CCC +CC +CFLAGS +PKG_CONFIG +CPP +DIET +DIETFLAGS +CXXCPP +F77 +FFLAGS +NSS_CFLAGS +NSS_LIBS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` + eval enable_$ac_feature=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` + eval enable_$ac_feature=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` + eval with_$ac_package=\$ac_optarg ;; + + -without-* | --without-*) + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` + eval with_$ac_package=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } +fi + +# Be sure to have absolute directory names. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; } +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + { echo "$as_me: error: Working directory cannot be determined" >&2 + { (exit 1); exit 1; }; } +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + { echo "$as_me: error: pwd does not report name of working directory" >&2 + { (exit 1); exit 1; }; } + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$0" || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 + { (exit 1); exit 1; }; } + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures util-vserver 0.30.216-pre2833 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/util-vserver] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of util-vserver 0.30.216-pre2833:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-extra-optimizations + disable certain extra optimizations (default: no) + --enable-lib-debug enable additional debug code in library (default: + no) + --enable-expensive-tests + disable tests which might be expensive on some + systems (default: no) + --enable-release enable release mode (default: no) + --disable-alternative-syscalls + do not use the alternative _syscallX macros provided + by Herbert Poetzl (default: use them) + --disable-dietlibc do not use dietlibc resp. enforce its usage (with + --enable-dietlibc) (default: autodetect dietlibc) + --enable-shared[=PKGS] build shared libraries [default=yes] + --enable-static[=PKGS] build static libraries [default=yes] + --enable-fast-install[=PKGS] + optimize for fast installation [default=yes] + --disable-libtool-lock avoid locking (might break parallel builds) + --disable-internal-headers + use vserver specific headers from the kernel instead + of the shipped versions (default: no) + --enable-apis=APIS enable support for the given apis; possible values + are: + legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2 + ALL,NOLEGACY (default: v13,net,v21,v22,v23,netv2) + --disable-versioning Disable library versioning + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-initrddir use as directory for SysV init-files (default: + $sysconfdir/init.d) + --with-syscall=METHOD call syscall(2) with the specified METHOD; valid + values are 'fast', 'traditional' and 'auto' + (default: auto) + --with-gnu-ld assume the C compiler uses GNU ld [default=no] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-tags[=TAGS] include additional configurations [automatic] + --with-vrootdir=DIR place vservers under DIR (default: /vservers) + --with-crypto-api=API select crypto api to be used; possible values are + `none', `nss', `beecrypt', `auto' (default:auto) + --with-initscripts=TYPE force host initscripts; valid values are 'gentoo' + and 'sysv' (default: guess) + +Some influential environment variables: + CXX C++ compiler command + CXXFLAGS C++ compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CC C compiler command + CFLAGS C compiler flags + PKG_CONFIG path to pkg-config utility + CPP C preprocessor + DIET The 'diet' wrapper (default: diet) + DIETFLAGS Flags passed to the 'diet' wrapper (default: -O) + CXXCPP C++ preprocessor + F77 Fortran 77 compiler command + FFLAGS Fortran 77 compiler flags + NSS_CFLAGS C compiler flags for NSS, overriding pkg-config + NSS_LIBS linker flags for NSS, overriding pkg-config + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +util-vserver configure 0.30.216-pre2833 +generated by GNU Autoconf 2.61 + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by util-vserver $as_me 0.30.216-pre2833, which was +generated by GNU Autoconf 2.61. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args '$ac_arg'" + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + *) $as_unset $ac_var ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer explicitly selected file to automatically selected ones. +if test -n "$CONFIG_SITE"; then + set x "$CONFIG_SITE" +elif test "x$prefix" != xNONE; then + set x "$prefix/share/config.site" "$prefix/etc/config.site" +else + set x "$ac_default_prefix/share/config.site" \ + "$ac_default_prefix/etc/config.site" +fi +shift +for ac_site_file +do + if test -r "$ac_site_file"; then + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } +fi + + + + + + + + + + + + + + + + + + + + + + + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_config_headers="$ac_config_headers config.h" + + +am__api_version='1.10' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} + { (exit 1); exit 1; }; } +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done +IFS=$as_save_IFS + + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&5 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&2;} + { (exit 1); exit 1; }; } + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! +Check your system clock" >&5 +echo "$as_me: error: newly created file is older than distributed files! +Check your system clock" >&2;} + { (exit 1); exit 1; }; } +fi +{ echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. echo might interpret backslashes. +# By default was `s,x,x', remove it if useless. +cat <<\_ACEOF >conftest.sed +s/[\\$]/&&/g;s/;s,x,x,$// +_ACEOF +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` +rm -f conftest.sed + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 +echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } +if test -z "$MKDIR_P"; then + if test "${ac_cv_path_mkdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done +done +IFS=$as_save_IFS + +fi + + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + test -d ./--version && rmdir ./--version + MKDIR_P="$ac_install_sh -d" + fi +fi +{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5 +echo "${ECHO_T}$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + SET_MAKE= +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} + { (exit 1); exit 1; }; } + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='util-vserver' + VERSION='0.30.216-pre2833' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} + { (exit 1); exit 1; }; } + +{ echo "$as_me:$LINENO: checking build system type" >&5 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } +if test "${ac_cv_build+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 +echo "${ECHO_T}$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 +echo "$as_me: error: invalid value of canonical build" >&2;} + { (exit 1); exit 1; }; };; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ echo "$as_me:$LINENO: checking host system type" >&5 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } +if test "${ac_cv_host+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} + { (exit 1); exit 1; }; } +fi + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 +echo "${ECHO_T}$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 +echo "$as_me: error: invalid value of canonical host" >&2;} + { (exit 1); exit 1; }; };; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + + +GPG_KEY="0xFFD316AC53ACA43A!" + + +# Checks for programs. +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +if test -z "$CXX"; then + if test -n "$CCC"; then + CXX=$CCC + else + if test -n "$ac_tool_prefix"; then + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CXX"; then + ac_cv_prog_CXX="$CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CXX=$ac_cv_prog_CXX +if test -n "$CXX"; then + { echo "$as_me:$LINENO: result: $CXX" >&5 +echo "${ECHO_T}$CXX" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CXX" && break + done +fi +if test -z "$CXX"; then + ac_ct_CXX=$CXX + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CXX"; then + ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CXX="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CXX=$ac_cv_prog_ac_ct_CXX +if test -n "$ac_ct_CXX"; then + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 +echo "${ECHO_T}$ac_ct_CXX" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_CXX" && break +done + + if test "x$ac_ct_CXX" = x; then + CXX="g++" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CXX=$ac_ct_CXX + fi +fi + + fi +fi +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for C++ compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 +echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; } +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +# +# List of possible output files, starting from the most likely. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) +# only as a last resort. b.out is created by i960 compilers. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' +# +# The IRIX 6 linker writes into existing files which may not be +# executable, retaining their permissions. Remove them first so a +# subsequent execution test works. +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { (ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi + +{ echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6; } +if test -z "$ac_file"; then + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext + +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 +echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; } +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C++ compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + fi + fi +fi +{ echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6; } + +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest$ac_cv_exeext +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } +if test "${ac_cv_cxx_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } +GXX=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CXXFLAGS=${CXXFLAGS+set} +ac_save_CXXFLAGS=$CXXFLAGS +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_cxx_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CXXFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } +if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then + CXXFLAGS="-g -O2" + else + CXXFLAGS="-g" + fi +else + if test "$GXX" = yes; then + CXXFLAGS="-O2" + else + CXXFLAGS= + fi +fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +{ echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +depcc="$CXX" am_compiler_list= + +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } +if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CXX_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CXX_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CXX_dependencies_compiler_type=none +fi + +fi +{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } +CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then + am__fastdepCXX_TRUE= + am__fastdepCXX_FALSE='#' +else + am__fastdepCXX_TRUE='#' + am__fastdepCXX_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_c89=$ac_arg +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6; } ;; + xno) + { echo "$as_me:$LINENO: result: unsupported" >&5 +echo "${ECHO_T}unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; +esac + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done +IFS=$as_save_IFS + + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } +LN_S=$as_ln_s +if test "$LN_S" = "ln -s"; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +else + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 +echo "${ECHO_T}no, using $LN_S" >&6; } +fi + +if test "x$CC" != xcc; then + { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 +echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; } +else + { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 +echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; } +fi +set dummy $CC; ac_cc=`echo $2 | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +# Make sure it works both with $CC and with simple cc. +# We do the test twice because some compilers refuse to overwrite an +# existing .o file with -o, though they will create one. +ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' +rm -f conftest2.* +if { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + test -f conftest2.$ac_objext && { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; +then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* + if { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + test -f conftest2.$ac_objext && { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; + then + # cc works too. + : + else + # cc exists but doesn't like -o. + eval ac_cv_prog_cc_${ac_cc}_c_o=no + fi + fi + fi +else + eval ac_cv_prog_cc_${ac_cc}_c_o=no +fi +rm -f core conftest* + +fi +if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + +cat >>confdefs.h <<\_ACEOF +#define NO_MINUS_C_MINUS_O 1 +_ACEOF + +fi + +# FIXME: we rely on the cache variable name because +# there is no other way. +set dummy $CC +ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +echo "${ECHO_T}$PKG_CONFIG" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + PKG_CONFIG="" + fi + +fi + + + + + { echo "$as_me:$LINENO: checking whether $CXX is a C++ compiler" >&5 +echo $ECHO_N "checking whether $CXX is a C++ compiler... $ECHO_C" >&6; } +if test "${ensc_cv_cxx_cxxcompiler+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF + + #include + +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_cv_cxx_cxxcompiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_cv_cxx_cxxcompiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_cxx_cxxcompiler" >&5 +echo "${ECHO_T}$ensc_cv_cxx_cxxcompiler" >&6; } + + if test x"$ensc_cv_cxx_cxxcompiler" = xyes; then + ENSC_HAVE_CXX_COMPILER_TRUE= + ENSC_HAVE_CXX_COMPILER_FALSE='#' +else + ENSC_HAVE_CXX_COMPILER_TRUE='#' + ENSC_HAVE_CXX_COMPILER_FALSE= +fi + + + if test x"$ensc_cv_cxx_cxxcompiler" = xno; then + { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&5 +echo "$as_me: WARNING: *** some programs will not be built because a C++ compiler is lacking" >&2;} + fi + + + + + + { echo "$as_me:$LINENO: checking whether $CC is a C99 compiler" >&5 +echo $ECHO_N "checking whether $CC is a C99 compiler... $ECHO_C" >&6; } +if test "${ensc_cv_c99_c99compiler+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF + +int main(int argc, char *argv) { + struct { int x; } a = { .x = argc }; + if (0) return 0; + int b; +} + +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_cv_c99_c99compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_cv_c99_c99compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_c99_c99compiler" >&5 +echo "${ECHO_T}$ensc_cv_c99_c99compiler" >&6; } + + if test x"$ensc_cv_c99_c99compiler" = xyes; then + ENSC_HAVE_C99_COMPILER_TRUE= + ENSC_HAVE_C99_COMPILER_FALSE='#' +else + ENSC_HAVE_C99_COMPILER_TRUE='#' + ENSC_HAVE_C99_COMPILER_FALSE= +fi + + + if test x"$ensc_cv_c99_c99compiler" = xno; then + { echo "$as_me:$LINENO: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&5 +echo "$as_me: WARNING: *** some programs will not be built because system is lacking a C99 compiler" >&2;} + fi + + + + ensc_searchpath="$PATH:/sbin:/usr/sbin:/usr/local/sbin" + + + ENSC_PATHPROG_SED= + + + + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $AWK in + [\\/]* | ?:[\\/]*) + ac_cv_path_AWK="$AWK" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +AWK=$ac_cv_path_AWK +if test -n "$AWK"; then + { echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$AWK" && break +done +test -n "$AWK" || AWK="$ensc_dflt" + + + if test -z "${AWK}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'awk' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${AWK}"; then + AWK=`readlink -f "${AWK}"` + fi + fi + + test "${AWK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'AWK'@!${AWK}!g;" + + test "${AWK}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in cat +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_CAT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $CAT in + [\\/]* | ?:[\\/]*) + ac_cv_path_CAT="$CAT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +CAT=$ac_cv_path_CAT +if test -n "$CAT"; then + { echo "$as_me:$LINENO: result: $CAT" >&5 +echo "${ECHO_T}$CAT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CAT" && break +done +test -n "$CAT" || CAT="$ensc_dflt" + + + if test -z "${CAT}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'cat' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${CAT}"; then + CAT=`readlink -f "${CAT}"` + fi + fi + + test "${CAT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CAT'@!${CAT}!g;" + + test "${CAT}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in chown +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_CHOWN+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $CHOWN in + [\\/]* | ?:[\\/]*) + ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_CHOWN="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +CHOWN=$ac_cv_path_CHOWN +if test -n "$CHOWN"; then + { echo "$as_me:$LINENO: result: $CHOWN" >&5 +echo "${ECHO_T}$CHOWN" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CHOWN" && break +done +test -n "$CHOWN" || CHOWN="$ensc_dflt" + + + if test -z "${CHOWN}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'chown' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${CHOWN}"; then + CHOWN=`readlink -f "${CHOWN}"` + fi + fi + + test "${CHOWN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CHOWN'@!${CHOWN}!g;" + + test "${CHOWN}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in cmp +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_CMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $CMP in + [\\/]* | ?:[\\/]*) + ac_cv_path_CMP="$CMP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +CMP=$ac_cv_path_CMP +if test -n "$CMP"; then + { echo "$as_me:$LINENO: result: $CMP" >&5 +echo "${ECHO_T}$CMP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CMP" && break +done +test -n "$CMP" || CMP="$ensc_dflt" + + + if test -z "${CMP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'cmp' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${CMP}"; then + CMP=`readlink -f "${CMP}"` + fi + fi + + test "${CMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CMP'@!${CMP}!g;" + + test "${CMP}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in cp +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_CP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $CP in + [\\/]* | ?:[\\/]*) + ac_cv_path_CP="$CP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +CP=$ac_cv_path_CP +if test -n "$CP"; then + { echo "$as_me:$LINENO: result: $CP" >&5 +echo "${ECHO_T}$CP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CP" && break +done +test -n "$CP" || CP="$ensc_dflt" + + + if test -z "${CP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'cp' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${CP}"; then + CP=`readlink -f "${CP}"` + fi + fi + + test "${CP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CP'@!${CP}!g;" + + test "${CP}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in dirname +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_DIRNAME+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $DIRNAME in + [\\/]* | ?:[\\/]*) + ac_cv_path_DIRNAME="$DIRNAME" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_DIRNAME="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +DIRNAME=$ac_cv_path_DIRNAME +if test -n "$DIRNAME"; then + { echo "$as_me:$LINENO: result: $DIRNAME" >&5 +echo "${ECHO_T}$DIRNAME" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$DIRNAME" && break +done +test -n "$DIRNAME" || DIRNAME="$ensc_dflt" + + + if test -z "${DIRNAME}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'dirname' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${DIRNAME}"; then + DIRNAME=`readlink -f "${DIRNAME}"` + fi + fi + + test "${DIRNAME}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DIRNAME'@!${DIRNAME}!g;" + + test "${DIRNAME}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in egrep +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $EGREP in + [\\/]* | ?:[\\/]*) + ac_cv_path_EGREP="$EGREP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_EGREP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +EGREP=$ac_cv_path_EGREP +if test -n "$EGREP"; then + { echo "$as_me:$LINENO: result: $EGREP" >&5 +echo "${ECHO_T}$EGREP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$EGREP" && break +done +test -n "$EGREP" || EGREP="$ensc_dflt" + + + if test -z "${EGREP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'egrep' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "xno-deref" = x; then + if test -h "${EGREP}"; then + EGREP=`readlink -f "${EGREP}"` + fi + fi + + test "${EGREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'EGREP'@!${EGREP}!g;" + + test "${EGREP}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in env +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_ENV+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $ENV in + [\\/]* | ?:[\\/]*) + ac_cv_path_ENV="$ENV" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ENV="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +ENV=$ac_cv_path_ENV +if test -n "$ENV"; then + { echo "$as_me:$LINENO: result: $ENV" >&5 +echo "${ECHO_T}$ENV" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ENV" && break +done +test -n "$ENV" || ENV="$ensc_dflt" + + + if test -z "${ENV}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'env' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${ENV}"; then + ENV=`readlink -f "${ENV}"` + fi + fi + + test "${ENV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'ENV'@!${ENV}!g;" + + test "${ENV}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in grep +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GREP in + [\\/]* | ?:[\\/]*) + ac_cv_path_GREP="$GREP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GREP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +GREP=$ac_cv_path_GREP +if test -n "$GREP"; then + { echo "$as_me:$LINENO: result: $GREP" >&5 +echo "${ECHO_T}$GREP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$GREP" && break +done +test -n "$GREP" || GREP="$ensc_dflt" + + + if test -z "${GREP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'grep' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${GREP}"; then + GREP=`readlink -f "${GREP}"` + fi + fi + + test "${GREP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GREP'@!${GREP}!g;" + + test "${GREP}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in ln +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_LN+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $LN in + [\\/]* | ?:[\\/]*) + ac_cv_path_LN="$LN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +LN=$ac_cv_path_LN +if test -n "$LN"; then + { echo "$as_me:$LINENO: result: $LN" >&5 +echo "${ECHO_T}$LN" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$LN" && break +done +test -n "$LN" || LN="$ensc_dflt" + + + if test -z "${LN}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'ln' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${LN}"; then + LN=`readlink -f "${LN}"` + fi + fi + + test "${LN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'LN'@!${LN}!g;" + + test "${LN}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in mkdir +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MKDIR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MKDIR in + [\\/]* | ?:[\\/]*) + ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +MKDIR=$ac_cv_path_MKDIR +if test -n "$MKDIR"; then + { echo "$as_me:$LINENO: result: $MKDIR" >&5 +echo "${ECHO_T}$MKDIR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$MKDIR" && break +done +test -n "$MKDIR" || MKDIR="$ensc_dflt" + + + if test -z "${MKDIR}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'mkdir' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${MKDIR}"; then + MKDIR=`readlink -f "${MKDIR}"` + fi + fi + + test "${MKDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKDIR'@!${MKDIR}!g;" + + test "${MKDIR}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in mkfifo +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MKFIFO+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MKFIFO in + [\\/]* | ?:[\\/]*) + ac_cv_path_MKFIFO="$MKFIFO" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MKFIFO="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +MKFIFO=$ac_cv_path_MKFIFO +if test -n "$MKFIFO"; then + { echo "$as_me:$LINENO: result: $MKFIFO" >&5 +echo "${ECHO_T}$MKFIFO" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$MKFIFO" && break +done +test -n "$MKFIFO" || MKFIFO="$ensc_dflt" + + + if test -z "${MKFIFO}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'mkfifo' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${MKFIFO}"; then + MKFIFO=`readlink -f "${MKFIFO}"` + fi + fi + + test "${MKFIFO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKFIFO'@!${MKFIFO}!g;" + + test "${MKFIFO}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in mktemp +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MKTEMP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MKTEMP in + [\\/]* | ?:[\\/]*) + ac_cv_path_MKTEMP="$MKTEMP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MKTEMP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +MKTEMP=$ac_cv_path_MKTEMP +if test -n "$MKTEMP"; then + { echo "$as_me:$LINENO: result: $MKTEMP" >&5 +echo "${ECHO_T}$MKTEMP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$MKTEMP" && break +done +test -n "$MKTEMP" || MKTEMP="$ensc_dflt" + + + if test -z "${MKTEMP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'mktemp' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${MKTEMP}"; then + MKTEMP=`readlink -f "${MKTEMP}"` + fi + fi + + test "${MKTEMP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MKTEMP'@!${MKTEMP}!g;" + + test "${MKTEMP}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in mount +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MOUNT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MOUNT in + [\\/]* | ?:[\\/]*) + ac_cv_path_MOUNT="$MOUNT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MOUNT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +MOUNT=$ac_cv_path_MOUNT +if test -n "$MOUNT"; then + { echo "$as_me:$LINENO: result: $MOUNT" >&5 +echo "${ECHO_T}$MOUNT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$MOUNT" && break +done +test -n "$MOUNT" || MOUNT="$ensc_dflt" + + + if test -z "${MOUNT}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'mount' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${MOUNT}"; then + MOUNT=`readlink -f "${MOUNT}"` + fi + fi + + test "${MOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MOUNT'@!${MOUNT}!g;" + + test "${MOUNT}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in mv +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MV+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MV in + [\\/]* | ?:[\\/]*) + ac_cv_path_MV="$MV" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +MV=$ac_cv_path_MV +if test -n "$MV"; then + { echo "$as_me:$LINENO: result: $MV" >&5 +echo "${ECHO_T}$MV" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$MV" && break +done +test -n "$MV" || MV="$ensc_dflt" + + + if test -z "${MV}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'mv' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${MV}"; then + MV=`readlink -f "${MV}"` + fi + fi + + test "${MV}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MV'@!${MV}!g;" + + test "${MV}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in nice +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_NICE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $NICE in + [\\/]* | ?:[\\/]*) + ac_cv_path_NICE="$NICE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_NICE="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +NICE=$ac_cv_path_NICE +if test -n "$NICE"; then + { echo "$as_me:$LINENO: result: $NICE" >&5 +echo "${ECHO_T}$NICE" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$NICE" && break +done +test -n "$NICE" || NICE="$ensc_dflt" + + + if test -z "${NICE}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'nice' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${NICE}"; then + NICE=`readlink -f "${NICE}"` + fi + fi + + test "${NICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NICE'@!${NICE}!g;" + + test "${NICE}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in ps +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_PS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $PS in + [\\/]* | ?:[\\/]*) + ac_cv_path_PS="$PS" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +PS=$ac_cv_path_PS +if test -n "$PS"; then + { echo "$as_me:$LINENO: result: $PS" >&5 +echo "${ECHO_T}$PS" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$PS" && break +done +test -n "$PS" || PS="$ensc_dflt" + + + if test -z "${PS}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'ps' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${PS}"; then + PS=`readlink -f "${PS}"` + fi + fi + + test "${PS}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'PS'@!${PS}!g;" + + test "${PS}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in rm +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_RM+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RM in + [\\/]* | ?:[\\/]*) + ac_cv_path_RM="$RM" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +RM=$ac_cv_path_RM +if test -n "$RM"; then + { echo "$as_me:$LINENO: result: $RM" >&5 +echo "${ECHO_T}$RM" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$RM" && break +done +test -n "$RM" || RM="$ensc_dflt" + + + if test -z "${RM}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'rm' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${RM}"; then + RM=`readlink -f "${RM}"` + fi + fi + + test "${RM}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RM'@!${RM}!g;" + + test "${RM}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in rmdir +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_RMDIR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RMDIR in + [\\/]* | ?:[\\/]*) + ac_cv_path_RMDIR="$RMDIR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_RMDIR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +RMDIR=$ac_cv_path_RMDIR +if test -n "$RMDIR"; then + { echo "$as_me:$LINENO: result: $RMDIR" >&5 +echo "${ECHO_T}$RMDIR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$RMDIR" && break +done +test -n "$RMDIR" || RMDIR="$ensc_dflt" + + + if test -z "${RMDIR}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'rmdir' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${RMDIR}"; then + RMDIR=`readlink -f "${RMDIR}"` + fi + fi + + test "${RMDIR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMDIR'@!${RMDIR}!g;" + + test "${RMDIR}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in sed +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $SED in + [\\/]* | ?:[\\/]*) + ac_cv_path_SED="$SED" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +SED=$ac_cv_path_SED +if test -n "$SED"; then + { echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$SED" && break +done +test -n "$SED" || SED="$ensc_dflt" + + + if test -z "${SED}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'sed' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${SED}"; then + SED=`readlink -f "${SED}"` + fi + fi + + test "${SED}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SED'@!${SED}!g;" + + test "${SED}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in sh +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_SH+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $SH in + [\\/]* | ?:[\\/]*) + ac_cv_path_SH="$SH" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +SH=$ac_cv_path_SH +if test -n "$SH"; then + { echo "$as_me:$LINENO: result: $SH" >&5 +echo "${ECHO_T}$SH" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$SH" && break +done +test -n "$SH" || SH="$ensc_dflt" + + + if test -z "${SH}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'sh' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${SH}"; then + SH=`readlink -f "${SH}"` + fi + fi + + test "${SH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'SH'@!${SH}!g;" + + test "${SH}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in tac +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_TAC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $TAC in + [\\/]* | ?:[\\/]*) + ac_cv_path_TAC="$TAC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_TAC="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +TAC=$ac_cv_path_TAC +if test -n "$TAC"; then + { echo "$as_me:$LINENO: result: $TAC" >&5 +echo "${ECHO_T}$TAC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$TAC" && break +done +test -n "$TAC" || TAC="$ensc_dflt" + + + if test -z "${TAC}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'tac' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${TAC}"; then + TAC=`readlink -f "${TAC}"` + fi + fi + + test "${TAC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAC'@!${TAC}!g;" + + test "${TAC}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in tar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_TAR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $TAR in + [\\/]* | ?:[\\/]*) + ac_cv_path_TAR="$TAR" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +TAR=$ac_cv_path_TAR +if test -n "$TAR"; then + { echo "$as_me:$LINENO: result: $TAR" >&5 +echo "${ECHO_T}$TAR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$TAR" && break +done +test -n "$TAR" || TAR="$ensc_dflt" + + + if test -z "${TAR}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'tar' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${TAR}"; then + TAR=`readlink -f "${TAR}"` + fi + fi + + test "${TAR}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TAR'@!${TAR}!g;" + + test "${TAR}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in touch +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_TOUCH+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $TOUCH in + [\\/]* | ?:[\\/]*) + ac_cv_path_TOUCH="$TOUCH" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +TOUCH=$ac_cv_path_TOUCH +if test -n "$TOUCH"; then + { echo "$as_me:$LINENO: result: $TOUCH" >&5 +echo "${ECHO_T}$TOUCH" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$TOUCH" && break +done +test -n "$TOUCH" || TOUCH="$ensc_dflt" + + + if test -z "${TOUCH}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'touch' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${TOUCH}"; then + TOUCH=`readlink -f "${TOUCH}"` + fi + fi + + test "${TOUCH}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TOUCH'@!${TOUCH}!g;" + + test "${TOUCH}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in tty +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_TTY+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $TTY in + [\\/]* | ?:[\\/]*) + ac_cv_path_TTY="$TTY" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_TTY="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +TTY=$ac_cv_path_TTY +if test -n "$TTY"; then + { echo "$as_me:$LINENO: result: $TTY" >&5 +echo "${ECHO_T}$TTY" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$TTY" && break +done +test -n "$TTY" || TTY="$ensc_dflt" + + + if test -z "${TTY}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'tty' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${TTY}"; then + TTY=`readlink -f "${TTY}"` + fi + fi + + test "${TTY}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'TTY'@!${TTY}!g;" + + test "${TTY}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in umount +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_UMOUNT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $UMOUNT in + [\\/]* | ?:[\\/]*) + ac_cv_path_UMOUNT="$UMOUNT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_UMOUNT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +UMOUNT=$ac_cv_path_UMOUNT +if test -n "$UMOUNT"; then + { echo "$as_me:$LINENO: result: $UMOUNT" >&5 +echo "${ECHO_T}$UMOUNT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$UMOUNT" && break +done +test -n "$UMOUNT" || UMOUNT="$ensc_dflt" + + + if test -z "${UMOUNT}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'umount' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${UMOUNT}"; then + UMOUNT=`readlink -f "${UMOUNT}"` + fi + fi + + test "${UMOUNT}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'UMOUNT'@!${UMOUNT}!g;" + + test "${UMOUNT}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in wc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_WC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $WC in + [\\/]* | ?:[\\/]*) + ac_cv_path_WC="$WC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_WC="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +WC=$ac_cv_path_WC +if test -n "$WC"; then + { echo "$as_me:$LINENO: result: $WC" >&5 +echo "${ECHO_T}$WC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$WC" && break +done +test -n "$WC" || WC="$ensc_dflt" + + + if test -z "${WC}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'wc' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${WC}"; then + WC=`readlink -f "${WC}"` + fi + fi + + test "${WC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WC'@!${WC}!g;" + + test "${WC}" + + + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in ip +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_IP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $IP in + [\\/]* | ?:[\\/]*) + ac_cv_path_IP="$IP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_IP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +IP=$ac_cv_path_IP +if test -n "$IP"; then + { echo "$as_me:$LINENO: result: $IP" >&5 +echo "${ECHO_T}$IP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$IP" && break +done +test -n "$IP" || IP="$ensc_dflt" + + + if test -z "${IP}" && $rq; then + if test -z "Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution"; then + { { echo "$as_me:$LINENO: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'. +Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&5 +echo "$as_me: error: +Can not find the 'ip' tool within '${ensc_searchpath:-$PATH}'. +Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${IP}"; then + IP=`readlink -f "${IP}"` + fi + fi + + test "${IP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IP'@!${IP}!g;" + + test "${IP}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in iptables +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_IPTABLES+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $IPTABLES in + [\\/]* | ?:[\\/]*) + ac_cv_path_IPTABLES="$IPTABLES" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_IPTABLES="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +IPTABLES=$ac_cv_path_IPTABLES +if test -n "$IPTABLES"; then + { echo "$as_me:$LINENO: result: $IPTABLES" >&5 +echo "${ECHO_T}$IPTABLES" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$IPTABLES" && break +done +test -n "$IPTABLES" || IPTABLES="$ensc_dflt" + + + if test -z "${IPTABLES}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'iptables' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${IPTABLES}"; then + IPTABLES=`readlink -f "${IPTABLES}"` + fi + fi + + test "${IPTABLES}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IPTABLES'@!${IPTABLES}!g;" + + test "${IPTABLES}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in modprobe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MODPROBE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MODPROBE in + [\\/]* | ?:[\\/]*) + ac_cv_path_MODPROBE="$MODPROBE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MODPROBE="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +MODPROBE=$ac_cv_path_MODPROBE +if test -n "$MODPROBE"; then + { echo "$as_me:$LINENO: result: $MODPROBE" >&5 +echo "${ECHO_T}$MODPROBE" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$MODPROBE" && break +done +test -n "$MODPROBE" || MODPROBE="$ensc_dflt" + + + if test -z "${MODPROBE}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'modprobe' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${MODPROBE}"; then + MODPROBE=`readlink -f "${MODPROBE}"` + fi + fi + + test "${MODPROBE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'MODPROBE'@!${MODPROBE}!g;" + + test "${MODPROBE}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in nameif +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_NAMEIF+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $NAMEIF in + [\\/]* | ?:[\\/]*) + ac_cv_path_NAMEIF="$NAMEIF" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_NAMEIF="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +NAMEIF=$ac_cv_path_NAMEIF +if test -n "$NAMEIF"; then + { echo "$as_me:$LINENO: result: $NAMEIF" >&5 +echo "${ECHO_T}$NAMEIF" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$NAMEIF" && break +done +test -n "$NAMEIF" || NAMEIF="$ensc_dflt" + + + if test -z "${NAMEIF}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'nameif' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${NAMEIF}"; then + NAMEIF=`readlink -f "${NAMEIF}"` + fi + fi + + test "${NAMEIF}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NAMEIF'@!${NAMEIF}!g;" + + test "${NAMEIF}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in nohup +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_NOHUP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $NOHUP in + [\\/]* | ?:[\\/]*) + ac_cv_path_NOHUP="$NOHUP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_NOHUP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +NOHUP=$ac_cv_path_NOHUP +if test -n "$NOHUP"; then + { echo "$as_me:$LINENO: result: $NOHUP" >&5 +echo "${ECHO_T}$NOHUP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$NOHUP" && break +done +test -n "$NOHUP" || NOHUP="$ensc_dflt" + + + if test -z "${NOHUP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'nohup' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${NOHUP}"; then + NOHUP=`readlink -f "${NOHUP}"` + fi + fi + + test "${NOHUP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'NOHUP'@!${NOHUP}!g;" + + test "${NOHUP}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in rmmod +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_RMMOD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RMMOD in + [\\/]* | ?:[\\/]*) + ac_cv_path_RMMOD="$RMMOD" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_RMMOD="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +RMMOD=$ac_cv_path_RMMOD +if test -n "$RMMOD"; then + { echo "$as_me:$LINENO: result: $RMMOD" >&5 +echo "${ECHO_T}$RMMOD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$RMMOD" && break +done +test -n "$RMMOD" || RMMOD="$ensc_dflt" + + + if test -z "${RMMOD}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'rmmod' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${RMMOD}"; then + RMMOD=`readlink -f "${RMMOD}"` + fi + fi + + test "${RMMOD}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RMMOD'@!${RMMOD}!g;" + + test "${RMMOD}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in vconfig +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_VCONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $VCONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_VCONFIG="$VCONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_VCONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +VCONFIG=$ac_cv_path_VCONFIG +if test -n "$VCONFIG"; then + { echo "$as_me:$LINENO: result: $VCONFIG" >&5 +echo "${ECHO_T}$VCONFIG" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$VCONFIG" && break +done +test -n "$VCONFIG" || VCONFIG="$ensc_dflt" + + + if test -z "${VCONFIG}" && $rq; then + if test -z "See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution"; then + { { echo "$as_me:$LINENO: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'. +See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&5 +echo "$as_me: error: +Can not find the 'vconfig' tool within '${ensc_searchpath:-$PATH}'. +See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${VCONFIG}"; then + VCONFIG=`readlink -f "${VCONFIG}"` + fi + fi + + test "${VCONFIG}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'VCONFIG'@!${VCONFIG}!g;" + + test "${VCONFIG}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in wget +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_WGET+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $WGET in + [\\/]* | ?:[\\/]*) + ac_cv_path_WGET="$WGET" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +WGET=$ac_cv_path_WGET +if test -n "$WGET"; then + { echo "$as_me:$LINENO: result: $WGET" >&5 +echo "${ECHO_T}$WGET" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$WGET" && break +done +test -n "$WGET" || WGET="$ensc_dflt" + + + if test -z "${WGET}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'wget' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${WGET}"; then + WGET=`readlink -f "${WGET}"` + fi + fi + + test "${WGET}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'WGET'@!${WGET}!g;" + + test "${WGET}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in ionice +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_IONICE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $IONICE in + [\\/]* | ?:[\\/]*) + ac_cv_path_IONICE="$IONICE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_IONICE="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +IONICE=$ac_cv_path_IONICE +if test -n "$IONICE"; then + { echo "$as_me:$LINENO: result: $IONICE" >&5 +echo "${ECHO_T}$IONICE" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$IONICE" && break +done +test -n "$IONICE" || IONICE="$ensc_dflt" + + + if test -z "${IONICE}" && $rq; then + if test -z "This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package"; then + { { echo "$as_me:$LINENO: error: Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'. +This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package" >&5 +echo "$as_me: error: +Can not find the 'ionice' tool within '${ensc_searchpath:-$PATH}'. +This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${IONICE}"; then + IONICE=`readlink -f "${IONICE}"` + fi + fi + + test "${IONICE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'IONICE'@!${IONICE}!g;" + + test "${IONICE}" + + + + + if test -z "file"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="file" + fi + + for ac_prog in file +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_FILE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $FILE in + [\\/]* | ?:[\\/]*) + ac_cv_path_FILE="$FILE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_FILE="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +FILE=$ac_cv_path_FILE +if test -n "$FILE"; then + { echo "$as_me:$LINENO: result: $FILE" >&5 +echo "${ECHO_T}$FILE" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$FILE" && break +done +test -n "$FILE" || FILE="$ensc_dflt" + + + if test -z "${FILE}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'file' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${FILE}"; then + FILE=`readlink -f "${FILE}"` + fi + fi + + test "${FILE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FILE'@!${FILE}!g;" + + test "${FILE}" + + + + + if test -z "gzip"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="gzip" + fi + + for ac_prog in gzip +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_GZIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GZIP in + [\\/]* | ?:[\\/]*) + ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +GZIP=$ac_cv_path_GZIP +if test -n "$GZIP"; then + { echo "$as_me:$LINENO: result: $GZIP" >&5 +echo "${ECHO_T}$GZIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$GZIP" && break +done +test -n "$GZIP" || GZIP="$ensc_dflt" + + + if test -z "${GZIP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'gzip' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${GZIP}"; then + GZIP=`readlink -f "${GZIP}"` + fi + fi + + test "${GZIP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'GZIP'@!${GZIP}!g;" + + test "${GZIP}" + + + + + if test -z "bzip2"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="bzip2" + fi + + for ac_prog in bzip2 +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_BZIP2+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $BZIP2 in + [\\/]* | ?:[\\/]*) + ac_cv_path_BZIP2="$BZIP2" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_BZIP2="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +BZIP2=$ac_cv_path_BZIP2 +if test -n "$BZIP2"; then + { echo "$as_me:$LINENO: result: $BZIP2" >&5 +echo "${ECHO_T}$BZIP2" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$BZIP2" && break +done +test -n "$BZIP2" || BZIP2="$ensc_dflt" + + + if test -z "${BZIP2}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'bzip2' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${BZIP2}"; then + BZIP2=`readlink -f "${BZIP2}"` + fi + fi + + test "${BZIP2}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'BZIP2'@!${BZIP2}!g;" + + test "${BZIP2}" + + + + + if test -z "cpio"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="cpio" + fi + + for ac_prog in cpio +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_CPIO+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $CPIO in + [\\/]* | ?:[\\/]*) + ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +CPIO=$ac_cv_path_CPIO +if test -n "$CPIO"; then + { echo "$as_me:$LINENO: result: $CPIO" >&5 +echo "${ECHO_T}$CPIO" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CPIO" && break +done +test -n "$CPIO" || CPIO="$ensc_dflt" + + + if test -z "${CPIO}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'cpio' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${CPIO}"; then + CPIO=`readlink -f "${CPIO}"` + fi + fi + + test "${CPIO}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'CPIO'@!${CPIO}!g;" + + test "${CPIO}" + + + + + if test -z "restore"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="restore" + fi + + for ac_prog in restore +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_RESTORE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RESTORE in + [\\/]* | ?:[\\/]*) + ac_cv_path_RESTORE="$RESTORE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_RESTORE="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +RESTORE=$ac_cv_path_RESTORE +if test -n "$RESTORE"; then + { echo "$as_me:$LINENO: result: $RESTORE" >&5 +echo "${ECHO_T}$RESTORE" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$RESTORE" && break +done +test -n "$RESTORE" || RESTORE="$ensc_dflt" + + + if test -z "${RESTORE}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'restore' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${RESTORE}"; then + RESTORE=`readlink -f "${RESTORE}"` + fi + fi + + test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;" + + test "${RESTORE}" + + + + + if test -z "rsync"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="rsync" + fi + + for ac_prog in rsync +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_RSYNC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $RSYNC in + [\\/]* | ?:[\\/]*) + ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +RSYNC=$ac_cv_path_RSYNC +if test -n "$RSYNC"; then + { echo "$as_me:$LINENO: result: $RSYNC" >&5 +echo "${ECHO_T}$RSYNC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$RSYNC" && break +done +test -n "$RSYNC" || RSYNC="$ensc_dflt" + + + if test -z "${RSYNC}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${RSYNC}"; then + RSYNC=`readlink -f "${RSYNC}"` + fi + fi + + test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;" + + test "${RSYNC}" + + + + + if test -z "strace"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="strace" + fi + + for ac_prog in strace +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_STRACE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $STRACE in + [\\/]* | ?:[\\/]*) + ac_cv_path_STRACE="$STRACE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_STRACE="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +STRACE=$ac_cv_path_STRACE +if test -n "$STRACE"; then + { echo "$as_me:$LINENO: result: $STRACE" >&5 +echo "${ECHO_T}$STRACE" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$STRACE" && break +done +test -n "$STRACE" || STRACE="$ensc_dflt" + + + if test -z "${STRACE}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'strace' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${STRACE}"; then + STRACE=`readlink -f "${STRACE}"` + fi + fi + + test "${STRACE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'STRACE'@!${STRACE}!g;" + + test "${STRACE}" + + + + + if test -z ""; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="" + fi + + for ac_prog in fsck +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_FSCK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $FSCK in + [\\/]* | ?:[\\/]*) + ac_cv_path_FSCK="$FSCK" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_FSCK="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +FSCK=$ac_cv_path_FSCK +if test -n "$FSCK"; then + { echo "$as_me:$LINENO: result: $FSCK" >&5 +echo "${ECHO_T}$FSCK" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$FSCK" && break +done +test -n "$FSCK" || FSCK="$ensc_dflt" + + + if test -z "${FSCK}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'fsck' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${FSCK}"; then + FSCK=`readlink -f "${FSCK}"` + fi + fi + + test "${FSCK}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'FSCK'@!${FSCK}!g;" + + test "${FSCK}" + + + + + + if test -z ":"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt=":" + fi + + for ac_prog in doxygen +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_DOXYGEN+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $DOXYGEN in + [\\/]* | ?:[\\/]*) + ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +DOXYGEN=$ac_cv_path_DOXYGEN +if test -n "$DOXYGEN"; then + { echo "$as_me:$LINENO: result: $DOXYGEN" >&5 +echo "${ECHO_T}$DOXYGEN" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$DOXYGEN" && break +done +test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt" + + + if test -z "${DOXYGEN}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${DOXYGEN}"; then + DOXYGEN=`readlink -f "${DOXYGEN}"` + fi + fi + + test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;" + + test "${DOXYGEN}" + + + + + if test -z ":"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt=":" + fi + + for ac_prog in xsltp +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_XSLTP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $XSLTP in + [\\/]* | ?:[\\/]*) + ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +XSLTP=$ac_cv_path_XSLTP +if test -n "$XSLTP"; then + { echo "$as_me:$LINENO: result: $XSLTP" >&5 +echo "${ECHO_T}$XSLTP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$XSLTP" && break +done +test -n "$XSLTP" || XSLTP="$ensc_dflt" + + + if test -z "${XSLTP}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${XSLTP}"; then + XSLTP=`readlink -f "${XSLTP}"` + fi + fi + + test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;" + + test "${XSLTP}" + + + + + if test -z ":"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt=":" + fi + + for ac_prog in xsltproc +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_XSLTPROC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $XSLTPROC in + [\\/]* | ?:[\\/]*) + ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $ensc_searchpath +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +XSLTPROC=$ac_cv_path_XSLTPROC +if test -n "$XSLTPROC"; then + { echo "$as_me:$LINENO: result: $XSLTPROC" >&5 +echo "${ECHO_T}$XSLTPROC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$XSLTPROC" && break +done +test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt" + + + if test -z "${XSLTPROC}" && $rq; then + if test -z ""; then + { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5 +echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;} + { (exit 1); exit 1; }; } + else + { { echo "$as_me:$LINENO: error: +Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'. +" >&5 +echo "$as_me: error: +Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'. +" >&2;} + { (exit 1); exit 1; }; } + fi + fi + + if test "x" = x; then + if test -h "${XSLTPROC}"; then + XSLTPROC=`readlink -f "${XSLTPROC}"` + fi + fi + + test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;" + + test "${XSLTPROC}" + + + if test "$XSLTP" != ':'; then + HAVE_XSLTP_TRUE= + HAVE_XSLTP_FALSE='#' +else + HAVE_XSLTP_TRUE='#' + HAVE_XSLTP_FALSE= +fi + + if test "$XSLTPROC" != ':'; then + HAVE_XSLTPROC_TRUE= + HAVE_XSLTPROC_FALSE='#' +else + HAVE_XSLTPROC_TRUE='#' + HAVE_XSLTPROC_FALSE= +fi + + +if test x"$prefix" = x/; then + prefix= +fi + + + + warn_flags="-Werror -W" + { echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5 +echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6; } + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + __ensc_check_warnflags_old_CFLAGS="${CFLAGS}" + CFLAGS="$warn_flags" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +inline static void f(){} +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_sys_compilerwarnflags_C=${warn_flags} +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_sys_compilerwarnflags_C= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CFLAGS="$__ensc_check_warnflags_old_CFLAGS" + + if test x"${ensc_sys_compilerwarnflags_C}" = x; then + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + else + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + fi + + + + + +echo 'void f(){}' > conftest.c + for i in -std=c99 -Wall -pedantic -W + do + { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5 +echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; } + if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`" + then + CFLAGS="${CFLAGS} $i" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + fi + done + rm -f conftest.c conftest.o + + + + warn_flags="-Werror -W" + { echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5 +echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6; } + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}" + CXXFLAGS="$warn_flags" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +inline static void f(){} +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_sys_compilerwarnflags_CXX=${warn_flags} +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_sys_compilerwarnflags_CXX= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS" + + if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + else + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + fi + + + + + + echo 'void f(){}' > conftest.cc + for i in -ansi -Wall -pedantic -W -fmessage-length=0 + do + { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5 +echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; } + if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`" + then + CXXFLAGS="${CXXFLAGS} $i" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + fi + done + rm -f conftest.cc conftest.o + + +{ echo "$as_me:$LINENO: checking whether to enable extra optimizations" >&5 +echo $ECHO_N "checking whether to enable extra optimizations... $ECHO_C" >&6; } +# Check whether --enable-extra-optimizations was given. +if test "${enable_extra_optimizations+set}" = set; then + enableval=$enable_extra_optimizations; case "$enableval" in + (yes) use_extra_optimizations=1;; + (no) use_extra_optimizations=;; + (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&5 +echo "$as_me: error: '$enableval' is not a valid value for '--disable-extra-optimizations'" >&2;} + { (exit 1); exit 1; }; };; + esac +else + use_extra_optimizations=1 +fi + + +if test x"$use_extra_optimizations" = x; then + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +else + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + + + +echo 'void f(){}' > conftest.c + for i in -funit-at-a-time + do + { echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5 +echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6; } + if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`" + then + CFLAGS="${CFLAGS} $i" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + fi + done + rm -f conftest.c conftest.o + + + + + echo 'void f(){}' > conftest.cc + for i in -funit-at-a-time + do + { echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5 +echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6; } + if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`" + then + CXXFLAGS="${CXXFLAGS} $i" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + fi + done + rm -f conftest.cc conftest.o + +fi + +{ echo "$as_me:$LINENO: checking whether to enable debug-code in library" >&5 +echo $ECHO_N "checking whether to enable debug-code in library... $ECHO_C" >&6; } +# Check whether --enable-lib-debug was given. +if test "${enable_lib_debug+set}" = set; then + enableval=$enable_lib_debug; case "$enableval" in + (yes) use_lib_debug=1;; + (no) use_lib_debug=;; + (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&5 +echo "$as_me: error: '$enableval' is not a valid value for '--enable-lib-debug'" >&2;} + { (exit 1); exit 1; }; };; + esac +else + use_lib_debug= +fi + + +if test x"$use_lib_debug" = x; then + LIB_DEBUG_CPPFLAGS=-DNDEBUG + + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +else + + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +fi + +{ echo "$as_me:$LINENO: checking whether to enable expensive tests" >&5 +echo $ECHO_N "checking whether to enable expensive tests... $ECHO_C" >&6; } +# Check whether --enable-expensive-tests was given. +if test "${enable_expensive_tests+set}" = set; then + enableval=$enable_expensive_tests; case "$enableval" in + (yes|no) use_expensive_tests=$enableval;; + (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&5 +echo "$as_me: error: '$enableval' is not a valid value for '--enable-expensive-tests'" >&2;} + { (exit 1); exit 1; }; };; + esac +else + use_expensive_tests=no +fi + +{ echo "$as_me:$LINENO: result: $use_expensive_tests" >&5 +echo "${ECHO_T}$use_expensive_tests" >&6; } + +ENSC_USE_EXPENSIVE_TESTS="$use_expensive_tests" + + + + + { echo "$as_me:$LINENO: checking for declarations in " >&5 +echo $ECHO_N "checking for declarations in ... $ECHO_C" >&6; } + { echo "$as_me:$LINENO: result: " >&5 +echo "${ECHO_T}" >&6; } + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + { echo "$as_me:$LINENO: checking whether MMAP_PAGE_ZERO is declared" >&5 +echo $ECHO_N "checking whether MMAP_PAGE_ZERO is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_MMAP_PAGE_ZERO+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef MMAP_PAGE_ZERO + (void) MMAP_PAGE_ZERO; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_MMAP_PAGE_ZERO=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_MMAP_PAGE_ZERO=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_MMAP_PAGE_ZERO" >&5 +echo "${ECHO_T}$ac_cv_have_decl_MMAP_PAGE_ZERO" >&6; } +if test $ac_cv_have_decl_MMAP_PAGE_ZERO = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MMAP_PAGE_ZERO 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MMAP_PAGE_ZERO 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether ADDR_LIMIT_32BIT is declared" >&5 +echo $ECHO_N "checking whether ADDR_LIMIT_32BIT is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_ADDR_LIMIT_32BIT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef ADDR_LIMIT_32BIT + (void) ADDR_LIMIT_32BIT; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_ADDR_LIMIT_32BIT=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_ADDR_LIMIT_32BIT=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_32BIT" >&5 +echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_32BIT" >&6; } +if test $ac_cv_have_decl_ADDR_LIMIT_32BIT = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_LIMIT_32BIT 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_LIMIT_32BIT 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether SHORT_INODE is declared" >&5 +echo $ECHO_N "checking whether SHORT_INODE is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_SHORT_INODE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef SHORT_INODE + (void) SHORT_INODE; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_SHORT_INODE=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_SHORT_INODE=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHORT_INODE" >&5 +echo "${ECHO_T}$ac_cv_have_decl_SHORT_INODE" >&6; } +if test $ac_cv_have_decl_SHORT_INODE = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_SHORT_INODE 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_SHORT_INODE 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether WHOLE_SECONDS is declared" >&5 +echo $ECHO_N "checking whether WHOLE_SECONDS is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_WHOLE_SECONDS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef WHOLE_SECONDS + (void) WHOLE_SECONDS; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_WHOLE_SECONDS=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_WHOLE_SECONDS=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_WHOLE_SECONDS" >&5 +echo "${ECHO_T}$ac_cv_have_decl_WHOLE_SECONDS" >&6; } +if test $ac_cv_have_decl_WHOLE_SECONDS = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_WHOLE_SECONDS 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_WHOLE_SECONDS 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether STICKY_TIMEOUTS is declared" >&5 +echo $ECHO_N "checking whether STICKY_TIMEOUTS is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_STICKY_TIMEOUTS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef STICKY_TIMEOUTS + (void) STICKY_TIMEOUTS; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_STICKY_TIMEOUTS=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_STICKY_TIMEOUTS=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_STICKY_TIMEOUTS" >&5 +echo "${ECHO_T}$ac_cv_have_decl_STICKY_TIMEOUTS" >&6; } +if test $ac_cv_have_decl_STICKY_TIMEOUTS = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STICKY_TIMEOUTS 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_STICKY_TIMEOUTS 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether ADDR_LIMIT_3GB is declared" >&5 +echo $ECHO_N "checking whether ADDR_LIMIT_3GB is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_ADDR_LIMIT_3GB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef ADDR_LIMIT_3GB + (void) ADDR_LIMIT_3GB; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_ADDR_LIMIT_3GB=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_ADDR_LIMIT_3GB=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ADDR_LIMIT_3GB" >&5 +echo "${ECHO_T}$ac_cv_have_decl_ADDR_LIMIT_3GB" >&6; } +if test $ac_cv_have_decl_ADDR_LIMIT_3GB = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_LIMIT_3GB 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ADDR_LIMIT_3GB 0 +_ACEOF + + +fi + + + + { echo "$as_me:$LINENO: checking whether PER_LINUX is declared" >&5 +echo $ECHO_N "checking whether PER_LINUX is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_LINUX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_LINUX + (void) PER_LINUX; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_LINUX=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_LINUX=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX" >&6; } +if test $ac_cv_have_decl_PER_LINUX = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_LINUX_32BIT is declared" >&5 +echo $ECHO_N "checking whether PER_LINUX_32BIT is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_LINUX_32BIT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_LINUX_32BIT + (void) PER_LINUX_32BIT; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_LINUX_32BIT=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_LINUX_32BIT=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX_32BIT" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX_32BIT" >&6; } +if test $ac_cv_have_decl_PER_LINUX_32BIT = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX_32BIT 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX_32BIT 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_SVR4 is declared" >&5 +echo $ECHO_N "checking whether PER_SVR4 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_SVR4+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_SVR4 + (void) PER_SVR4; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_SVR4=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_SVR4=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR4" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_SVR4" >&6; } +if test $ac_cv_have_decl_PER_SVR4 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SVR4 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SVR4 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_SVR3 is declared" >&5 +echo $ECHO_N "checking whether PER_SVR3 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_SVR3+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_SVR3 + (void) PER_SVR3; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_SVR3=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_SVR3=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SVR3" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_SVR3" >&6; } +if test $ac_cv_have_decl_PER_SVR3 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SVR3 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SVR3 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_SCOSVR3 is declared" >&5 +echo $ECHO_N "checking whether PER_SCOSVR3 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_SCOSVR3+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_SCOSVR3 + (void) PER_SCOSVR3; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_SCOSVR3=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_SCOSVR3=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SCOSVR3" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_SCOSVR3" >&6; } +if test $ac_cv_have_decl_PER_SCOSVR3 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SCOSVR3 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SCOSVR3 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_OSR5 is declared" >&5 +echo $ECHO_N "checking whether PER_OSR5 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_OSR5+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_OSR5 + (void) PER_OSR5; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_OSR5=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_OSR5=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSR5" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_OSR5" >&6; } +if test $ac_cv_have_decl_PER_OSR5 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_OSR5 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_OSR5 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_WYSEV386 is declared" >&5 +echo $ECHO_N "checking whether PER_WYSEV386 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_WYSEV386+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_WYSEV386 + (void) PER_WYSEV386; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_WYSEV386=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_WYSEV386=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_WYSEV386" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_WYSEV386" >&6; } +if test $ac_cv_have_decl_PER_WYSEV386 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_WYSEV386 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_WYSEV386 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_ISCR4 is declared" >&5 +echo $ECHO_N "checking whether PER_ISCR4 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_ISCR4+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_ISCR4 + (void) PER_ISCR4; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_ISCR4=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_ISCR4=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_ISCR4" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_ISCR4" >&6; } +if test $ac_cv_have_decl_PER_ISCR4 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_ISCR4 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_ISCR4 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_BSD is declared" >&5 +echo $ECHO_N "checking whether PER_BSD is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_BSD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_BSD + (void) PER_BSD; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_BSD=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_BSD=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_BSD" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_BSD" >&6; } +if test $ac_cv_have_decl_PER_BSD = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_BSD 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_BSD 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_SUNOS is declared" >&5 +echo $ECHO_N "checking whether PER_SUNOS is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_SUNOS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_SUNOS + (void) PER_SUNOS; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_SUNOS=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_SUNOS=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SUNOS" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_SUNOS" >&6; } +if test $ac_cv_have_decl_PER_SUNOS = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SUNOS 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SUNOS 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_XENIX is declared" >&5 +echo $ECHO_N "checking whether PER_XENIX is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_XENIX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_XENIX + (void) PER_XENIX; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_XENIX=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_XENIX=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_XENIX" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_XENIX" >&6; } +if test $ac_cv_have_decl_PER_XENIX = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_XENIX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_XENIX 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_LINUX32 is declared" >&5 +echo $ECHO_N "checking whether PER_LINUX32 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_LINUX32+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_LINUX32 + (void) PER_LINUX32; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_LINUX32=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_LINUX32=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32" >&6; } +if test $ac_cv_have_decl_PER_LINUX32 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX32 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX32 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_LINUX32_3GB is declared" >&5 +echo $ECHO_N "checking whether PER_LINUX32_3GB is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_LINUX32_3GB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_LINUX32_3GB + (void) PER_LINUX32_3GB; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_LINUX32_3GB=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_LINUX32_3GB=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_LINUX32_3GB" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_LINUX32_3GB" >&6; } +if test $ac_cv_have_decl_PER_LINUX32_3GB = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX32_3GB 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_LINUX32_3GB 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_IRIX32 is declared" >&5 +echo $ECHO_N "checking whether PER_IRIX32 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_IRIX32+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_IRIX32 + (void) PER_IRIX32; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_IRIX32=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_IRIX32=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX32" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX32" >&6; } +if test $ac_cv_have_decl_PER_IRIX32 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_IRIX32 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_IRIX32 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_IRIXN32 is declared" >&5 +echo $ECHO_N "checking whether PER_IRIXN32 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_IRIXN32+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_IRIXN32 + (void) PER_IRIXN32; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_IRIXN32=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_IRIXN32=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIXN32" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_IRIXN32" >&6; } +if test $ac_cv_have_decl_PER_IRIXN32 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_IRIXN32 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_IRIXN32 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_IRIX64 is declared" >&5 +echo $ECHO_N "checking whether PER_IRIX64 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_IRIX64+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_IRIX64 + (void) PER_IRIX64; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_IRIX64=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_IRIX64=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_IRIX64" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_IRIX64" >&6; } +if test $ac_cv_have_decl_PER_IRIX64 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_IRIX64 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_IRIX64 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_RISCOS is declared" >&5 +echo $ECHO_N "checking whether PER_RISCOS is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_RISCOS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_RISCOS + (void) PER_RISCOS; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_RISCOS=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_RISCOS=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_RISCOS" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_RISCOS" >&6; } +if test $ac_cv_have_decl_PER_RISCOS = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_RISCOS 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_RISCOS 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_SOLARIS is declared" >&5 +echo $ECHO_N "checking whether PER_SOLARIS is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_SOLARIS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_SOLARIS + (void) PER_SOLARIS; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_SOLARIS=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_SOLARIS=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_SOLARIS" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_SOLARIS" >&6; } +if test $ac_cv_have_decl_PER_SOLARIS = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SOLARIS 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_SOLARIS 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_UW7 is declared" >&5 +echo $ECHO_N "checking whether PER_UW7 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_UW7+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_UW7 + (void) PER_UW7; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_UW7=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_UW7=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_UW7" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_UW7" >&6; } +if test $ac_cv_have_decl_PER_UW7 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_UW7 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_UW7 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_HPUX is declared" >&5 +echo $ECHO_N "checking whether PER_HPUX is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_HPUX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_HPUX + (void) PER_HPUX; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_HPUX=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_HPUX=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_HPUX" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_HPUX" >&6; } +if test $ac_cv_have_decl_PER_HPUX = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_HPUX 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_HPUX 0 +_ACEOF + + +fi +{ echo "$as_me:$LINENO: checking whether PER_OSF4 is declared" >&5 +echo $ECHO_N "checking whether PER_OSF4 is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_PER_OSF4+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include + + +int +main () +{ +#ifndef PER_OSF4 + (void) PER_OSF4; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_PER_OSF4=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_PER_OSF4=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_PER_OSF4" >&5 +echo "${ECHO_T}$ac_cv_have_decl_PER_OSF4" >&6; } +if test $ac_cv_have_decl_PER_OSF4 = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_OSF4 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PER_OSF4 0 +_ACEOF + + +fi + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + + { echo "$as_me:$LINENO: checking for initrddir" >&5 +echo $ECHO_N "checking for initrddir... $ECHO_C" >&6; } + +# Check whether --with-initrddir was given. +if test "${with_initrddir+set}" = set; then + withval=$with_initrddir; case "$withval" in + yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for '--with-initrddir'" >&5 +echo "$as_me: error: '$withval' is not a valid value for '--with-initrddir'" >&2;} + { (exit 1); exit 1; }; };; + *) ensc_initrddir=$withval;; + esac +else + ensc_initrddir='$(sysconfdir)/init.d' +fi + + + if test "initrddir"; then + initrddir=$ensc_initrddir + + fi + + { echo "$as_me:$LINENO: result: $ensc_initrddir" >&5 +echo "${ECHO_T}$ensc_initrddir" >&6; } + + + { echo "$as_me:$LINENO: checking whether to enable release-mode" >&5 +echo $ECHO_N "checking whether to enable release-mode... $ECHO_C" >&6; } + # Check whether --enable-release was given. +if test "${enable_release+set}" = set; then + enableval=$enable_release; case "$enableval" in + yes) ensc_release_mode=yes;; + no) ensc_release_mode=no;; + *) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--enable-release'" >&5 +echo "$as_me: error: '$enableval' is not a valid value for '--enable-release'" >&2;} + { (exit 1); exit 1; }; };; + esac +else + ensc_release_mode=no +fi + + + if test x"$ensc_release_mode" = xno; then + RELEASE_CPPFLAGS= + else + RELEASE_CPPFLAGS='-DNDEBUG' + fi + + + { echo "$as_me:$LINENO: result: $ensc_release_mode" >&5 +echo "${ECHO_T}$ensc_release_mode" >&6; } + + +# HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative +# syscalls will never be enabled for glibc. +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } +if test "${ac_cv_path_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Extract the first word of "grep ggrep" to use in msg output +if test -z "$GREP"; then +set dummy grep ggrep; ac_prog_name=$2 +if test "${ac_cv_path_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_path_GREP_found=false +# Loop through the user's path and test for each of PROGNAME-LIST +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + # Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + + $ac_path_GREP_found && break 3 + done +done + +done +IFS=$as_save_IFS + + +fi + +GREP="$ac_cv_path_GREP" +if test -z "$GREP"; then + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } +fi + +else + ac_cv_path_GREP=$GREP +fi + + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + # Extract the first word of "egrep" to use in msg output +if test -z "$EGREP"; then +set dummy egrep; ac_prog_name=$2 +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_path_EGREP_found=false +# Loop through the user's path and test for each of PROGNAME-LIST +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + # Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + + $ac_path_EGREP_found && break 3 + done +done + +done +IFS=$as_save_IFS + + +fi + +EGREP="$ac_cv_path_EGREP" +if test -z "$EGREP"; then + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } +fi + +else + ac_cv_path_EGREP=$EGREP +fi + + + fi +fi +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + + + + + + { echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5 +echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6; } +if test "${ensc_cv_value_syscall_vserver+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF + +#ifdef ENSC_SYSCALL_FALLBACK +# include ENSC_SYSCALL_FALLBACK +#else +# include +#endif +#ifdef __NR_vserver +ensc_syscall_tmp_nr=__NR_vserver; +ensc_syscall_tmp_src=ENSC_MARK +#endif + +_ACEOF + ensc_syscall_tmp_nr= + ensc_syscall_tmp_src= + test x"$ensc_syscall_tmp_nr" != x || \ + eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$') + test x"$ensc_syscall_tmp_nr" != x -o x'lib/syscall-fallback.h' = x || \ + eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"lib/syscall-fallback.h"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$') + test "$ensc_syscall_tmp_nr" || { + ensc_syscall_tmp_nr=273 + ensc_syscall_tmp_src=default + } + + if test x"$ensc_syscall_tmp_nr" = x; then + { { echo "$as_me:$LINENO: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=' environment when calling configure." >&5 +echo "$as_me: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=' environment when calling configure." >&2;} + { (exit 1); exit 1; }; } + fi + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src" + +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5 +echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6; } + + ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*} + ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/} + + if test x"$ensc_syscall_tmp_src" != x'glibc'; then + +cat >>confdefs.h <<_ACEOF +#define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking whether to use alternative _syscallX macros" >&5 +echo $ECHO_N "checking whether to use alternative _syscallX macros... $ECHO_C" >&6; } + # Check whether --enable-alternative-syscalls was given. +if test "${enable_alternative_syscalls+set}" = set; then + enableval=$enable_alternative_syscalls; case $enableval in + (yes|no) ensc_use_alternative_syscall_macros=$enableval;; + (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&5 +echo "$as_me: error: '$enableval' is not a valid value for '--disable-alternative-syscalls'" >&2;} + { (exit 1); exit 1; }; };; + esac +else + ensc_use_alternative_syscall_macros=yes +fi + + + case $ensc_use_alternative_syscall_macros in + (yes) +cat >>confdefs.h <<\_ACEOF +#define ENSC_USE_ALTERNATIVE_SYSCALL_MACROS 1 +_ACEOF +;; + esac + + { echo "$as_me:$LINENO: result: $ensc_use_alternative_syscall_macros" >&5 +echo "${ECHO_T}$ensc_use_alternative_syscall_macros" >&6; } + + + + + { echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5 +echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6; } + +# Check whether --with-syscall was given. +if test "${with_syscall+set}" = set; then + withval=$with_syscall; +else + with_syscall=auto +fi + + { echo "$as_me:$LINENO: result: $with_syscall" >&5 +echo "${ECHO_T}$with_syscall" >&6; } + + case x"$with_syscall" in + (xauto) + { echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5 +echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6; } +if test "${ensc_cv_test_syscall+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include "$srcdir/lib/syscall-wrap.h" +#include + +#define __NR_foo0 300 +#define __NR_foo1 301 +#define __NR_foo2 302 +#define __NR_foo3 303 +#define __NR_foo4 304 +#define __NR_foo5 305 +inline static _syscall0(int, foo0) +inline static _syscall1(int, foo1, int, a) +inline static _syscall2(int, foo2, int, a, int, b) +inline static _syscall3(int, foo3, int, a, int, b, int, c) +inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d) +inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e) + +int main() { + return foo0() || \ + foo1(1) || \ + foo2(1,2) || \ + foo3(1,2,3) || \ + foo4(1,2,3,4) || \ + foo5(1,2,3,4,5); +} + +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_cv_test_syscall=fast +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_cv_test_syscall=traditional +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5 +echo "${ECHO_T}$ensc_cv_test_syscall" >&6; } + with_syscall=$ensc_cv_test_syscall + ;; + (xfast|xtraditional) + ;; + *) + { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5 +echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then + with_syscall='alternative' + fi + + if test x"$with_syscall" = xtraditional; then + +cat >>confdefs.h <<\_ACEOF +#define ENSC_SYSCALL_TRADITIONAL 1 +_ACEOF + + fi + + + + + + +case $host_cpu in + (i*86|athlon) min_diet_ver=0.25;; + (ia64|hppa*) min_diet_ver=0.29;; + (sparc*) min_diet_ver=0.30;; + (x86_64) min_diet_ver=0.27;; + (*) min_diet_ver=0.28;; +esac + + + { echo "$as_me:$LINENO: checking whether to enable dietlibc" >&5 +echo $ECHO_N "checking whether to enable dietlibc... $ECHO_C" >&6; } + + + + + : ${DIET:=diet} + : ${DIETFLAGS=-Os} + + # Check whether --enable-dietlibc was given. +if test "${enable_dietlibc+set}" = set; then + enableval=$enable_dietlibc; case "$enableval" in + (yes) use_dietlibc=forced;; + (no) use_dietlibc=forced_no;; + (*) { { echo "$as_me:$LINENO: error: '$enableval' is not a valid value for --enable-dietlibc" >&5 +echo "$as_me: error: '$enableval' is not a valid value for --enable-dietlibc" >&2;} + { (exit 1); exit 1; }; };; + esac +else + which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no +fi + + + if test "$use_dietlibc" = detected -a "$min_diet_ver"; then + _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d') + _dietlibc_ver=${_dietlibc_ver##*diet version } + _dietlibc_ver=${_dietlibc_ver##*dietlibc-} + _dietlibc_ver_maj=${_dietlibc_ver%%.*} + _dietlibc_ver_min=${_dietlibc_ver#*.} + _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*} + _dietlibc_cmp="$min_diet_ver" + _dietlibc_cmp_maj=${_dietlibc_cmp%%.*} + _dietlibc_cmp_min=${_dietlibc_cmp#*.} + + ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min + + let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0 + let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min + + test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old + else + ENSC_VERSION_DIETLIBC= + _dietlibc_ver=-1 + fi + + ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver + ensc_have_dietlibc=no + + case x"$use_dietlibc" in + xdetected) + if true; then + USE_DIETLIBC_TRUE= + USE_DIETLIBC_FALSE='#' +else + USE_DIETLIBC_TRUE='#' + USE_DIETLIBC_FALSE= +fi + + { echo "$as_me:$LINENO: result: yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&5 +echo "${ECHO_T}yes (autodetected, $ENSC_VERSION_DIETLIBC)" >&6; } + ensc_have_dietlibc=yes + ;; + xforced) + if true; then + USE_DIETLIBC_TRUE= + USE_DIETLIBC_FALSE='#' +else + USE_DIETLIBC_TRUE='#' + USE_DIETLIBC_FALSE= +fi + + { echo "$as_me:$LINENO: result: yes (forced)" >&5 +echo "${ECHO_T}yes (forced)" >&6; } + ensc_have_dietlibc=yes + ;; + xdetected_no) + if false; then + USE_DIETLIBC_TRUE= + USE_DIETLIBC_FALSE='#' +else + USE_DIETLIBC_TRUE='#' + USE_DIETLIBC_FALSE= +fi + + { echo "$as_me:$LINENO: result: no (detected)" >&5 +echo "${ECHO_T}no (detected)" >&6; } + ;; + xdetected_old) + if false; then + USE_DIETLIBC_TRUE= + USE_DIETLIBC_FALSE='#' +else + USE_DIETLIBC_TRUE='#' + USE_DIETLIBC_FALSE= +fi + + { echo "$as_me:$LINENO: result: no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&5 +echo "${ECHO_T}no (too old; $min_diet_ver+ required, $ENSC_VERSION_DIETLIBC found)" >&6; } + ;; + xforced_no) + if false; then + USE_DIETLIBC_TRUE= + USE_DIETLIBC_FALSE='#' +else + USE_DIETLIBC_TRUE='#' + USE_DIETLIBC_FALSE= +fi + + { echo "$as_me:$LINENO: result: no (forced)" >&5 +echo "${ECHO_T}no (forced)" >&6; } + ;; + *) + { { echo "$as_me:$LINENO: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&5 +echo "$as_me: error: internal error, use_dietlibc was \"$use_dietlibc\"" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if test x"$ensc_have_dietlibc" != xno; then + + + + + { echo "$as_me:$LINENO: checking whether dietlibc supports C99" >&5 +echo $ECHO_N "checking whether dietlibc supports C99... $ECHO_C" >&6; } +if test "${ensc_cv_c_dietlibc_c99+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS + _ensc_dietlibc_c99_old_CC=$CC + + CFLAGS="-std=c99" + CC="${DIET:-diet} $CC" + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* */ +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + + cat >conftest.$ac_ext <<_ACEOF + + #include + #include + #if defined(inline) + # error 'inline' badly defined + #endif + volatile uint64_t a; + +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_cv_c_dietlibc_c99=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_cv_c_dietlibc_c99=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)' +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + CC=$_ensc_dietlibc_c99_old_CC + CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS + +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_c99" >&5 +echo "${ECHO_T}$ensc_cv_c_dietlibc_c99" >&6; } + + if test x"$ensc_cv_c_dietlibc_c99" = xyes; then + cat >>confdefs.h <<\_ACEOF +#define ENSC_DIETLIBC_C99 1 +_ACEOF + + fi + + + + + + { echo "$as_me:$LINENO: checking whether dietlibc declares syscall" >&5 +echo $ECHO_N "checking whether dietlibc declares syscall... $ECHO_C" >&6; } +if test "${ensc_cv_c_dietlibc_syscall+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + _ensc_dietlibc_syscall_old_CC="$CC" + CC="${DIET:-diet} $CC" + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF + + #include + long int syscall(long int __sysno, ...); + +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_cv_c_dietlibc_syscall=no +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_cv_c_dietlibc_syscall=yes +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + CC="$_ensc_dietlibc_syscall_old_CC" + +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_syscall" >&5 +echo "${ECHO_T}$ensc_cv_c_dietlibc_syscall" >&6; } + + if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then + cat >>confdefs.h <<\_ACEOF +#define ENSC_DIETLIBC_HAS_SYSCALL 1 +_ACEOF + + fi + + fi + + +if test x"$ensc_have_dietlibc" = xno; then + { echo "$as_me:$LINENO: WARNING: *** ***" >&5 +echo "$as_me: WARNING: *** ***" >&2;} + { echo "$as_me:$LINENO: WARNING: *** it is strongly recommended to link util-vserver against ***" >&5 +echo "$as_me: WARNING: *** it is strongly recommended to link util-vserver against ***" >&2;} + { echo "$as_me:$LINENO: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&5 +echo "$as_me: WARNING: *** dietlibc; glibc's NSS functions are very unreliable in ***" >&2;} + { echo "$as_me:$LINENO: WARNING: *** chroot() environments, so you have to expect problems ***" >&5 +echo "$as_me: WARNING: *** chroot() environments, so you have to expect problems ***" >&2;} + { echo "$as_me:$LINENO: WARNING: *** there. ***" >&5 +echo "$as_me: WARNING: *** there. ***" >&2;} + { echo "$as_me:$LINENO: WARNING: *** ***" >&5 +echo "$as_me: WARNING: *** ***" >&2;} + if false; then + USE_DIETLIBC_COMPAT_TRUE= + USE_DIETLIBC_COMPAT_FALSE='#' +else + USE_DIETLIBC_COMPAT_TRUE='#' + USE_DIETLIBC_COMPAT_FALSE= +fi + +else + # HACK: libtool does not have cmdline options to build only + # dynamic libraries; this can be done with the + # '--disable-static' ./configure option only. As our static + # libraries will be build with dietlibc, we have to do set + # this option which is evaluated by 'AC_PROG_LIBTOOL' + # below. Therefore, this macro must not be called earlier. + enable_static=no + + + + + { echo "$as_me:$LINENO: checking whether dietlibc needs '-lcompat'" >&5 +echo $ECHO_N "checking whether dietlibc needs '-lcompat'... $ECHO_C" >&6; } +if test "${ensc_cv_c_dietlibc_compat+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ensc_dietlibc_need_compat_old_CC=$CC + CC="${DIET:-diet} $CC" + cat >conftest.$ac_ext <<_ACEOF + + /* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include "$srcdir/lib/syscall-wrap.h" +#include + +#define __NR_foo0 42 +#define __NR_foo1 42 +#define __NR_foo2 42 +#define __NR_foo3 42 +#define __NR_foo4 42 +#define __NR_foo5 42 +inline static _syscall0(int, foo0) +inline static _syscall1(int, foo1, int, a) +inline static _syscall2(int, foo2, int, a, int, b) +inline static _syscall3(int, foo3, int, a, int, b, int, c) +inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d) +inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e) + +int +main () +{ +foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ensc_cv_c_dietlibc_compat=no +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ensc_cv_c_dietlibc_compat=yes +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + CC=$ensc_dietlibc_need_compat_old_CC + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_c_dietlibc_compat" >&5 +echo "${ECHO_T}$ensc_cv_c_dietlibc_compat" >&6; } + + if test x"USE_DIETLIBC_COMPAT" != x; then + if test x"$ensc_cv_c_dietlibc_compat" = xyes; then + USE_DIETLIBC_COMPAT_TRUE= + USE_DIETLIBC_COMPAT_FALSE='#' +else + USE_DIETLIBC_COMPAT_TRUE='#' + USE_DIETLIBC_COMPAT_FALSE= +fi + + fi + +fi + + if test x"$ensc_have_dietlibc" = xyes; then + ENSC_USE_DIETLIBC_TRUE= + ENSC_USE_DIETLIBC_FALSE='#' +else + ENSC_USE_DIETLIBC_TRUE='#' + ENSC_USE_DIETLIBC_FALSE= +fi + + if true; then + ENSC_USE_GLIBC_TRUE= + ENSC_USE_GLIBC_FALSE='#' +else + ENSC_USE_GLIBC_TRUE='#' + ENSC_USE_GLIBC_FALSE= +fi + + +# HACK: see comments at 'enable_static' above +# Check whether --enable-shared was given. +if test "${enable_shared+set}" = set; then + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; + no) enable_shared=no ;; + *) + enable_shared=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_shared=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_shared=yes +fi + + +# Check whether --enable-static was given. +if test "${enable_static+set}" = set; then + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; + no) enable_static=no ;; + *) + enable_static=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_static=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_static=yes +fi + + +# Check whether --enable-fast-install was given. +if test "${enable_fast_install+set}" = set; then + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; + no) enable_fast_install=no ;; + *) + enable_fast_install=no + # Look at the argument we got. We use all the common list separators. + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for pkg in $enableval; do + IFS="$lt_save_ifs" + if test "X$pkg" = "X$p"; then + enable_fast_install=yes + fi + done + IFS="$lt_save_ifs" + ;; + esac +else + enable_fast_install=yes +fi + + +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } +if test "${lt_cv_path_SED+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Loop through the user's path and test for sed and gsed. +# Then use that list of sed's as ones to test for truncation. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for lt_ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then + lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" + fi + done + done +done +IFS=$as_save_IFS +lt_ac_max=0 +lt_ac_count=0 +# Add /usr/xpg4/bin/sed as it is typically found on Solaris +# along with /bin/sed that truncates output. +for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do + test ! -f $lt_ac_sed && continue + cat /dev/null > conftest.in + lt_ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >conftest.in + # Check for GNU sed and select it if it is found. + if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then + lt_cv_path_SED=$lt_ac_sed + break + fi + while true; do + cat conftest.in conftest.in >conftest.tmp + mv conftest.tmp conftest.in + cp conftest.in conftest.nl + echo >>conftest.nl + $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break + cmp -s conftest.out conftest.nl || break + # 10000 chars as input seems more than enough + test $lt_ac_count -gt 10 && break + lt_ac_count=`expr $lt_ac_count + 1` + if test $lt_ac_count -gt $lt_ac_max; then + lt_ac_max=$lt_ac_count + lt_cv_path_SED=$lt_ac_sed + fi + done +done + +fi + +SED=$lt_cv_path_SED + +{ echo "$as_me:$LINENO: result: $SED" >&5 +echo "${ECHO_T}$SED" >&6; } + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } +else + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +echo "${ECHO_T}$LD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 &5 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } +if test "${lt_cv_ld_reload_flag+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_ld_reload_flag='-r' +fi +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } +reload_flag=$lt_cv_ld_reload_flag +case $reload_flag in +"" | " "*) ;; +*) reload_flag=" $reload_flag" ;; +esac +reload_cmds='$LD$reload_flag -o $output$reload_objs' +case $host_os in + darwin*) + if test "$GCC" = yes; then + reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' + else + reload_cmds='$LD$reload_flag -o $output$reload_objs' + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } +if test "${lt_cv_path_NM+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$NM"; then + # Let the user override the test. + lt_cv_path_NM="$NM" +else + lt_nm_to_check="${ac_tool_prefix}nm" + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then + lt_nm_to_check="$lt_nm_to_check nm" + fi + for lt_tmp_nm in $lt_nm_to_check; do + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + tmp_nm="$ac_dir/$lt_tmp_nm" + if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then + # Check to see if the nm accepts a BSD-compat flag. + # Adding the `sed 1q' prevents false positives on HP-UX, which says: + # nm: unknown option "B" ignored + # Tru64's nm complains that /dev/null is an invalid object file + case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in + */dev/null* | *'Invalid file or object type'*) + lt_cv_path_NM="$tmp_nm -B" + break + ;; + *) + case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in + */dev/null*) + lt_cv_path_NM="$tmp_nm -p" + break + ;; + *) + lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but + continue # so that we can try to find one that supports BSD flags + ;; + esac + ;; + esac + fi + done + IFS="$lt_save_ifs" + done + test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm +fi +fi +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 +echo "${ECHO_T}$lt_cv_path_NM" >&6; } +NM="$lt_cv_path_NM" + +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; } +if test "${lt_cv_deplibs_check_method+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_deplibs_check_method='unknown' +# Need to set the preceding variable on all platforms that support +# interlibrary dependencies. +# 'none' -- dependencies not supported. +# `unknown' -- same as none, but documents that we really don't know. +# 'pass_all' -- all dependencies passed with no checks. +# 'test_compile' -- check by making test program. +# 'file_magic [[regex]]' -- check by looking for files in library path +# which responds to the $file_magic_cmd with a given extended regex. +# If you have `file' or equivalent on your system and you're not sure +# whether `pass_all' will *always* work, you probably want this one. + +case $host_os in +aix4* | aix5*) + lt_cv_deplibs_check_method=pass_all + ;; + +beos*) + lt_cv_deplibs_check_method=pass_all + ;; + +bsdi[45]*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' + lt_cv_file_magic_cmd='/usr/bin/file -L' + lt_cv_file_magic_test_file=/shlib/libc.so + ;; + +cygwin*) + # func_win32_libid is a shell function defined in ltmain.sh + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + ;; + +mingw* | pw32*) + # Base MSYS/MinGW do not provide the 'file' command needed by + # func_win32_libid shell function, so use a weaker test based on 'objdump', + # unless we find 'file', for example because we are cross-compiling. + if ( file / ) >/dev/null 2>&1; then + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' + lt_cv_file_magic_cmd='func_win32_libid' + else + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' + lt_cv_file_magic_cmd='$OBJDUMP -f' + fi + ;; + +darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +freebsd* | dragonfly*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + case $host_cpu in + i*86 ) + # Not sure whether the presence of OpenBSD here was a mistake. + # Let's accept both of them until this is cleared up. + lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` + ;; + esac + else + lt_cv_deplibs_check_method=pass_all + fi + ;; + +gnu*) + lt_cv_deplibs_check_method=pass_all + ;; + +hpux10.20* | hpux11*) + lt_cv_file_magic_cmd=/usr/bin/file + case $host_cpu in + ia64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' + lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so + ;; + hppa*64*) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' + lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl + ;; + *) + lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' + lt_cv_file_magic_test_file=/usr/lib/libc.sl + ;; + esac + ;; + +interix[3-9]*) + # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' + ;; + +irix5* | irix6* | nonstopux*) + case $LD in + *-32|*"-32 ") libmagic=32-bit;; + *-n32|*"-n32 ") libmagic=N32;; + *-64|*"-64 ") libmagic=64-bit;; + *) libmagic=never-match;; + esac + lt_cv_deplibs_check_method=pass_all + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + +netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' + fi + ;; + +newos6*) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' + lt_cv_file_magic_cmd=/usr/bin/file + lt_cv_file_magic_test_file=/usr/lib/libnls.so + ;; + +nto-qnx*) + lt_cv_deplibs_check_method=unknown + ;; + +openbsd*) + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' + else + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + fi + ;; + +osf3* | osf4* | osf5*) + lt_cv_deplibs_check_method=pass_all + ;; + +rdos*) + lt_cv_deplibs_check_method=pass_all + ;; + +solaris*) + lt_cv_deplibs_check_method=pass_all + ;; + +sysv4 | sysv4.3*) + case $host_vendor in + motorola) + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` + ;; + ncr) + lt_cv_deplibs_check_method=pass_all + ;; + sequent) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' + ;; + sni) + lt_cv_file_magic_cmd='/bin/file' + lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" + lt_cv_file_magic_test_file=/lib/libc.so + ;; + siemens) + lt_cv_deplibs_check_method=pass_all + ;; + pc) + lt_cv_deplibs_check_method=pass_all + ;; + esac + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + lt_cv_deplibs_check_method=pass_all + ;; +esac + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } +file_magic_cmd=$lt_cv_file_magic_cmd +deplibs_check_method=$lt_cv_deplibs_check_method +test -z "$deplibs_check_method" && deplibs_check_method=unknown + + + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + +# Some flags need to be propagated to the compiler or linker for good +# libtool support. +case $host in +ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" + ;; + *ELF-64*) + HPUX_IA64_MODE="64" + ;; + esac + fi + rm -rf conftest* + ;; +*-*-irix6*) + # Find out which ABI we are using. + echo '#line 12767 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -melf32bsmip" + ;; + *N32*) + LD="${LD-ld} -melf32bmipn32" + ;; + *64-bit*) + LD="${LD-ld} -melf64bmip" + ;; + esac + else + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) + LD="${LD-ld} -32" + ;; + *N32*) + LD="${LD-ld} -n32" + ;; + *64-bit*) + LD="${LD-ld} -64" + ;; + esac + fi + fi + rm -rf conftest* + ;; + +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +s390*-*linux*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_i386_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_i386" + ;; + ppc64-*linux*|powerpc64-*linux*) + LD="${LD-ld} -m elf32ppclinux" + ;; + s390x-*linux*) + LD="${LD-ld} -m elf_s390" + ;; + sparc64-*linux*) + LD="${LD-ld} -m elf32_sparc" + ;; + esac + ;; + *64-bit*) + libsuff=64 + case $host in + x86_64-*kfreebsd*-gnu) + LD="${LD-ld} -m elf_x86_64_fbsd" + ;; + x86_64-*linux*) + LD="${LD-ld} -m elf_x86_64" + ;; + ppc*-*linux*|powerpc*-*linux*) + LD="${LD-ld} -m elf64ppc" + ;; + s390*-*linux*) + LD="${LD-ld} -m elf64_s390" + ;; + sparc*-*linux*) + LD="${LD-ld} -m elf64_sparc" + ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + +*-*-sco3.2v5*) + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } +if test "${lt_cv_cc_needs_belf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + lt_cv_cc_needs_belf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + lt_cv_cc_needs_belf=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf + CFLAGS="$SAVE_CFLAGS" + fi + ;; +sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in + yes*) LD="${LD-ld} -m elf64_sparc" ;; + *) LD="${LD-ld} -64" ;; + esac + ;; + esac + fi + rm -rf conftest* + ;; + + +esac + +need_locks="$enable_libtool_lock" + + + +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_header_stdc=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. + + + + + + + + + +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_Header=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +for ac_header in dlfcn.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## --------------------------------------------- ## +## Report this to vserver@list.linux-vserver.org ## +## --------------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + +if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } +if test -z "$CXXCPP"; then + if test "${ac_cv_prog_CXXCPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CXXCPP needs to be expanded + for CXXCPP in "$CXX -E" "/lib/cpp" + do + ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CXXCPP=$CXXCPP + +fi + CXXCPP=$ac_cv_prog_CXXCPP +else + ac_cv_prog_CXXCPP=$CXXCPP +fi +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5 +echo "${ECHO_T}$CXXCPP" >&6; } +ac_preproc_ok=false +for ac_cxx_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + +fi + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu +if test -n "$ac_tool_prefix"; then + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$F77"; then + ac_cv_prog_F77="$F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_F77="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +F77=$ac_cv_prog_F77 +if test -n "$F77"; then + { echo "$as_me:$LINENO: result: $F77" >&5 +echo "${ECHO_T}$F77" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$F77" && break + done +fi +if test -z "$F77"; then + ac_ct_F77=$F77 + for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_F77"; then + ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_F77="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_F77=$ac_cv_prog_ac_ct_F77 +if test -n "$ac_ct_F77"; then + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 +echo "${ECHO_T}$ac_ct_F77" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_F77" && break +done + + if test "x$ac_ct_F77" = x; then + F77="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + F77=$ac_ct_F77 + fi +fi + + +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +rm -f a.out + +# If we don't use `.F' as extension, the preprocessor is not run on the +# input file. (Note that this only needs to work for GNU compilers.) +ac_save_ext=$ac_ext +ac_ext=F +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } +if test "${ac_cv_f77_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF + program main +#ifndef __GNUC__ + choke me +#endif + + end +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_f77_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } +ac_ext=$ac_save_ext +ac_test_FFLAGS=${FFLAGS+set} +ac_save_FFLAGS=$FFLAGS +FFLAGS= +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_f77_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + FFLAGS=-g +cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_f77_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_prog_f77_g=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } +if test "$ac_test_FFLAGS" = set; then + FFLAGS=$ac_save_FFLAGS +elif test $ac_cv_prog_f77_g = yes; then + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-g -O2" + else + FFLAGS="-g" + fi +else + if test "x$ac_cv_f77_compiler_gnu" = xyes; then + FFLAGS="-O2" + else + FFLAGS= + fi +fi + +G77=`test $ac_compiler_gnu = yes && echo yes` +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! + +# find the maximum length of command line arguments +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } +if test "${lt_cv_sys_max_cmd_len+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + i=0 + teststring="ABCD" + + case $build_os in + msdosdjgpp*) + # On DJGPP, this test can blow up pretty badly due to problems in libc + # (any single argument exceeding 2000 bytes causes a buffer overrun + # during glob expansion). Even if it were fixed, the result of this + # check would be larger than it should be. + lt_cv_sys_max_cmd_len=12288; # 12K is about right + ;; + + gnu*) + # Under GNU Hurd, this test is not required because there is + # no limit to the length of command line arguments. + # Libtool will interpret -1 as no limit whatsoever + lt_cv_sys_max_cmd_len=-1; + ;; + + cygwin* | mingw*) + # On Win9x/ME, this test blows up -- it succeeds, but takes + # about 5 minutes as the teststring grows exponentially. + # Worse, since 9x/ME are not pre-emptively multitasking, + # you end up with a "frozen" computer, even though with patience + # the test eventually succeeds (with a max line length of 256k). + # Instead, let's just punt: use the minimum linelength reported by + # all of the supported platforms: 8192 (on NT/2K/XP). + lt_cv_sys_max_cmd_len=8192; + ;; + + amigaos*) + # On AmigaOS with pdksh, this test takes hours, literally. + # So we just punt and use a minimum line length of 8192. + lt_cv_sys_max_cmd_len=8192; + ;; + + netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` + elif test -x /usr/sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` + else + lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs + fi + # And add a safety zone + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + ;; + + interix*) + # We know the value 262144 and hardcode it with a safety zone (like BSD) + lt_cv_sys_max_cmd_len=196608 + ;; + + osf*) + # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure + # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not + # nice to cause kernel panics so lets avoid the loop below. + # First set a reasonable default. + lt_cv_sys_max_cmd_len=16384 + # + if test -x /sbin/sysconfig; then + case `/sbin/sysconfig -q proc exec_disable_arg_limit` in + *1*) lt_cv_sys_max_cmd_len=-1 ;; + esac + fi + ;; + sco3.2v5*) + lt_cv_sys_max_cmd_len=102400 + ;; + sysv5* | sco5v6* | sysv4.2uw2*) + kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` + if test -n "$kargmax"; then + lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` + else + lt_cv_sys_max_cmd_len=32768 + fi + ;; + *) + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` + if test -n "$lt_cv_sys_max_cmd_len"; then + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` + else + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ + = "XX$teststring") >/dev/null 2>&1 && + new_result=`expr "X$teststring" : ".*" 2>&1` && + lt_cv_sys_max_cmd_len=$new_result && + test $i != 17 # 1/2 MB should be enough + do + i=`expr $i + 1` + teststring=$teststring$teststring + done + teststring= + # Add a significant safety factor because C++ compilers can tack on massive + # amounts of additional arguments before passing them to the linker. + # It appears as though 1/2 is a usable value. + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` + fi + ;; + esac + +fi + +if test -n $lt_cv_sys_max_cmd_len ; then + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } +else + { echo "$as_me:$LINENO: result: none" >&5 +echo "${ECHO_T}none" >&6; } +fi + + + + + +# Check for command to grab the raw symbol name followed by C symbol from nm. +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +# These are sane defaults that work on at least a few old systems. +# [They come from Ultrix. What could be older than Ultrix?!! ;)] + +# Character class describing NM global symbol codes. +symcode='[BCDEGRST]' + +# Regexp to match symbols that can be accessed directly from C. +sympat='\([_A-Za-z][_A-Za-z0-9]*\)' + +# Transform an extracted symbol line into a proper C declaration +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" + +# Transform an extracted symbol line into symbol name and symbol address +lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + +# Define system-specific variables. +case $host_os in +aix*) + symcode='[BCDT]' + ;; +cygwin* | mingw* | pw32*) + symcode='[ABCDGISTW]' + ;; +hpux*) # Its linker distinguishes data from code symbols + if test "$host_cpu" = ia64; then + symcode='[ABCDEGRST]' + fi + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + ;; +linux* | k*bsd*-gnu) + if test "$host_cpu" = ia64; then + symcode='[ABCDGIRSTW]' + lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" + lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" + fi + ;; +irix* | nonstopux*) + symcode='[BCDEGRST]' + ;; +osf*) + symcode='[BCDEGQRST]' + ;; +solaris*) + symcode='[BDRT]' + ;; +sco3.2v5*) + symcode='[DT]' + ;; +sysv4.2uw2*) + symcode='[DT]' + ;; +sysv5* | sco5v6* | unixware* | OpenUNIX*) + symcode='[ABDT]' + ;; +sysv4) + symcode='[DFNSTU]' + ;; +esac + +# Handle CRLF in mingw tool chain +opt_cr= +case $build_os in +mingw*) + opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp + ;; +esac + +# If we're using GNU nm, then use its standard symbol codes. +case `$NM -V 2>&1` in +*GNU* | *'with BFD'*) + symcode='[ABCDGIRSTW]' ;; +esac + +# Try without a prefix undercore, then with it. +for ac_symprfx in "" "_"; do + + # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. + symxfrm="\\1 $ac_symprfx\\2 \\2" + + # Write the raw and C identifiers. + lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" + + # Check to see that the pipe works correctly. + pipe_works=no + + rm -f conftest* + cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" + else + rm -f "$nlist"T + fi + + # Make sure that we snagged all the symbols we need. + if grep ' nm_test_var$' "$nlist" >/dev/null; then + if grep ' nm_test_func$' "$nlist" >/dev/null; then + cat < conftest.$ac_ext +#ifdef __cplusplus +extern "C" { +#endif + +EOF + # Now generate the symbol file. + eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' + + cat <> conftest.$ac_ext +#if defined (__STDC__) && __STDC__ +# define lt_ptr_t void * +#else +# define lt_ptr_t char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr_t address; +} +lt_preloaded_symbols[] = +{ +EOF + $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext + cat <<\EOF >> conftest.$ac_ext + {0, (lt_ptr_t) 0} +}; + +#ifdef __cplusplus +} +#endif +EOF + # Now try linking the two files. + mv conftest.$ac_objext conftstm.$ac_objext + lt_save_LIBS="$LIBS" + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" + CFLAGS="$lt_save_CFLAGS" + else + echo "cannot find nm_test_func in $nlist" >&5 + fi + else + echo "cannot find nm_test_var in $nlist" >&5 + fi + else + echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 + fi + else + echo "$progname: failed program was:" >&5 + cat conftest.$ac_ext >&5 + fi + rm -f conftest* conftst* + + # Do not use the global_symbol_pipe unless it works. + if test "$pipe_works" = yes; then + break + else + lt_cv_sys_global_symbol_pipe= + fi +done + +fi + +if test -z "$lt_cv_sys_global_symbol_pipe"; then + lt_cv_sys_global_symbol_to_cdecl= +fi +if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then + { echo "$as_me:$LINENO: result: failed" >&5 +echo "${ECHO_T}failed" >&6; } +else + { echo "$as_me:$LINENO: result: ok" >&5 +echo "${ECHO_T}ok" >&6; } +fi + +{ echo "$as_me:$LINENO: checking for objdir" >&5 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } +if test "${lt_cv_objdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + rm -f .libs 2>/dev/null +mkdir .libs 2>/dev/null +if test -d .libs; then + lt_cv_objdir=.libs +else + # MS-DOS does not allow filenames that begin with a dot. + lt_cv_objdir=_libs +fi +rmdir .libs 2>/dev/null +fi +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 +echo "${ECHO_T}$lt_cv_objdir" >&6; } +objdir=$lt_cv_objdir + + + + + +case $host_os in +aix3*) + # AIX sometimes has problems with the GCC collect2 program. For some + # reason, if we set the COLLECT_NAMES environment variable, the problems + # vanish in a puff of smoke. + if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES + fi + ;; +esac + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='sed -e 1s/^X//' +sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' + +# Same as above, but do not quote variable references. +double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' + +# Sed substitution to delay expansion of an escaped shell variable in a +# double_quote_subst'ed string. +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' + +# Sed substitution to avoid accidental globbing in evaled expressions +no_glob_subst='s/\*/\\\*/g' + +# Constants: +rm="rm -f" + +# Global variables: +default_ofile=libtool +can_build_shared=yes + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a +ltmain="$ac_aux_dir/ltmain.sh" +ofile="$default_ofile" +with_gnu_ld="$lt_cv_prog_gnu_ld" + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. +set dummy ${ac_tool_prefix}ar; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AR"; then + ac_cv_prog_AR="$AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="${ac_tool_prefix}ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +AR=$ac_cv_prog_AR +if test -n "$AR"; then + { echo "$as_me:$LINENO: result: $AR" >&5 +echo "${ECHO_T}$AR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_AR"; then + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. +set dummy ar; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_AR"; then + ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="ar" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_AR=$ac_cv_prog_ac_ct_AR +if test -n "$ac_ct_AR"; then + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 +echo "${ECHO_T}$ac_ct_AR" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_AR" = x; then + AR="false" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + AR=$ac_ct_AR + fi +else + AR="$ac_cv_prog_AR" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + + +old_CC="$CC" +old_CFLAGS="$CFLAGS" + +# Set sane defaults for various variables +test -z "$AR" && AR=ar +test -z "$AR_FLAGS" && AR_FLAGS=cru +test -z "$AS" && AS=as +test -z "$CC" && CC=cc +test -z "$LTCC" && LTCC=$CC +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS +test -z "$DLLTOOL" && DLLTOOL=dlltool +test -z "$LD" && LD=ld +test -z "$LN_S" && LN_S="ln -s" +test -z "$MAGIC_CMD" && MAGIC_CMD=file +test -z "$NM" && NM=nm +test -z "$SED" && SED=sed +test -z "$OBJDUMP" && OBJDUMP=objdump +test -z "$RANLIB" && RANLIB=: +test -z "$STRIP" && STRIP=: +test -z "$ac_objext" && ac_objext=o + +# Determine commands to create old-style static archives. +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' +old_postinstall_cmds='chmod 644 $oldlib' +old_postuninstall_cmds= + +if test -n "$RANLIB"; then + case $host_os in + openbsd*) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" + ;; + *) + old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" + ;; + esac + old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" +fi + +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +# Only perform the check for file, if the check method requires it +case $deplibs_check_method in +file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/${ac_tool_prefix}file; then + lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + +if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then + { echo "$as_me:$LINENO: checking for file" >&5 +echo $ECHO_N "checking for file... $ECHO_C" >&6; } +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $MAGIC_CMD in +[\\/*] | ?:[\\/]*) + lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. + ;; +*) + lt_save_MAGIC_CMD="$MAGIC_CMD" + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" + for ac_dir in $ac_dummy; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/file; then + lt_cv_path_MAGIC_CMD="$ac_dir/file" + if test -n "$file_magic_test_file"; then + case $deplibs_check_method in + "file_magic "*) + file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | + $EGREP "$file_magic_regex" > /dev/null; then + : + else + cat <&2 + +*** Warning: the command libtool uses to detect shared libraries, +*** $file_magic_cmd, produces output that libtool cannot recognize. +*** The result is that libtool may fail to recognize shared libraries +*** as such. This will affect the creation of libtool libraries that +*** depend on shared libraries, but programs linked with such libtool +*** libraries will work regardless of this problem. Nevertheless, you +*** may want to report the problem to your system manager and/or to +*** bug-libtool@gnu.org + +EOF + fi ;; + esac + fi + break + fi + done + IFS="$lt_save_ifs" + MAGIC_CMD="$lt_save_MAGIC_CMD" + ;; +esac +fi + +MAGIC_CMD="$lt_cv_path_MAGIC_CMD" +if test -n "$MAGIC_CMD"; then + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 +echo "${ECHO_T}$MAGIC_CMD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + else + MAGIC_CMD=: + fi +fi + + fi + ;; +esac + +enable_dlopen=no +enable_win32_dll=no + +# Check whether --enable-libtool-lock was given. +if test "${enable_libtool_lock+set}" = set; then + enableval=$enable_libtool_lock; +fi + +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes + + +# Check whether --with-pic was given. +if test "${with_pic+set}" = set; then + withval=$with_pic; pic_mode="$withval" +else + pic_mode=default +fi + +test -z "$pic_mode" && pic_mode=default + +# Use C for the default configuration in the libtool script +tagname= +lt_save_CC="$CC" +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +# Source file extension for C test sources. +ac_ext=c + +# Object file extension for compiled C test sources. +objext=o +objext=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(){return(0);}' + + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm conftest* + + + +lt_prog_compiler_no_builtin_flag= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + + +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:14807: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:14811: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl= +lt_prog_compiler_pic= +lt_prog_compiler_static= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_static='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic='-fno-common' + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static='-Bstatic' + else + lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic='-qnocommon' + lt_prog_compiler_wl='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-fpic' + lt_prog_compiler_static='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + lt_prog_compiler_wl='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + lt_prog_compiler_wl='-Qoption ld ';; + *) + lt_prog_compiler_wl='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl='-Qoption ld ' + lt_prog_compiler_pic='-PIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic='-Kconform_pic' + lt_prog_compiler_static='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_pic='-KPIC' + lt_prog_compiler_static='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl='-Wl,' + lt_prog_compiler_can_build_shared=no + ;; + + uts4*) + lt_prog_compiler_pic='-pic' + lt_prog_compiler_static='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_pic_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15097: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:15101: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } + +if test x"$lt_prog_compiler_pic_works" = xyes; then + case $lt_prog_compiler_pic in + "" | " "*) ;; + *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; + esac +else + lt_prog_compiler_pic= + lt_prog_compiler_can_build_shared=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic= + ;; + *) + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_static_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_static_works=yes + fi + else + lt_prog_compiler_static_works=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } + +if test x"$lt_prog_compiler_static_works" = xyes; then + : +else + lt_prog_compiler_static= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:15201: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:15205: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + runpath_var= + allow_undefined_flag= + enable_shared_with_static_runtimes=no + archive_cmds= + archive_expsym_cmds= + old_archive_From_new_cmds= + old_archive_from_expsyms_cmds= + export_dynamic_flag_spec= + whole_archive_flag_spec= + thread_safe_flag_spec= + hardcode_libdir_flag_spec= + hardcode_libdir_flag_spec_ld= + hardcode_libdir_separator= + hardcode_direct=no + hardcode_minus_L=no + hardcode_shlibpath_var=unsupported + link_all_deplibs=unknown + hardcode_automatic=no + module_cmds= + module_expsym_cmds= + always_export_symbols=no + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + allow_undefined_flag=unsupported + always_export_symbols=no + enable_shared_with_static_runtimes=yes + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs=no + fi + ;; + + interix[3-9]*) + hardcode_direct=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + else + ld_shlibs=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs=no + fi + ;; + esac + + if test "$ld_shlibs" = no; then + runpath_var= + hardcode_libdir_flag_spec= + export_dynamic_flag_spec= + whole_archive_flag_spec= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag=unsupported + always_export_symbols=yes + archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds='' + hardcode_direct=yes + hardcode_libdir_separator=':' + link_all_deplibs=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag="-z nodefs" + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag=' ${wl}-bernotok' + allow_undefined_flag=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec='$convenience' + archive_cmds_need_lc=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + + bsdi[45]*) + export_dynamic_flag_spec=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + allow_undefined_flag=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + archive_cmds_need_lc=no + hardcode_direct=no + hardcode_automatic=yes + hardcode_shlibpath_var=unsupported + whole_archive_flag_spec='' + link_all_deplibs=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs=no + ;; + esac + fi + ;; + + dgux*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + freebsd1*) + ld_shlibs=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + export_dynamic_flag_spec='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld='+b $libdir' + hardcode_direct=no + hardcode_shlibpath_var=no + ;; + *) + hardcode_direct=yes + export_dynamic_flag_spec='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld='-rpath $libdir' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + link_all_deplibs=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + hardcode_shlibpath_var=no + ;; + + newsos6) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_shlibpath_var=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + allow_undefined_flag=unsupported + archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + + solaris*) + no_undefined_flag=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec='-R$libdir' + hardcode_shlibpath_var=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + hardcode_shlibpath_var=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds='$CC -r -o $output$reload_objs' + hardcode_direct=no + ;; + motorola) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + ;; + + sysv4.3*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + export_dynamic_flag_spec='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag='${wl}-z,text' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag='${wl}-z,text' + allow_undefined_flag='${wl}-z,nodefs' + archive_cmds_need_lc=no + hardcode_shlibpath_var=no + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator=':' + link_all_deplibs=yes + export_dynamic_flag_spec='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec='-L$libdir' + hardcode_shlibpath_var=no + ;; + + *) + ld_shlibs=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5 +echo "${ECHO_T}$ld_shlibs" >&6; } +test "$ld_shlibs" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc=no + else + archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +if test "$GCC" = yes; then + case $host_os in + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; + *) lt_awk_arg="/^libraries:/" ;; + esac + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then + # if the path contains ";" then we assume it to be the separator + # otherwise default to the standard path separator (i.e. ":") - it is + # assumed that no part of a normal pathname contains ";" but that should + # okay in the real world where ";" in dirpaths is itself problematic. + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'` + else + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + # Ok, now we have the path, separated by spaces, we can step through it + # and add multilib dir if necessary. + lt_tmp_lt_search_path_spec= + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` + for lt_sys_path in $lt_search_path_spec; do + if test -d "$lt_sys_path/$lt_multi_os_dir"; then + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" + else + test -d "$lt_sys_path" && \ + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" + fi + done + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk ' +BEGIN {RS=" "; FS="/|\n";} { + lt_foo=""; + lt_count=0; + for (lt_i = NF; lt_i > 0; lt_i--) { + if ($lt_i != "" && $lt_i != ".") { + if ($lt_i == "..") { + lt_count++; + } else { + if (lt_count == 0) { + lt_foo="/" $lt_i lt_foo; + } else { + lt_count--; + } + } + } + } + if (lt_foo != "") { lt_freq[lt_foo]++; } + if (lt_freq[lt_foo] == 1) { print lt_foo; } +}'` + sys_lib_search_path_spec=`echo $lt_search_path_spec` +else + sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" +fi +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action= +if test -n "$hardcode_libdir_flag_spec" || \ + test -n "$runpath_var" || \ + test "X$hardcode_automatic" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && + test "$hardcode_minus_L" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5 +echo "${ECHO_T}$hardcode_action" >&6; } + +if test "$hardcode_action" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + +striplib= +old_striplib= +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } +if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +else +# FIXME - insert some real tests, host_os isn't really good enough + case $host_os in + darwin*) + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + ;; + *) + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + ;; + esac +fi + +if test "x$enable_dlopen" != xyes; then + enable_dlopen=unknown + enable_dlopen_self=unknown + enable_dlopen_self_static=unknown +else + lt_cv_dlopen=no + lt_cv_dlopen_libs= + + case $host_os in + beos*) + lt_cv_dlopen="load_add_on" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + ;; + + mingw* | pw32*) + lt_cv_dlopen="LoadLibrary" + lt_cv_dlopen_libs= + ;; + + cygwin*) + lt_cv_dlopen="dlopen" + lt_cv_dlopen_libs= + ;; + + darwin*) + # if libdl is installed we need to link against it + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dl_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + + lt_cv_dlopen="dyld" + lt_cv_dlopen_libs= + lt_cv_dlopen_self=yes + +fi + + ;; + + *) + { echo "$as_me:$LINENO: checking for shl_load" >&5 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } +if test "${ac_cv_func_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define shl_load to an innocuous variant, in case declares shl_load. + For example, HP-UX 11i declares gettimeofday. */ +#define shl_load innocuous_shl_load + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef shl_load + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_shl_load || defined __stub___shl_load +choke me +#endif + +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_func_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_shl_load=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } +if test $ac_cv_func_shl_load = yes; then + lt_cv_dlopen="shl_load" +else + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } +if test "${ac_cv_lib_dld_shl_load+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dld_shl_load=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dld_shl_load=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } +if test $ac_cv_lib_dld_shl_load = yes; then + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" +else + { echo "$as_me:$LINENO: checking for dlopen" >&5 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } +if test "${ac_cv_func_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define dlopen to an innocuous variant, in case declares dlopen. + For example, HP-UX 11i declares gettimeofday. */ +#define dlopen innocuous_dlopen + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef dlopen + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_dlopen || defined __stub___dlopen +choke me +#endif + +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_func_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } +if test $ac_cv_func_dlopen = yes; then + lt_cv_dlopen="dlopen" +else + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } +if test "${ac_cv_lib_dl_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldl $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dl_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dl_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } +if test $ac_cv_lib_dl_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" +else + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } +if test "${ac_cv_lib_svld_dlopen+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsvld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_svld_dlopen=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_svld_dlopen=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } +if test $ac_cv_lib_svld_dlopen = yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" +else + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } +if test "${ac_cv_lib_dld_dld_link+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-ldld $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dld_link (); +int +main () +{ +return dld_link (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_dld_dld_link=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dld_dld_link=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } +if test $ac_cv_lib_dld_dld_link = yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" +fi + + +fi + + +fi + + +fi + + +fi + + +fi + + ;; + esac + + if test "x$lt_cv_dlopen" != xno; then + enable_dlopen=yes + else + enable_dlopen=no + fi + + case $lt_cv_dlopen in + dlopen) + save_CPPFLAGS="$CPPFLAGS" + test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" + + save_LDFLAGS="$LDFLAGS" + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" + + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } +if test "${lt_cv_dlopen_self+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + exit (status); +} +EOF + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self=no + fi +fi +rm -fr conftest* + + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } +if test "${lt_cv_dlopen_self_static+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then : + lt_cv_dlopen_self_static=cross +else + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext < +#endif + +#include + +#ifdef RTLD_GLOBAL +# define LT_DLGLOBAL RTLD_GLOBAL +#else +# ifdef DL_GLOBAL +# define LT_DLGLOBAL DL_GLOBAL +# else +# define LT_DLGLOBAL 0 +# endif +#endif + +/* We may have to define LT_DLLAZY_OR_NOW in the command line if we + find out it does not work in some platform. */ +#ifndef LT_DLLAZY_OR_NOW +# ifdef RTLD_LAZY +# define LT_DLLAZY_OR_NOW RTLD_LAZY +# else +# ifdef DL_LAZY +# define LT_DLLAZY_OR_NOW DL_LAZY +# else +# ifdef RTLD_NOW +# define LT_DLLAZY_OR_NOW RTLD_NOW +# else +# ifdef DL_NOW +# define LT_DLLAZY_OR_NOW DL_NOW +# else +# define LT_DLLAZY_OR_NOW 0 +# endif +# endif +# endif +# endif +#endif + +#ifdef __cplusplus +extern "C" void exit (int); +#endif + +void fnord() { int i=42;} +int main () +{ + void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); + int status = $lt_dlunknown; + + if (self) + { + if (dlsym (self,"fnord")) status = $lt_dlno_uscore; + else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; + /* dlclose (self); */ + } + else + puts (dlerror ()); + + exit (status); +} +EOF + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in + x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; + x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; + esac + else : + # compilation failed + lt_cv_dlopen_self_static=no + fi +fi +rm -fr conftest* + + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } + fi + + CPPFLAGS="$save_CPPFLAGS" + LDFLAGS="$save_LDFLAGS" + LIBS="$save_LIBS" + ;; + esac + + case $lt_cv_dlopen_self in + yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; + *) enable_dlopen_self=unknown ;; + esac + + case $lt_cv_dlopen_self_static in + yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; + *) enable_dlopen_self_static=unknown ;; + esac +fi + + +# Report which library types will actually be built +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; + +aix4* | aix5*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +{ echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6; } + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler \ + CC \ + LD \ + lt_prog_compiler_wl \ + lt_prog_compiler_pic \ + lt_prog_compiler_static \ + lt_prog_compiler_no_builtin_flag \ + export_dynamic_flag_spec \ + thread_safe_flag_spec \ + whole_archive_flag_spec \ + enable_shared_with_static_runtimes \ + old_archive_cmds \ + old_archive_from_new_cmds \ + predep_objects \ + postdep_objects \ + predeps \ + postdeps \ + compiler_lib_search_path \ + archive_cmds \ + archive_expsym_cmds \ + postinstall_cmds \ + postuninstall_cmds \ + old_archive_from_expsyms_cmds \ + allow_undefined_flag \ + no_undefined_flag \ + export_symbols_cmds \ + hardcode_libdir_flag_spec \ + hardcode_libdir_flag_spec_ld \ + hardcode_libdir_separator \ + hardcode_automatic \ + module_cmds \ + module_expsym_cmds \ + lt_cv_prog_compiler_c_o \ + fix_srcfile_path \ + exclude_expsyms \ + include_expsyms; do + + case $var in + old_archive_cmds | \ + old_archive_from_new_cmds | \ + archive_cmds | \ + archive_expsym_cmds | \ + module_cmds | \ + module_expsym_cmds | \ + old_archive_from_expsyms_cmds | \ + export_symbols_cmds | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="${ofile}T" + trap "$rm \"$cfgfile\"; exit 1" 1 2 15 + $rm -f "$cfgfile" + { echo "$as_me:$LINENO: creating $ofile" >&5 +echo "$as_me: creating $ofile" >&6;} + + cat <<__EOF__ >> "$cfgfile" +#! $SHELL + +# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="$SED -e 1s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# The names of the tagged configurations supported by this script. +available_tags= + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU C compiler? +with_gcc=$GCC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# ### END LIBTOOL CONFIG + +__EOF__ + + + case $host_os in + aix3*) + cat <<\EOF >> "$cfgfile" + +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +EOF + ;; + esac + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || \ + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + +# Check whether --with-tags was given. +if test "${with_tags+set}" = set; then + withval=$with_tags; tagnames="$withval" +fi + + +if test -f "$ltmain" && test -n "$tagnames"; then + if test ! -f "${ofile}"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} + fi + + if test -z "$LTCC"; then + eval "`$SHELL ${ofile} --config | grep '^LTCC='`" + if test -z "$LTCC"; then + { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 +echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} + else + { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 +echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} + fi + fi + if test -z "$LTCFLAGS"; then + eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" + fi + + # Extract list of available tagged configurations in $ofile. + # Note that this assumes the entire list is on one line. + available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` + + lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," + for tagname in $tagnames; do + IFS="$lt_save_ifs" + # Check whether tagname contains only valid characters + case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in + "") ;; + *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 +echo "$as_me: error: invalid tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null + then + { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 +echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} + { (exit 1); exit 1; }; } + fi + + # Update the list of available tags. + if test -n "$tagname"; then + echo appending configuration tag \"$tagname\" to $ofile + + case $tagname in + CXX) + if test -n "$CXX" && ( test "X$CXX" != "Xno" && + ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || + (test "X$CXX" != "Xg++"))) ; then + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + + + +archive_cmds_need_lc_CXX=no +allow_undefined_flag_CXX= +always_export_symbols_CXX=no +archive_expsym_cmds_CXX= +export_dynamic_flag_spec_CXX= +hardcode_direct_CXX=no +hardcode_libdir_flag_spec_CXX= +hardcode_libdir_flag_spec_ld_CXX= +hardcode_libdir_separator_CXX= +hardcode_minus_L_CXX=no +hardcode_shlibpath_var_CXX=unsupported +hardcode_automatic_CXX=no +module_cmds_CXX= +module_expsym_cmds_CXX= +link_all_deplibs_CXX=unknown +old_archive_cmds_CXX=$old_archive_cmds +no_undefined_flag_CXX= +whole_archive_flag_spec_CXX= +enable_shared_with_static_runtimes_CXX=no + +# Dependencies to place before and after the object being linked: +predep_objects_CXX= +postdep_objects_CXX= +predeps_CXX= +postdeps_CXX= +compiler_lib_search_path_CXX= + +# Source file extension for C++ test sources. +ac_ext=cpp + +# Object file extension for compiled C++ test sources. +objext=o +objext_CXX=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="int some_variable = 0;" + +# Code to be used in simple link tests +lt_simple_link_test_code='int main(int, char *[]) { return(0); }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC=$CC +lt_save_LD=$LD +lt_save_GCC=$GCC +GCC=$GXX +lt_save_with_gnu_ld=$with_gnu_ld +lt_save_path_LD=$lt_cv_path_LD +if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then + lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx +else + $as_unset lt_cv_prog_gnu_ld +fi +if test -n "${lt_cv_path_LDCXX+set}"; then + lt_cv_path_LD=$lt_cv_path_LDCXX +else + $as_unset lt_cv_path_LD +fi +test -z "${LDCXX+set}" || LD=$LDCXX +CC=${CXX-"c++"} +compiler=$CC +compiler_CXX=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +# We don't want -fno-exception wen compiling C++ code, so set the +# no_builtin_flag separately +if test "$GXX" = yes; then + lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' +else + lt_prog_compiler_no_builtin_flag_CXX= +fi + +if test "$GXX" = yes; then + # Set up default GNU C++ configuration + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | ?:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the pathname of ld + ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } +else + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } +fi +if test "${lt_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$lt_save_ifs" + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + lt_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some variants of GNU ld only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$lt_cv_path_LD" -v 2>&1 &5 +echo "${ECHO_T}$LD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } +if test "${lt_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +case `$LD -v 2>&1 &5 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$lt_cv_prog_gnu_ld + + + + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # If archive_cmds runs LD, not CC, wlarc should be empty + # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to + # investigate it a little bit more. (MM) + wlarc='${wl}' + + # ancient GNU ld didn't support --whole-archive et. al. + if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ + grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_CXX= + fi + else + with_gnu_ld=no + wlarc= + + # A generic and very simple default shared library creation + # command for GNU C++ for the case where it uses the native + # linker, instead of GNU ld. If possible, this setting should + # overridden to take advantage of the native linker features on + # the platform it is being used on. + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + fi + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + +else + GXX=no + with_gnu_ld=no + wlarc= +fi + +# PORTME: fill in a description of your system's C++ link characteristics +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } +ld_shlibs_CXX=yes +case $host_os in + aix3*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + case $ld_flag in + *-brtl*) + aix_use_runtimelinking=yes + break + ;; + esac + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_CXX='' + hardcode_direct_CXX=yes + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_CXX=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_CXX=yes + hardcode_libdir_flag_spec_CXX='-L$libdir' + hardcode_libdir_separator_CXX= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_CXX=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + + archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_CXX="-z nodefs" + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_CXX=' ${wl}-bernotok' + allow_undefined_flag_CXX=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_CXX='$convenience' + archive_cmds_need_lc_CXX=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_CXX=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_CXX=no + fi + ;; + + chorus*) + case $cc_basename in + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_CXX='-L$libdir' + allow_undefined_flag_CXX=unsupported + always_export_symbols_CXX=no + enable_shared_with_static_runtimes_CXX=yes + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_CXX=no + fi + ;; + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + archive_cmds_need_lc_CXX=no + hardcode_direct_CXX=no + hardcode_automatic_CXX=yes + hardcode_shlibpath_var_CXX=unsupported + whole_archive_flag_spec_CXX='' + link_all_deplibs_CXX=yes + + if test "$GXX" = yes ; then + lt_int_apple_cc_single_mod=no + output_verbose_link_cmd='echo' + if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then + lt_int_apple_cc_single_mod=yes + fi + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + else + archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + fi + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + if test "X$lt_int_apple_cc_single_mod" = Xyes ; then + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + fi + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_CXX=no + ;; + esac + fi + ;; + + dgux*) + case $cc_basename in + ec++*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + ghcx*) + # Green Hills C++ Compiler + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + freebsd[12]*) + # C++ shared libraries reported to be fairly broken before switch to ELF + ld_shlibs_CXX=no + ;; + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; + freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes + ;; + gnu*) + ;; + hpux9*) + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + export_dynamic_flag_spec_CXX='${wl}-E' + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + hpux10*|hpux11*) + if test $with_gnu_ld = no; then + hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + case $host_cpu in + hppa*64*|ia64*) ;; + *) + export_dynamic_flag_spec_CXX='${wl}-E' + ;; + esac + fi + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + ;; + *) + hardcode_direct_CXX=yes + hardcode_minus_L_CXX=yes # Not in the search PATH, + # but as the default + # location of the library. + ;; + esac + + case $cc_basename in + CC*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + aCC*) + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes; then + if test $with_gnu_ld = no; then + case $host_cpu in + hppa*64*) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + ia64*) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + ;; + esac + fi + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + interix[3-9]*) + hardcode_direct_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + irix5* | irix6*) + case $cc_basename in + CC*) + # SGI C++ + archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + # Archives containing C++ object files must be created using + # "CC -ar", where "CC" is the IRIX C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' + ;; + *) + if test "$GXX" = yes; then + if test "$with_gnu_ld" = no; then + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' + fi + fi + link_all_deplibs_CXX=yes + ;; + esac + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + ;; + icpc*) + # Intel C++ + with_gnu_ld=yes + # version 8.0 and above of icpc choke on multiply defined symbols + # if we add $predep_objects and $postdep_objects, however 7.1 and + # earlier do not add the objects themselves. + case `$CC -V 2>&1` in + *"Version 7."*) + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + *) # Version 8.0 or newer + tmp_idyn= + case $host_cpu in + ia64*) tmp_idyn=' -i_dynamic';; + esac + archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + ;; + esac + archive_cmds_need_lc_CXX=no + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' + ;; + pgCC*) + # Portland Group C++ compiler + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' + whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + ;; + cxx*) + # Compaq C++ + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' + + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' + hardcode_libdir_flag_spec_CXX='-R$libdir' + whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + + # Not sure whether something based on + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 + # would be better. + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + esac + ;; + esac + ;; + lynxos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + m88k*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + mvs*) + case $cc_basename in + cxx*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' + wlarc= + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + fi + # Workaround some broken pre-1.5 toolchains + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' + ;; + openbsd2*) + # C++ shared libraries are fairly broken + ld_shlibs_CXX=no + ;; + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_CXX=yes + hardcode_shlibpath_var_CXX=no + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' + export_dynamic_flag_spec_CXX='${wl}-E' + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + fi + output_verbose_link_cmd='echo' + else + ld_shlibs_CXX=no + fi + ;; + osf3*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # "CC -Bstatic", where "CC" is the KAI C++ compiler. + old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' + + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx*) + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + osf4* | osf5*) + case $cc_basename in + KCC*) + # Kuck and Associates, Inc. (KAI) C++ Compiler + + # KCC will only create a shared library if the output file + # ends with ".so" (or ".sl" for HP-UX), so rename the library + # to its proper name (with version) after linking. + archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' + hardcode_libdir_separator_CXX=: + + # Archives containing C++ object files must be created using + # the KAI C++ compiler. + old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' + ;; + RCC*) + # Rational C++ 2.4.1 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + cxx*) + allow_undefined_flag_CXX=' -expect_unresolved \*' + archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ + echo "-hidden">> $lib.exp~ + $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ + $rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-rpath $libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + # + # There doesn't appear to be a way to prevent this compiler from + # explicitly linking system object files so we need to strip them + # from the output so that they don't get included in the library + # dependencies. + output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' + ;; + *) + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_CXX=: + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' + + else + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + fi + ;; + esac + ;; + psos*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + lcc*) + # Lucid + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + archive_cmds_need_lc_CXX=yes + no_undefined_flag_CXX=' -zdefs' + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + hardcode_libdir_flag_spec_CXX='-R$libdir' + hardcode_shlibpath_var_CXX=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. + # Supported since Solaris 2.6 (maybe 2.5.1?) + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' + ;; + esac + link_all_deplibs_CXX=yes + + output_verbose_link_cmd='echo' + + # Archives containing C++ object files must be created using + # "CC -xar", where "CC" is the Sun C++ compiler. This is + # necessary to make sure instantiated templates are included + # in the archive. + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' + ;; + gcx*) + # Green Hills C++ Compiler + archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + + # The C++ compiler must be used to create the archive. + old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' + ;; + *) + # GNU C++ compiler with Solaris linker + if test "$GXX" = yes && test "$with_gnu_ld" = no; then + no_undefined_flag_CXX=' ${wl}-z ${wl}defs' + if $CC --version | grep -v '^2\.7' > /dev/null; then + archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + else + # g++ 2.7 appears to require `-G' NOT `-shared' on this + # platform. + archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' + archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' + + # Commands to make compiler produce verbose output that lists + # what "hidden" libraries, object files and flags are used when + # linking a shared library. + output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" + fi + + hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + ;; + esac + fi + ;; + esac + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_CXX='${wl}-z,text' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + # For security reasons, it is highly recommended that you always + # use absolute paths for naming shared libraries, and exclude the + # DT_RUNPATH tag from executables and libraries. But doing so + # requires that you compile everything twice, which is a pain. + # So that behaviour is only enabled if SCOABSPATH is set to a + # non-empty value in the environment. Most likely only useful for + # creating official distributions of packages. + # This is a hack until libtool officially supports absolute path + # names for shared libraries. + no_undefined_flag_CXX='${wl}-z,text' + allow_undefined_flag_CXX='${wl}-z,nodefs' + archive_cmds_need_lc_CXX=no + hardcode_shlibpath_var_CXX=no + hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator_CXX=':' + link_all_deplibs_CXX=yes + export_dynamic_flag_spec_CXX='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + case $cc_basename in + CC*) + archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + esac + ;; + vxworks*) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; + *) + # FIXME: insert proper C++ library support + ld_shlibs_CXX=no + ;; +esac +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +GCC_CXX="$GXX" +LD_CXX="$LD" + + +cat > conftest.$ac_ext <&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + + # Sentinel used to keep track of whether or not we are before + # the conftest object file. + pre_test_object_deps_done=no + + # The `*' in the case matches for architectures that use `case' in + # $output_verbose_cmd can trigger glob expansion during the loop + # eval without this substitution. + output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` + + for p in `eval $output_verbose_link_cmd`; do + case $p in + + -L* | -R* | -l*) + # Some compilers place space between "-{L,R}" and the path. + # Remove the space. + if test $p = "-L" \ + || test $p = "-R"; then + prev=$p + continue + else + prev= + fi + + if test "$pre_test_object_deps_done" = no; then + case $p in + -L* | -R*) + # Internal compiler library paths should come after those + # provided the user. The postdeps already come after the + # user supplied libs so there is no need to process them. + if test -z "$compiler_lib_search_path_CXX"; then + compiler_lib_search_path_CXX="${prev}${p}" + else + compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" + fi + ;; + # The "-l" case would never come before the object being + # linked, so don't bother handling this case. + esac + else + if test -z "$postdeps_CXX"; then + postdeps_CXX="${prev}${p}" + else + postdeps_CXX="${postdeps_CXX} ${prev}${p}" + fi + fi + ;; + + *.$objext) + # This assumes that the test object file only shows up + # once in the compiler output. + if test "$p" = "conftest.$objext"; then + pre_test_object_deps_done=yes + continue + fi + + if test "$pre_test_object_deps_done" = no; then + if test -z "$predep_objects_CXX"; then + predep_objects_CXX="$p" + else + predep_objects_CXX="$predep_objects_CXX $p" + fi + else + if test -z "$postdep_objects_CXX"; then + postdep_objects_CXX="$p" + else + postdep_objects_CXX="$postdep_objects_CXX $p" + fi + fi + ;; + + *) ;; # Ignore the rest. + + esac + done + + # Clean up. + rm -f a.out a.exe +else + echo "libtool.m4: error: problem compiling CXX test program" +fi + +$rm -f confest.$objext + +# PORTME: override above test on systems where it is broken +case $host_os in +interix[3-9]*) + # Interix 3.5 installs completely hosed .la files for C++, so rather than + # hack all around it, let's just trust "g++" to DTRT. + predep_objects_CXX= + postdep_objects_CXX= + postdeps_CXX= + ;; + +linux*) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + # + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; + +solaris*) + case $cc_basename in + CC*) + # The more standards-conforming stlport4 library is + # incompatible with the Cstd library. Avoid specifying + # it if it's in CXXFLAGS. Ignore libCrun as + # -library=stlport4 depends on it. + case " $CXX $CXXFLAGS " in + *" -library=stlport4 "*) + solaris_use_stlport4=yes + ;; + esac + + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. + if test "$solaris_use_stlport4" != yes; then + postdeps_CXX='-library=Cstd -library=Crun' + fi + ;; + esac + ;; +esac + + +case " $postdeps_CXX " in +*" -lc "*) archive_cmds_need_lc_CXX=no ;; +esac + +lt_prog_compiler_wl_CXX= +lt_prog_compiler_pic_CXX= +lt_prog_compiler_static_CXX= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + # C++ specific cases for pic, static, wl, etc. + if test "$GXX" = yes; then + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + fi + ;; + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' + ;; + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + mingw* | cygwin* | os2* | pw32*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic_CXX='-DDLL_EXPORT' + ;; + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_CXX='-fno-common' + ;; + *djgpp*) + # DJGPP does not support shared libraries at all + lt_prog_compiler_pic_CXX= + ;; + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_CXX=-Kconform_pic + fi + ;; + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + ;; + *) + lt_prog_compiler_pic_CXX='-fPIC' + ;; + esac + else + case $host_os in + aix4* | aix5*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_CXX='-Bstatic' + else + lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' + fi + ;; + chorus*) + case $cc_basename in + cxch68*) + # Green Hills C++ Compiler + # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" + ;; + esac + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic_CXX='-qnocommon' + lt_prog_compiler_wl_CXX='-Wl,' + ;; + esac + ;; + dgux*) + case $cc_basename in + ec++*) + lt_prog_compiler_pic_CXX='-KPIC' + ;; + ghcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + freebsd* | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + if test "$host_cpu" != ia64; then + lt_prog_compiler_pic_CXX='+Z' + fi + ;; + aCC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_CXX='+Z' + ;; + esac + ;; + *) + ;; + esac + ;; + interix*) + # This is c89, which is MS Visual C++ (no shared libs) + # Anyone wants to do a port? + ;; + irix5* | irix6* | nonstopux*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_static_CXX='-non_shared' + # CC pic flag -KPIC is the default. + ;; + *) + ;; + esac + ;; + linux* | k*bsd*-gnu) + case $cc_basename in + KCC*) + # KAI C++ Compiler + lt_prog_compiler_wl_CXX='--backend -Wl,' + lt_prog_compiler_pic_CXX='-fPIC' + ;; + icpc* | ecpc*) + # Intel C++ + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-static' + ;; + pgCC*) + # Portland Group C++ compiler. + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-fpic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + cxx*) + # Compaq C++ + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C++ 5.9 + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + esac + ;; + esac + ;; + lynxos*) + ;; + m88k*) + ;; + mvs*) + case $cc_basename in + cxx*) + lt_prog_compiler_pic_CXX='-W c,exportall' + ;; + *) + ;; + esac + ;; + netbsd*) + ;; + osf3* | osf4* | osf5*) + case $cc_basename in + KCC*) + lt_prog_compiler_wl_CXX='--backend -Wl,' + ;; + RCC*) + # Rational C++ 2.4.1 + lt_prog_compiler_pic_CXX='-pic' + ;; + cxx*) + # Digital/Compaq C++ + lt_prog_compiler_wl_CXX='-Wl,' + # Make sure the PIC flag is empty. It appears that all Alpha + # Linux and Compaq Tru64 Unix objects are PIC. + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX='-non_shared' + ;; + *) + ;; + esac + ;; + psos*) + ;; + solaris*) + case $cc_basename in + CC*) + # Sun C++ 4.2, 5.x and Centerline C++ + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + lt_prog_compiler_wl_CXX='-Qoption ld ' + ;; + gcx*) + # Green Hills C++ Compiler + lt_prog_compiler_pic_CXX='-PIC' + ;; + *) + ;; + esac + ;; + sunos4*) + case $cc_basename in + CC*) + # Sun C++ 4.x + lt_prog_compiler_pic_CXX='-pic' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + lcc*) + # Lucid + lt_prog_compiler_pic_CXX='-pic' + ;; + *) + ;; + esac + ;; + tandem*) + case $cc_basename in + NCC*) + # NonStop-UX NCC 3.20 + lt_prog_compiler_pic_CXX='-KPIC' + ;; + *) + ;; + esac + ;; + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + case $cc_basename in + CC*) + lt_prog_compiler_wl_CXX='-Wl,' + lt_prog_compiler_pic_CXX='-KPIC' + lt_prog_compiler_static_CXX='-Bstatic' + ;; + esac + ;; + vxworks*) + ;; + *) + lt_prog_compiler_can_build_shared_CXX=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_CXX"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_CXX=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:20072: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:20076: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works_CXX=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } + +if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then + case $lt_prog_compiler_pic_CXX in + "" | " "*) ;; + *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; + esac +else + lt_prog_compiler_pic_CXX= + lt_prog_compiler_can_build_shared_CXX=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_CXX= + ;; + *) + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_static_works_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works_CXX=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_static_works_CXX=yes + fi + else + lt_prog_compiler_static_works_CXX=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } + +if test x"$lt_prog_compiler_static_works_CXX" = xyes; then + : +else + lt_prog_compiler_static_CXX= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_CXX=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:20176: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:20180: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_CXX=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + case $host_os in + aix4* | aix5*) + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + ;; + pw32*) + export_symbols_cmds_CXX="$ltdll_cmds" + ;; + cygwin* | mingw*) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + ;; + *) + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + ;; + esac + +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; } +test "$ld_shlibs_CXX" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_CXX" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_CXX=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_CXX in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_CXX + pic_flag=$lt_prog_compiler_pic_CXX + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else + archive_cmds_need_lc_CXX=yes + fi + allow_undefined_flag_CXX=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action_CXX= +if test -n "$hardcode_libdir_flag_spec_CXX" || \ + test -n "$runpath_var_CXX" || \ + test "X$hardcode_automatic_CXX" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_CXX" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && + test "$hardcode_minus_L_CXX" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_CXX=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_CXX=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_CXX=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 +echo "${ECHO_T}$hardcode_action_CXX" >&6; } + +if test "$hardcode_action_CXX" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_CXX \ + CC_CXX \ + LD_CXX \ + lt_prog_compiler_wl_CXX \ + lt_prog_compiler_pic_CXX \ + lt_prog_compiler_static_CXX \ + lt_prog_compiler_no_builtin_flag_CXX \ + export_dynamic_flag_spec_CXX \ + thread_safe_flag_spec_CXX \ + whole_archive_flag_spec_CXX \ + enable_shared_with_static_runtimes_CXX \ + old_archive_cmds_CXX \ + old_archive_from_new_cmds_CXX \ + predep_objects_CXX \ + postdep_objects_CXX \ + predeps_CXX \ + postdeps_CXX \ + compiler_lib_search_path_CXX \ + archive_cmds_CXX \ + archive_expsym_cmds_CXX \ + postinstall_cmds_CXX \ + postuninstall_cmds_CXX \ + old_archive_from_expsyms_cmds_CXX \ + allow_undefined_flag_CXX \ + no_undefined_flag_CXX \ + export_symbols_cmds_CXX \ + hardcode_libdir_flag_spec_CXX \ + hardcode_libdir_flag_spec_ld_CXX \ + hardcode_libdir_separator_CXX \ + hardcode_automatic_CXX \ + module_cmds_CXX \ + module_expsym_cmds_CXX \ + lt_cv_prog_compiler_c_o_CXX \ + fix_srcfile_path_CXX \ + exclude_expsyms_CXX \ + include_expsyms_CXX; do + + case $var in + old_archive_cmds_CXX | \ + old_archive_from_new_cmds_CXX | \ + archive_cmds_CXX | \ + archive_expsym_cmds_CXX | \ + module_cmds_CXX | \ + module_expsym_cmds_CXX | \ + old_archive_from_expsyms_cmds_CXX | \ + export_symbols_cmds_CXX | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_CXX + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_CXX + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_CXX + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_CXX + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_CXX + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_CXX +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_CXX + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_CXX +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_CXX +archive_expsym_cmds=$lt_archive_expsym_cmds_CXX +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_CXX +module_expsym_cmds=$lt_module_expsym_cmds_CXX + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_CXX + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_CXX + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_CXX + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_CXX + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_CXX + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_CXX + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_CXX + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_CXX + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_CXX + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_CXX + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_CXX + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_CXX + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_CXX + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_CXX + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_CXX + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC=$lt_save_CC +LDCXX=$LD +LD=$lt_save_LD +GCC=$lt_save_GCC +with_gnu_ldcxx=$with_gnu_ld +with_gnu_ld=$lt_save_with_gnu_ld +lt_cv_path_LDCXX=$lt_cv_path_LD +lt_cv_path_LD=$lt_save_path_LD +lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld +lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld + + else + tagname="" + fi + ;; + + F77) + if test -n "$F77" && test "X$F77" != "Xno"; then + +ac_ext=f +ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_f77_compiler_gnu + + +archive_cmds_need_lc_F77=no +allow_undefined_flag_F77= +always_export_symbols_F77=no +archive_expsym_cmds_F77= +export_dynamic_flag_spec_F77= +hardcode_direct_F77=no +hardcode_libdir_flag_spec_F77= +hardcode_libdir_flag_spec_ld_F77= +hardcode_libdir_separator_F77= +hardcode_minus_L_F77=no +hardcode_automatic_F77=no +module_cmds_F77= +module_expsym_cmds_F77= +link_all_deplibs_F77=unknown +old_archive_cmds_F77=$old_archive_cmds +no_undefined_flag_F77= +whole_archive_flag_spec_F77= +enable_shared_with_static_runtimes_F77=no + +# Source file extension for f77 test sources. +ac_ext=f + +# Object file extension for compiled f77 test sources. +objext=o +objext_F77=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="\ + subroutine t + return + end +" + +# Code to be used in simple link tests +lt_simple_link_test_code="\ + program t + end +" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${F77-"f77"} +compiler=$CC +compiler_F77=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5 +echo "${ECHO_T}$can_build_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } +test "$can_build_shared" = "no" && enable_shared=no + +# On AIX, shared libraries and static libraries use the same namespace, and +# are all built from PIC. +case $host_os in +aix3*) + test "$enable_shared" = yes && enable_static=no + if test -n "$RANLIB"; then + archive_cmds="$archive_cmds~\$RANLIB \$lib" + postinstall_cmds='$RANLIB $lib' + fi + ;; +aix4* | aix5*) + if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then + test "$enable_shared" = yes && enable_static=no + fi + ;; +esac +{ echo "$as_me:$LINENO: result: $enable_shared" >&5 +echo "${ECHO_T}$enable_shared" >&6; } + +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } +# Make sure either enable_shared or enable_static is yes. +test "$enable_shared" = yes || enable_static=yes +{ echo "$as_me:$LINENO: result: $enable_static" >&5 +echo "${ECHO_T}$enable_static" >&6; } + +GCC_F77="$G77" +LD_F77="$LD" + +lt_prog_compiler_wl_F77= +lt_prog_compiler_pic_F77= +lt_prog_compiler_static_F77= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_static_F77='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_F77='-fno-common' + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_F77=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_F77=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_F77='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_F77='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_F77='-Bstatic' + else + lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic_F77='-qnocommon' + lt_prog_compiler_wl_F77='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_F77='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_F77='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_F77='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_F77='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_F77='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-fpic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl_F77='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl_F77='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + lt_prog_compiler_wl_F77='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_F77='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_F77='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static_F77='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + lt_prog_compiler_wl_F77='-Qoption ld ';; + *) + lt_prog_compiler_wl_F77='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl_F77='-Qoption ld ' + lt_prog_compiler_pic_F77='-PIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_F77='-Kconform_pic' + lt_prog_compiler_static_F77='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_pic_F77='-KPIC' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl_F77='-Wl,' + lt_prog_compiler_can_build_shared_F77=no + ;; + + uts4*) + lt_prog_compiler_pic_F77='-pic' + lt_prog_compiler_static_F77='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_F77=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_F77"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_pic_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_F77=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_F77" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:21740: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:21744: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works_F77=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } + +if test x"$lt_prog_compiler_pic_works_F77" = xyes; then + case $lt_prog_compiler_pic_F77 in + "" | " "*) ;; + *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; + esac +else + lt_prog_compiler_pic_F77= + lt_prog_compiler_can_build_shared_F77=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_F77= + ;; + *) + lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_static_works_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works_F77=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_static_works_F77=yes + fi + else + lt_prog_compiler_static_works_F77=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } + +if test x"$lt_prog_compiler_static_works_F77" = xyes; then + : +else + lt_prog_compiler_static_F77= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_F77=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:21844: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:21848: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_F77=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + runpath_var= + allow_undefined_flag_F77= + enable_shared_with_static_runtimes_F77=no + archive_cmds_F77= + archive_expsym_cmds_F77= + old_archive_From_new_cmds_F77= + old_archive_from_expsyms_cmds_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + thread_safe_flag_spec_F77= + hardcode_libdir_flag_spec_F77= + hardcode_libdir_flag_spec_ld_F77= + hardcode_libdir_separator_F77= + hardcode_direct_F77=no + hardcode_minus_L_F77=no + hardcode_shlibpath_var_F77=unsupported + link_all_deplibs_F77=unknown + hardcode_automatic_F77=no + module_cmds_F77= + module_expsym_cmds_F77= + always_export_symbols_F77=no + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_F77= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_F77=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_F77='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_F77= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_F77=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_F77=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_F77='-L$libdir' + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=no + enable_shared_with_static_runtimes_F77=yes + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_F77=no + fi + ;; + + interix[3-9]*) + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + else + ld_shlibs_F77=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_F77=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs_F77=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_F77=no + fi + ;; + esac + + if test "$ld_shlibs_F77" = no; then + runpath_var= + hardcode_libdir_flag_spec_F77= + export_dynamic_flag_spec_F77= + whole_archive_flag_spec_F77= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_F77=unsupported + always_export_symbols_F77=yes + archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_F77=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_F77=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_F77='' + hardcode_direct_F77=yes + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_F77=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_F77=yes + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_libdir_separator_F77= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_F77=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_F77='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_F77="-z nodefs" + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF + program main + + end +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_f77_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_F77=' ${wl}-bernotok' + allow_undefined_flag_F77=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_F77='$convenience' + archive_cmds_need_lc_F77=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_F77=no + ;; + + bsdi[45]*) + export_dynamic_flag_spec_F77=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_F77=' ' + allow_undefined_flag_F77=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_F77='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path_F77='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_F77=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + archive_cmds_need_lc_F77=no + hardcode_direct_F77=no + hardcode_automatic_F77=yes + hardcode_shlibpath_var_F77=unsupported + whole_archive_flag_spec_F77='' + link_all_deplibs_F77=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_F77=no + ;; + esac + fi + ;; + + dgux*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + freebsd1*) + ld_shlibs_F77=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_direct_F77=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_F77=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld_F77='+b $libdir' + hardcode_direct_F77=no + hardcode_shlibpath_var_F77=no + ;; + *) + hardcode_direct_F77=yes + export_dynamic_flag_spec_F77='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_F77=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + link_all_deplibs_F77=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + newsos6) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + hardcode_shlibpath_var_F77=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_F77=yes + hardcode_shlibpath_var_F77=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + export_dynamic_flag_spec_F77='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + ;; + *) + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs_F77=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_minus_L_F77=yes + allow_undefined_flag_F77=unsupported + archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_F77=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_F77=' -expect_unresolved \*' + archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_F77='-rpath $libdir' + fi + hardcode_libdir_separator_F77=: + ;; + + solaris*) + no_undefined_flag_F77=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_shlibpath_var_F77=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs_F77=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_direct_F77=yes + hardcode_minus_L_F77=yes + hardcode_shlibpath_var_F77=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_F77='$CC -r -o $output$reload_objs' + hardcode_direct_F77=no + ;; + motorola) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_F77=no + ;; + + sysv4.3*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + export_dynamic_flag_spec_F77='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_F77=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_F77=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_F77='${wl}-z,text' + archive_cmds_need_lc_F77=no + hardcode_shlibpath_var_F77=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag_F77='${wl}-z,text' + allow_undefined_flag_F77='${wl}-z,nodefs' + archive_cmds_need_lc_F77=no + hardcode_shlibpath_var_F77=no + hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator_F77=':' + link_all_deplibs_F77=yes + export_dynamic_flag_spec_F77='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_F77='-L$libdir' + hardcode_shlibpath_var_F77=no + ;; + + *) + ld_shlibs_F77=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 +echo "${ECHO_T}$ld_shlibs_F77" >&6; } +test "$ld_shlibs_F77" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_F77" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_F77=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_F77 in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_F77 + pic_flag=$lt_prog_compiler_pic_F77 + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_F77 + allow_undefined_flag_F77= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_F77=no + else + archive_cmds_need_lc_F77=yes + fi + allow_undefined_flag_F77=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action_F77= +if test -n "$hardcode_libdir_flag_spec_F77" || \ + test -n "$runpath_var_F77" || \ + test "X$hardcode_automatic_F77" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_F77" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && + test "$hardcode_minus_L_F77" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_F77=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_F77=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_F77=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 +echo "${ECHO_T}$hardcode_action_F77" >&6; } + +if test "$hardcode_action_F77" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_F77 \ + CC_F77 \ + LD_F77 \ + lt_prog_compiler_wl_F77 \ + lt_prog_compiler_pic_F77 \ + lt_prog_compiler_static_F77 \ + lt_prog_compiler_no_builtin_flag_F77 \ + export_dynamic_flag_spec_F77 \ + thread_safe_flag_spec_F77 \ + whole_archive_flag_spec_F77 \ + enable_shared_with_static_runtimes_F77 \ + old_archive_cmds_F77 \ + old_archive_from_new_cmds_F77 \ + predep_objects_F77 \ + postdep_objects_F77 \ + predeps_F77 \ + postdeps_F77 \ + compiler_lib_search_path_F77 \ + archive_cmds_F77 \ + archive_expsym_cmds_F77 \ + postinstall_cmds_F77 \ + postuninstall_cmds_F77 \ + old_archive_from_expsyms_cmds_F77 \ + allow_undefined_flag_F77 \ + no_undefined_flag_F77 \ + export_symbols_cmds_F77 \ + hardcode_libdir_flag_spec_F77 \ + hardcode_libdir_flag_spec_ld_F77 \ + hardcode_libdir_separator_F77 \ + hardcode_automatic_F77 \ + module_cmds_F77 \ + module_expsym_cmds_F77 \ + lt_cv_prog_compiler_c_o_F77 \ + fix_srcfile_path_F77 \ + exclude_expsyms_F77 \ + include_expsyms_F77; do + + case $var in + old_archive_cmds_F77 | \ + old_archive_from_new_cmds_F77 | \ + archive_cmds_F77 | \ + archive_expsym_cmds_F77 | \ + module_cmds_F77 | \ + module_expsym_cmds_F77 | \ + old_archive_from_expsyms_cmds_F77 | \ + export_symbols_cmds_F77 | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_F77 + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_F77 + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_F77 + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_F77 + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_F77 + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_F77 +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_F77 + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_F77 +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_F77 +archive_expsym_cmds=$lt_archive_expsym_cmds_F77 +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_F77 +module_expsym_cmds=$lt_module_expsym_cmds_F77 + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_F77 + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_F77 + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_F77 + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_F77 + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_F77 + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_F77 + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_F77 + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_F77 + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_F77 + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_F77 + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_F77 + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_F77 + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_F77 + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_F77 + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_F77 + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + GCJ) + if test -n "$GCJ" && test "X$GCJ" != "Xno"; then + + +# Source file extension for Java test sources. +ac_ext=java + +# Object file extension for compiled Java test sources. +objext=o +objext_GCJ=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code="class foo {}" + +# Code to be used in simple link tests +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }' + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${GCJ-"gcj"} +compiler=$CC +compiler_GCJ=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + +# GCJ did not exist at the time GCC didn't implicitly link libc in. +archive_cmds_need_lc_GCJ=no + +old_archive_cmds_GCJ=$old_archive_cmds + + +lt_prog_compiler_no_builtin_flag_GCJ= + +if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' + + +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_rtti_exceptions=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="-fno-rtti -fno-exceptions" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:24033: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:24037: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_cv_prog_compiler_rtti_exceptions=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } + +if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then + lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" +else + : +fi + +fi + +lt_prog_compiler_wl_GCJ= +lt_prog_compiler_pic_GCJ= +lt_prog_compiler_static_GCJ= + +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } + + if test "$GCC" = yes; then + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_static_GCJ='-static' + + case $host_os in + aix*) + # All AIX code is PIC. + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + amigaos*) + # FIXME: we need at least 68020 code to build shared libraries, but + # adding the `-m68020' flag to GCC prevents building anything better, + # like `-m68040'. + lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' + ;; + + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) + # PIC is the default for these OSes. + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + # Although the cygwin gcc ignores -fPIC, still need this for old-style + # (--disable-auto-import) libraries + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + darwin* | rhapsody*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + lt_prog_compiler_pic_GCJ='-fno-common' + ;; + + interix[3-9]*) + # Interix 3.x gcc -fpic/-fPIC options generate broken code. + # Instead, we relocate shared libraries at runtime. + ;; + + msdosdjgpp*) + # Just because we use GCC doesn't mean we suddenly get shared libraries + # on systems that don't support them. + lt_prog_compiler_can_build_shared_GCJ=no + enable_shared=no + ;; + + sysv4*MP*) + if test -d /usr/nec; then + lt_prog_compiler_pic_GCJ=-Kconform_pic + fi + ;; + + hpux*) + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + ;; + + *) + lt_prog_compiler_pic_GCJ='-fPIC' + ;; + esac + else + # PORTME Check for flag to pass linker flags through the system compiler. + case $host_os in + aix*) + lt_prog_compiler_wl_GCJ='-Wl,' + if test "$host_cpu" = ia64; then + # AIX 5 now supports IA64 processor + lt_prog_compiler_static_GCJ='-Bstatic' + else + lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' + fi + ;; + darwin*) + # PIC is the default on this platform + # Common symbols not allowed in MH_DYLIB files + case $cc_basename in + xlc*) + lt_prog_compiler_pic_GCJ='-qnocommon' + lt_prog_compiler_wl_GCJ='-Wl,' + ;; + esac + ;; + + mingw* | cygwin* | pw32* | os2*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' + ;; + + hpux9* | hpux10* | hpux11*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but + # not for PA HP-UX. + case $host_cpu in + hppa*64*|ia64*) + # +Z the default + ;; + *) + lt_prog_compiler_pic_GCJ='+Z' + ;; + esac + # Is there a better lt_prog_compiler_static that works with the bundled CC? + lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' + ;; + + irix5* | irix6* | nonstopux*) + lt_prog_compiler_wl_GCJ='-Wl,' + # PIC (with -KPIC) is the default. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + newsos6) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + linux* | k*bsd*-gnu) + case $cc_basename in + icc* | ecc*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-static' + ;; + pgcc* | pgf77* | pgf90* | pgf95*) + # Portland Group compilers (*not* the Pentium gcc compiler, + # which looks to be a dead project) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-fpic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + ccc*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All Alpha code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + # Sun C 5.9 + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + lt_prog_compiler_wl_GCJ='-Wl,' + ;; + *Sun\ F*) + # Sun Fortran 8.3 passes all unrecognized flags to the linker + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + lt_prog_compiler_wl_GCJ='' + ;; + esac + ;; + esac + ;; + + osf3* | osf4* | osf5*) + lt_prog_compiler_wl_GCJ='-Wl,' + # All OSF/1 code is PIC. + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + rdos*) + lt_prog_compiler_static_GCJ='-non_shared' + ;; + + solaris*) + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + case $cc_basename in + f77* | f90* | f95*) + lt_prog_compiler_wl_GCJ='-Qoption ld ';; + *) + lt_prog_compiler_wl_GCJ='-Wl,';; + esac + ;; + + sunos4*) + lt_prog_compiler_wl_GCJ='-Qoption ld ' + lt_prog_compiler_pic_GCJ='-PIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4 | sysv4.2uw2* | sysv4.3*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + sysv4*MP*) + if test -d /usr/nec ;then + lt_prog_compiler_pic_GCJ='-Kconform_pic' + lt_prog_compiler_static_GCJ='-Bstatic' + fi + ;; + + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_pic_GCJ='-KPIC' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + unicos*) + lt_prog_compiler_wl_GCJ='-Wl,' + lt_prog_compiler_can_build_shared_GCJ=no + ;; + + uts4*) + lt_prog_compiler_pic_GCJ='-pic' + lt_prog_compiler_static_GCJ='-Bstatic' + ;; + + *) + lt_prog_compiler_can_build_shared_GCJ=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } + +# +# Check to make sure the PIC flag actually works. +# +if test -n "$lt_prog_compiler_pic_GCJ"; then + +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_pic_works_GCJ=no + ac_outfile=conftest.$ac_objext + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + lt_compiler_flag="$lt_prog_compiler_pic_GCJ" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + # The option is referenced via a variable to avoid confusing sed. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:24323: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 + echo "$as_me:24327: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_pic_works_GCJ=yes + fi + fi + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } + +if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then + case $lt_prog_compiler_pic_GCJ in + "" | " "*) ;; + *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; + esac +else + lt_prog_compiler_pic_GCJ= + lt_prog_compiler_can_build_shared_GCJ=no +fi + +fi +case $host_os in + # For platforms which do not support PIC, -DPIC is meaningless: + *djgpp*) + lt_prog_compiler_pic_GCJ= + ;; + *) + lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" + ;; +esac + +# +# Check to make sure the static flag actually works. +# +wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } +if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_prog_compiler_static_works_GCJ=no + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS $lt_tmp_static_flag" + echo "$lt_simple_link_test_code" > conftest.$ac_ext + if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then + # The linker can only warn and ignore the option if not recognized + # So say no if there are warnings + if test -s conftest.err; then + # Append any errors to the config.log. + cat conftest.err 1>&5 + $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp + $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 + if diff conftest.exp conftest.er2 >/dev/null; then + lt_prog_compiler_static_works_GCJ=yes + fi + else + lt_prog_compiler_static_works_GCJ=yes + fi + fi + $rm conftest* + LDFLAGS="$save_LDFLAGS" + +fi +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 +echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } + +if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then + : +else + lt_prog_compiler_static_GCJ= +fi + + +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } +if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_prog_compiler_c_o_GCJ=no + $rm -r conftest 2>/dev/null + mkdir conftest + cd conftest + mkdir out + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + lt_compiler_flag="-o out/conftest2.$ac_objext" + # Insert the option either (1) after the last *FLAGS variable, or + # (2) before a word containing "conftest.", or (3) at the end. + # Note that $ac_compile itself does not contain backslashes and begins + # with a dollar sign (not a hyphen), so the echo should work correctly. + lt_compile=`echo "$ac_compile" | $SED \ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` + (eval echo "\"\$as_me:24427: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 + echo "$as_me:24431: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings + $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp + $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 + if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then + lt_cv_prog_compiler_c_o_GCJ=yes + fi + fi + chmod u+w . 2>&5 + $rm conftest* + # SGI C++ compiler will create directory out/ii_files/ for + # template instantiation + test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files + $rm out/* && rmdir out + cd .. + rmdir conftest + $rm conftest* + +fi +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } + + +hard_links="nottested" +if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } + hard_links=yes + $rm conftest* + ln conftest.a conftest.b 2>/dev/null && hard_links=no + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no + { echo "$as_me:$LINENO: result: $hard_links" >&5 +echo "${ECHO_T}$hard_links" >&6; } + if test "$hard_links" = no; then + { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 +echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +else + need_locks=no +fi + +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } + + runpath_var= + allow_undefined_flag_GCJ= + enable_shared_with_static_runtimes_GCJ=no + archive_cmds_GCJ= + archive_expsym_cmds_GCJ= + old_archive_From_new_cmds_GCJ= + old_archive_from_expsyms_cmds_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + thread_safe_flag_spec_GCJ= + hardcode_libdir_flag_spec_GCJ= + hardcode_libdir_flag_spec_ld_GCJ= + hardcode_libdir_separator_GCJ= + hardcode_direct_GCJ=no + hardcode_minus_L_GCJ=no + hardcode_shlibpath_var_GCJ=unsupported + link_all_deplibs_GCJ=unknown + hardcode_automatic_GCJ=no + module_cmds_GCJ= + module_expsym_cmds_GCJ= + always_export_symbols_GCJ=no + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' + # include_expsyms should be a list of space-separated symbols to be *always* + # included in the symbol list + include_expsyms_GCJ= + # exclude_expsyms can be an extended regexp of symbols to exclude + # it will be wrapped by ` (' and `)$', so one must not match beginning or + # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', + # as well as any symbol that contains `d'. + exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" + # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out + # platforms (ab)use it in PIC code, but their linkers get confused if + # the symbol is explicitly referenced. Since portable code cannot + # rely on this symbol name, it's probably fine to never include it in + # preloaded symbol tables. + extract_expsyms_cmds= + # Just being paranoid about ensuring that cc_basename is set. + for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + + case $host_os in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; + esac + + ld_shlibs_GCJ=yes + if test "$with_gnu_ld" = yes; then + # If archive_cmds runs LD, not CC, wlarc should be empty + wlarc='${wl}' + + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + runpath_var=LD_RUN_PATH + hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' + export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' + # ancient GNU ld didn't support --whole-archive et. al. + if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then + whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' + else + whole_archive_flag_spec_GCJ= + fi + supports_anon_versioning=no + case `$LD -v 2>/dev/null` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 + *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... + *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... + *\ 2.11.*) ;; # other 2.11 versions + *) supports_anon_versioning=yes ;; + esac + + # See if GNU ld supports shared libraries. + case $host_os in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: the GNU linker, at least up to release 2.9.1, is reported +*** to be unable to reliably create shared libraries on AIX. +*** Therefore, libtool is disabling shared libraries support. If you +*** really care for shared libraries, you may want to modify your PATH +*** so that a non-GNU linker is found, and then restart. + +EOF + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can't use + # them. + ld_shlibs_GCJ=no + ;; + + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + allow_undefined_flag_GCJ=unsupported + # Joseph Beckenbach says some releases of gcc + # support --undefined. This deserves some investigation. FIXME + archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + cygwin* | mingw* | pw32*) + # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, + # as there is no search path for DLLs. + hardcode_libdir_flag_spec_GCJ='-L$libdir' + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=no + enable_shared_with_static_runtimes_GCJ=yes + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' + + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + # If the export-symbols file already is a .def file (1st line + # is EXPORTS), use it as is; otherwise, prepend... + archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then + cp $export_symbols $output_objdir/$soname.def; + else + echo EXPORTS > $output_objdir/$soname.def; + cat $export_symbols >> $output_objdir/$soname.def; + fi~ + $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + interix[3-9]*) + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. + # Instead, shared libraries are loaded at an image base (0x10000000 by + # default) and relocated if they conflict, which is a slow very memory + # consuming and fragmenting process. To avoid this, we pick a random, + # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link + # time. Moving up from 0x10000000 also allows more sbrk(2) space. + archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' + ;; + + gnu* | linux* | k*bsd*-gnu) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + tmp_addflag= + case $cc_basename,$host_cpu in + pgcc*) # Portland Group C compiler + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag' + ;; + pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers + whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_addflag=' $pic_flag -Mnomain' ;; + ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 + tmp_addflag=' -i_dynamic' ;; + efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 + tmp_addflag=' -i_dynamic -nofor_main' ;; + ifc* | ifort*) # Intel Fortran compiler + tmp_addflag=' -nofor_main' ;; + esac + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) # Sun C 5.9 + whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' + tmp_sharedflag='-G' ;; + *Sun\ F*) # Sun Fortran 8.3 + tmp_sharedflag='-G' ;; + *) + tmp_sharedflag='-shared' ;; + esac + archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + + if test $supports_anon_versioning = yes; then + archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + $echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' + fi + else + ld_shlibs_GCJ=no + fi + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= + else + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + fi + ;; + + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs_GCJ=no + cat <&2 + +*** Warning: The releases 2.8.* of the GNU linker cannot reliably +*** create shared libraries on Solaris systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.9.1 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +EOF + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs_GCJ=no + cat <<_LT_EOF 1>&2 + +*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not +*** reliably create shared libraries on SCO systems. Therefore, libtool +*** is disabling shared libraries support. We urge you to upgrade GNU +*** binutils to release 2.16.91.0.3 or newer. Another option is to modify +*** your PATH or compiler configuration so that the native linker is +*** used, and then restart. + +_LT_EOF + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + ;; + + sunos4*) + archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' + wlarc= + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + else + ld_shlibs_GCJ=no + fi + ;; + esac + + if test "$ld_shlibs_GCJ" = no; then + runpath_var= + hardcode_libdir_flag_spec_GCJ= + export_dynamic_flag_spec_GCJ= + whole_archive_flag_spec_GCJ= + fi + else + # PORTME fill in a description of your system's linker (not GNU ld) + case $host_os in + aix3*) + allow_undefined_flag_GCJ=unsupported + always_export_symbols_GCJ=yes + archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L_GCJ=yes + if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct_GCJ=unsupported + fi + ;; + + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + exp_sym_flag='-Bexport' + no_entry_flag="" + else + # If we're using GNU nm, then we don't want the "-C" option. + # -C means demangle to AIX nm, but means don't demangle with GNU nm + if $NM -V 2>&1 | grep 'GNU' > /dev/null; then + export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + else + export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' + fi + aix_use_runtimelinking=no + + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + + exp_sym_flag='-bexport' + no_entry_flag='-bnoentry' + fi + + # When large executables or shared objects are built, AIX ld can + # have problems creating the table of contents. If linking a library + # or program results in "error TOC overflow" add -mminimal-toc to + # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not + # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. + + archive_cmds_GCJ='' + hardcode_direct_GCJ=yes + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + # We only want to do this on AIX 4.2 and lower, the check + # below for broken collect2 doesn't work under 4.3+ + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + : + else + # We have old collect2 + hardcode_direct_GCJ=unsupported + # It fails to find uninstalled libraries when the uninstalled + # path is not listed in the libpath. Setting hardcode_minus_L + # to unsupported forces relinking + hardcode_minus_L_GCJ=yes + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_libdir_separator_GCJ= + fi + ;; + esac + shared_flag='-shared' + if test "$aix_use_runtimelinking" = yes; then + shared_flag="$shared_flag "'${wl}-G' + fi + else + # not using gcc + if test "$host_cpu" = ia64; then + # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release + # chokes on -Wl,-G. The following line is correct: + shared_flag='-G' + else + if test "$aix_use_runtimelinking" = yes; then + shared_flag='${wl}-G' + else + shared_flag='${wl}-bM:SRE' + fi + fi + fi + + # It seems that -bexpall does not export symbols beginning with + # underscore (_), so it is better to generate a list of symbols to export. + always_export_symbols_GCJ=yes + if test "$aix_use_runtimelinking" = yes; then + # Warning - without using the other runtime loading flags (-brtl), + # -berok will link without error, but may produce a broken library. + allow_undefined_flag_GCJ='-berok' + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' + allow_undefined_flag_GCJ="-z nodefs" + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" + else + # Determine the default libpath from the value encoded in an empty executable. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + +lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { + /^0/ { + s/^0 *\(.*\)$/\1/ + p + } + }' +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +# Check for a 64-bit object if we didn't find anything. +if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` +fi +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" + # Warning - without using the other run time loading flags, + # -berok will link without error, but may produce a broken library. + no_undefined_flag_GCJ=' ${wl}-bernotok' + allow_undefined_flag_GCJ=' ${wl}-berok' + # Exported symbols can be pulled into shared objects from archives + whole_archive_flag_spec_GCJ='$convenience' + archive_cmds_need_lc_GCJ=yes + # This is similar to how AIX traditionally builds its shared libraries. + archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' + fi + fi + ;; + + amigaos*) + archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + # see comment about different semantics on the GNU ld section + ld_shlibs_GCJ=no + ;; + + bsdi[45]*) + export_dynamic_flag_spec_GCJ=-rdynamic + ;; + + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec_GCJ=' ' + allow_undefined_flag_GCJ=unsupported + # Tell ltmain to make .lib files, not .a files. + libext=lib + # Tell ltmain to make .dll files, not .so files. + shrext_cmds=".dll" + # FIXME: Setting linknames here is a bad hack. + archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' + # The linker will automatically build a .lib file if we build a DLL. + old_archive_From_new_cmds_GCJ='true' + # FIXME: Should let the user specify the lib program. + old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs' + fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' + enable_shared_with_static_runtimes_GCJ=yes + ;; + + darwin* | rhapsody*) + case $host_os in + rhapsody* | darwin1.[012]) + allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' + ;; + *) # Darwin 1.3 on + if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + else + case ${MACOSX_DEPLOYMENT_TARGET} in + 10.[012]) + allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' + ;; + 10.*) + allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' + ;; + esac + fi + ;; + esac + archive_cmds_need_lc_GCJ=no + hardcode_direct_GCJ=no + hardcode_automatic_GCJ=yes + hardcode_shlibpath_var_GCJ=unsupported + whole_archive_flag_spec_GCJ='' + link_all_deplibs_GCJ=yes + if test "$GCC" = yes ; then + output_verbose_link_cmd='echo' + archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + else + case $cc_basename in + xlc*) + output_verbose_link_cmd='echo' + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds + archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + ;; + *) + ld_shlibs_GCJ=no + ;; + esac + fi + ;; + + dgux*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + freebsd1*) + ld_shlibs_GCJ=no + ;; + + # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor + # support. Future versions do this automatically, but an explicit c++rt0.o + # does not break anything, and helps significantly (at the cost of a little + # extra space). + freebsd2.2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # Unfortunately, older versions of FreeBSD 2 do not have this feature. + freebsd2*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. + freebsd* | dragonfly*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + hpux9*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + else + archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_direct_GCJ=yes + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + ;; + + hpux10*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + fi + ;; + + hpux11*) + if test "$GCC" = yes -a "$with_gnu_ld" = no; then + case $host_cpu in + hppa*64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + else + case $host_cpu in + hppa*64*) + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + ;; + ia64*) + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' + ;; + *) + archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' + ;; + esac + fi + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + + case $host_cpu in + hppa*64*|ia64*) + hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' + hardcode_direct_GCJ=no + hardcode_shlibpath_var_GCJ=no + ;; + *) + hardcode_direct_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-E' + + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L_GCJ=yes + ;; + esac + fi + ;; + + irix5* | irix6* | nonstopux*) + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + link_all_deplibs_GCJ=yes + ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else + archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + newsos6) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + hardcode_shlibpath_var_GCJ=no + ;; + + openbsd*) + if test -f /usr/libexec/ld.so; then + hardcode_direct_GCJ=yes + hardcode_shlibpath_var_GCJ=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + export_dynamic_flag_spec_GCJ='${wl}-E' + else + case $host_os in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + ;; + *) + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' + ;; + esac + fi + else + ld_shlibs_GCJ=no + fi + ;; + + os2*) + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_minus_L_GCJ=yes + allow_undefined_flag_GCJ=unsupported + archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' + old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' + ;; + + osf3*) + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator_GCJ=: + ;; + + osf4* | osf5*) # as osf3* with the addition of -msym flag + if test "$GCC" = yes; then + allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' + hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' + else + allow_undefined_flag_GCJ=' -expect_unresolved \*' + archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' + archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ + $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' + + # Both c and cxx compiler support -rpath directly + hardcode_libdir_flag_spec_GCJ='-rpath $libdir' + fi + hardcode_libdir_separator_GCJ=: + ;; + + solaris*) + no_undefined_flag_GCJ=' -z text' + if test "$GCC" = yes; then + wlarc='${wl}' + archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' + else + wlarc='' + archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' + archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' + fi + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_shlibpath_var_GCJ=no + case $host_os in + solaris2.[0-5] | solaris2.[0-5].*) ;; + *) + # The compiler driver will combine and reorder linker options, + # but understands `-z linker_flag'. GCC discards it without `$wl', + # but is careful enough not to reorder. + # Supported since Solaris 2.6 (maybe 2.5.1?) + if test "$GCC" = yes; then + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' + else + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' + fi + ;; + esac + link_all_deplibs_GCJ=yes + ;; + + sunos4*) + if test "x$host_vendor" = xsequent; then + # Use $CC to link under sequent, because it throws in some extra .o + # files that make .init and .fini sections work. + archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' + fi + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_direct_GCJ=yes + hardcode_minus_L_GCJ=yes + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4) + case $host_vendor in + sni) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=yes # is this really true??? + ;; + siemens) + ## LD is ld it makes a PLAMLIB + ## CC just makes a GrossModule. + archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' + reload_cmds_GCJ='$CC -r -o $output$reload_objs' + hardcode_direct_GCJ=no + ;; + motorola) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie + ;; + esac + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var_GCJ=no + ;; + + sysv4.3*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + export_dynamic_flag_spec_GCJ='-Bexport' + ;; + + sysv4*MP*) + if test -d /usr/nec; then + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_shlibpath_var_GCJ=no + runpath_var=LD_RUN_PATH + hardcode_runpath_var=yes + ld_shlibs_GCJ=yes + fi + ;; + + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) + no_undefined_flag_GCJ='${wl}-z,text' + archive_cmds_need_lc_GCJ=no + hardcode_shlibpath_var_GCJ=no + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + sysv5* | sco3.2v5* | sco5v6*) + # Note: We can NOT use -z defs as we might desire, because we do not + # link with -lc, and that would cause any symbols used from libc to + # always be unresolved, which means just about no library would + # ever link correctly. If we're not using GNU ld we use -z text + # though, which does catch some bad symbols but isn't as heavy-handed + # as -z defs. + no_undefined_flag_GCJ='${wl}-z,text' + allow_undefined_flag_GCJ='${wl}-z,nodefs' + archive_cmds_need_lc_GCJ=no + hardcode_shlibpath_var_GCJ=no + hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator_GCJ=':' + link_all_deplibs_GCJ=yes + export_dynamic_flag_spec_GCJ='${wl}-Bexport' + runpath_var='LD_RUN_PATH' + + if test "$GCC" = yes; then + archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + else + archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' + fi + ;; + + uts4*) + archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' + hardcode_libdir_flag_spec_GCJ='-L$libdir' + hardcode_shlibpath_var_GCJ=no + ;; + + *) + ld_shlibs_GCJ=no + ;; + esac + fi + +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } +test "$ld_shlibs_GCJ" = no && can_build_shared=no + +# +# Do we need to explicitly link libc? +# +case "x$archive_cmds_need_lc_GCJ" in +x|xyes) + # Assume -lc should be added + archive_cmds_need_lc_GCJ=yes + + if test "$enable_shared" = yes && test "$GCC" = yes; then + case $archive_cmds_GCJ in + *'~'*) + # FIXME: we may have to deal with multi-command sequences. + ;; + '$CC '*) + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } + $rm conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl_GCJ + pic_flag=$lt_prog_compiler_pic_GCJ + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ + allow_undefined_flag_GCJ= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + then + archive_cmds_need_lc_GCJ=no + else + archive_cmds_need_lc_GCJ=yes + fi + allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $rm conftest* + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } + ;; + esac + fi + ;; +esac + +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } +library_names_spec= +libname_spec='lib$name' +soname_spec= +shrext_cmds=".so" +postinstall_cmds= +postuninstall_cmds= +finish_cmds= +finish_eval= +shlibpath_var= +shlibpath_overrides_runpath=unknown +version_type=none +dynamic_linker="$host_os ld.so" +sys_lib_dlsearch_path_spec="/lib /usr/lib" + +need_lib_prefix=unknown +hardcode_into_libs=no + +# when you set need_version to no, make sure it does not cause -set_version +# flags to be left without arguments +need_version=unknown + +case $host_os in +aix3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' + shlibpath_var=LIBPATH + + # AIX 3 has no versioning support, so we append a major version to the name. + soname_spec='${libname}${release}${shared_ext}$major' + ;; + +aix4* | aix5*) + version_type=linux + need_lib_prefix=no + need_version=no + hardcode_into_libs=yes + if test "$host_cpu" = ia64; then + # AIX 5 supports IA64 + library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + else + # With GCC up to 2.95.x, collect2 would create an import file + # for dependence libraries. The import file would start with + # the line `#! .'. This would cause the generated library to + # depend on `.', always an invalid library. This was fixed in + # development snapshots of GCC prior to 3.0. + case $host_os in + aix4 | aix4.[01] | aix4.[01].*) + if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' + echo ' yes ' + echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then + : + else + can_build_shared=no + fi + ;; + esac + # AIX (on Power*) has no versioning support, so currently we can not hardcode correct + # soname into executable. Probably we can add versioning support to + # collect2, so additional links can be useful in future. + if test "$aix_use_runtimelinking" = yes; then + # If using run time linking (on AIX 4.2 or later) use lib.so + # instead of lib.a to let people know that these are not + # typical AIX shared libraries. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + else + # We preserve .a as extension for shared libraries through AIX4.2 + # and later when we are not doing run time linking. + library_names_spec='${libname}${release}.a $libname.a' + soname_spec='${libname}${release}${shared_ext}$major' + fi + shlibpath_var=LIBPATH + fi + ;; + +amigaos*) + library_names_spec='$libname.ixlibrary $libname.a' + # Create ${libname}_ixlibrary.a entries in /sys/libs. + finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' + ;; + +beos*) + library_names_spec='${libname}${shared_ext}' + dynamic_linker="$host_os ld.so" + shlibpath_var=LIBRARY_PATH + ;; + +bsdi[45]*) + version_type=linux + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" + sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" + # the default ld.so.conf also contains /usr/contrib/lib and + # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow + # libtool to hard-code these into programs + ;; + +cygwin* | mingw* | pw32*) + version_type=windows + shrext_cmds=".dll" + need_version=no + need_lib_prefix=no + + case $GCC,$host_os in + yes,cygwin* | yes,mingw* | yes,pw32*) + library_names_spec='$libname.dll.a' + # DLL is installed to $(libdir)/../bin by postinstall_cmds + postinstall_cmds='base_file=`basename \${file}`~ + dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ + dldir=$destdir/`dirname \$dlpath`~ + test -d \$dldir || mkdir -p \$dldir~ + $install_prog $dir/$dlname \$dldir/$dlname~ + chmod a+x \$dldir/$dlname' + postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ + dlpath=$dir/\$dldll~ + $rm \$dlpath' + shlibpath_overrides_runpath=yes + + case $host_os in + cygwin*) + # Cygwin DLLs use 'cyg' prefix rather than 'lib' + soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" + ;; + mingw*) + # MinGW DLLs use traditional 'lib' prefix + soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` + if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then + # It is most probably a Windows format PATH printed by + # mingw gcc, but we are running on Cygwin. Gcc prints its search + # path with ; separators, and with drive letters. We can handle the + # drive letters (cygwin fileutils understands them), so leave them, + # especially as we might pass files found there to a mingw objdump, + # which wouldn't understand a cygwinified path. Ahh. + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` + else + sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` + fi + ;; + pw32*) + # pw32 DLLs use 'pw' prefix rather than 'lib' + library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' + ;; + esac + ;; + + *) + library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' + ;; + esac + dynamic_linker='Win32 ld.exe' + # FIXME: first we should search . and the directory the executable is in + shlibpath_var=PATH + ;; + +darwin* | rhapsody*) + dynamic_linker="$host_os dyld" + version_type=darwin + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' + soname_spec='${libname}${release}${major}$shared_ext' + shlibpath_overrides_runpath=yes + shlibpath_var=DYLD_LIBRARY_PATH + shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' + + sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' + ;; + +dgux*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +freebsd1*) + dynamic_linker=no + ;; + +freebsd* | dragonfly*) + # DragonFly does not have aout. When/if they implement a new + # versioning mechanism, adjust this. + if test -x /usr/bin/objformat; then + objformat=`/usr/bin/objformat` + else + case $host_os in + freebsd[123]*) objformat=aout ;; + *) objformat=elf ;; + esac + fi + version_type=freebsd-$objformat + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + need_version=no + need_lib_prefix=no + ;; + freebsd-*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in + freebsd2*) + shlibpath_overrides_runpath=yes + ;; + freebsd3.[01]* | freebsdelf3.[01]*) + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ + freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + *) # from 4.6 on, and DragonFly + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + esac + ;; + +gnu*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + ;; + +hpux9* | hpux10* | hpux11*) + # Give a soname corresponding to the major version so that dld.sl refuses to + # link against other versions. + version_type=sunos + need_lib_prefix=no + need_version=no + case $host_cpu in + ia64*) + shrext_cmds='.so' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.so" + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + if test "X$HPUX_IA64_MODE" = X32; then + sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" + else + sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" + fi + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + hppa*64*) + shrext_cmds='.sl' + hardcode_into_libs=yes + dynamic_linker="$host_os dld.sl" + shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH + shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" + sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec + ;; + *) + shrext_cmds='.sl' + dynamic_linker="$host_os dld.sl" + shlibpath_var=SHLIB_PATH + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + ;; + esac + # HP-UX runs *really* slowly unless shared libraries are mode 555. + postinstall_cmds='chmod 555 $lib' + ;; + +interix[3-9]*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=yes + ;; + +irix5* | irix6* | nonstopux*) + case $host_os in + nonstopux*) version_type=nonstopux ;; + *) + if test "$lt_cv_prog_gnu_ld" = yes; then + version_type=linux + else + version_type=irix + fi ;; + esac + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' + case $host_os in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in # libtool.m4 will add one of these switches to LD + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") + libsuff= shlibsuff= libmagic=32-bit;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") + libsuff=32 shlibsuff=N32 libmagic=N32;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") + libsuff=64 shlibsuff=64 libmagic=64-bit;; + *) libsuff= shlibsuff= libmagic=never-match;; + esac + ;; + esac + shlibpath_var=LD_LIBRARY${shlibsuff}_PATH + shlibpath_overrides_runpath=no + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + hardcode_into_libs=yes + ;; + +# No shared lib support for Linux oldld, aout, or coff. +linux*oldld* | linux*aout* | linux*coff*) + dynamic_linker=no + ;; + +# This must be Linux ELF. +linux* | k*bsd*-gnu) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + # This implies no fast_install, which is unacceptable. + # Some rework will be needed to allow for fast_install + # before this can be enabled. + hardcode_into_libs=yes + sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" + sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" + + # Append ld.so.conf contents to the search path + if test -f /etc/ld.so.conf; then + lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" + fi + + # We used to test for /lib/ld.so.1 and disable shared libraries on + # powerpc, because MkLinux only supported shared libraries with the + # GNU dynamic linker. Since this was broken with cross compilers, + # most powerpc-linux boxes support dynamic linking these days and + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' + ;; + +netbsd*) + version_type=sunos + need_lib_prefix=no + need_version=no + if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + dynamic_linker='NetBSD (a.out) ld.so' + else + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + dynamic_linker='NetBSD ld.elf_so' + fi + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + ;; + +newsos6) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +nto-qnx*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + ;; + +openbsd*) + version_type=sunos + sys_lib_dlsearch_path_spec="/usr/lib" + need_lib_prefix=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' + shlibpath_var=LD_LIBRARY_PATH + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + case $host_os in + openbsd2.[89] | openbsd2.[89].*) + shlibpath_overrides_runpath=no + ;; + *) + shlibpath_overrides_runpath=yes + ;; + esac + else + shlibpath_overrides_runpath=yes + fi + ;; + +os2*) + libname_spec='$name' + shrext_cmds=".dll" + need_lib_prefix=no + library_names_spec='$libname${shared_ext} $libname.a' + dynamic_linker='OS/2 ld.exe' + shlibpath_var=LIBPATH + ;; + +osf3* | osf4* | osf5*) + version_type=osf + need_lib_prefix=no + need_version=no + soname_spec='${libname}${release}${shared_ext}$major' + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + shlibpath_var=LD_LIBRARY_PATH + sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" + sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" + ;; + +rdos*) + dynamic_linker=no + ;; + +solaris*) + version_type=linux + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + hardcode_into_libs=yes + # ldd complains unless libraries are executable + postinstall_cmds='chmod +x $lib' + ;; + +sunos4*) + version_type=sunos + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' + finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=yes + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi + need_version=yes + ;; + +sysv4 | sysv4.3*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + case $host_vendor in + sni) + shlibpath_overrides_runpath=no + need_lib_prefix=no + export_dynamic_flag_spec='${wl}-Blargedynsym' + runpath_var=LD_RUN_PATH + ;; + siemens) + need_lib_prefix=no + ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + ;; + esac + ;; + +sysv4*MP*) + if test -d /usr/nec ;then + version_type=linux + library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' + soname_spec='$libname${shared_ext}.$major' + shlibpath_var=LD_LIBRARY_PATH + fi + ;; + +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + version_type=freebsd-elf + need_lib_prefix=no + need_version=no + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + hardcode_into_libs=yes + if test "$with_gnu_ld" = yes; then + sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' + shlibpath_overrides_runpath=no + else + sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' + shlibpath_overrides_runpath=yes + case $host_os in + sco3.2v5*) + sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" + ;; + esac + fi + sys_lib_dlsearch_path_spec='/usr/lib' + ;; + +uts4*) + version_type=linux + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' + soname_spec='${libname}${release}${shared_ext}$major' + shlibpath_var=LD_LIBRARY_PATH + ;; + +*) + dynamic_linker=no + ;; +esac +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5 +echo "${ECHO_T}$dynamic_linker" >&6; } +test "$dynamic_linker" = no && can_build_shared=no + +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" +if test "$GCC" = yes; then + variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" +fi + +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } +hardcode_action_GCJ= +if test -n "$hardcode_libdir_flag_spec_GCJ" || \ + test -n "$runpath_var_GCJ" || \ + test "X$hardcode_automatic_GCJ" = "Xyes" ; then + + # We can hardcode non-existant directories. + if test "$hardcode_direct_GCJ" != no && + # If the only mechanism to avoid hardcoding is shlibpath_var, we + # have to relink, otherwise we might link with an installed library + # when we should be linking with a yet-to-be-installed one + ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && + test "$hardcode_minus_L_GCJ" != no; then + # Linking always hardcodes the temporary library directory. + hardcode_action_GCJ=relink + else + # We can link without hardcoding, and we can hardcode nonexisting dirs. + hardcode_action_GCJ=immediate + fi +else + # We cannot hardcode anything, or else we can only hardcode existing + # directories. + hardcode_action_GCJ=unsupported +fi +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; } + +if test "$hardcode_action_GCJ" = relink; then + # Fast installation is not supported + enable_fast_install=no +elif test "$shlibpath_overrides_runpath" = yes || + test "$enable_shared" = no; then + # Fast installation is not necessary + enable_fast_install=needless +fi + + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_GCJ \ + CC_GCJ \ + LD_GCJ \ + lt_prog_compiler_wl_GCJ \ + lt_prog_compiler_pic_GCJ \ + lt_prog_compiler_static_GCJ \ + lt_prog_compiler_no_builtin_flag_GCJ \ + export_dynamic_flag_spec_GCJ \ + thread_safe_flag_spec_GCJ \ + whole_archive_flag_spec_GCJ \ + enable_shared_with_static_runtimes_GCJ \ + old_archive_cmds_GCJ \ + old_archive_from_new_cmds_GCJ \ + predep_objects_GCJ \ + postdep_objects_GCJ \ + predeps_GCJ \ + postdeps_GCJ \ + compiler_lib_search_path_GCJ \ + archive_cmds_GCJ \ + archive_expsym_cmds_GCJ \ + postinstall_cmds_GCJ \ + postuninstall_cmds_GCJ \ + old_archive_from_expsyms_cmds_GCJ \ + allow_undefined_flag_GCJ \ + no_undefined_flag_GCJ \ + export_symbols_cmds_GCJ \ + hardcode_libdir_flag_spec_GCJ \ + hardcode_libdir_flag_spec_ld_GCJ \ + hardcode_libdir_separator_GCJ \ + hardcode_automatic_GCJ \ + module_cmds_GCJ \ + module_expsym_cmds_GCJ \ + lt_cv_prog_compiler_c_o_GCJ \ + fix_srcfile_path_GCJ \ + exclude_expsyms_GCJ \ + include_expsyms_GCJ; do + + case $var in + old_archive_cmds_GCJ | \ + old_archive_from_new_cmds_GCJ | \ + archive_cmds_GCJ | \ + archive_expsym_cmds_GCJ | \ + module_cmds_GCJ | \ + module_expsym_cmds_GCJ | \ + old_archive_from_expsyms_cmds_GCJ | \ + export_symbols_cmds_GCJ | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_GCJ + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_GCJ + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_GCJ + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_GCJ + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_GCJ + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_GCJ +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_GCJ + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_GCJ +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_GCJ +archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_GCJ +module_expsym_cmds=$lt_module_expsym_cmds_GCJ + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_GCJ + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_GCJ + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_GCJ + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_GCJ + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_GCJ + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_GCJ + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_GCJ + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_GCJ + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_GCJ + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_GCJ + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_GCJ + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_GCJ + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_GCJ + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_GCJ + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + else + tagname="" + fi + ;; + + RC) + + +# Source file extension for RC test sources. +ac_ext=rc + +# Object file extension for compiled RC test sources. +objext=o +objext_RC=$objext + +# Code to be used in simple compile tests +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' + +# Code to be used in simple link tests +lt_simple_link_test_code="$lt_simple_compile_test_code" + +# ltmain only uses $CC for tagged configurations so make sure $CC is set. + +# If no C compiler was specified, use CC. +LTCC=${LTCC-"$CC"} + +# If no C compiler flags were specified, use CFLAGS. +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} + +# Allow CC to be a program name with arguments. +compiler=$CC + + +# save warnings/boilerplate of simple test code +ac_outfile=conftest.$ac_objext +echo "$lt_simple_compile_test_code" >conftest.$ac_ext +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_compiler_boilerplate=`cat conftest.err` +$rm conftest* + +ac_outfile=conftest.$ac_objext +echo "$lt_simple_link_test_code" >conftest.$ac_ext +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err +_lt_linker_boilerplate=`cat conftest.err` +$rm conftest* + + +# Allow CC to be a program name with arguments. +lt_save_CC="$CC" +CC=${RC-"windres"} +compiler=$CC +compiler_RC=$CC +for cc_temp in $compiler""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` + +lt_cv_prog_compiler_c_o_RC=yes + +# The else clause should only fire when bootstrapping the +# libtool distribution, otherwise you forgot to ship ltmain.sh +# with your package, and you will get complaints that there are +# no rules to generate ltmain.sh. +if test -f "$ltmain"; then + # See if we are running on zsh, and set the options which allow our commands through + # without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + # Now quote all the things that may contain metacharacters while being + # careful not to overquote the AC_SUBSTed values. We take copies of the + # variables and quote the copies for generation of the libtool script. + for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ + SED SHELL STRIP \ + libname_spec library_names_spec soname_spec extract_expsyms_cmds \ + old_striplib striplib file_magic_cmd finish_cmds finish_eval \ + deplibs_check_method reload_flag reload_cmds need_locks \ + lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ + lt_cv_sys_global_symbol_to_c_name_address \ + sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ + old_postinstall_cmds old_postuninstall_cmds \ + compiler_RC \ + CC_RC \ + LD_RC \ + lt_prog_compiler_wl_RC \ + lt_prog_compiler_pic_RC \ + lt_prog_compiler_static_RC \ + lt_prog_compiler_no_builtin_flag_RC \ + export_dynamic_flag_spec_RC \ + thread_safe_flag_spec_RC \ + whole_archive_flag_spec_RC \ + enable_shared_with_static_runtimes_RC \ + old_archive_cmds_RC \ + old_archive_from_new_cmds_RC \ + predep_objects_RC \ + postdep_objects_RC \ + predeps_RC \ + postdeps_RC \ + compiler_lib_search_path_RC \ + archive_cmds_RC \ + archive_expsym_cmds_RC \ + postinstall_cmds_RC \ + postuninstall_cmds_RC \ + old_archive_from_expsyms_cmds_RC \ + allow_undefined_flag_RC \ + no_undefined_flag_RC \ + export_symbols_cmds_RC \ + hardcode_libdir_flag_spec_RC \ + hardcode_libdir_flag_spec_ld_RC \ + hardcode_libdir_separator_RC \ + hardcode_automatic_RC \ + module_cmds_RC \ + module_expsym_cmds_RC \ + lt_cv_prog_compiler_c_o_RC \ + fix_srcfile_path_RC \ + exclude_expsyms_RC \ + include_expsyms_RC; do + + case $var in + old_archive_cmds_RC | \ + old_archive_from_new_cmds_RC | \ + archive_cmds_RC | \ + archive_expsym_cmds_RC | \ + module_cmds_RC | \ + module_expsym_cmds_RC | \ + old_archive_from_expsyms_cmds_RC | \ + export_symbols_cmds_RC | \ + extract_expsyms_cmds | reload_cmds | finish_cmds | \ + postinstall_cmds | postuninstall_cmds | \ + old_postinstall_cmds | old_postuninstall_cmds | \ + sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) + # Double-quote double-evaled strings. + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + esac + done + + case $lt_echo in + *'\$0 --fallback-echo"') + lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; + esac + +cfgfile="$ofile" + + cat <<__EOF__ >> "$cfgfile" +# ### BEGIN LIBTOOL TAG CONFIG: $tagname + +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc_RC + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# An echo program that does not interpret backslashes. +echo=$lt_echo + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A C compiler. +LTCC=$lt_LTCC + +# LTCC compiler flags. +LTCFLAGS=$lt_LTCFLAGS + +# A language-specific compiler. +CC=$lt_compiler_RC + +# Is the compiler the GNU C compiler? +with_gcc=$GCC_RC + +# An ERE matcher. +EGREP=$lt_EGREP + +# The linker used to build libraries. +LD=$lt_LD_RC + +# Whether we need hard or soft links. +LN_S=$lt_LN_S + +# A BSD-compatible nm program. +NM=$lt_NM + +# A symbol stripping program +STRIP=$lt_STRIP + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=$MAGIC_CMD + +# Used on cygwin: DLL creation program. +DLLTOOL="$DLLTOOL" + +# Used on cygwin: object dumper. +OBJDUMP="$OBJDUMP" + +# Used on cygwin: assembler. +AS="$AS" + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl_RC + +# Object file suffix (normally "o"). +objext="$ac_objext" + +# Old archive suffix (normally "a"). +libext="$libext" + +# Shared library suffix (normally ".so"). +shrext_cmds='$shrext_cmds' + +# Executable file suffix (normally ""). +exeext="$exeext" + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic_RC +pic_mode=$pic_mode + +# What is the maximum length of a command? +max_cmd_len=$lt_cv_sys_max_cmd_len + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Do we need the lib prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static_RC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC + +# Library versioning type. +version_type=$version_type + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME. +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Commands used to build and install an old-style archive. +RANLIB=$lt_RANLIB +old_archive_cmds=$lt_old_archive_cmds_RC +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC + +# Commands used to build and install a shared archive. +archive_cmds=$lt_archive_cmds_RC +archive_expsym_cmds=$lt_archive_expsym_cmds_RC +postinstall_cmds=$lt_postinstall_cmds +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds=$lt_module_cmds_RC +module_expsym_cmds=$lt_module_expsym_cmds_RC + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects=$lt_predep_objects_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects=$lt_postdep_objects_RC + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps=$lt_predeps_RC + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps=$lt_postdeps_RC + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path=$lt_compiler_lib_search_path_RC + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd=$lt_file_magic_cmd + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag_RC + +# Flag that forces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag_RC + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval=$lt_finish_eval + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# This is the shared library runtime path variable. +runpath_var=$runpath_var + +# This is the shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action_RC + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC + +# If ld is used when linking, flag to hardcode \$libdir into +# a binary during linking. This must work even if \$libdir does +# not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC + +# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=$hardcode_direct_RC + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=$hardcode_minus_L_RC + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var_RC + +# Set to yes if building a shared library automatically hardcodes DIR into the library +# and all subsequent libraries and executables linked against it. +hardcode_automatic=$hardcode_automatic_RC + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="$variables_saved_for_relink" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs_RC + +# Compile-time system search path for libraries +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to yes if exported symbols are required. +always_export_symbols=$always_export_symbols_RC + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds_RC + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms_RC + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms_RC + +# ### END LIBTOOL TAG CONFIG: $tagname + +__EOF__ + + +else + # If there is no Makefile yet, we rely on a make rule to execute + # `config.status --recheck' to rerun these tests and create the + # libtool script then. + ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` + if test -f "$ltmain_in"; then + test -f Makefile && make "$ltmain" + fi +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +CC="$lt_save_CC" + + ;; + + *) + { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 +echo "$as_me: error: Unsupported tag name: $tagname" >&2;} + { (exit 1); exit 1; }; } + ;; + esac + + # Append the new tag name to the list of available tags. + if test -n "$tagname" ; then + available_tags="$available_tags $tagname" + fi + fi + done + IFS="$lt_save_ifs" + + # Now substitute the updated list of available tags. + if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then + mv "${ofile}T" "$ofile" + chmod +x "$ofile" + else + rm -f "${ofile}T" + { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 +echo "$as_me: error: unable to update list of available tagged configurations." >&2;} + { (exit 1); exit 1; }; } + fi +fi + + + +# This can be used to rebuild libtool when needed +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" + +# Always use our own libtool. +LIBTOOL='$(SHELL) $(top_builddir)/libtool' + +# Prevent multiple expansion + + + + + + + + + + + + + + + + + + + + + + + + { echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5 +echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6; } + +# Check whether --with-vrootdir was given. +if test "${with_vrootdir+set}" = set; then + withval=$with_vrootdir; case "$withval" in + yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5 +echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;} + { (exit 1); exit 1; }; };; + *) ensc_uv_path_vrootdir=$withval;; + esac +else + ensc_uv_path_vrootdir=/vservers +fi + + { echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5 +echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6; } + + if test x"vserverdir" != x; then + vserverdir=$ensc_uv_path_vrootdir + + fi + + + for ac_prog in svn2cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_SVN2CL+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$SVN2CL"; then + ac_cv_prog_SVN2CL="$SVN2CL" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_SVN2CL="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +SVN2CL=$ac_cv_prog_SVN2CL +if test -n "$SVN2CL"; then + { echo "$as_me:$LINENO: result: $SVN2CL" >&5 +echo "${ECHO_T}$SVN2CL" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$SVN2CL" && break +done + + if test x"$SVN2CL" != x; then + HAVE_SVN2CL_TRUE= + HAVE_SVN2CL_FALSE='#' +else + HAVE_SVN2CL_TRUE='#' + HAVE_SVN2CL_FALSE= +fi + + + + +{ echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5 +echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6; } +# Check whether --enable-internal-headers was given. +if test "${enable_internal_headers+set}" = set; then + enableval=$enable_internal_headers; case "$enableval" in + (yes|no) ;; + (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5 +echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;} + { (exit 1); exit 1; }; };; + esac +else + enable_internal_headers=yes +fi + + + if test x"$enable_internal_headers" = xyes; then + ENSC_ENABLE_INTERNAL_HEADERS_TRUE= + ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#' +else + ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#' + ENSC_ENABLE_INTERNAL_HEADERS_FALSE= +fi + +{ echo "$as_me:$LINENO: result: $enable_internal_headers" >&5 +echo "${ECHO_T}$enable_internal_headers" >&6; } + + + + + + + + + + + + + + + + + + + + + + + + + + + + +{ echo "$as_me:$LINENO: checking for supported APIs" >&5 +echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6; } +# Check whether --enable-apis was given. +if test "${enable_apis+set}" = set; then + enableval=$enable_apis; +else + enable_apis=v13,net,v21,v22,v23,netv2 +fi + + +test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2' +test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2' +enable_api_oldproc= +enable_api_olduts= +old_IFS=$IFS +IFS=,; + +for i in $enable_apis; do + case "$i" in + (compat) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_COMPAT 1 +_ACEOF + + enable_api_oldproc=${enable_api_oldproc:-1} + enable_api_olduts=${enable_api_olduts:-1} + ;; + (legacy) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_LEGACY 1 +_ACEOF + + enable_api_oldproc=${enable_api_oldproc:-1} + enable_api_olduts=${enable_api_olduts:-1} + ;; + (v11) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_V11 1 +_ACEOF + + enable_api_oldproc=${enable_api_oldproc:-1} + enable_api_olduts=${enable_api_olduts:-1} + ;; + (fscompat) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_FSCOMPAT 1 +_ACEOF +;; + (v13obs) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_V13OBS 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_V13 1 +_ACEOF +;; + (v13) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_V13 1 +_ACEOF +;; + (net) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_NET 1 +_ACEOF +;; + (v21) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_V21 1 +_ACEOF +;; + (v22) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_V22 1 +_ACEOF +;; + (v23) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_V23 1 +_ACEOF +;; + (netv2) cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_NETV2 1 +_ACEOF +;; + (oldproc) enable_api_oldproc=2;; + (olduts) enable_api_olduts=2;; + (*) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5 +echo "$as_me: error: '$i' is not a supported API" >&2;} + { (exit 1); exit 1; }; };; + esac +done +IFS=$old_IFS +if test x"$enable_api_oldproc" != x; then + cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_OLDPROC 1 +_ACEOF + + test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc" +fi +if test x"$enable_api_olduts" != x; then + cat >>confdefs.h <<\_ACEOF +#define VC_ENABLE_API_OLDUTS 1 +_ACEOF + + test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts" +fi +{ echo "$as_me:$LINENO: result: $enable_apis" >&5 +echo "${ECHO_T}$enable_apis" >&6; } + + + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + { echo "$as_me:$LINENO: checking for ext2fs-headers" >&5 +echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6; } +if test "${ensc_cv_test_ext2fs_header+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + int main() { return 0; } +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_cv_test_ext2fs_header=e2fsprogs +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + int main() { return 0; } +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ensc_cv_test_ext2fs_header=kernel +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + + ensc_cv_test_ext2fs_header=none +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5 +echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6; } + + case x"$ensc_cv_test_ext2fs_header" in + (xe2fsprogs) + if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then + { echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5 +echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; } +if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5 +echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5 +echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5 +echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## --------------------------------------------- ## +## Report this to vserver@list.linux-vserver.org ## +## --------------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5 +echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6; } +if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5 +echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6; } + +fi +if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define ENSC_HAVE_EXT2FS_EXT2_FS_H 1 +_ACEOF + +else + { { echo "$as_me:$LINENO: error: unexpected error while checkin for +See \`config.log' for more details." >&5 +echo "$as_me: error: unexpected error while checkin for +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + + + ;; + (xkernel) + if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then + { echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5 +echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; } +if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5 +echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5 +echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_cxx_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5 +echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## --------------------------------------------- ## +## Report this to vserver@list.linux-vserver.org ## +## --------------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5 +echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6; } +if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_linux_ext2_fs_h=$ac_header_preproc +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5 +echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6; } + +fi +if test $ac_cv_header_linux_ext2_fs_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define ENSC_HAVE_LINUX_EXT2_FS_H 1 +_ACEOF + +else + { { echo "$as_me:$LINENO: error: unexpected error while checkin for +See \`config.log' for more details." >&5 +echo "$as_me: error: unexpected error while checkin for +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + + + ;; + (*) + { { echo "$as_me:$LINENO: error: +ext2fs headers were not found, or they are not usable. This can have +the following reasons: + +* you have neither the e2fsprogs nor the kernel headers installed + +* kernel headers are broken (e.g. these of linux 2.6 are known to be) + and you do not have e2fsprogs headers installed; please try to install + - e2fsprogs-devel (for Red Hat), or + - lib*ext2fs2-devel (for Mandriva), or + - e2fslibs-dev (for Debian) + in this case. + +* kernel headers are broken and your e2fsprogs headers are too old; + until version 1.27 (inclusive), they are using reserved C++ keywords + +* kernel headers are broken and your e2fsprogs headers are too new; + recent (January 2004) BK snapshots of e2fsprogs are unusable for + C++, for details and a solution see + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448 + + +In the latter two cases you have the following options: +* fix the headers manually, or +* install a stable version of e2fsprogs (e.g. 1.34), or +* use good kernel headers (from linux 2.4.x) + +See \`config.log' for more details." >&5 +echo "$as_me: error: +ext2fs headers were not found, or they are not usable. This can have +the following reasons: + +* you have neither the e2fsprogs nor the kernel headers installed + +* kernel headers are broken (e.g. these of linux 2.6 are known to be) + and you do not have e2fsprogs headers installed; please try to install + - e2fsprogs-devel (for Red Hat), or + - lib*ext2fs2-devel (for Mandriva), or + - e2fslibs-dev (for Debian) + in this case. + +* kernel headers are broken and your e2fsprogs headers are too old; + until version 1.27 (inclusive), they are using reserved C++ keywords + +* kernel headers are broken and your e2fsprogs headers are too new; + recent (January 2004) BK snapshots of e2fsprogs are unusable for + C++, for details and a solution see + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448 + + +In the latter two cases you have the following options: +* fix the headers manually, or +* install a stable version of e2fsprogs (e.g. 1.34), or +* use good kernel headers (from linux 2.4.x) + +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + ;; + esac + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +for ac_func in vserver +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$ac_func || defined __stub___$ac_func +choke me +#endif + +int +main () +{ +return $ac_func (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_var=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_var'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +{ echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5 +echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +int +main () +{ +#ifndef MS_MOVE + (void) MS_MOVE; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_MS_MOVE=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_MS_MOVE=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5 +echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6; } +if test $ac_cv_have_decl_MS_MOVE = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MS_MOVE 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_MS_MOVE 0 +_ACEOF + + +fi + + +{ echo "$as_me:$LINENO: checking for xid_t" >&5 +echo $ECHO_N "checking for xid_t... $ECHO_C" >&6; } +if test "${ac_cv_type_xid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +typedef xid_t ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_xid_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_xid_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5 +echo "${ECHO_T}$ac_cv_type_xid_t" >&6; } +if test $ac_cv_type_xid_t = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_XID_T 1 +_ACEOF + + +fi + +{ echo "$as_me:$LINENO: checking for nid_t" >&5 +echo $ECHO_N "checking for nid_t... $ECHO_C" >&6; } +if test "${ac_cv_type_nid_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +typedef nid_t ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_nid_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_nid_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_nid_t" >&5 +echo "${ECHO_T}$ac_cv_type_nid_t" >&6; } +if test $ac_cv_type_nid_t = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_NID_T 1 +_ACEOF + + +fi + +{ echo "$as_me:$LINENO: checking for tag_t" >&5 +echo $ECHO_N "checking for tag_t... $ECHO_C" >&6; } +if test "${ac_cv_type_tag_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +typedef tag_t ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_tag_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_tag_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_tag_t" >&5 +echo "${ECHO_T}$ac_cv_type_tag_t" >&6; } +if test $ac_cv_type_tag_t = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_TAG_T 1 +_ACEOF + + +fi + + + +for ac_header in sys/capability.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## --------------------------------------------- ## +## Report this to vserver@list.linux-vserver.org ## +## --------------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +if test x"$ensc_have_dietlibc" = xno; then + { echo "$as_me:$LINENO: checking for openpty" >&5 +echo $ECHO_N "checking for openpty... $ECHO_C" >&6; } +if test "${ac_cv_func_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define openpty to an innocuous variant, in case declares openpty. + For example, HP-UX 11i declares gettimeofday. */ +#define openpty innocuous_openpty + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char openpty (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef openpty + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char openpty (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_openpty || defined __stub___openpty +choke me +#endif + +int +main () +{ +return openpty (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_func_openpty=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_openpty=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_openpty" >&5 +echo "${ECHO_T}$ac_cv_func_openpty" >&6; } +if test $ac_cv_func_openpty = yes; then + : +else + +{ echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 +echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6; } +if test "${ac_cv_lib_util_openpty+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lutil $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char openpty (); +int +main () +{ +return openpty (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_util_openpty=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_util_openpty=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 +echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6; } +if test $ac_cv_lib_util_openpty = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBUTIL 1 +_ACEOF + + LIBS="-lutil $LIBS" + +else + { { echo "$as_me:$LINENO: error: +**** +**** openpty could not be found +****" >&5 +echo "$as_me: error: +**** +**** openpty could not be found +****" >&2;} + { (exit 1); exit 1; }; } +fi + +fi + +fi + + + +# Check whether --with-crypto-api was given. +if test "${with_crypto_api+set}" = set; then + withval=$with_crypto_api; case $withval in + (none|nss|beecrypt|auto) ensc_crypto_api=$withval;; + (yes) ensc_crypto_api=auto;; + (no) ensc_crypto_api=none;; + (*) { { echo "$as_me:$LINENO: error: invalid crypto-api value, only none,nss,beecrypt,auto are supported" >&5 +echo "$as_me: error: invalid crypto-api value, only none,nss,beecrypt,auto are supported" >&2;} + { (exit 1); exit 1; }; };; + esac +else + ensc_crypto_api=auto +fi + + + + +case $ensc_crypto_api in +(auto|beecrypt) +if test x"$ensc_cv_c99_c99compiler" = xyes; then + ensc_have_beecrypt=yes + + if test x"$ensc_have_beecrypt" = xyes; then + if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then + { echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5 +echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; } +if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5 +echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking beecrypt/beecrypt.h usability" >&5 +echo $ECHO_N "checking beecrypt/beecrypt.h usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking beecrypt/beecrypt.h presence" >&5 +echo $ECHO_N "checking beecrypt/beecrypt.h presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: beecrypt/beecrypt.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## --------------------------------------------- ## +## Report this to vserver@list.linux-vserver.org ## +## --------------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for beecrypt/beecrypt.h" >&5 +echo $ECHO_N "checking for beecrypt/beecrypt.h... $ECHO_C" >&6; } +if test "${ac_cv_header_beecrypt_beecrypt_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_beecrypt_beecrypt_h=$ac_header_preproc +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_beecrypt_beecrypt_h" >&5 +echo "${ECHO_T}$ac_cv_header_beecrypt_beecrypt_h" >&6; } + +fi +if test $ac_cv_header_beecrypt_beecrypt_h = yes; then + : +else + ensc_have_beecrypt=no +fi + + + fi + + if test x"$ensc_have_beecrypt" = xyes; then + { echo "$as_me:$LINENO: checking for hashFunctionContextInit in -lbeecrypt" >&5 +echo $ECHO_N "checking for hashFunctionContextInit in -lbeecrypt... $ECHO_C" >&6; } +if test "${ac_cv_lib_beecrypt_hashFunctionContextInit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lbeecrypt $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char hashFunctionContextInit (); +int +main () +{ +return hashFunctionContextInit (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_beecrypt_hashFunctionContextInit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_beecrypt_hashFunctionContextInit=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_beecrypt_hashFunctionContextInit" >&5 +echo "${ECHO_T}$ac_cv_lib_beecrypt_hashFunctionContextInit" >&6; } +if test $ac_cv_lib_beecrypt_hashFunctionContextInit = yes; then + : +else + ensc_have_beecrypt=no +fi + + fi +else + ensc_have_beecrypt=no +fi;; +esac + +case $ensc_crypto_api in +(auto) if test x"$ensc_have_beecrypt" = xyes; then + { echo "$as_me:$LINENO: using beecrypt as crypto api" >&5 +echo "$as_me: using beecrypt as crypto api" >&6;} + ensc_crypto_api=beecrypt + fi;; +(beecrypt) if test x"$ensc_have_beecrypt" != xyes; then + { { echo "$as_me:$LINENO: error: beecrypt crypto api not found" >&5 +echo "$as_me: error: beecrypt crypto api not found" >&2;} + { (exit 1); exit 1; }; } + fi;; +esac + + if test x"$ensc_have_beecrypt" = xyes; then + ENSC_HAVE_BEECRYPT_TRUE= + ENSC_HAVE_BEECRYPT_FALSE='#' +else + ENSC_HAVE_BEECRYPT_TRUE='#' + ENSC_HAVE_BEECRYPT_FALSE= +fi + + if false; then + ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE= + ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE='#' +else + ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE='#' + ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE= +fi + + + + +case $ensc_crypto_api in +(nss) +pkg_failed=no +{ echo "$as_me:$LINENO: checking for NSS" >&5 +echo $ECHO_N "checking for NSS... $ECHO_C" >&6; } + +if test -n "$NSS_CFLAGS"; then + pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5 + ($PKG_CONFIG --exists --print-errors "nss") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$NSS_LIBS"; then + pkg_cv_NSS_LIBS="$NSS_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5 + ($PKG_CONFIG --exists --print-errors "nss") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nss" 2>&1` + else + NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors "nss" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$NSS_PKG_ERRORS" >&5 + + { { echo "$as_me:$LINENO: error: Package requirements (nss) were not met: + +$NSS_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. +" >&5 +echo "$as_me: error: Package requirements (nss) were not met: + +$NSS_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. +" >&2;} + { (exit 1); exit 1; }; } +elif test $pkg_failed = untried; then + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see . +See \`config.log' for more details." >&5 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see . +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +else + NSS_CFLAGS=$pkg_cv_NSS_CFLAGS + NSS_LIBS=$pkg_cv_NSS_LIBS + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + : +fi;; +(auto) +pkg_failed=no +{ echo "$as_me:$LINENO: checking for NSS" >&5 +echo $ECHO_N "checking for NSS... $ECHO_C" >&6; } + +if test -n "$NSS_CFLAGS"; then + pkg_cv_NSS_CFLAGS="$NSS_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5 + ($PKG_CONFIG --exists --print-errors "nss") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$NSS_LIBS"; then + pkg_cv_NSS_LIBS="$NSS_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nss\"") >&5 + ($PKG_CONFIG --exists --print-errors "nss") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null` +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "nss" 2>&1` + else + NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors "nss" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$NSS_PKG_ERRORS" >&5 + + { { echo "$as_me:$LINENO: error: Package requirements (nss) were not met: + +$NSS_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. +" >&5 +echo "$as_me: error: Package requirements (nss) were not met: + +$NSS_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. +" >&2;} + { (exit 1); exit 1; }; } +elif test $pkg_failed = untried; then + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see . +See \`config.log' for more details." >&5 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +Alternatively, you may set the environment variables NSS_CFLAGS +and NSS_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details. + +To get pkg-config, see . +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +else + NSS_CFLAGS=$pkg_cv_NSS_CFLAGS + NSS_LIBS=$pkg_cv_NSS_LIBS + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + + { echo "$as_me:$LINENO: using NSS as crypto api" >&5 +echo "$as_me: using NSS as crypto api" >&6;} + ensc_crypto_api=nss +fi;; +esac + + +case $ensc_crypto_api in +(beecrypt) + ENSC_HAVE_CRYPTO=true + ENSC_CRYPTO_API=ENSC_CRYPTO_API_BEECRYPT + ENSC_CRYPTO_CFLAGS= + ENSC_CRYPTO_LIB=-lbeecrypt + ENSC_CAN_CRYPTO_WITH_DIETLIBC=false + ;; + +(nss) + ENSC_HAVE_CRYPTO=true + ENSC_CRYPTO_API=ENSC_CRYPTO_API_NSS + ENSC_CRYPTO_CFLAGS=$NSS_CFLAGS + ENSC_CRYPTO_LIB=$NSS_LIBS + ENSC_CAN_CRYPTO_WITH_DIETLIBC=false + ;; + +(none|auto) + ENSC_HAVE_CRYPTO=false + ENSC_CRYPTO_API=ENSC_CRYPTO_API_NONE + ENSC_CRYPTO_CFLAGS= + ENSC_CRYPTO_LIB= + ENSC_CAN_CRYPTO_WITH_DIETLIBC=false + + { echo "$as_me:$LINENO: WARNING: No crypto api found/select. This will disable the build of 'vhashify'" >&5 +echo "$as_me: WARNING: No crypto api found/select. This will disable the build of 'vhashify'" >&2;} + ;; + +(*) { { echo "$as_me:$LINENO: error: internal error" >&5 +echo "$as_me: error: internal error" >&2;} + { (exit 1); exit 1; }; } +esac + + if $ENSC_HAVE_CRYPTO; then + ENSC_HAVE_CRYPTO_TRUE= + ENSC_HAVE_CRYPTO_FALSE='#' +else + ENSC_HAVE_CRYPTO_TRUE='#' + ENSC_HAVE_CRYPTO_FALSE= +fi + + if $ENSC_CAN_CRYPTO_WITH_DIETLIBC; then + ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE= + ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE='#' +else + ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE='#' + ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE= +fi + +ENSC_CRYPTO_CFLAGS=$ENSC_CRYPTO_CFLAGS + +ENSC_CRYPTO_LIB=$ENSC_CRYPTO_LIB + + +cat >>confdefs.h <<_ACEOF +#define ENSC_CRYPTO_API $ENSC_CRYPTO_API +_ACEOF + + + + +{ echo "$as_me:$LINENO: checking for host initscripts" >&5 +echo $ECHO_N "checking for host initscripts... $ECHO_C" >&6; } + +# Check whether --with-initscripts was given. +if test "${with_initscripts+set}" = set; then + withval=$with_initscripts; + case "$withval" in + gentoo) ensc_with_init=gentoo;; + sysv) ensc_with_init=sysv;; + *) { { echo "$as_me:$LINENO: error: invalid initscripts value, only gentoo and sysv are supported" >&5 +echo "$as_me: error: invalid initscripts value, only gentoo and sysv are supported" >&2;} + { (exit 1); exit 1; }; };; + esac + +else + + if test -e /etc/gentoo-release; then + ensc_with_init=gentoo + else + ensc_with_init=sysv + fi + +fi + +{ echo "$as_me:$LINENO: result: $ensc_with_init" >&5 +echo "${ECHO_T}$ensc_with_init" >&6; } + if test x"$ensc_with_init" = xgentoo; then + HAVE_GENTOO_INIT_TRUE= + HAVE_GENTOO_INIT_FALSE='#' +else + HAVE_GENTOO_INIT_TRUE='#' + HAVE_GENTOO_INIT_FALSE= +fi + + if test x"$ensc_with_init" = xsysv; then + HAVE_SYSV_INIT_TRUE= + HAVE_SYSV_INIT_FALSE='#' +else + HAVE_SYSV_INIT_TRUE='#' + HAVE_SYSV_INIT_FALSE= +fi + + + + +ensc_have_python=yes + + + + + # Find any Python interpreter. + if test -z "$PYTHON"; then + for ac_prog in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_PYTHON+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $PYTHON in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON=$ac_cv_path_PYTHON +if test -n "$PYTHON"; then + { echo "$as_me:$LINENO: result: $PYTHON" >&5 +echo "${ECHO_T}$PYTHON" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$PYTHON" && break +done +test -n "$PYTHON" || PYTHON=":" + + fi + am_display_PYTHON=python + + + if test "$PYTHON" = :; then + : + else + + + { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 +echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } +if test "${am_cv_python_version+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` +fi +{ echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 +echo "${ECHO_T}$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version + + + + PYTHON_PREFIX='${prefix}' + + PYTHON_EXEC_PREFIX='${exec_prefix}' + + + + { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 +echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } +if test "${am_cv_python_platform+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` +fi +{ echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 +echo "${ECHO_T}$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform + + + + + { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 +echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } +if test "${am_cv_python_pythondir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` +fi +{ echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 +echo "${ECHO_T}$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir + + + + pkgpythondir=\${pythondir}/$PACKAGE + + + { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 +echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } +if test "${am_cv_python_pyexecdir+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || + echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` +fi +{ echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 +echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir + + + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + + + + fi + + +if test "x$PYTHON" = x:; then + ensc_have_python=no +fi +if test x$ensc_have_python = xyes; then + PYTHON_CFLAGS=-I`$PYTHON -c 'from distutils.sysconfig import get_python_inc; print get_python_inc(1)'` + PYTHON_LDFLAGS=-L`$PYTHON -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)'` + + +else + ensc_have_python=no +fi +# Extract the first word of "ctags", so it can be a program name with args. +set dummy ctags; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_CTAGS+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $CTAGS in + [\\/]* | ?:[\\/]*) + ac_cv_path_CTAGS="$CTAGS" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_CTAGS="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + test -z "$ac_cv_path_CTAGS" && ac_cv_path_CTAGS="no" + ;; +esac +fi +CTAGS=$ac_cv_path_CTAGS +if test -n "$CTAGS"; then + { echo "$as_me:$LINENO: result: $CTAGS" >&5 +echo "${ECHO_T}$CTAGS" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +if test "x$CTAGS" = xno; then + ensc_have_python=no +fi + if test x$ensc_have_python = xyes; then + HAVE_PYTHON_TRUE= + HAVE_PYTHON_FALSE='#' +else + HAVE_PYTHON_TRUE='#' + HAVE_PYTHON_FALSE= +fi + + + + + +ensc_have_versioning=yes +# Check whether --enable-versioning was given. +if test "${enable_versioning+set}" = set; then + enableval=$enable_versioning; ensc_have_versioning="$enableval" +fi + + if test "x$ensc_have_versioning" = xyes; then + HAVE_VERSIONING_TRUE= + HAVE_VERSIONING_FALSE='#' +else + HAVE_VERSIONING_TRUE='#' + HAVE_VERSIONING_FALSE= +fi + +if test "x$ensc_have_versioning" = xyes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_VERSIONING 1 +_ACEOF + +fi + + + + +cat >>confdefs.h <<\_ACEOF +#define UTMP_GID 22 +_ACEOF + + +if false; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_GROWING_STACK 1 +_ACEOF + +fi + + +cat >>confdefs.h <<\_ACEOF +#define _FILE_OFFSET_BITS 64 +_ACEOF + + +ensc_cxx_affected=" (affected: vbuild, vcheck)" +ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)" +ensc_diet_msg=" (you have been warned)" +ensc_diet_version_msg=" ($ensc_version_dietlibc)" +ensc_diet_compat_msg=" (using -lcompat)" +test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected= +test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected= +test x"$ensc_have_dietlibc" = xno || ensc_diet_msg= +test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg= +test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg= + + + + + +ac_config_files="$ac_config_files util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + *) $as_unset $ac_var ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { echo "$as_me:$LINENO: updating cache $cache_file" >&5 +echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file + else + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 +echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_HAVE_CXX_COMPILER_TRUE}" && test -z "${ENSC_HAVE_CXX_COMPILER_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_HAVE_CXX_COMPILER\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_HAVE_C99_COMPILER_TRUE}" && test -z "${ENSC_HAVE_C99_COMPILER_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_HAVE_C99_COMPILER\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_XSLTP_TRUE}" && test -z "${HAVE_XSLTP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_XSLTP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_DIETLIBC_TRUE}" && test -z "${USE_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${USE_DIETLIBC_COMPAT_TRUE}" && test -z "${USE_DIETLIBC_COMPAT_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"USE_DIETLIBC_COMPAT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_USE_DIETLIBC_TRUE}" && test -z "${ENSC_USE_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_USE_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_USE_GLIBC_TRUE}" && test -z "${ENSC_USE_GLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_USE_GLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_USE_GLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_SVN2CL_TRUE}" && test -z "${HAVE_SVN2CL_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_SVN2CL\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_SVN2CL\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_HAVE_BEECRYPT_TRUE}" && test -z "${ENSC_HAVE_BEECRYPT_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_HAVE_BEECRYPT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_CAN_BEECRYPT_WITH_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_HAVE_CRYPTO_TRUE}" && test -z "${ENSC_HAVE_CRYPTO_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_HAVE_CRYPTO\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_HAVE_CRYPTO\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE}" && test -z "${ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENSC_CAN_CRYPTO_WITH_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENSC_CAN_CRYPTO_WITH_DIETLIBC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_GENTOO_INIT_TRUE}" && test -z "${HAVE_GENTOO_INIT_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_GENTOO_INIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_GENTOO_INIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_SYSV_INIT_TRUE}" && test -z "${HAVE_SYSV_INIT_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_SYSV_INIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_SYSV_INIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_PYTHON\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_PYTHON\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${HAVE_VERSIONING_TRUE}" && test -z "${HAVE_VERSIONING_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"HAVE_VERSIONING\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"HAVE_VERSIONING\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi + + FEATURES_TXT="\ +Features: + CC: $CC, $($CC --version | sed -e '1p;d') + CXX: $CXX, $($CXX --version | sed -e '1p;d') + CPPFLAGS: '$CPPFLAGS' + CFLAGS: '$CFLAGS' + CXXFLAGS: '$CXXFLAGS' + build/host: $build/$host + Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg + Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected + Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected + Available APIs: $enable_apis + ext2fs Source: $ensc_cv_test_ext2fs_header + syscall(2) invocation: $with_syscall + vserver(2) syscall#: $ensc_cv_value_syscall_vserver + crypto api: $ensc_crypto_api + python bindings: $ensc_have_python + use library versioning: $ensc_have_versioning + +Paths: + prefix: $prefix + sysconf-Directory: $sysconfdir + cfg-Directory: $sysconfdir/vservers + initrd-Directory: $initrddir + pkgstate-Directory: $localstatedir/run/vservers + vserver-Rootdir: $vserverdir +" + echo "$FEATURES_TXT" >FEATURES.txt + + +: ${CONFIG_STATUS=./config.status} +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir +fi +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 + +# Save the log message, to keep $[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by util-vserver $as_me 0.30.216-pre2833, which was +generated by GNU Autoconf 2.61. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +util-vserver config.status 0.30.216-pre2833 +configured by $0, generated by GNU Autoconf 2.61, + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2006 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + echo "$ac_cs_version"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + { echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + CONFIG_SHELL=$SHELL + export CONFIG_SHELL + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "util-vserver.spec") CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "distrib/Makefile") CONFIG_FILES="$CONFIG_FILES distrib/Makefile" ;; + "lib/apidoc/Doxyfile") CONFIG_FILES="$CONFIG_FILES lib/apidoc/Doxyfile" ;; + + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +# +# Set up the sed scripts for CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "$CONFIG_FILES"; then + +_ACEOF + + + +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF +SHELL!$SHELL$ac_delim +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim +PACKAGE_NAME!$PACKAGE_NAME$ac_delim +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim +PACKAGE_STRING!$PACKAGE_STRING$ac_delim +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim +exec_prefix!$exec_prefix$ac_delim +prefix!$prefix$ac_delim +program_transform_name!$program_transform_name$ac_delim +bindir!$bindir$ac_delim +sbindir!$sbindir$ac_delim +libexecdir!$libexecdir$ac_delim +datarootdir!$datarootdir$ac_delim +datadir!$datadir$ac_delim +sysconfdir!$sysconfdir$ac_delim +sharedstatedir!$sharedstatedir$ac_delim +localstatedir!$localstatedir$ac_delim +includedir!$includedir$ac_delim +oldincludedir!$oldincludedir$ac_delim +docdir!$docdir$ac_delim +infodir!$infodir$ac_delim +htmldir!$htmldir$ac_delim +dvidir!$dvidir$ac_delim +pdfdir!$pdfdir$ac_delim +psdir!$psdir$ac_delim +libdir!$libdir$ac_delim +localedir!$localedir$ac_delim +mandir!$mandir$ac_delim +DEFS!$DEFS$ac_delim +ECHO_C!$ECHO_C$ac_delim +ECHO_N!$ECHO_N$ac_delim +ECHO_T!$ECHO_T$ac_delim +LIBS!$LIBS$ac_delim +build_alias!$build_alias$ac_delim +host_alias!$host_alias$ac_delim +target_alias!$target_alias$ac_delim +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim +INSTALL_DATA!$INSTALL_DATA$ac_delim +am__isrc!$am__isrc$ac_delim +CYGPATH_W!$CYGPATH_W$ac_delim +PACKAGE!$PACKAGE$ac_delim +VERSION!$VERSION$ac_delim +ACLOCAL!$ACLOCAL$ac_delim +AUTOCONF!$AUTOCONF$ac_delim +AUTOMAKE!$AUTOMAKE$ac_delim +AUTOHEADER!$AUTOHEADER$ac_delim +MAKEINFO!$MAKEINFO$ac_delim +install_sh!$install_sh$ac_delim +STRIP!$STRIP$ac_delim +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim +mkdir_p!$mkdir_p$ac_delim +AWK!$AWK$ac_delim +SET_MAKE!$SET_MAKE$ac_delim +am__leading_dot!$am__leading_dot$ac_delim +AMTAR!$AMTAR$ac_delim +am__tar!$am__tar$ac_delim +am__untar!$am__untar$ac_delim +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim +MAINT!$MAINT$ac_delim +build!$build$ac_delim +build_cpu!$build_cpu$ac_delim +build_vendor!$build_vendor$ac_delim +build_os!$build_os$ac_delim +host!$host$ac_delim +host_cpu!$host_cpu$ac_delim +host_vendor!$host_vendor$ac_delim +host_os!$host_os$ac_delim +GPG_KEY!$GPG_KEY$ac_delim +CXX!$CXX$ac_delim +CXXFLAGS!$CXXFLAGS$ac_delim +LDFLAGS!$LDFLAGS$ac_delim +CPPFLAGS!$CPPFLAGS$ac_delim +ac_ct_CXX!$ac_ct_CXX$ac_delim +EXEEXT!$EXEEXT$ac_delim +OBJEXT!$OBJEXT$ac_delim +DEPDIR!$DEPDIR$ac_delim +am__include!$am__include$ac_delim +am__quote!$am__quote$ac_delim +AMDEP_TRUE!$AMDEP_TRUE$ac_delim +AMDEP_FALSE!$AMDEP_FALSE$ac_delim +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim +CXXDEPMODE!$CXXDEPMODE$ac_delim +am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim +am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim +CC!$CC$ac_delim +CFLAGS!$CFLAGS$ac_delim +ac_ct_CC!$ac_ct_CC$ac_delim +CCDEPMODE!$CCDEPMODE$ac_delim +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim +LN_S!$LN_S$ac_delim +PKG_CONFIG!$PKG_CONFIG$ac_delim +ENSC_HAVE_CXX_COMPILER_TRUE!$ENSC_HAVE_CXX_COMPILER_TRUE$ac_delim +ENSC_HAVE_CXX_COMPILER_FALSE!$ENSC_HAVE_CXX_COMPILER_FALSE$ac_delim +_ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +if test -n "$ac_eof"; then + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` + ac_eof=`expr $ac_eof + 1` +fi + +cat >>$CONFIG_STATUS <<_ACEOF +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +_ACEOF +sed ' +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +s/^/s,@/; s/!/@,|#_!!_#|/ +:n +t n +s/'"$ac_delim"'$/,g/; t +s/$/\\/; p +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF +CEOF$ac_eof +_ACEOF + + +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF +ENSC_HAVE_C99_COMPILER_TRUE!$ENSC_HAVE_C99_COMPILER_TRUE$ac_delim +ENSC_HAVE_C99_COMPILER_FALSE!$ENSC_HAVE_C99_COMPILER_FALSE$ac_delim +ENSC_PATHPROG_SED!$ENSC_PATHPROG_SED$ac_delim +CAT!$CAT$ac_delim +CHOWN!$CHOWN$ac_delim +CMP!$CMP$ac_delim +CP!$CP$ac_delim +DIRNAME!$DIRNAME$ac_delim +EGREP!$EGREP$ac_delim +ENV!$ENV$ac_delim +GREP!$GREP$ac_delim +LN!$LN$ac_delim +MKDIR!$MKDIR$ac_delim +MKFIFO!$MKFIFO$ac_delim +MKTEMP!$MKTEMP$ac_delim +MOUNT!$MOUNT$ac_delim +MV!$MV$ac_delim +NICE!$NICE$ac_delim +PS!$PS$ac_delim +RM!$RM$ac_delim +RMDIR!$RMDIR$ac_delim +SED!$SED$ac_delim +SH!$SH$ac_delim +TAC!$TAC$ac_delim +TAR!$TAR$ac_delim +TOUCH!$TOUCH$ac_delim +TTY!$TTY$ac_delim +UMOUNT!$UMOUNT$ac_delim +WC!$WC$ac_delim +IP!$IP$ac_delim +IPTABLES!$IPTABLES$ac_delim +MODPROBE!$MODPROBE$ac_delim +NAMEIF!$NAMEIF$ac_delim +NOHUP!$NOHUP$ac_delim +RMMOD!$RMMOD$ac_delim +VCONFIG!$VCONFIG$ac_delim +WGET!$WGET$ac_delim +IONICE!$IONICE$ac_delim +FILE!$FILE$ac_delim +GZIP!$GZIP$ac_delim +BZIP2!$BZIP2$ac_delim +CPIO!$CPIO$ac_delim +RESTORE!$RESTORE$ac_delim +RSYNC!$RSYNC$ac_delim +STRACE!$STRACE$ac_delim +FSCK!$FSCK$ac_delim +DOXYGEN!$DOXYGEN$ac_delim +XSLTP!$XSLTP$ac_delim +XSLTPROC!$XSLTPROC$ac_delim +HAVE_XSLTP_TRUE!$HAVE_XSLTP_TRUE$ac_delim +HAVE_XSLTP_FALSE!$HAVE_XSLTP_FALSE$ac_delim +HAVE_XSLTPROC_TRUE!$HAVE_XSLTPROC_TRUE$ac_delim +HAVE_XSLTPROC_FALSE!$HAVE_XSLTPROC_FALSE$ac_delim +LIB_DEBUG_CPPFLAGS!$LIB_DEBUG_CPPFLAGS$ac_delim +ENSC_USE_EXPENSIVE_TESTS!$ENSC_USE_EXPENSIVE_TESTS$ac_delim +initrddir!$initrddir$ac_delim +RELEASE_CPPFLAGS!$RELEASE_CPPFLAGS$ac_delim +CPP!$CPP$ac_delim +DIET!$DIET$ac_delim +DIETFLAGS!$DIETFLAGS$ac_delim +USE_DIETLIBC_TRUE!$USE_DIETLIBC_TRUE$ac_delim +USE_DIETLIBC_FALSE!$USE_DIETLIBC_FALSE$ac_delim +USE_DIETLIBC_COMPAT_TRUE!$USE_DIETLIBC_COMPAT_TRUE$ac_delim +USE_DIETLIBC_COMPAT_FALSE!$USE_DIETLIBC_COMPAT_FALSE$ac_delim +ENSC_USE_DIETLIBC_TRUE!$ENSC_USE_DIETLIBC_TRUE$ac_delim +ENSC_USE_DIETLIBC_FALSE!$ENSC_USE_DIETLIBC_FALSE$ac_delim +ENSC_USE_GLIBC_TRUE!$ENSC_USE_GLIBC_TRUE$ac_delim +ENSC_USE_GLIBC_FALSE!$ENSC_USE_GLIBC_FALSE$ac_delim +ECHO!$ECHO$ac_delim +AR!$AR$ac_delim +RANLIB!$RANLIB$ac_delim +CXXCPP!$CXXCPP$ac_delim +F77!$F77$ac_delim +FFLAGS!$FFLAGS$ac_delim +ac_ct_F77!$ac_ct_F77$ac_delim +LIBTOOL!$LIBTOOL$ac_delim +vserverdir!$vserverdir$ac_delim +SVN2CL!$SVN2CL$ac_delim +HAVE_SVN2CL_TRUE!$HAVE_SVN2CL_TRUE$ac_delim +HAVE_SVN2CL_FALSE!$HAVE_SVN2CL_FALSE$ac_delim +ENSC_ENABLE_INTERNAL_HEADERS_TRUE!$ENSC_ENABLE_INTERNAL_HEADERS_TRUE$ac_delim +ENSC_ENABLE_INTERNAL_HEADERS_FALSE!$ENSC_ENABLE_INTERNAL_HEADERS_FALSE$ac_delim +ENSC_HAVE_BEECRYPT_TRUE!$ENSC_HAVE_BEECRYPT_TRUE$ac_delim +ENSC_HAVE_BEECRYPT_FALSE!$ENSC_HAVE_BEECRYPT_FALSE$ac_delim +ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_TRUE$ac_delim +ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE!$ENSC_CAN_BEECRYPT_WITH_DIETLIBC_FALSE$ac_delim +NSS_CFLAGS!$NSS_CFLAGS$ac_delim +NSS_LIBS!$NSS_LIBS$ac_delim +ENSC_HAVE_CRYPTO_TRUE!$ENSC_HAVE_CRYPTO_TRUE$ac_delim +ENSC_HAVE_CRYPTO_FALSE!$ENSC_HAVE_CRYPTO_FALSE$ac_delim +ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE!$ENSC_CAN_CRYPTO_WITH_DIETLIBC_TRUE$ac_delim +ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE!$ENSC_CAN_CRYPTO_WITH_DIETLIBC_FALSE$ac_delim +ENSC_CRYPTO_CFLAGS!$ENSC_CRYPTO_CFLAGS$ac_delim +ENSC_CRYPTO_LIB!$ENSC_CRYPTO_LIB$ac_delim +HAVE_GENTOO_INIT_TRUE!$HAVE_GENTOO_INIT_TRUE$ac_delim +HAVE_GENTOO_INIT_FALSE!$HAVE_GENTOO_INIT_FALSE$ac_delim +HAVE_SYSV_INIT_TRUE!$HAVE_SYSV_INIT_TRUE$ac_delim +_ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +if test -n "$ac_eof"; then + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` + ac_eof=`expr $ac_eof + 1` +fi + +cat >>$CONFIG_STATUS <<_ACEOF +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +_ACEOF +sed ' +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +s/^/s,@/; s/!/@,|#_!!_#|/ +:n +t n +s/'"$ac_delim"'$/,g/; t +s/$/\\/; p +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF +CEOF$ac_eof +_ACEOF + + +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF +HAVE_SYSV_INIT_FALSE!$HAVE_SYSV_INIT_FALSE$ac_delim +PYTHON!$PYTHON$ac_delim +PYTHON_VERSION!$PYTHON_VERSION$ac_delim +PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim +PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim +PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim +pythondir!$pythondir$ac_delim +pkgpythondir!$pkgpythondir$ac_delim +pyexecdir!$pyexecdir$ac_delim +pkgpyexecdir!$pkgpyexecdir$ac_delim +PYTHON_CFLAGS!$PYTHON_CFLAGS$ac_delim +PYTHON_LDFLAGS!$PYTHON_LDFLAGS$ac_delim +CTAGS!$CTAGS$ac_delim +HAVE_PYTHON_TRUE!$HAVE_PYTHON_TRUE$ac_delim +HAVE_PYTHON_FALSE!$HAVE_PYTHON_FALSE$ac_delim +HAVE_VERSIONING_TRUE!$HAVE_VERSIONING_TRUE$ac_delim +HAVE_VERSIONING_FALSE!$HAVE_VERSIONING_FALSE$ac_delim +LIBOBJS!$LIBOBJS$ac_delim +LTLIBOBJS!$LTLIBOBJS$ac_delim +_ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +if test -n "$ac_eof"; then + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` + ac_eof=`expr $ac_eof + 1` +fi + +cat >>$CONFIG_STATUS <<_ACEOF +cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end +_ACEOF +sed ' +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +s/^/s,@/; s/!/@,|#_!!_#|/ +:n +t n +s/'"$ac_delim"'$/,g/; t +s/$/\\/; p +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF +:end +s/|#_!!_#|//g +CEOF$ac_eof +_ACEOF + + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF +fi # test -n "$CONFIG_FILES" + + +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 +echo "$as_me: error: Invalid tag $ac_tag." >&2;} + { (exit 1); exit 1; }; };; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 +echo "$as_me: error: cannot find input file: $ac_f" >&2;} + { (exit 1); exit 1; }; };; + esac + ac_file_inputs="$ac_file_inputs $ac_f" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input="Generated from "`IFS=: + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + fi + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin";; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir="$ac_dir" + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= + +case `sed -n '/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p +' $ac_file_inputs` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s&@configure_input@&$configure_input&;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out"; rm -f "$tmp/out";; + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; + esac + ;; + :H) + # + # CONFIG_HEADER + # +_ACEOF + +# Transform confdefs.h into a sed script `conftest.defines', that +# substitutes the proper values into config.h.in to produce config.h. +rm -f conftest.defines conftest.tail +# First, append a space to every undef/define line, to ease matching. +echo 's/$/ /' >conftest.defines +# Then, protect against being on the right side of a sed subst, or in +# an unquoted here document, in config.status. If some macros were +# called several times there might be several #defines for the same +# symbol, which is useless. But do not sort them, since the last +# AC_DEFINE must be honored. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where +# NAME is the cpp macro being defined, VALUE is the value it is being given. +# PARAMS is the parameter list in the macro definition--in most cases, it's +# just an empty string. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' +ac_dB='\\)[ (].*,\\1define\\2' +ac_dC=' ' +ac_dD=' ,' + +uniq confdefs.h | + sed -n ' + t rset + :rset + s/^[ ]*#[ ]*define[ ][ ]*// + t ok + d + :ok + s/[\\&,]/\\&/g + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p + ' >>conftest.defines + +# Remove the space that was appended to ease matching. +# Then replace #undef with comments. This is necessary, for +# example, in the case of _POSIX_SOURCE, which is predefined and required +# on some systems where configure will not decide to define it. +# (The regexp can be short, since the line contains either #define or #undef.) +echo 's/ $// +s,^[ #]*u.*,/* & */,' >>conftest.defines + +# Break up conftest.defines: +ac_max_sed_lines=50 + +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" +# et cetera. +ac_in='$ac_file_inputs' +ac_out='"$tmp/out1"' +ac_nxt='"$tmp/out2"' + +while : +do + # Write a here document: + cat >>$CONFIG_STATUS <<_ACEOF + # First, check the format of the line: + cat >"\$tmp/defines.sed" <<\\CEOF +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def +b +:def +_ACEOF + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS + echo 'CEOF + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail + grep . conftest.tail >/dev/null || break + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines conftest.tail + +echo "ac_result=$ac_in" >>$CONFIG_STATUS +cat >>$CONFIG_STATUS <<\_ACEOF + if test x"$ac_file" != x-; then + echo "/* $configure_input */" >"$tmp/config.h" + cat "$ac_result" >>"$tmp/config.h" + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f $ac_file + mv "$tmp/config.h" $ac_file + fi + else + echo "/* $configure_input */" + cat "$ac_result" + fi + rm -f "$tmp/out12" +# Compute $ac_file's index in $config_headers. +_am_arg=$ac_file +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 +echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir=$dirpart/$fdir + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + + esac +done # for ac_tag + + +{ (exit 0); exit 0; } +_ACEOF +chmod +x $CONFIG_STATUS +ac_clean_files=$ac_clean_files_save + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi + + +{ echo "$as_me:$LINENO: + +$PACKAGE_STRING + +$FEATURES_TXT" >&5 +echo "$as_me: + +$PACKAGE_STRING + +$FEATURES_TXT" >&6;} diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..f89b5ac --- /dev/null +++ b/configure.ac @@ -0,0 +1,560 @@ +dnl $Id: configure.ac 2824 2008-11-06 02:27:17Z dhozac $ + +dnl Copyright (C) 2003,2004 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 2, or (at your option) +dnl any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +dnl +dnl +dnl As a special exception to the GNU General Public License, if you +dnl distribute this file as part of a program that contains a configuration +dnl script generated by Autoconf, you may include it under the same +dnl distribution terms that you use for the rest of that program. +dnl + +AC_PREREQ(2.57) +AC_INIT(util-vserver, 0.30.216-pre2833, vserver@list.linux-vserver.org) +AC_CONFIG_SRCDIR([src/capchroot.c]) +AC_CONFIG_HEADER([config.h]) + +AM_INIT_AUTOMAKE([1.9 gnu dist-bzip2 subdir-objects]) +AM_MAINTAINER_MODE + +AC_CANONICAL_BUILD +AC_CANONICAL_HOST + +AC_SUBST(GPG_KEY, "0xFFD316AC53ACA43A!") + +# Checks for programs. +AC_PROG_CXX +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_LN_S +AM_PROG_CC_C_O +PKG_PROG_PKG_CONFIG +ENSC_CXXCOMPILER +ENSC_C99COMPILER + +ENSC_SET_SEARCHPATH([$PATH:/sbin:/usr/sbin:/usr/local/sbin]) +ENSC_PATHPROG_STANDARD_TOOLS + +ENSC_PATHPROG(IP, ip,, [Usually, this tool is shipped in the 'iproute' or 'iproute2' package of your distribution]) +ENSC_PATHPROG(IPTABLES, iptables) +ENSC_PATHPROG(MODPROBE, modprobe) +ENSC_PATHPROG(NAMEIF, nameif) +ENSC_PATHPROG(NOHUP, nohup) +ENSC_PATHPROG(RMMOD, rmmod) +ENSC_PATHPROG(VCONFIG, vconfig,, [See http://www.candelatech.com/~greear/vlan.html; usually this tool is shipped in the 'vconfig' or 'vlan' package of your distribution]) +ENSC_PATHPROG(WGET, wget) +ENSC_PATHPROG(IONICE, ionice,, [This is usually shipped in the 'util-linux(-ng)' or 'schedutils' package]) +ENSC_PATHPROG(FILE, file, [file]) +ENSC_PATHPROG(GZIP, gzip, [gzip]) +ENSC_PATHPROG(BZIP2, bzip2, [bzip2]) +ENSC_PATHPROG(CPIO, cpio, [cpio]) +ENSC_PATHPROG(RESTORE, restore, [restore]) +ENSC_PATHPROG(RSYNC, rsync, [rsync]) +ENSC_PATHPROG(STRACE, strace, [strace]) +ENSC_PATHPROG(FSCK, fsck) + +ENSC_PATHPROG(DOXYGEN, doxygen, [:]) +ENSC_PATHPROG(XSLTP, xsltp, [:]) +ENSC_PATHPROG(XSLTPROC, xsltproc, [:]) + + +AM_CONDITIONAL(HAVE_XSLTP, test "$XSLTP" != ':') +AM_CONDITIONAL(HAVE_XSLTPROC, test "$XSLTPROC" != ':') + +if test x"$prefix" = x/; then + prefix= +fi + +ENSC_CHECK_CC_FLAG([-std=c99 -Wall -pedantic -W]) +ENSC_CHECK_CXX_FLAG([-ansi -Wall -pedantic -W -fmessage-length=0]) + +AC_MSG_CHECKING([whether to enable extra optimizations]) +AC_ARG_ENABLE([extra-optimizations], + [AC_HELP_STRING([--disable-extra-optimizations], + [disable certain extra optimizations (default: no)])], + [case "$enableval" in + (yes) use_extra_optimizations=1;; + (no) use_extra_optimizations=;; + (*) AC_MSG_ERROR(['$enableval' is not a valid value for '--disable-extra-optimizations']);; + esac], + [use_extra_optimizations=1]) + +if test x"$use_extra_optimizations" = x; then + AC_MSG_RESULT(no) +else + AC_MSG_RESULT(yes) + ENSC_CHECK_CC_FLAG([-funit-at-a-time]) + ENSC_CHECK_CXX_FLAG([-funit-at-a-time]) +fi + +AC_MSG_CHECKING([whether to enable debug-code in library]) +AC_ARG_ENABLE([lib-debug], + [AC_HELP_STRING([--enable-lib-debug], + [enable additional debug code in library (default: no)])], + [case "$enableval" in + (yes) use_lib_debug=1;; + (no) use_lib_debug=;; + (*) AC_MSG_ERROR(['$enableval' is not a valid value for '--enable-lib-debug']);; + esac], + [ use_lib_debug= ]) + +if test x"$use_lib_debug" = x; then + AC_SUBST(LIB_DEBUG_CPPFLAGS, [-DNDEBUG]) + AC_MSG_RESULT(no) +else + AC_SUBST(LIB_DEBUG_CPPFLAGS, []) + AC_MSG_RESULT(yes) +fi + +AC_MSG_CHECKING([whether to enable expensive tests]) +AC_ARG_ENABLE([expensive-tests], + [AC_HELP_STRING([--enable-expensive-tests], + [disable tests which might be expensive on some systems (default: no)])], + [case "$enableval" in + (yes|no) use_expensive_tests=$enableval;; + (*) AC_MSG_ERROR(['$enableval' is not a valid value for '--enable-expensive-tests']);; + esac], + [ use_expensive_tests=no ]) +AC_MSG_RESULT($use_expensive_tests) + +AC_SUBST(ENSC_USE_EXPENSIVE_TESTS, "$use_expensive_tests") + + +ENSC_CHECK_PERSONALITY_FLAGS + +AC_ARG_VAR(CC, [The C compiler]) + +ENSC_INITRDDIR(initrddir) +ENSC_RELEASE(RELEASE_CPPFLAGS) + +# HACK: This needs to be before ENSC_DIETLIBC_NEED_COMPAT, or the alternative +# syscalls will never be enabled for glibc. +ENSC_SYSCALLNR(vserver,273,[lib/syscall-fallback.h]) +ENSC_SYSCALL + +dnl ########################### +dnl +dnl {some dietlibc related tests +dnl + +case $host_cpu in + (i*86|athlon) min_diet_ver=0.25;; + (ia64|hppa*) min_diet_ver=0.29;; + (sparc*) min_diet_ver=0.30;; + (x86_64) min_diet_ver=0.27;; + (*) min_diet_ver=0.28;; +esac + +ENSC_ENABLE_DIETLIBC(USE_DIETLIBC, [$min_diet_ver]) + +if test x"$ensc_have_dietlibc" = xno; then + AC_MSG_WARN([*** ***]) + AC_MSG_WARN([*** it is strongly recommended to link util-vserver against ***]) + AC_MSG_WARN([*** dietlibc; glibc's NSS functions are very unreliable in ***]) + AC_MSG_WARN([*** chroot() environments, so you have to expect problems ***]) + AC_MSG_WARN([*** there. ***]) + AC_MSG_WARN([*** ***]) + AM_CONDITIONAL(USE_DIETLIBC_COMPAT, false) +else + # HACK: libtool does not have cmdline options to build only + # dynamic libraries; this can be done with the + # '--disable-static' ./configure option only. As our static + # libraries will be build with dietlibc, we have to do set + # this option which is evaluated by 'AC_PROG_LIBTOOL' + # below. Therefore, this macro must not be called earlier. + enable_static=no + + ENSC_DIETLIBC_NEED_COMPAT(USE_DIETLIBC_COMPAT) +fi + +AM_CONDITIONAL(ENSC_USE_DIETLIBC, test x"$ensc_have_dietlibc" = xyes) +AM_CONDITIONAL(ENSC_USE_GLIBC, true) + +# HACK: see comments at 'enable_static' above +AC_PROG_LIBTOOL +dnl +dnl dietlibc stuff ends here} +dnl +dnl ########################## + + +ENSC_UV_VROOTDIR(vserverdir) +ENSC_CHANGELOG + + +dnl ########################## +dnl +dnl {Check whether to use external kernel headers +dnl +AC_MSG_CHECKING([whether to use internal kernel headers]) +AC_ARG_ENABLE([internal-headers], + [AC_HELP_STRING([--disable-internal-headers], + [use vserver specific headers from the kernel instead of the shipped versions (default: no)])], + [case "$enableval" in + (yes|no) ;; + (*) AC_MSG_ERROR(['$i' is not a supported value for '--disable-internal-headers']);; + esac], + [enable_internal_headers=yes]) + +AM_CONDITIONAL(ENSC_ENABLE_INTERNAL_HEADERS, [test x"$enable_internal_headers" = xyes]) +AC_MSG_RESULT([$enable_internal_headers]) +dnl +dnl the check regarding external kernel headers ends here} +dnl +dnl ########################## + +dnl ########################## +dnl +dnl {Check for the APIs to be used +dnl +AH_TEMPLATE(VC_ENABLE_API_COMPAT, [Enable support for compatibility syscall API]) +AH_TEMPLATE(VC_ENABLE_API_LEGACY, [Enable support for old, /proc parsing API]) +AH_TEMPLATE(VC_ENABLE_API_V11, [Enable support for API of vserver 1.1.x]) +AH_TEMPLATE(VC_ENABLE_API_FSCOMPAT, [Enable support for filesystem compatibility API]) +AH_TEMPLATE(VC_ENABLE_API_V13OBS, [Enable support for some obsoleted API of vserver 1.3.x]) +AH_TEMPLATE(VC_ENABLE_API_V13, [Enable support for API of vserver 1.3.x]) +AH_TEMPLATE(VC_ENABLE_API_NET, [Enable support for network context API]) +AH_TEMPLATE(VC_ENABLE_API_V21, [Enable support for API of vserver 2.1.x]) +AH_TEMPLATE(VC_ENABLE_API_V22, [Enable support for API of vserver 2.2.x]) +AH_TEMPLATE(VC_ENABLE_API_V23, [Enable support for API of vserver 2.3.x]) +AH_TEMPLATE(VC_ENABLE_API_NETV2, [Enable support for new networking API]) +AH_TEMPLATE(VC_ENABLE_API_OLDPROC, [Enable API for a backward compatible /proc parsing]) +AH_TEMPLATE(VC_ENABLE_API_OLDUTS, [Enable API for a backward compatible uts handling]) + +AC_MSG_CHECKING([for supported APIs]) +AC_ARG_ENABLE([apis], + [AC_HELP_STRING([--enable-apis=APIS], + [enable support for the given apis; possible values are: legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2 ALL,NOLEGACY (default: v13,net,v21,v22,v23,netv2)])], + [], + [enable_apis=v13,net,v21,v22,v23,netv2]) + +test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11,fscompat,v13obs,v13,net,v21,v22,v23,netv2' +test x"$enable_apis" != xNOLEGACY || enable_apis='compat,v11,fscompat,v13,net,v21,v22,v23,netv2' +enable_api_oldproc= +enable_api_olduts= +old_IFS=$IFS +IFS=,; + +for i in $enable_apis; do + case "$i" in + (compat) AC_DEFINE(VC_ENABLE_API_COMPAT, 1) + enable_api_oldproc=${enable_api_oldproc:-1} + enable_api_olduts=${enable_api_olduts:-1} + ;; + (legacy) AC_DEFINE(VC_ENABLE_API_LEGACY, 1) + enable_api_oldproc=${enable_api_oldproc:-1} + enable_api_olduts=${enable_api_olduts:-1} + ;; + (v11) AC_DEFINE(VC_ENABLE_API_V11, 1) + enable_api_oldproc=${enable_api_oldproc:-1} + enable_api_olduts=${enable_api_olduts:-1} + ;; + (fscompat) AC_DEFINE(VC_ENABLE_API_FSCOMPAT, 1);; + (v13obs) AC_DEFINE(VC_ENABLE_API_V13OBS, 1) + AC_DEFINE(VC_ENABLE_API_V13, 1);; + (v13) AC_DEFINE(VC_ENABLE_API_V13, 1);; + (net) AC_DEFINE(VC_ENABLE_API_NET, 1);; + (v21) AC_DEFINE(VC_ENABLE_API_V21, 1);; + (v22) AC_DEFINE(VC_ENABLE_API_V22, 1);; + (v23) AC_DEFINE(VC_ENABLE_API_V23, 1);; + (netv2) AC_DEFINE(VC_ENABLE_API_NETV2, 1);; + (oldproc) enable_api_oldproc=2;; + (olduts) enable_api_olduts=2;; + (*) AC_MSG_ERROR(['$i' is not a supported API]);; + esac +done +IFS=$old_IFS +if test x"$enable_api_oldproc" != x; then + AC_DEFINE(VC_ENABLE_API_OLDPROC, 1) + test x"$enable_api_oldproc" != x2 && enable_apis="$enable_apis,oldproc" +fi +if test x"$enable_api_olduts" != x; then + AC_DEFINE(VC_ENABLE_API_OLDUTS, 1) + test x"$enable_api_olduts" != x2 && enable_apis="$enable_apis,olduts" +fi +AC_MSG_RESULT([$enable_apis]) +dnl +dnl the check for used APIs ends here} +dnl +dnl ########################## + + +ENSC_CHECK_EXT2FS_HEADER +AC_CHECK_FUNCS([vserver]) +AC_CHECK_DECLS(MS_MOVE,,,[#include ]) +AC_CHECK_TYPES(xid_t,,,[#include ]) +AC_CHECK_TYPES(nid_t,,,[#include ]) +AC_CHECK_TYPES(tag_t,,,[#include ]) + +AC_CHECK_HEADERS([sys/capability.h]) + +dnl vlogin might need -lutil +if test x"$ensc_have_dietlibc" = xno; then + AC_CHECK_FUNC([openpty],, [AC_CHECK_LIB([util], [openpty],, [AC_MSG_ERROR([ +**** +**** openpty could not be found +****])])]) +fi + + +dnl ######################## +dnl +dnl {crypto stuff +dnl +AC_ARG_WITH(crypto-api, + AC_HELP_STRING([--with-crypto-api=API], + [select crypto api to be used; possible values are `none', `nss', `beecrypt', `auto' (default:auto)]), + [case $withval in + (none|nss|beecrypt|auto) ensc_crypto_api=$withval;; + (yes) ensc_crypto_api=auto;; + (no) ensc_crypto_api=none;; + (*) AC_MSG_ERROR([invalid crypto-api value, only none,nss,beecrypt,auto are supported]);; + esac],[ensc_crypto_api=auto]) + + +dnl Now, check for matching crypto api. When selected 'auto', the +dnl first matching one wins + +dnl ######################## +dnl +dnl {check for beecrypt +dnl +case $ensc_crypto_api in +(auto|beecrypt) +if test x"$ensc_cv_c99_c99compiler" = xyes; then + ensc_have_beecrypt=yes + + if test x"$ensc_have_beecrypt" = xyes; then + AC_CHECK_HEADER([beecrypt/beecrypt.h], [ : ], + [ ensc_have_beecrypt=no ]) + fi + + if test x"$ensc_have_beecrypt" = xyes; then + AC_CHECK_LIB(beecrypt, hashFunctionContextInit, [ : ], + [ ensc_have_beecrypt=no ]) + fi +else + ensc_have_beecrypt=no +fi;; +esac + +case $ensc_crypto_api in +(auto) if test x"$ensc_have_beecrypt" = xyes; then + AC_MSG_NOTICE([using beecrypt as crypto api]) + ensc_crypto_api=beecrypt + fi;; +(beecrypt) if test x"$ensc_have_beecrypt" != xyes; then + AC_MSG_ERROR([beecrypt crypto api not found]) + fi;; +esac + +AM_CONDITIONAL(ENSC_HAVE_BEECRYPT, test x"$ensc_have_beecrypt" = xyes) +AM_CONDITIONAL(ENSC_CAN_BEECRYPT_WITH_DIETLIBC, false) +dnl +dnl beecrypt stuff ends here} +dnl +dnl ######################## + + +dnl ######################## +dnl +dnl {check for nss +dnl + +case $ensc_crypto_api in +(nss) PKG_CHECK_MODULES(NSS, nss);; +(auto) PKG_CHECK_MODULES(NSS, nss, [ + AC_MSG_NOTICE([using NSS as crypto api]) + ensc_crypto_api=nss]);; +esac + +dnl +dnl nss stuff ends here} +dnl +dnl ######################## + +case $ensc_crypto_api in +(beecrypt) + ENSC_HAVE_CRYPTO=true + ENSC_CRYPTO_API=ENSC_CRYPTO_API_BEECRYPT + ENSC_CRYPTO_CFLAGS= + ENSC_CRYPTO_LIB=-lbeecrypt + ENSC_CAN_CRYPTO_WITH_DIETLIBC=false + ;; + +(nss) + ENSC_HAVE_CRYPTO=true + ENSC_CRYPTO_API=ENSC_CRYPTO_API_NSS + ENSC_CRYPTO_CFLAGS=$NSS_CFLAGS + ENSC_CRYPTO_LIB=$NSS_LIBS + ENSC_CAN_CRYPTO_WITH_DIETLIBC=false + ;; + +(none|auto) + ENSC_HAVE_CRYPTO=false + ENSC_CRYPTO_API=ENSC_CRYPTO_API_NONE + ENSC_CRYPTO_CFLAGS= + ENSC_CRYPTO_LIB= + ENSC_CAN_CRYPTO_WITH_DIETLIBC=false + + AC_MSG_WARN([No crypto api found/select. This will disable the build of 'vhashify']) + ;; + +(*) AC_MSG_ERROR([internal error]) +esac + +AM_CONDITIONAL(ENSC_HAVE_CRYPTO, $ENSC_HAVE_CRYPTO) +AM_CONDITIONAL(ENSC_CAN_CRYPTO_WITH_DIETLIBC, $ENSC_CAN_CRYPTO_WITH_DIETLIBC) +AC_SUBST(ENSC_CRYPTO_CFLAGS, $ENSC_CRYPTO_CFLAGS) +AC_SUBST(ENSC_CRYPTO_LIB, $ENSC_CRYPTO_LIB) +AC_DEFINE_UNQUOTED(ENSC_CRYPTO_API, $ENSC_CRYPTO_API, [Used crypto API]) + +dnl +dnl crypto stuff ends here} +dnl +dnl ######################## + + +dnl Check what distro this is, use Gentoo initscripts if appropriate +AC_MSG_CHECKING([for host initscripts]) +AC_ARG_WITH(initscripts, AC_HELP_STRING([--with-initscripts=TYPE], [force host initscripts; valid values are 'gentoo' and 'sysv' (default: guess)]), [ + case "$withval" in + gentoo) ensc_with_init=gentoo;; + sysv) ensc_with_init=sysv;; + *) AC_MSG_ERROR([invalid initscripts value, only gentoo and sysv are supported]);; + esac + ], [ + if test -e /etc/gentoo-release; then + ensc_with_init=gentoo + else + ensc_with_init=sysv + fi + ]) +AC_MSG_RESULT([$ensc_with_init]) +AM_CONDITIONAL(HAVE_GENTOO_INIT, test x"$ensc_with_init" = xgentoo) +AM_CONDITIONAL(HAVE_SYSV_INIT, test x"$ensc_with_init" = xsysv) + + +dnl ######################## +dnl Check for Python + +ensc_have_python=yes +AM_PATH_PYTHON(,, [:]) +if test "x$PYTHON" = x:; then + ensc_have_python=no +fi +if test x$ensc_have_python = xyes; then + PYTHON_CFLAGS=-I`$PYTHON -c 'from distutils.sysconfig import get_python_inc; print get_python_inc(1)'` + PYTHON_LDFLAGS=-L`$PYTHON -c 'from distutils.sysconfig import get_python_lib; print get_python_lib(1)'` + AC_SUBST(PYTHON_CFLAGS) + AC_SUBST(PYTHON_LDFLAGS) +else + ensc_have_python=no +fi +AC_PATH_PROG([CTAGS], [ctags], [no]) +if test "x$CTAGS" = xno; then + ensc_have_python=no +fi +AM_CONDITIONAL([HAVE_PYTHON], [test x$ensc_have_python = xyes]) + +dnl Python stuff ends here +dnl ######################## + + +dnl ######################## +dnl Library versioning + +ensc_have_versioning=yes +AC_ARG_ENABLE(versioning, AC_HELP_STRING([--disable-versioning], [Disable library versioning]), [ensc_have_versioning="$enableval"]) +AM_CONDITIONAL([HAVE_VERSIONING], [test "x$ensc_have_versioning" = xyes]) +if test "x$ensc_have_versioning" = xyes; then + AC_DEFINE([HAVE_VERSIONING], [1], [Define this to use library versioning]) +fi + +dnl /Library versioning +dnl ######################## + + +dnl BIG HACK! Do some autodetection here! +AC_DEFINE(UTMP_GID, [22], [The utmp gid-number]) + +if false; then + AC_DEFINE(HAVE_GROWING_STACK, [1], [Define to 1 if the stack is on growing addresses]) +fi + +AC_DEFINE(_FILE_OFFSET_BITS, [64], [Use 64bit interface for filesystem operations]) + +dnl ######################## +dnl +dnl {The final info-page +dnl +ensc_cxx_affected=" (affected: vbuild, vcheck)" +ensc_c99_affected=" (affected: vunify, vcopy, vhashify, vdlimit)" +ensc_diet_msg=" (you have been warned)" +ensc_diet_version_msg=" ($ensc_version_dietlibc)" +ensc_diet_compat_msg=" (using -lcompat)" +test x"$ensc_cv_cxx_cxxcompiler" = xno || ensc_cxx_affected= +test x"$ensc_cv_c99_c99compiler" = xno || ensc_c99_affected= +test x"$ensc_have_dietlibc" = xno || ensc_diet_msg= +test x"$ensc_version_dietlibc" != x || ensc_diet_version_msg= +test x"$ensc_have_dietlibc$ensc_cv_c_dietlibc_compat" = xyesyes || ensc_diet_compat_msg= + +AH_BOTTOM([#include "compat.h" +]) +AC_CONFIG_COMMANDS_PRE([ + FEATURES_TXT="\ +Features: + CC: $CC, $($CC --version | sed -e '1p;d') + CXX: $CXX, $($CXX --version | sed -e '1p;d') + CPPFLAGS: '$CPPFLAGS' + CFLAGS: '$CFLAGS' + CXXFLAGS: '$CXXFLAGS' + build/host: $build/$host + Use dietlibc: $ensc_have_dietlibc$ensc_diet_version_msg$ensc_diet_msg$ensc_diet_compat_msg + Build C++ programs: $ensc_cv_cxx_cxxcompiler$ensc_cxx_affected + Build C99 programs: $ensc_cv_c99_c99compiler$ensc_c99_affected + Available APIs: $enable_apis + ext2fs Source: $ensc_cv_test_ext2fs_header + syscall(2) invocation: $with_syscall + vserver(2) syscall#: $ensc_cv_value_syscall_vserver + crypto api: $ensc_crypto_api + python bindings: $ensc_have_python + use library versioning: $ensc_have_versioning + +Paths: + prefix: $prefix + sysconf-Directory: $sysconfdir + cfg-Directory: $sysconfdir/vservers + initrd-Directory: $initrddir + pkgstate-Directory: $localstatedir/run/vservers + vserver-Rootdir: $vserverdir +" + echo "$FEATURES_TXT" >FEATURES.txt + ]) +dnl +dnl final info-page ends here} +dnl +dnl ######################## + +AC_CONFIG_FILES([util-vserver.spec Makefile distrib/Makefile lib/apidoc/Doxyfile]) +AC_OUTPUT + +AC_MSG_NOTICE([ + +$PACKAGE_STRING + +$FEATURES_TXT]) diff --git a/contrib/Makefile-files b/contrib/Makefile-files new file mode 100644 index 0000000..01f3eac --- /dev/null +++ b/contrib/Makefile-files @@ -0,0 +1,42 @@ +## $Id: Makefile-files 2609 2007-09-06 07:53:46Z ensc $ -*- makefile -*- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + + +contrib_gen_DTA = contrib/manifest.dat +contrib_subst_SRCS = contrib/manifest.dat.pathsubst + + +noinst_DATA += $(contrib_gen_DTA) +CLEANFILES += $(contrib_gen_DTA) + +EXTRA_DIST += $(contrib_subst_SRCS) \ + contrib/yum-2.2.1-chroot.patch \ + contrib/yum-2.3.2-chroot.patch \ + contrib/yum-2.3.3-chroot.patch \ + contrib/yum-2.3.4-chroot.patch \ + contrib/yum-2.6.0-chroot.patch \ + contrib/yum-2.9.6-chroot.patch \ + contrib/yum-3.0.3-chroot.patch \ + contrib/yum-3.0.5-chroot.patch \ + contrib/yum-3.2.0-chroot.patch \ + contrib/yum-3.2.1-chroot.patch \ + contrib/yum-3.2.4-chroot.patch \ + contrib/make-manifest + +contrib/manifest.dat: contrib/.manifest.dat.pathsubst.stamp diff --git a/contrib/make-manifest b/contrib/make-manifest new file mode 100755 index 0000000..7e497c7 --- /dev/null +++ b/contrib/make-manifest @@ -0,0 +1,37 @@ +#! /bin/bash + +# Copyright (C) 2004 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Usage: make-manifest + +name=$1 +dest=$2 +data=$3 + +for i in $name-{core,devel,base,build,legacy,lib,sysv}.list; do + echo '%defattr(-,root,root,-)' >$i +done + +sed -e "s!@CONFIG@!$MANIFEST_CONFIG!g; + s!@CONFIG_NOREPLACE@!$MANIFEST_CONFIG_NOREPLACE!g" \ + $data | \ +while read style file; do + test "$file" || continue + case "$style" in + (\#*) continue;; + esac + echo "$file" >>$name-$style.list +done diff --git a/contrib/manifest.dat.pathsubst b/contrib/manifest.dat.pathsubst new file mode 100644 index 0000000..6643ec4 --- /dev/null +++ b/contrib/manifest.dat.pathsubst @@ -0,0 +1,161 @@ +lib @LIBDIR@/libvserver.so.* +devel @LIBDIR@/libvserver.a +devel @LIBDIR@/libvserver.so +base @PKGLIBDIR@/functions +build @PKGLIBDIR@/vserver-build.apt-rpm +build @PKGLIBDIR@/vserver-build.skeleton +build @PKGLIBDIR@/vserver-build.debootstrap +build @PKGLIBDIR@/vserver-build.fai +build @PKGLIBDIR@/vserver-build.yum +build @PKGLIBDIR@/vserver-build.rpm +build @PKGLIBDIR@/vserver-build.template +build @PKGLIBDIR@/vserver-build.rsync +build @PKGLIBDIR@/vserver-build.clone +build @PKGLIBDIR@/vserver-build.functions +build @PKGLIBDIR@/vserver-build.functions.apt +build @PKGLIBDIR@/vserver-build.functions.rpm +build @PKGLIBDIR@/vserver-build.functions.yum +build @PKGLIBDIR@/vserver-build.functions.pkgmgmt +build @PKGLIBDIR@/vserver-setup.functions +base @PKGLIBDIR@/vserver.functions +base @PKGLIBDIR@/vserver.start +base @PKGLIBDIR@/vserver.stop +base @PKGLIBDIR@/vserver.suexec +base @PKGLIBDIR@/vserver.delete +sysv @PKGLIBDIR@/vserver-init.functions +core @PKGLIBDIR@/util-vserver-vars +build @PKGLIBDIR@/rpm-fake.so +legacy @LEGACYDIR@/save_s_context +legacy @LEGACYDIR@/vps +legacy @LEGACYDIR@/vserver +legacy @LEGACYDIR@/vserverkillall +legacy @LEGACYDIR@/distrib-info +legacy @LEGACYDIR@/ifspec +legacy @LEGACYDIR@/listdevip +legacy @LEGACYDIR@/parserpmdump +legacy @LEGACYDIR@/rebootmgr +legacy @LEGACYDIR@/rootshell +legacy @LEGACYDIR@/showperm +legacy @LEGACYDIR@/vreboot +core @PKGLIBDIR@/FEATURES.txt +base @PKGLIBDIR@/defaults/mtab +base @PKGLIBDIR@/defaults/vprocunhide-files +base @PKGLIBDIR@/defaults/environment +build @PKGLIBDIR@/defaults/fstab +build @PKGLIBDIR@/defaults/debootstrap.uri +build @PKGLIBDIR@/defaults/context.start +build @PKGLIBDIR@/defaults/debootstrap.mirror +@ENSC_HAVE_C99_COMPILER_TRUE@build @PKGLIBDIR@/defaults/vunify-exclude +build @PKGLIBDIR@/defaults/h2ext.desc +base @PKGLIBDIR@/capchroot +base @PKGLIBDIR@/chain-echo +core @PKGLIBDIR@/chcontext-compat +core @PKGLIBDIR@/chbind-compat +base @PKGLIBDIR@/check-unixfile +base @PKGLIBDIR@/chroot-sh +base @PKGLIBDIR@/exec-remount +base @PKGLIBDIR@/exec-ulimit +base @PKGLIBDIR@/fakerunlevel +base @PKGLIBDIR@/filetime +build @PKGLIBDIR@/h2ext +build @PKGLIBDIR@/h2ext-worker +base @PKGLIBDIR@/lockfile +base @PKGLIBDIR@/keep-ctx-alive +base @PKGLIBDIR@/mask2prefix +build @PKGLIBDIR@/pkgmgmt +base @PKGLIBDIR@/readlink +build @PKGLIBDIR@/rpm-fake-resolver +base @PKGLIBDIR@/save_ctxinfo +base @PKGLIBDIR@/secure-mount +base @PKGLIBDIR@/sigexec +base @PKGLIBDIR@/start-vservers +base @PKGLIBDIR@/tunctl +build @PKGLIBDIR@/vapt-get-worker +build @PKGLIBDIR@/vyum-worker +build @PKGLIBDIR@/vpkg +base @PKGLIBDIR@/vprocunhide +build @PKGLIBDIR@/vrpm-preload +build @PKGLIBDIR@/vrpm-worker +build @PKGLIBDIR@/vserver-build +sysv @PKGLIBDIR@/vserver-wrapper +base @PKGLIBDIR@/vshelper +base @PKGLIBDIR@/vshelper-sync +base @PKGLIBDIR@/vsysctl +sysv @PKGLIBDIR@/vsysvwrapper +@ENSC_HAVE_C99_COMPILER_TRUE@build @PKGLIBDIR@/vcopy +@ENSC_HAVE_C99_COMPILER_TRUE@build @PKGLIBDIR@/vunify +@ENSC_HAVE_C99_COMPILER_TRUE@build @PKGLIBDIR@/vhashify +@ENSC_HAVE_C99_COMPILER_TRUE@build @PKGLIBDIR@/vclone +base @PKGLIBDIR@/vservers.grabinfo.sh +build @PKGLIBDIR@/distributions +devel @LIBDIR@/pkgconfig/util-vserver.pc +core @SBINDIR@/chbind +core @SBINDIR@/chcontext +core @SBINDIR@/chxid +base @SBINDIR@/exec-cd +core @SBINDIR@/lsxid +core @SBINDIR@/naddress +core @SBINDIR@/nattribute +core @SBINDIR@/ncontext +core @SBINDIR@/reducecap +core @SBINDIR@/setattr +core @SBINDIR@/showattr +build @SBINDIR@/vapt-get +core @SBINDIR@/vattribute +core @SBINDIR@/vcontext +core @SBINDIR@/vdevmap +build @SBINDIR@/vdispatch-conf +core @SBINDIR@/vdlimit +base @SBINDIR@/vdu +build @SBINDIR@/vemerge +build @SBINDIR@/vesync +core @SBINDIR@/vkill +core @SBINDIR@/vlimit +core @SBINDIR@/vmemctrl +core @SBINDIR@/vmount +core @SBINDIR@/vnamespace +base @SBINDIR@/vps +base @SBINDIR@/vpstree +build @SBINDIR@/vrpm +core @SBINDIR@/vrsetup +core @SBINDIR@/vsched +base @SBINDIR@/vserver +legacy @SBINDIR@/vserver-copy +core @SBINDIR@/vserver-info +base @SBINDIR@/vserver-stat +base @SBINDIR@/vsomething +core @SBINDIR@/vspace +core @SBINDIR@/vtag +base @SBINDIR@/vtop +core @SBINDIR@/vuname +build @SBINDIR@/vupdateworld +core @SBINDIR@/vwait +build @SBINDIR@/vyum +devel @INCLUDEDIR@/vserver.h +core @MANDIR@/*/chbind* +core @MANDIR@/*/chcontext* +core @MANDIR@/*/reducecap* +legacy @MANDIR@/*/distrib-info* +legacy @MANDIR@/*/vserver-copy* +legacy @MANDIR@/*/rebootmgr* +base @MANDIR@/*/vps.* +base @MANDIR@/*/vpstree.* +base @MANDIR@/*/vserver-stat* +base @MANDIR@/*/vserver.* +base @MANDIR@/*/vtop* +build @MANDIR@/*/vserver-build* +legacy @CONFIG@ @INITRDDIR@/v_gated +legacy @CONFIG@ @INITRDDIR@/v_httpd +legacy @CONFIG@ @INITRDDIR@/v_named +legacy @CONFIG@ @INITRDDIR@/v_portmap +legacy @CONFIG@ @INITRDDIR@/v_sendmail +legacy @CONFIG@ @INITRDDIR@/v_smb +legacy @CONFIG@ @INITRDDIR@/v_sshd +legacy @CONFIG@ @INITRDDIR@/v_xinetd +sysv @CONFIG@ @INITRDDIR@/vprocunhide +sysv @CONFIG@ @INITRDDIR@/vservers-default +sysv @CONFIG@ @INITRDDIR@/util-vserver +legacy @CONFIG@ @INITRDDIR@/rebootmgr +legacy @CONFIG@ @INITRDDIR@/vservers-legacy +legacy @CONFIG_NOREPLACE@ @SYSCONFDIR@/vservers.conf +build @CONFIG_NOREPLACE@ @CONFDIR@/.distributions/*/apt/sources.list diff --git a/contrib/yum-2.2.1-chroot.patch b/contrib/yum-2.2.1-chroot.patch new file mode 100644 index 0000000..7741680 --- /dev/null +++ b/contrib/yum-2.2.1-chroot.patch @@ -0,0 +1,194 @@ +--- yum-2.2.1/docs/yum.conf.5.chroot 2005-02-19 23:30:54.000000000 +0100 ++++ yum-2.2.1/docs/yum.conf.5 2005-04-08 19:53:02.000000000 +0200 +@@ -23,8 +23,10 @@ + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBreposdir\fR + Directory where yum should look for .repo files for its configuration +@@ -33,6 +35,10 @@ + repository options below. These will be merged with the repositories defined + in /etc/yum.conf to form the complete set of repositories that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -40,7 +46,10 @@ + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-2.2.1/yum/__init__.py.chroot 2005-03-15 08:34:03.000000000 +0100 ++++ yum-2.2.1/yum/__init__.py 2005-04-08 20:10:36.000000000 +0200 +@@ -298,19 +298,22 @@ + self.log(3, 'Arch Excluding %s' % po) + self.pkgSack.delPackage(po) + self.log(2, 'Finished') ++ ++ def __getLockfileName(self): ++ lockfile = self.conf.configdata['lockfile'] ++ return self.conf.getRootedPath(lockfile, ++ enforce_default = True, ++ defaults_to_host = False) + +- +- +- def doLock(self, lockfile): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- ++ lockfile=self.__getLockfileName() ++ + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): + fd = open(lockfile, 'r') +@@ -333,15 +336,14 @@ + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ lockfile=self.__getLockfileName() + + self._unlock(lockfile) + +--- yum-2.2.1/yum/config.py.chroot 2005-03-15 07:09:18.000000000 +0100 ++++ yum-2.2.1/yum/config.py 2005-04-08 19:53:02.000000000 +0200 +@@ -194,7 +194,8 @@ + + #defaults -either get them or set them + optionstrings = [('cachedir', '/var/cache/yum'), +- ('logfile', '/var/log/yum.log'), ++ ('logfile', '/var/log/yum.log'), ++ ('lockfile', '/var/run/yum.pid'), + ('reposdir', '/etc/yum.repos.d'), + ('rss-filename', 'yum-rss.xml'), + ('pkgpolicy', 'newest'), +@@ -270,9 +271,7 @@ + + # do the dirs - set the root if there is one (grumble) + for option in ['cachedir', 'logfile']: +- path = self.configdata[option] +- root = self.configdata['installroot'] +- rootedpath = root + path ++ rootedpath = self.getRootedPath(self.configdata[option]) + self.configdata[option] = rootedpath + setattr(self, option, rootedpath) + +@@ -314,8 +313,7 @@ + # read each of them in using confpp, then parse them same as any other repo + # section - as above. + reposdir = self.getConfigOption('reposdir') +- if os.path.exists(self.getConfigOption('installroot') + '/' + reposdir): +- reposdir = self.getConfigOption('installroot') + '/' + reposdir ++ reposdir = self.getRootedPath(reposdir) + + reposglob = reposdir + '/*.repo' + if os.path.exists(reposdir) and os.path.isdir(reposdir): +@@ -334,6 +332,23 @@ + print e + + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = self.configdata['installroot'] ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' +path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + def listConfigOptions(self): + """return list of options available for global config""" + return self.configdata.keys() +--- yum-2.2.1/cli.py.chroot 2005-03-15 08:19:11.000000000 +0100 ++++ yum-2.2.1/cli.py 2005-04-08 19:53:02.000000000 +0200 +@@ -126,7 +126,7 @@ + sleeptime=0 + root = '/' + installroot = None +- conffile = '/etc/yum.conf' ++ conffile = None + + try: + for o,a in gopts: +@@ -140,12 +140,14 @@ + + # if the conf file is inside the installroot - use that. + # otherwise look for it in the normal root +- if installroot: +- if os.access(installroot + '/' + conffile, os.R_OK): ++ if conffile==None: ++ conffile = '/etc/yum.conf' ++ if installroot and os.access(installroot + '/' + conffile, os.R_OK): + conffile = installroot + '/' + conffile +- ++ ++ if installroot: + root = installroot +- ++ + try: + self.conf = yumconf(configfile = conffile, root = root) + except yum.Errors.ConfigError, e: +--- yum-2.2.1/yummain.py.chroot 2005-01-07 14:45:50.000000000 +0100 ++++ yum-2.2.1/yummain.py 2005-04-08 19:53:02.000000000 +0200 +@@ -41,7 +41,7 @@ + def unlock(): + try: + base.closeRpmDB() +- base.doUnlock('/var/run/yum.pid') ++ base.doUnlock() + except Errors.LockError, e: + sys.exit(200) + +@@ -58,7 +58,7 @@ + sys.exit(1) + + try: +- base.doLock('/var/run/yum.pid') ++ base.doLock() + except Errors.LockError, e: + base.errorlog(0,'%s' % e.msg) + sys.exit(200) diff --git a/contrib/yum-2.3.2-chroot.patch b/contrib/yum-2.3.2-chroot.patch new file mode 100644 index 0000000..5e40dfe --- /dev/null +++ b/contrib/yum-2.3.2-chroot.patch @@ -0,0 +1,205 @@ +--- yum-2.3.2/docs/yum.conf.5.chroot 2005-03-25 11:12:20.000000000 +0100 ++++ yum-2.3.2/docs/yum.conf.5 2005-04-08 18:27:12.000000000 +0200 +@@ -23,8 +23,10 @@ + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBreposdir\fR + A list of directories where yum should look for .repo files which define +@@ -34,6 +36,10 @@ + repositories defined in /etc/yum.conf to form the complete set of repositories + that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -41,7 +47,10 @@ + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-2.3.2/yum/__init__.py.chroot 2005-04-04 20:14:18.000000000 +0200 ++++ yum-2.3.2/yum/__init__.py 2005-04-08 20:11:06.000000000 +0200 +@@ -97,9 +97,8 @@ + # read each of them in using confpp, then parse them same as any other repo + # section - as above. + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot + '/' + reposdir): +- reposdir = self.conf.installroot + '/' + reposdir +- ++ reposdir = self.conf.getRootedPath(reposdir) ++ + if os.path.isdir(reposdir): + repofn = glob.glob(reposdir+'/*.repo') + repofn.sort() +@@ -405,17 +404,20 @@ + self.pkgSack.excludeArchs(archlist) + self.log(3, 'Finished') + ++ def __getLockfileName(self): ++ lockfile = self.conf.configdata['lockfile'] ++ return self.conf.getRootedPath(lockfile, ++ enforce_default = True, ++ defaults_to_host = False) + +- +- def doLock(self, lockfile): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return +- +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ ++ lockfile=self.__getLockfileName() + + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): +@@ -439,15 +441,14 @@ + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ lockfile=self.__getLockfileName() + + self._unlock(lockfile) + +--- yum-2.3.2/yum/config.py.chroot 2005-03-28 00:01:22.000000000 +0200 ++++ yum-2.3.2/yum/config.py 2005-04-08 20:09:25.000000000 +0200 +@@ -193,7 +193,8 @@ + + #defaults -either get them or set them + optionstrings = [('cachedir', '/var/cache/yum'), +- ('logfile', '/var/log/yum.log'), ++ ('logfile', '/var/log/yum.log'), ++ ('lockfile', '/var/run/yum.pid'), + ('reposdir', ['/etc/yum/repos.d', '/etc/yum.repos.d']), + ('syslog_ident', None), + ('syslog_facility', 'LOG_USER'), +@@ -304,9 +305,7 @@ + + # do the dirs - set the root if there is one (grumble) + for option in ['cachedir', 'logfile']: +- path = self.configdata[option] +- root = self.configdata['installroot'] +- rootedpath = root + path ++ rootedpath = self.getRootedPath(self.configdata[option]) + self.configdata[option] = rootedpath + setattr(self, option, rootedpath) + +@@ -339,6 +338,23 @@ + "All plugin search paths must be absolute") + + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = self.configdata['installroot'] ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' +path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + def listConfigOptions(self): + """return list of options available for global config""" + return self.configdata.keys() +@@ -717,9 +733,7 @@ + # read each of them in using confpp, then parse them same as any other repo + # section - as above. + +- reposdir = conf.reposdir +- if os.path.exists(conf.installroot + '/' + reposdir): +- reposdir = conf.installroot + '/' + reposdir ++ reposdir = conf.getRootedPath(conf.reposdir) + + reposglob = reposdir + '/*.repo' + if os.path.exists(reposdir) and os.path.isdir(reposdir): +--- yum-2.3.2/cli.py.chroot 2005-03-28 05:18:03.000000000 +0200 ++++ yum-2.3.2/cli.py 2005-04-08 18:27:12.000000000 +0200 +@@ -115,7 +115,7 @@ + sleeptime=0 + root = '/' + installroot = None +- conffile = '/etc/yum.conf' ++ conffile = None + + try: + for o,a in gopts: +@@ -129,12 +129,14 @@ + + # if the conf file is inside the installroot - use that. + # otherwise look for it in the normal root ++ if conffile==None: ++ conffile = '/etc/yum.conf' ++ if installroot and os.access(installroot + '/' + conffile, os.R_OK): ++ conffile = installroot + '/' + conffile ++ + if installroot: +- if os.access(installroot + '/' + conffile, os.R_OK): +- conffile = installroot + '/' + conffile +- +- root = installroot +- ++ root = installroot ++ + try: + self.doConfigSetup(fn = conffile, root = root) + except yum.Errors.ConfigError, e: +--- yum-2.3.2/yummain.py.chroot 2005-03-27 07:39:17.000000000 +0200 ++++ yum-2.3.2/yummain.py 2005-04-08 18:27:12.000000000 +0200 +@@ -41,7 +41,7 @@ + def unlock(): + try: + base.closeRpmDB() +- base.doUnlock('/var/run/yum.pid') ++ base.doUnlock() + except Errors.LockError, e: + sys.exit(200) + +@@ -58,7 +58,7 @@ + sys.exit(1) + + try: +- base.doLock('/var/run/yum.pid') ++ base.doLock() + except Errors.LockError, e: + base.errorlog(0,'%s' % e.msg) + sys.exit(200) diff --git a/contrib/yum-2.3.3-chroot.patch b/contrib/yum-2.3.3-chroot.patch new file mode 100644 index 0000000..a12b73b --- /dev/null +++ b/contrib/yum-2.3.3-chroot.patch @@ -0,0 +1,200 @@ +--- yum-2.3.3/docs/yum.conf.5.chroot ++++ yum-2.3.3/docs/yum.conf.5 +@@ -23,8 +23,10 @@ + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBreposdir\fR + A list of directories where yum should look for .repo files which define +@@ -34,6 +36,10 @@ + repositories defined in /etc/yum.conf to form the complete set of repositories + that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -41,7 +47,10 @@ + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-2.3.3/yum/__init__.py.chroot ++++ yum-2.3.3/yum/__init__.py +@@ -101,9 +101,8 @@ + # read each of them in using confpp, then parse them same as any other repo + # section - as above. + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot + '/' + reposdir): +- reposdir = self.conf.installroot + '/' + reposdir +- ++ reposdir = self.conf.getRootedPath(reposdir) ++ + if os.path.isdir(reposdir): + repofn = glob.glob(reposdir+'/*.repo') + repofn.sort() +@@ -425,17 +424,20 @@ + self.pkgSack.excludeArchs(archlist) + self.log(3, 'Finished') + ++ def __getLockfileName(self): ++ lockfile = self.conf.configdata['lockfile'] ++ return self.conf.getRootedPath(lockfile, ++ enforce_default = True, ++ defaults_to_host = False) + +- +- def doLock(self, lockfile): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return +- +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ ++ lockfile=self.__getLockfileName() + + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): +@@ -459,15 +461,14 @@ + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ lockfile=self.__getLockfileName() + + self._unlock(lockfile) + +--- yum-2.3.3/yum/config.py.chroot ++++ yum-2.3.3/yum/config.py +@@ -193,7 +193,8 @@ + + #defaults -either get them or set them + optionstrings = [('cachedir', '/var/cache/yum'), +- ('logfile', '/var/log/yum.log'), ++ ('logfile', '/var/log/yum.log'), ++ ('lockfile', '/var/run/yum.pid'), + ('reposdir', ['/etc/yum/repos.d', '/etc/yum.repos.d']), + ('syslog_ident', None), + ('syslog_facility', 'LOG_USER'), +@@ -305,9 +306,7 @@ + + # do the dirs - set the root if there is one (grumble) + for option in ['cachedir', 'logfile']: +- path = self.configdata[option] +- root = self.configdata['installroot'] +- rootedpath = root + path ++ rootedpath = self.getRootedPath(self.configdata[option]) + self.configdata[option] = rootedpath + setattr(self, option, rootedpath) + +@@ -340,6 +339,23 @@ + "All plugin search paths must be absolute") + + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = self.configdata['installroot'] ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' +path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + def listConfigOptions(self): + """return list of options available for global config""" + return self.configdata.keys() +@@ -719,9 +735,7 @@ + # read each of them in using confpp, then parse them same as any other repo + # section - as above. + +- reposdir = conf.reposdir +- if os.path.exists(conf.installroot + '/' + reposdir): +- reposdir = conf.installroot + '/' + reposdir ++ reposdir = conf.getRootedPath(conf.reposdir) + + reposglob = reposdir + '/*.repo' + if os.path.exists(reposdir) and os.path.isdir(reposdir): +--- yum-2.3.3/cli.py.chroot ++++ yum-2.3.3/cli.py +@@ -108,7 +108,7 @@ + action="store_true", default=False, + help="run entirely from cache, don't update cache") + self.optparser.add_option("-c", "", dest="conffile", action="store", +- default='/etc/yum.conf', help="config file location", ++ default=None, help="config file location", + metavar=' [config file]') + self.optparser.add_option("-R", "", dest="sleeptime", action="store", + type='int', default=None, help="maximum command wait time", +@@ -161,9 +161,12 @@ + try: + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root +- if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum.conf' ++ if opts.installroot and os.access(opts.installroot+'/'+opts.conffile, os.R_OK): + opts.conffile = opts.installroot+'/'+opts.conffile ++ ++ if opts.installroot: + root=opts.installroot + else: + root = '/' +--- yum-2.3.3/yummain.py.chroot ++++ yum-2.3.3/yummain.py +@@ -60,7 +60,7 @@ + def unlock(): + try: + base.closeRpmDB() +- base.doUnlock(YUM_PID_FILE) ++ base.doUnlock() + except Errors.LockError, e: + sys.exit(200) + +@@ -78,7 +78,7 @@ + except Errors.YumBaseError, e: + exFatal(e) + try: +- base.doLock(YUM_PID_FILE) ++ base.doLock() + except Errors.LockError, e: + base.errorlog(0,'%s' % e.msg) + sys.exit(200) diff --git a/contrib/yum-2.3.4-chroot.patch b/contrib/yum-2.3.4-chroot.patch new file mode 100644 index 0000000..2b69cbf --- /dev/null +++ b/contrib/yum-2.3.4-chroot.patch @@ -0,0 +1,199 @@ +--- yum-2.3.4/docs/yum.conf.5.chroot ++++ yum-2.3.4/docs/yum.conf.5 +@@ -23,8 +23,10 @@ + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBreposdir\fR + A list of directories where yum should look for .repo files which define +@@ -34,6 +36,10 @@ + repositories defined in /etc/yum.conf to form the complete set of repositories + that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -41,7 +47,10 @@ + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-2.3.4/yum/__init__.py.chroot ++++ yum-2.3.4/yum/__init__.py +@@ -102,9 +102,8 @@ + # read each of them in using confpp, then parse them same as any other repo + # section - as above. + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot + '/' + reposdir): +- reposdir = self.conf.installroot + '/' + reposdir +- ++ reposdir = self.conf.getRootedPath(reposdir) ++ + if os.path.isdir(reposdir): + repofn = glob.glob(reposdir+'/*.repo') + repofn.sort() +@@ -426,18 +425,20 @@ + self.pkgSack.excludeArchs(archlist) + self.log(3, 'Finished') + ++ def __getLockfileName(self): ++ lockfile = self.conf.configdata['lockfile'] ++ return self.conf.getRootedPath(lockfile, ++ enforce_default = True, ++ defaults_to_host = False) + +- +- def doLock(self, lockfile): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / ++ lockfile = self.__getLockfileName() + + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): +@@ -461,15 +462,14 @@ + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.getConfigOption('uid') != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ lockfile=self.__getLockfileName() + + self._unlock(lockfile) + +--- yum-2.3.4/yum/config.py.chroot ++++ yum-2.3.4/yum/config.py +@@ -205,7 +205,8 @@ + + #defaults -either get them or set them + optionstrings = [('cachedir', '/var/cache/yum'), +- ('logfile', '/var/log/yum.log'), ++ ('logfile', '/var/log/yum.log'), ++ ('lockfile', '/var/run/yum.pid'), + ('reposdir', ['/etc/yum/repos.d', '/etc/yum.repos.d']), + ('syslog_ident', None), + ('syslog_facility', 'LOG_USER'), +@@ -318,9 +319,7 @@ + + # do the dirs - set the root if there is one (grumble) + for option in ['cachedir', 'logfile']: +- path = self.configdata[option] +- root = self.configdata['installroot'] +- rootedpath = root + path ++ rootedpath = self.getRootedPath(self.configdata[option]) + self.configdata[option] = rootedpath + setattr(self, option, rootedpath) + +@@ -358,6 +357,23 @@ + "All plugin search paths must be absolute") + + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = self.configdata['installroot'] ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' +path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + def listConfigOptions(self): + """return list of options available for global config""" + return self.configdata.keys() +@@ -749,8 +765,7 @@ + + reposdirs = [] + for dir in conf.reposdir: +- if os.path.exists(conf.installroot + '/' + dir): +- reposdirs.append(conf.installroot + '/' + dir) ++ reposdirs.append(conf.getRootedPath(dir)) + + repofn = [] + for reposdir in reposdirs: +--- yum-2.3.4/cli.py.chroot ++++ yum-2.3.4/cli.py +@@ -105,7 +105,7 @@ + action="store_true", default=False, + help="run entirely from cache, don't update cache") + self.optparser.add_option("-c", "", dest="conffile", action="store", +- default='/etc/yum.conf', help="config file location", ++ default=None, help="config file location", + metavar=' [config file]') + self.optparser.add_option("-R", "", dest="sleeptime", action="store", + type='int', default=None, help="maximum command wait time", +@@ -158,9 +158,12 @@ + try: + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root +- if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum.conf' ++ if opts.installroot and os.access(opts.installroot+'/'+opts.conffile, os.R_OK): + opts.conffile = opts.installroot+'/'+opts.conffile ++ ++ if opts.installroot: + root=opts.installroot + else: + root = '/' +--- yum-2.3.4/yummain.py.chroot ++++ yum-2.3.4/yummain.py +@@ -60,7 +60,7 @@ + def unlock(): + try: + base.closeRpmDB() +- base.doUnlock(YUM_PID_FILE) ++ base.doUnlock() + except Errors.LockError, e: + sys.exit(200) + +@@ -78,7 +78,7 @@ + except Errors.YumBaseError, e: + exFatal(e) + try: +- base.doLock(YUM_PID_FILE) ++ base.doLock() + except Errors.LockError, e: + base.errorlog(0,'%s' % e.msg) + sys.exit(200) diff --git a/contrib/yum-2.6.0-chroot.patch b/contrib/yum-2.6.0-chroot.patch new file mode 100644 index 0000000..1122668 --- /dev/null +++ b/contrib/yum-2.6.0-chroot.patch @@ -0,0 +1,183 @@ +--- yum-2.6.0/docs/yum.conf.5.chroot 2006-03-07 04:40:08.000000000 +0100 ++++ yum-2.6.0/docs/yum.conf.5 2006-03-26 13:21:35.000000000 +0200 +@@ -23,8 +23,10 @@ + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBkeepcache\fR + Either `1' or `0'. Determines whether or not yum keeps the cache +@@ -40,6 +42,10 @@ + repositories defined in /etc/yum.conf to form the complete set of repositories + that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -47,7 +53,10 @@ + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-2.6.0/yum/__init__.py.chroot 2006-03-07 05:38:00.000000000 +0100 ++++ yum-2.6.0/yum/__init__.py 2006-03-26 13:21:35.000000000 +0200 +@@ -125,8 +125,7 @@ + # (typically /etc/yum.repos.d and /etc/yum/repos.d) + parser = config.IncludedDirConfigParser(vars=self.yumvar) + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot+'/'+reposdir): +- reposdir = self.conf.installroot + '/' + reposdir ++ reposdir = self.conf.getRootedPath(reposdir) + + if os.path.isdir(reposdir): + #XXX: why can't we just pass the list of files? +@@ -482,16 +481,14 @@ + + self.log(2, 'Finished') + +- def doLock(self, lockfile): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / ++ lockfile = self.conf.lockfile + + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): +@@ -515,15 +518,14 @@ + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ lockfile=self.conf.lockfile + + self._unlock(lockfile) + +--- yum-2.6.0/yum/config.py.chroot 2006-03-07 04:40:08.000000000 +0100 ++++ yum-2.6.0/yum/config.py 2006-03-26 13:22:41.000000000 +0200 +@@ -450,6 +450,27 @@ + else: + raise Errors.ConfigError, 'No such option %s' % option + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = getattr(self, 'installroot', None) ++ if instroot==None: ++ return path ++ ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' +path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ ++ + class EarlyConf(BaseConfig): + ''' + Configuration option definitions for yum.conf's [main] section that are +@@ -474,6 +495,7 @@ + cachedir = Option('/var/cache/yum') + keepcache = BoolOption(True) + logfile = Option('/var/log/yum.log') ++ lockfile = Option('/var/run/yum.pid') + reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d']) + syslog_ident = Option() + syslog_facility = Option('LOG_DAEMON') +@@ -580,9 +602,9 @@ + yumconf.populate(confparser, 'main') + + # Apply the installroot to directory options +- for option in ('cachedir', 'logfile'): ++ for option in ('cachedir', 'logfile', 'lockfile'): + path = getattr(yumconf, option) +- setattr(yumconf, option, yumconf.installroot + path) ++ setattr(yumconf, option, yumconf.getRootedPath(path)) + + # Check that plugin paths are all absolute + for path in yumconf.pluginpath: +--- yum-2.6.0/cli.py.chroot 2006-02-22 22:16:13.000000000 +0100 ++++ yum-2.6.0/cli.py 2006-03-26 13:21:35.000000000 +0200 +@@ -112,7 +112,7 @@ + action="store_true", default=False, + help="run entirely from cache, don't update cache") + self.optparser.add_option("-c", "", dest="conffile", action="store", +- default='/etc/yum.conf', help="config file location", ++ default=None, help="config file location", + metavar=' [config file]') + self.optparser.add_option("-R", "", dest="sleeptime", action="store", + type='int', default=None, help="maximum command wait time", +@@ -165,9 +165,12 @@ + try: + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root +- if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum.conf' ++ if opts.installroot and os.access(opts.installroot+'/'+opts.conffile, os.R_OK): + opts.conffile = opts.installroot+'/'+opts.conffile ++ ++ if opts.installroot: + root=opts.installroot + else: + root = '/' +--- yum-2.6.0/yummain.py.chroot 2005-12-13 09:35:41.000000000 +0100 ++++ yum-2.6.0/yummain.py 2006-03-26 13:21:35.000000000 +0200 +@@ -60,7 +60,7 @@ + def unlock(): + try: + base.closeRpmDB() +- base.doUnlock(YUM_PID_FILE) ++ base.doUnlock() + except Errors.LockError, e: + sys.exit(200) + +@@ -83,7 +83,7 @@ + except Errors.YumBaseError, e: + exFatal(e) + try: +- base.doLock(YUM_PID_FILE) ++ base.doLock() + except Errors.LockError, e: + base.errorlog(0,'%s' % e.msg) + sys.exit(200) diff --git a/contrib/yum-2.9.6-chroot.patch b/contrib/yum-2.9.6-chroot.patch new file mode 100644 index 0000000..56b8410 --- /dev/null +++ b/contrib/yum-2.9.6-chroot.patch @@ -0,0 +1,187 @@ +diff -Nurp yum-2.9.6.orig/cli.py yum-2.9.6/cli.py +--- yum-2.9.6.orig/cli.py 2006-09-06 06:15:49.000000000 +0200 ++++ yum-2.9.6/cli.py 2006-09-25 09:08:06.000000000 +0200 +@@ -123,7 +123,7 @@ yum [options] < update | install | info + action="store_true", default=False, + help="run entirely from cache, don't update cache") + self.optparser.add_option("-c", "", dest="conffile", action="store", +- default='/etc/yum.conf', help="config file location", ++ default=None, help="config file location", + metavar=' [config file]') + self.optparser.add_option("-R", "", dest="sleeptime", action="store", + type='int', default=None, help="maximum command wait time", +@@ -175,9 +175,12 @@ yum [options] < update | install | info + + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root +- if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum.conf' ++ if opts.installroot and os.access(opts.installroot+'/'+opts.conffile, os.R_OK): + opts.conffile = opts.installroot+'/'+opts.conffile ++ ++ if opts.installroot: + root=opts.installroot + else: + root = '/' +diff -Nurp yum-2.9.6.orig/docs/yum.conf.5 yum-2.9.6/docs/yum.conf.5 +--- yum-2.9.6.orig/docs/yum.conf.5 2006-06-19 03:28:22.000000000 +0200 ++++ yum-2.9.6/docs/yum.conf.5 2006-09-25 09:02:50.000000000 +0200 +@@ -23,8 +23,10 @@ The [main] section must exist for yum to + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBkeepcache\fR + Either `1' or `0'. Determines whether or not yum keeps the cache +@@ -40,6 +42,10 @@ documented in \fB[repository] options\fR + repositories defined in /etc/yum.conf to form the complete set of repositories + that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -47,7 +53,10 @@ Debug message output level. Practical ra + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +diff -Nurp yum-2.9.6.orig/yum/config.py yum-2.9.6/yum/config.py +--- yum-2.9.6.orig/yum/config.py 2006-06-19 03:28:22.000000000 +0200 ++++ yum-2.9.6/yum/config.py 2006-09-25 09:12:36.000000000 +0200 +@@ -481,6 +481,26 @@ class StartupConf(BaseConfig): + pluginpath = ListOption(['/usr/lib/yum-plugins']) + pluginconfpath = ListOption(['/etc/yum/pluginconf.d']) + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = getattr(self, 'installroot', None) ++ if instroot==None: ++ return path ++ ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' + path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + class YumConf(StartupConf): + ''' + Configuration option definitions for yum.conf\'s [main] section. +@@ -493,6 +513,7 @@ class YumConf(StartupConf): + cachedir = Option('/var/cache/yum') + keepcache = BoolOption(True) + logfile = Option('/var/log/yum.log') ++ lockfile = Option('/var/run/yum.pid') + reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d']) + syslog_ident = Option() + syslog_facility = Option('LOG_DAEMON') +@@ -616,9 +637,9 @@ def readMainConfig(startupconf): + yumconf.populate(startupconf._parser, 'main') + + # Apply the installroot to directory options +- for option in ('cachedir', 'logfile'): ++ for option in ('cachedir', 'logfile', 'lockfile'): + path = getattr(yumconf, option) +- setattr(yumconf, option, yumconf.installroot + path) ++ setattr(yumconf, option, yumconf.getRootedPath(path)) + + # Add in some extra attributes which aren't actually configuration values + yumconf.yumvar = vars +diff -Nurp yum-2.9.6.orig/yum/__init__.py yum-2.9.6/yum/__init__.py +--- yum-2.9.6.orig/yum/__init__.py 2006-09-06 06:18:20.000000000 +0200 ++++ yum-2.9.6/yum/__init__.py 2006-09-25 09:02:50.000000000 +0200 +@@ -171,8 +171,7 @@ class YumBase(depsolve.Depsolve): + # (typically /etc/yum.repos.d and /etc/yum/repos.d) + parser = config.IncludedDirConfigParser(vars=self.yumvar) + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot+'/'+reposdir): +- reposdir = self.conf.installroot + '/' + reposdir ++ reposdir = self.conf.getRootedPath(reposdir) + + if os.path.isdir(reposdir): + #XXX: why can't we just pass the list of files? +@@ -502,16 +501,14 @@ class YumBase(depsolve.Depsolve): + + self.verbose_logger.log(logginglevels.INFO_2, 'Finished') + +- def doLock(self, lockfile): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / ++ lockfile = self.conf.lockfile + + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): +@@ -537,15 +540,14 @@ class YumBase(depsolve.Depsolve): + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot ++ lockfile=self.conf.lockfile + + self._unlock(lockfile) + +diff -Nurp yum-2.9.6.orig/yummain.py yum-2.9.6/yummain.py +--- yum-2.9.6.orig/yummain.py 2006-08-19 22:04:33.000000000 +0200 ++++ yum-2.9.6/yummain.py 2006-09-25 09:02:50.000000000 +0200 +@@ -62,7 +62,7 @@ def main(args): + def unlock(): + try: + base.closeRpmDB() +- base.doUnlock(YUM_PID_FILE) ++ base.doUnlock() + except Errors.LockError, e: + sys.exit(200) + +@@ -88,7 +88,7 @@ def main(args): + except Errors.YumBaseError, e: + exFatal(e) + try: +- base.doLock(YUM_PID_FILE) ++ base.doLock() + except Errors.LockError, e: + logger.critical('%s', e.msg) + sys.exit(200) diff --git a/contrib/yum-3.0.3-chroot.patch b/contrib/yum-3.0.3-chroot.patch new file mode 100644 index 0000000..6bac70a --- /dev/null +++ b/contrib/yum-3.0.3-chroot.patch @@ -0,0 +1,167 @@ +--- yum-3.0.3/docs/yum.conf.5.chroot 2006-11-17 08:10:32.000000000 +0100 ++++ yum-3.0.3/docs/yum.conf.5 2007-01-16 20:28:39.000000000 +0100 +@@ -23,8 +23,10 @@ + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBkeepcache\fR + Either `1' or `0'. Determines whether or not yum keeps the cache +@@ -40,6 +42,10 @@ + repositories defined in /etc/yum.conf to form the complete set of repositories + that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -47,7 +53,10 @@ + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-3.0.3/yum/config.py.chroot 2006-12-07 18:25:02.000000000 +0100 ++++ yum-3.0.3/yum/config.py 2007-01-16 20:28:39.000000000 +0100 +@@ -464,6 +464,26 @@ + pluginpath = ListOption(['/usr/lib/yum-plugins']) + pluginconfpath = ListOption(['/etc/yum/pluginconf.d']) + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = getattr(self, 'installroot', None) ++ if instroot==None: ++ return path ++ ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' + path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + class YumConf(StartupConf): + ''' + Configuration option definitions for yum.conf\'s [main] section. +@@ -476,6 +496,7 @@ + cachedir = Option('/var/cache/yum') + keepcache = BoolOption(True) + logfile = Option('/var/log/yum.log') ++ lockfile = Option('/var/run/yum.pid') + reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d']) + syslog_ident = Option() + syslog_facility = Option('LOG_DAEMON') +@@ -602,9 +623,9 @@ + yumconf.populate(startupconf._parser, 'main') + + # Apply the installroot to directory options +- for option in ('cachedir', 'logfile'): ++ for option in ('cachedir', 'logfile', 'lockfile'): + path = getattr(yumconf, option) +- setattr(yumconf, option, yumconf.installroot + path) ++ setattr(yumconf, option, yumconf.getRootedPath(path)) + + # Add in some extra attributes which aren't actually configuration values + yumconf.yumvar = yumvars +--- yum-3.0.3/yum/__init__.py.chroot 2007-01-07 21:09:27.000000000 +0100 ++++ yum-3.0.3/yum/__init__.py 2007-01-16 20:32:04.000000000 +0100 +@@ -169,8 +169,7 @@ + # (typically /etc/yum.repos.d and /etc/yum/repos.d) + parser = ConfigParser() + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot+'/'+reposdir): +- reposdir = self.conf.installroot + '/' + reposdir ++ reposdir = self.conf.getRootedPath(reposdir) + + if os.path.isdir(reposdir): + for repofn in glob.glob('%s/*.repo' % reposdir): +@@ -523,17 +522,15 @@ + + self.verbose_logger.log(logginglevels.INFO_2, 'Finished') + +- def doLock(self, lockfile = YUM_PID_FILE): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return +- +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / +- ++ ++ lockfile = self.conf.lockfile ++ + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): + fd = open(lockfile, 'r') +@@ -558,16 +555,15 @@ + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile = YUM_PID_FILE): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- ++ lockfile=self.conf.lockfile ++ + self._unlock(lockfile) + + def _lock(self, filename, contents='', mode=0777): +--- yum-3.0.3/cli.py.chroot 2006-12-08 00:27:08.000000000 +0100 ++++ yum-3.0.3/cli.py 2007-01-16 20:28:39.000000000 +0100 +@@ -131,7 +131,7 @@ + action="store_true", default=False, + help="run entirely from cache, don't update cache") + self.optparser.add_option("-c", "", dest="conffile", action="store", +- default='/etc/yum.conf', help="config file location", ++ default=None, help="config file location", + metavar=' [config file]') + self.optparser.add_option("-R", "", dest="sleeptime", action="store", + type='int', default=None, help="maximum command wait time", +@@ -188,9 +188,12 @@ + + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root +- if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum.conf' ++ if opts.installroot and os.access(opts.installroot+'/'+opts.conffile, os.R_OK): + opts.conffile = opts.installroot+'/'+opts.conffile ++ ++ if opts.installroot: + root=opts.installroot + else: + root = '/' diff --git a/contrib/yum-3.0.5-chroot.patch b/contrib/yum-3.0.5-chroot.patch new file mode 100644 index 0000000..71660a0 --- /dev/null +++ b/contrib/yum-3.0.5-chroot.patch @@ -0,0 +1,167 @@ +--- yum-3.0.5/docs/yum.conf.5.chroot 2007-01-31 22:41:38.000000000 +0100 ++++ yum-3.0.5/docs/yum.conf.5 2007-03-31 10:29:52.000000000 +0200 +@@ -23,8 +23,10 @@ + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBkeepcache\fR + Either `1' or `0'. Determines whether or not yum keeps the cache +@@ -40,6 +42,10 @@ + repositories defined in /etc/yum.conf to form the complete set of repositories + that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -47,7 +53,10 @@ + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-3.0.5/yum/config.py.chroot 2007-01-31 22:41:38.000000000 +0100 ++++ yum-3.0.5/yum/config.py 2007-03-31 10:29:52.000000000 +0200 +@@ -464,6 +464,26 @@ + pluginpath = ListOption(['/usr/lib/yum-plugins']) + pluginconfpath = ListOption(['/etc/yum/pluginconf.d']) + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = getattr(self, 'installroot', None) ++ if instroot==None: ++ return path ++ ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' + path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + class YumConf(StartupConf): + ''' + Configuration option definitions for yum.conf\'s [main] section. +@@ -476,6 +496,7 @@ + cachedir = Option('/var/cache/yum') + keepcache = BoolOption(True) + logfile = Option('/var/log/yum.log') ++ lockfile = Option('/var/run/yum.pid') + reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d']) + syslog_ident = Option() + syslog_facility = Option('LOG_DAEMON') +@@ -602,9 +623,9 @@ + yumconf.populate(startupconf._parser, 'main') + + # Apply the installroot to directory options +- for option in ('cachedir', 'logfile'): ++ for option in ('cachedir', 'logfile', 'lockfile'): + path = getattr(yumconf, option) +- setattr(yumconf, option, yumconf.installroot + path) ++ setattr(yumconf, option, yumconf.getRootedPath(path)) + + # Add in some extra attributes which aren't actually configuration values + yumconf.yumvar = yumvars +--- yum-3.0.5/yum/__init__.py.chroot 2007-03-14 20:49:53.000000000 +0100 ++++ yum-3.0.5/yum/__init__.py 2007-03-31 10:29:52.000000000 +0200 +@@ -176,8 +176,7 @@ + # (typically /etc/yum.repos.d and /etc/yum/repos.d) + parser = ConfigParser() + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot+'/'+reposdir): +- reposdir = self.conf.installroot + '/' + reposdir ++ reposdir = self.conf.getRootedPath(reposdir) + + if os.path.isdir(reposdir): + for repofn in glob.glob('%s/*.repo' % reposdir): +@@ -530,17 +529,15 @@ + + self.verbose_logger.log(logginglevels.INFO_2, 'Finished') + +- def doLock(self, lockfile = YUM_PID_FILE): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return +- +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / +- ++ ++ lockfile = self.conf.lockfile ++ + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): + fd = open(lockfile, 'r') +@@ -565,16 +562,15 @@ + msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile = YUM_PID_FILE): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- ++ lockfile=self.conf.lockfile ++ + self._unlock(lockfile) + + def _lock(self, filename, contents='', mode=0777): +--- yum-3.0.5/cli.py.chroot 2007-03-12 21:35:46.000000000 +0100 ++++ yum-3.0.5/cli.py 2007-03-31 10:31:23.000000000 +0200 +@@ -132,7 +132,7 @@ + action="store_true", default=False, + help="run entirely from cache, don't update cache") + self.optparser.add_option("-c", "", dest="conffile", action="store", +- default='/etc/yum.conf', help="config file location", ++ default=None, help="config file location", + metavar=' [config file]') + self.optparser.add_option("-R", "", dest="sleeptime", action="store", + type='int', default=None, help="maximum command wait time", +@@ -189,9 +189,12 @@ + + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root +- if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum.conf' ++ if opts.installroot and os.access(opts.installroot+'/'+opts.conffile, os.R_OK): + opts.conffile = opts.installroot+'/'+opts.conffile ++ ++ if opts.installroot: + root=opts.installroot + else: + root = '/' diff --git a/contrib/yum-3.2.0-chroot.patch b/contrib/yum-3.2.0-chroot.patch new file mode 100644 index 0000000..ced6b22 --- /dev/null +++ b/contrib/yum-3.2.0-chroot.patch @@ -0,0 +1,173 @@ +--- yum-3.2.0/yum/__init__.py.chroot 2007-05-16 16:57:12.000000000 -0400 ++++ yum-3.2.0/yum/__init__.py 2007-06-20 20:33:35.000000000 -0400 +@@ -201,8 +201,7 @@ class YumBase(depsolve.Depsolve): + # (typically /etc/yum/repos.d) + parser = ConfigParser() + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot+'/'+reposdir): +- reposdir = self.conf.installroot + '/' + reposdir ++ reposdir = self.conf.getRootedPath(reposdir) + + if os.path.isdir(reposdir): + for repofn in glob.glob('%s/*.repo' % reposdir): +@@ -632,17 +631,15 @@ class YumBase(depsolve.Depsolve): + + self.verbose_logger.log(logginglevels.INFO_2, 'Finished') + +- def doLock(self, lockfile = YUM_PID_FILE): ++ def doLock(self): + """perform the yum locking, raise yum-based exceptions, not OSErrors""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return +- +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / +- ++ ++ lockfile = self.conf.lockfile ++ + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): + fd = open(lockfile, 'r') +@@ -667,16 +664,15 @@ class YumBase(depsolve.Depsolve): + msg = 'Existing lock %s: another copy is running as pid %s. Aborting.' % (lockfile, oldpid) + raise Errors.LockError(0, msg) + +- def doUnlock(self, lockfile = YUM_PID_FILE): ++ def doUnlock(self): + """do the unlock for yum""" + + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- ++ lockfile=self.conf.lockfile ++ + self._unlock(lockfile) + + def _lock(self, filename, contents='', mode=0777): +--- yum-3.2.0/yum/config.py.chroot 2007-04-26 10:12:30.000000000 -0400 ++++ yum-3.2.0/yum/config.py 2007-06-20 20:33:35.000000000 -0400 +@@ -464,6 +464,26 @@ class StartupConf(BaseConfig): + pluginpath = ListOption(['/usr/share/yum-plugins', '/usr/lib/yum-plugins']) + pluginconfpath = ListOption(['/etc/yum/pluginconf.d']) + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = getattr(self, 'installroot', None) ++ if instroot==None: ++ return path ++ ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' + path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + class YumConf(StartupConf): + ''' + Configuration option definitions for yum.conf\'s [main] section. +@@ -476,6 +496,7 @@ class YumConf(StartupConf): + cachedir = Option('/var/cache/yum') + keepcache = BoolOption(True) + logfile = Option('/var/log/yum.log') ++ lockfile = Option('/var/run/yum.pid') + reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d']) + syslog_ident = Option() + syslog_facility = Option('LOG_DAEMON') +@@ -605,9 +626,9 @@ def readMainConfig(startupconf): + yumconf.populate(startupconf._parser, 'main') + + # Apply the installroot to directory options +- for option in ('cachedir', 'logfile'): ++ for option in ('cachedir', 'logfile', 'lockfile'): + path = getattr(yumconf, option) +- setattr(yumconf, option, yumconf.installroot + path) ++ setattr(yumconf, option, yumconf.getRootedPath(path)) + + # Add in some extra attributes which aren't actually configuration values + yumconf.yumvar = yumvars +--- yum-3.2.0/docs/yum.conf.5.chroot 2007-02-18 19:14:56.000000000 -0500 ++++ yum-3.2.0/docs/yum.conf.5 2007-06-20 20:33:35.000000000 -0400 +@@ -23,8 +23,10 @@ The [main] section must exist for yum to + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBkeepcache\fR + Either `1' or `0'. Determines whether or not yum keeps the cache +@@ -40,6 +42,10 @@ documented in \fB[repository] options\fR + repositories defined in /etc/yum/yum.conf to form the complete set of + repositories that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -47,7 +53,10 @@ Debug message output level. Practical ra + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-3.2.0/cli.py.chroot 2007-05-15 08:18:07.000000000 -0400 ++++ yum-3.2.0/cli.py 2007-06-20 20:33:35.000000000 -0400 +@@ -1166,13 +1166,14 @@ class YumOptionParser(OptionParser): + def getRoot(self,opts): + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum/yum.conf' ++ if opts.installroot: ++ if os.access(opts.installroot+opts.conffile, os.R_OK): ++ opts.conffile = opts.installroot+opts.conffile ++ elif os.access(opts.installroot+'/etc/yum.conf', os.R_OK): ++ opts.conffile = opts.installroot+'/etc/yum.conf' + if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): +- opts.conffile = opts.installroot+'/'+opts.conffile +- elif opts.conffile == '/etc/yum/yum.conf': +- # check if /installroot/etc/yum.conf exists. +- if os.access(opts.installroot+'/etc/yum.conf', os.R_OK): +- opts.conffile = opts.installroot+'/etc/yum.conf' + root=opts.installroot + else: + root = '/' +@@ -1195,7 +1196,7 @@ class YumOptionParser(OptionParser): + action="store_true", default=False, + help="run entirely from cache, don't update cache") + self.add_option("-c", "", dest="conffile", action="store", +- default='/etc/yum/yum.conf', help="config file location", ++ default=None, help="config file location", + metavar=' [config file]') + self.add_option("-R", "", dest="sleeptime", action="store", + type='int', default=None, help="maximum command wait time", diff --git a/contrib/yum-3.2.1-chroot.patch b/contrib/yum-3.2.1-chroot.patch new file mode 100644 index 0000000..8a3aede --- /dev/null +++ b/contrib/yum-3.2.1-chroot.patch @@ -0,0 +1,158 @@ +--- yum-3.2.1/yum/__init__.py.chroot ++++ yum-3.2.1/yum/__init__.py +@@ -201,8 +201,7 @@ class YumBase(depsolve.Depsolve): + # (typically /etc/yum/repos.d) + parser = ConfigParser() + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot+'/'+reposdir): +- reposdir = self.conf.installroot + '/' + reposdir ++ reposdir = self.conf.getRootedPath(reposdir) + + if os.path.isdir(reposdir): + for repofn in glob.glob('%s/*.repo' % reposdir): +@@ -616,11 +615,9 @@ class YumBase(depsolve.Depsolve): + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return +- +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / +- ++ ++ lockfile = self.conf.lockfile ++ + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): + fd = open(lockfile, 'r') +@@ -652,9 +649,8 @@ class YumBase(depsolve.Depsolve): + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- ++ lockfile=self.conf.lockfile ++ + self._unlock(lockfile) + + def _lock(self, filename, contents='', mode=0777): +--- yum-3.2.1/yum/config.py.chroot ++++ yum-3.2.1/yum/config.py +@@ -464,6 +464,26 @@ class StartupConf(BaseConfig): + pluginpath = ListOption(['/usr/share/yum-plugins', '/usr/lib/yum-plugins']) + pluginconfpath = ListOption(['/etc/yum/pluginconf.d']) + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = getattr(self, 'installroot', None) ++ if instroot==None: ++ return path ++ ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' + path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + class YumConf(StartupConf): + ''' + Configuration option definitions for yum.conf\'s [main] section. +@@ -476,6 +496,7 @@ class YumConf(StartupConf): + cachedir = Option('/var/cache/yum') + keepcache = BoolOption(True) + logfile = Option('/var/log/yum.log') ++ lockfile = Option('/var/run/yum.pid') + reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d']) + syslog_ident = Option() + syslog_facility = Option('LOG_DAEMON') +@@ -605,9 +626,9 @@ def readMainConfig(startupconf): + yumconf.populate(startupconf._parser, 'main') + + # Apply the installroot to directory options +- for option in ('cachedir', 'logfile'): ++ for option in ('cachedir', 'logfile', 'lockfile'): + path = getattr(yumconf, option) +- setattr(yumconf, option, yumconf.installroot + path) ++ setattr(yumconf, option, yumconf.getRootedPath(path)) + + # Add in some extra attributes which aren't actually configuration values + yumconf.yumvar = yumvars +--- yum-3.2.1/docs/yum.conf.5.chroot ++++ yum-3.2.1/docs/yum.conf.5 +@@ -23,8 +23,10 @@ The [main] section must exist for yum to + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBkeepcache\fR + Either `1' or `0'. Determines whether or not yum keeps the cache +@@ -40,6 +42,10 @@ documented in \fB[repository] options\fR + repositories defined in /etc/yum/yum.conf to form the complete set of + repositories that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -47,7 +53,10 @@ Debug message output level. Practical ra + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +--- yum-3.2.1/cli.py.chroot ++++ yum-3.2.1/cli.py +@@ -1168,13 +1168,14 @@ class YumOptionParser(OptionParser): + def getRoot(self,opts): + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum/yum.conf' ++ if opts.installroot: ++ if os.access(opts.installroot+opts.conffile, os.R_OK): ++ opts.conffile = opts.installroot+opts.conffile ++ elif os.access(opts.installroot+'/etc/yum.conf', os.R_OK): ++ opts.conffile = opts.installroot+'/etc/yum.conf' + if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): +- opts.conffile = opts.installroot+'/'+opts.conffile +- elif opts.conffile == '/etc/yum/yum.conf': +- # check if /installroot/etc/yum.conf exists. +- if os.access(opts.installroot+'/etc/yum.conf', os.R_OK): +- opts.conffile = opts.installroot+'/etc/yum.conf' + root=opts.installroot + else: + root = '/' +@@ -1195,7 +1196,7 @@ class YumOptionParser(OptionParser): + help="be tolerant of errors") + self.add_option("-C", dest="cacheonly", action="store_true", + help="run entirely from cache, don't update cache") +- self.add_option("-c", dest="conffile", default='/etc/yum/yum.conf', ++ self.add_option("-c", dest="conffile", default=None, + help="config file location", metavar=' [config file]') + self.add_option("-R", dest="sleeptime", type='int', default=None, + help="maximum command wait time", metavar=' [minutes]') diff --git a/contrib/yum-3.2.4-chroot.patch b/contrib/yum-3.2.4-chroot.patch new file mode 100644 index 0000000..45d0f9c --- /dev/null +++ b/contrib/yum-3.2.4-chroot.patch @@ -0,0 +1,175 @@ +diff -Nurp yum-3.2.4.orig/cli.py yum-3.2.4/cli.py +--- yum-3.2.4.orig/cli.py 2007-08-15 17:48:03.000000000 +0200 ++++ yum-3.2.4/cli.py 2008-09-29 02:32:24.000000000 +0200 +@@ -1204,13 +1204,14 @@ class YumOptionParser(OptionParser): + def getRoot(self,opts): + # If the conf file is inside the installroot - use that. + # otherwise look for it in the normal root ++ if opts.conffile==None: ++ opts.conffile = '/etc/yum/yum.conf' ++ if opts.installroot: ++ if os.access(opts.installroot+opts.conffile, os.R_OK): ++ opts.conffile = opts.installroot+opts.conffile ++ elif os.access(opts.installroot+'/etc/yum.conf', os.R_OK): ++ opts.conffile = opts.installroot+'/etc/yum.conf' + if opts.installroot: +- if os.access(opts.installroot+'/'+opts.conffile, os.R_OK): +- opts.conffile = opts.installroot+'/'+opts.conffile +- elif opts.conffile == '/etc/yum/yum.conf': +- # check if /installroot/etc/yum.conf exists. +- if os.access(opts.installroot+'/etc/yum.conf', os.R_OK): +- opts.conffile = opts.installroot+'/etc/yum.conf' + root=opts.installroot + else: + root = '/' +@@ -1231,7 +1232,7 @@ class YumOptionParser(OptionParser): + help="be tolerant of errors") + self.add_option("-C", dest="cacheonly", action="store_true", + help="run entirely from cache, don't update cache") +- self.add_option("-c", dest="conffile", default='/etc/yum/yum.conf', ++ self.add_option("-c", dest="conffile", default=None, + help="config file location", metavar=' [config file]') + self.add_option("-R", dest="sleeptime", type='int', default=None, + help="maximum command wait time", metavar=' [minutes]') +diff -Nurp yum-3.2.4.orig/docs/yum.conf.5 yum-3.2.4/docs/yum.conf.5 +--- yum-3.2.4.orig/docs/yum.conf.5 2007-08-16 14:42:26.000000000 +0200 ++++ yum-3.2.4/docs/yum.conf.5 2008-09-29 02:32:24.000000000 +0200 +@@ -23,8 +23,10 @@ The [main] section must exist for yum to + following options: + + .IP \fBcachedir\fR +-Directory where yum should store its cache and db files. The default is +-`/var/cache/yum'. ++Directory where yum should store its cache and db files. The default ++is `/var/cache/yum'. Unless the prefixes `hostfs://' or `chrootfs://' ++are used, some magic will be applied to determine the real path in ++combination with `--installroot'. + + .IP \fBpersistdir\fR + Directory where yum should store information that should persist over multiple +@@ -44,6 +46,10 @@ documented in \fB[repository] options\fR + repositories defined in /etc/yum/yum.conf to form the complete set of + repositories that yum will use. + ++Unless the prefixes `hostfs://' or `chrootfs://' are used, some magic ++will be applied to determine the real path in combination with ++`--installroot'. ++ + .IP \fBdebuglevel\fR + Debug message output level. Practical range is 0\-10. Default is `2'. + +@@ -51,7 +57,10 @@ Debug message output level. Practical ra + Error message output level. Practical range is 0\-10. Default is `2'. + + .IP \fBlogfile\fR +-Full directory and file name for where yum should write its log file. ++Full directory and file name for where yum should write its log ++file. Unless the prefixes `hostfs://' or `chrootfs://' are used, ++some magic will be applied to determine the real path in combination ++with `--installroot'. + + .IP \fBgpgcheck\fR + Either `1' or `0'. This tells yum whether or not it should perform a GPG +diff -Nurp yum-3.2.4.orig/yum/config.py yum-3.2.4/yum/config.py +--- yum-3.2.4.orig/yum/config.py 2007-08-28 19:38:39.000000000 +0200 ++++ yum-3.2.4/yum/config.py 2008-09-29 03:09:28.000000000 +0200 +@@ -469,6 +469,26 @@ class StartupConf(BaseConfig): + pluginpath = ListOption(['/usr/share/yum-plugins', '/usr/lib/yum-plugins']) + pluginconfpath = ListOption(['/etc/yum/pluginconf.d']) + ++ def getRootedPath(self, path, enforce_default=False, defaults_to_host=False): ++ instroot = getattr(self, 'installroot', None) ++ if instroot==None: ++ return path ++ ++ if path.startswith('hostfs://'): res = path[9:] ++ elif path.startswith('chrootfs://'): res = instroot + '/' + path[11:] ++ else: ++ tmp = instroot + '/' + path ++ ++ if enforce_default: ++ if defaults_to_host: res = path ++ else: res = tmp ++ else: ++ if os.path.exists(tmp): res = tmp ++ elif defaults_to_host: res = path ++ else: res = tmp ++ ++ return res ++ + class YumConf(StartupConf): + ''' + Configuration option definitions for yum.conf\'s [main] section. +@@ -482,6 +502,7 @@ class YumConf(StartupConf): + persistdir = Option('/var/lib/yum') + keepcache = BoolOption(True) + logfile = Option('/var/log/yum.log') ++ lockfile = Option('/var/run/yum.pid') + reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d']) + syslog_ident = Option() + syslog_facility = Option('LOG_DAEMON') +@@ -615,9 +636,9 @@ def readMainConfig(startupconf): + yumconf.populate(startupconf._parser, 'main') + + # Apply the installroot to directory options +- for option in ('cachedir', 'logfile', 'persistdir'): ++ for option in ('cachedir', 'logfile', 'lockfile'): + path = getattr(yumconf, option) +- setattr(yumconf, option, yumconf.installroot + path) ++ setattr(yumconf, option, yumconf.getRootedPath(path)) + + # Add in some extra attributes which aren't actually configuration values + yumconf.yumvar = yumvars +diff -Nurp yum-3.2.4.orig/yum/__init__.py yum-3.2.4/yum/__init__.py +--- yum-3.2.4.orig/yum/__init__.py 2007-08-28 20:45:13.000000000 +0200 ++++ yum-3.2.4/yum/__init__.py 2008-09-29 03:08:34.000000000 +0200 +@@ -214,8 +214,7 @@ class YumBase(depsolve.Depsolve): + repo_config_age = self.conf.config_file_age + + for reposdir in self.conf.reposdir: +- if os.path.exists(self.conf.installroot+'/'+reposdir): +- reposdir = self.conf.installroot + '/' + reposdir ++ reposdir = self.conf.getRootedPath(reposdir) + + if os.path.isdir(reposdir): + for repofn in glob.glob('%s/*.repo' % reposdir): +@@ -664,11 +663,9 @@ class YumBase(depsolve.Depsolve): + # if we're not root then we don't lock - just return nicely + if self.conf.uid != 0: + return +- +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- lockfile = os.path.normpath(lockfile) # get rid of silly preceding extra / +- ++ ++ lockfile = self.conf.lockfile ++ + mypid=str(os.getpid()) + while not self._lock(lockfile, mypid, 0644): + fd = open(lockfile, 'r') +@@ -700,9 +697,8 @@ class YumBase(depsolve.Depsolve): + if self.conf.uid != 0: + return + +- root = self.conf.installroot +- lockfile = root + '/' + lockfile # lock in the chroot +- ++ lockfile=self.conf.lockfile ++ + self._unlock(lockfile) + + def _lock(self, filename, contents='', mode=0777): +diff -Nurp yum-3.2.4.orig/yum/rpmtrans.py yum-3.2.4/yum/rpmtrans.py +--- yum-3.2.4.orig/yum/rpmtrans.py 2007-08-15 19:27:19.000000000 +0200 ++++ yum-3.2.4/yum/rpmtrans.py 2008-09-29 03:09:54.000000000 +0200 +@@ -149,7 +149,8 @@ class RPMTransaction: + + if not hasattr(self, '_ts_done'): + # need config variable to put this in a better path/name +- te_fn = '%s/transaction-done.%s' % (self.base.conf.persistdir, self._ts_time) ++ te_fn = '%s/transaction-done.%s' % ( ++ self.base.conf.getRootedPath(self.base.conf.persistdir), self._ts_time) + self.ts_done_fn = te_fn + try: + self._ts_done = open(te_fn, 'w') diff --git a/depcomp b/depcomp new file mode 100755 index 0000000..e5f9736 --- /dev/null +++ b/depcomp @@ -0,0 +1,589 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2007-03-29.01 + +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software +# Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> $depfile + echo >> $depfile + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> $depfile + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts `$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u + "$@" -Wc,-M + else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u + "$@" -M + fi + stat=$? + + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | + sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + # With Tru64 cc, shared objects can also be used to make a + # static library. This mechanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # generates 2 separate objects for the 2 libraries. These two + # compilations output dependencies in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 + "$@" -Wc,-MD + else + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for `:' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + "$@" $dashmflag | + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no + for arg in "$@"; do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix="`echo $object | sed 's/^.*\././'`" + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E | + sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ + -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + "$@" || exit $? + IFS=" " + for arg + do + case "$arg" in + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/distrib/Makefile.am b/distrib/Makefile.am new file mode 100644 index 0000000..8685fb0 --- /dev/null +++ b/distrib/Makefile.am @@ -0,0 +1,128 @@ +## $Id: Makefile.am 2790 2008-09-29 00:59:40Z dhozac $ + +## Copyright (C) 2003 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +confdir = $(sysconfdir)/vservers +defaultsdir = $(pkglibdir)/defaults +distribdir = $(pkglibdir)/distributions +confdistribdir = $(confdir)/.distributions +confdefaultsdir = $(confdir)/.defaults + +defaults_DATA = misc/debootstrap.mirror \ + misc/debootstrap.uri \ + misc/fstab \ + misc/mtab \ + misc/vprocunhide-files \ + misc/vunify-exclude \ + misc/environment \ + misc/context.start \ + misc/h2ext.desc + +nobase_distrib_SCRIPTS = redhat/initpost \ + redhat/initpre \ + redhat/rc.sysinit \ + redhat/initctl \ + gentoo/initpost \ + gentoo/initpre \ + debian/initpost \ + alpine/initpre \ + alpine/initpost + +nobase_distrib_DATA = defaults/devs \ + defaults/apt.conf \ + defaults/rpm/macros \ + defaults/apt/apt.conf \ + template/initpost template/initpre \ + rh9/apt/rpmpriorities rh9/pkgs/01 rh9/pkgs/02 \ + fc1/apt/rpmpriorities fc1/pkgs/01 fc1/pkgs/02 \ + fc2/apt/rpmpriorities fc2/pkgs/01 fc2/pkgs/02 \ + fc3/apt/rpmpriorities fc3/pkgs/01 fc3/pkgs/02 fc3/pkgs/03 \ + fc3/yum/yum.conf $(wildcard $(srcdir)/fc3/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc3/rpmlist.d/*.lst) $(wildcard $(srcdir)/c3/rpmlist.d/*.opt) \ + fc4/apt/rpmpriorities fc4/pkgs/01 fc4/pkgs/02 fc4/pkgs/03 \ + fc4/yum/yum.conf $(wildcard $(srcdir)/fc4/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc4/rpmlist.d/*.lst) $(wildcard $(srcdir)/c4/rpmlist.d/*.opt) \ + fc5/apt/rpmpriorities fc5/pkgs/01 fc5/pkgs/02 fc5/pkgs/03 \ + fc5/yum/yum.conf $(wildcard $(srcdir)/fc5/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc5/rpmlist.d/*.lst) $(wildcard $(srcdir)/c5/rpmlist.d/*.opt) \ + fc6/apt/rpmpriorities fc6/pkgs/01 fc6/pkgs/02 fc6/pkgs/03 \ + fc6/yum/yum.conf $(wildcard $(srcdir)/fc6/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc6/rpmlist.d/*.lst) $(wildcard $(srcdir)/c6/rpmlist.d/*.opt) \ + f7/apt/rpmpriorities f7/pkgs/01 f7/pkgs/02 f7/pkgs/03 \ + f7/yum/yum.conf $(wildcard $(srcdir)/f7/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/f7/rpmlist.d/*.lst) $(wildcard $(srcdir)/7/rpmlist.d/*.opt) \ + f8/apt/rpmpriorities f8/pkgs/01 f8/pkgs/02 f8/pkgs/03 \ + f8/yum/yum.conf $(wildcard $(srcdir)/f8/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/f8/rpmlist.d/*.lst) $(wildcard $(srcdir)/8/rpmlist.d/*.opt) \ + $(wildcard $(srcdir)/f8/pubkeys/RPM-GPG*) \ + f9/pkgs/01 f9/pkgs/02 f9/pkgs/03 f9/yum/yum.conf \ + $(wildcard $(srcdir)/f9/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/f9/rpmlist.d/*.lst) $(wildcard $(srcdir)/9/rpmlist.d/*.opt) \ + $(wildcard $(srcdir)/f9/pubkeys/RPM-GPG*) \ + centos4/pkgs/01 centos4/pkgs/02 centos4/pkgs/03 \ + centos4/yum/yum.conf $(wildcard $(srcdir)/centos4/yum.repos.d/*.repo) \ + centos5/pkgs/01 centos5/pkgs/02 centos5/pkgs/03 \ + centos5/yum/yum.conf $(wildcard $(srcdir)/centos5/yum.repos.d/*.repo) \ + suse91/apt/rpmpriorities suse91/pkgs/01 suse91/pkgs/02 \ + suse91/rpm/macros \ + gentoo/init-vserver.sh gentoo/net.vserver \ + gentoo/reboot.sh gentoo/shutdown.sh \ + debian/debootstrap.script \ + breezy/debootstrap.script dapper/debootstrap.script \ + edgy/debootstrap.script feisty/debootstrap.script \ + gutsy/debootstrap.script hoary/debootstrap.script \ + warty/debootstrap.script + +nobase_confdistrib_DATA = rh9/apt/sources.list \ + fc1/apt/sources.list \ + fc2/apt/sources.list \ + fc3/apt/sources.list \ + fc4/apt/sources.list \ + fc5/apt/sources.list \ + fc6/apt/sources.list \ + f7/apt/sources.list \ + suse91/apt/sources.list + +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT \ + = $(nobase_distrib_SCRIPTS) + +EXTRA_DIST = $(nobase_distrib_DATA) \ + $(nobase_distrib_SCRIPTS) \ + $(nobase_confdistrib_DATA) \ + $(defaults_DATA) + +redhat_style = rh9 fc1 fc2 fc3 fc4 fc5 fc6 f7 f8 f9 centos4 centos5 +sid_style = etch lenny sid + +install-exec-hook: install-notify-xtra +install-data-hook: install-data-xtras + +install-data-xtras: + l="$(redhat_style)"; for i in $$l; do \ + ln -sf ../redhat/initpost $(DESTDIR)$(distribdir)/$$i/ && \ + ln -sf ../redhat/initpre $(DESTDIR)$(distribdir)/$$i/; \ + done + l="$(sid_style)"; for i in $$l; do \ + ln -sf debian $(DESTDIR)$(distribdir)/$$i; \ + done + $(mkinstalldirs) $(DESTDIR)$(confdir) \ + $(DESTDIR)$(confdistribdir)/.common/pubkeys \ + $(DESTDIR)$(confdefaultsdir) \ + $(DESTDIR)$(confdefaultsdir)/apps/vunify/hash \ + $(DESTDIR)$(confdefaultsdir)/files + + +include $(top_srcdir)/m4/install-notify.am diff --git a/distrib/Makefile.in b/distrib/Makefile.in new file mode 100644 index 0000000..ae15c62 --- /dev/null +++ b/distrib/Makefile.in @@ -0,0 +1,641 @@ +# Makefile.in generated by automake 1.10.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(top_srcdir)/m4/install-notify.am +subdir = distrib +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ensc_cflags.m4 \ + $(top_srcdir)/m4/ensc_changelog.m4 \ + $(top_srcdir)/m4/ensc_cxxcompiler.m4 \ + $(top_srcdir)/m4/ensc_dietlibc.m4 \ + $(top_srcdir)/m4/ensc_dietlibc_compat.m4 \ + $(top_srcdir)/m4/ensc_e2fscheck.m4 \ + $(top_srcdir)/m4/ensc_initrddir.m4 \ + $(top_srcdir)/m4/ensc_pathprog.m4 \ + $(top_srcdir)/m4/ensc_personality.m4 \ + $(top_srcdir)/m4/ensc_release.m4 \ + $(top_srcdir)/m4/ensc_syscall.m4 \ + $(top_srcdir)/m4/ensc_syscallnr.m4 \ + $(top_srcdir)/m4/ensc_uv_vrootdir.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(distribdir)" "$(DESTDIR)$(defaultsdir)" \ + "$(DESTDIR)$(confdistribdir)" "$(DESTDIR)$(distribdir)" +nobase_distribSCRIPT_INSTALL = $(install_sh_SCRIPT) +SCRIPTS = $(nobase_distrib_SCRIPTS) +SOURCES = +DIST_SOURCES = +defaultsDATA_INSTALL = $(INSTALL_DATA) +nobase_confdistribDATA_INSTALL = $(install_sh_DATA) +nobase_distribDATA_INSTALL = $(install_sh_DATA) +DATA = $(defaults_DATA) $(nobase_confdistrib_DATA) \ + $(nobase_distrib_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BZIP2 = @BZIP2@ +CAT = @CAT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHOWN = @CHOWN@ +CMP = @CMP@ +CP = @CP@ +CPIO = @CPIO@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CTAGS = @CTAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DIET = @DIET@ +DIETFLAGS = @DIETFLAGS@ +DIRNAME = @DIRNAME@ +DOXYGEN = @DOXYGEN@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ENSC_CRYPTO_CFLAGS = @ENSC_CRYPTO_CFLAGS@ +ENSC_CRYPTO_LIB = @ENSC_CRYPTO_LIB@ +ENSC_PATHPROG_SED = @ENSC_PATHPROG_SED@ +ENSC_USE_EXPENSIVE_TESTS = @ENSC_USE_EXPENSIVE_TESTS@ +ENV = @ENV@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FILE = @FILE@ +FSCK = @FSCK@ +GPG_KEY = @GPG_KEY@ +GREP = @GREP@ +GZIP = @GZIP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +IONICE = @IONICE@ +IP = @IP@ +IPTABLES = @IPTABLES@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIB_DEBUG_CPPFLAGS = @LIB_DEBUG_CPPFLAGS@ +LN = @LN@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR = @MKDIR@ +MKDIR_P = @MKDIR_P@ +MKFIFO = @MKFIFO@ +MKTEMP = @MKTEMP@ +MODPROBE = @MODPROBE@ +MOUNT = @MOUNT@ +MV = @MV@ +NAMEIF = @NAMEIF@ +NICE = @NICE@ +NOHUP = @NOHUP@ +NSS_CFLAGS = @NSS_CFLAGS@ +NSS_LIBS = @NSS_LIBS@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PS = @PS@ +PYTHON = @PYTHON@ +PYTHON_CFLAGS = @PYTHON_CFLAGS@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_LDFLAGS = @PYTHON_LDFLAGS@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +RANLIB = @RANLIB@ +RELEASE_CPPFLAGS = @RELEASE_CPPFLAGS@ +RESTORE = @RESTORE@ +RM = @RM@ +RMDIR = @RMDIR@ +RMMOD = @RMMOD@ +RSYNC = @RSYNC@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SH = @SH@ +SHELL = @SHELL@ +STRACE = @STRACE@ +STRIP = @STRIP@ +SVN2CL = @SVN2CL@ +TAC = @TAC@ +TAR = @TAR@ +TOUCH = @TOUCH@ +TTY = @TTY@ +UMOUNT = @UMOUNT@ +VCONFIG = @VCONFIG@ +VERSION = @VERSION@ +WC = @WC@ +WGET = @WGET@ +XSLTP = @XSLTP@ +XSLTPROC = @XSLTPROC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +initrddir = @initrddir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +vserverdir = @vserverdir@ +confdir = $(sysconfdir)/vservers +defaultsdir = $(pkglibdir)/defaults +distribdir = $(pkglibdir)/distributions +confdistribdir = $(confdir)/.distributions +confdefaultsdir = $(confdir)/.defaults +defaults_DATA = misc/debootstrap.mirror \ + misc/debootstrap.uri \ + misc/fstab \ + misc/mtab \ + misc/vprocunhide-files \ + misc/vunify-exclude \ + misc/environment \ + misc/context.start \ + misc/h2ext.desc + +nobase_distrib_SCRIPTS = redhat/initpost \ + redhat/initpre \ + redhat/rc.sysinit \ + redhat/initctl \ + gentoo/initpost \ + gentoo/initpre \ + debian/initpost \ + alpine/initpre \ + alpine/initpost + +nobase_distrib_DATA = defaults/devs \ + defaults/apt.conf \ + defaults/rpm/macros \ + defaults/apt/apt.conf \ + template/initpost template/initpre \ + rh9/apt/rpmpriorities rh9/pkgs/01 rh9/pkgs/02 \ + fc1/apt/rpmpriorities fc1/pkgs/01 fc1/pkgs/02 \ + fc2/apt/rpmpriorities fc2/pkgs/01 fc2/pkgs/02 \ + fc3/apt/rpmpriorities fc3/pkgs/01 fc3/pkgs/02 fc3/pkgs/03 \ + fc3/yum/yum.conf $(wildcard $(srcdir)/fc3/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc3/rpmlist.d/*.lst) $(wildcard $(srcdir)/c3/rpmlist.d/*.opt) \ + fc4/apt/rpmpriorities fc4/pkgs/01 fc4/pkgs/02 fc4/pkgs/03 \ + fc4/yum/yum.conf $(wildcard $(srcdir)/fc4/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc4/rpmlist.d/*.lst) $(wildcard $(srcdir)/c4/rpmlist.d/*.opt) \ + fc5/apt/rpmpriorities fc5/pkgs/01 fc5/pkgs/02 fc5/pkgs/03 \ + fc5/yum/yum.conf $(wildcard $(srcdir)/fc5/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc5/rpmlist.d/*.lst) $(wildcard $(srcdir)/c5/rpmlist.d/*.opt) \ + fc6/apt/rpmpriorities fc6/pkgs/01 fc6/pkgs/02 fc6/pkgs/03 \ + fc6/yum/yum.conf $(wildcard $(srcdir)/fc6/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/fc6/rpmlist.d/*.lst) $(wildcard $(srcdir)/c6/rpmlist.d/*.opt) \ + f7/apt/rpmpriorities f7/pkgs/01 f7/pkgs/02 f7/pkgs/03 \ + f7/yum/yum.conf $(wildcard $(srcdir)/f7/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/f7/rpmlist.d/*.lst) $(wildcard $(srcdir)/7/rpmlist.d/*.opt) \ + f8/apt/rpmpriorities f8/pkgs/01 f8/pkgs/02 f8/pkgs/03 \ + f8/yum/yum.conf $(wildcard $(srcdir)/f8/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/f8/rpmlist.d/*.lst) $(wildcard $(srcdir)/8/rpmlist.d/*.opt) \ + $(wildcard $(srcdir)/f8/pubkeys/RPM-GPG*) \ + f9/pkgs/01 f9/pkgs/02 f9/pkgs/03 f9/yum/yum.conf \ + $(wildcard $(srcdir)/f9/yum.repos.d/*.repo) \ + $(wildcard $(srcdir)/f9/rpmlist.d/*.lst) $(wildcard $(srcdir)/9/rpmlist.d/*.opt) \ + $(wildcard $(srcdir)/f9/pubkeys/RPM-GPG*) \ + centos4/pkgs/01 centos4/pkgs/02 centos4/pkgs/03 \ + centos4/yum/yum.conf $(wildcard $(srcdir)/centos4/yum.repos.d/*.repo) \ + centos5/pkgs/01 centos5/pkgs/02 centos5/pkgs/03 \ + centos5/yum/yum.conf $(wildcard $(srcdir)/centos5/yum.repos.d/*.repo) \ + suse91/apt/rpmpriorities suse91/pkgs/01 suse91/pkgs/02 \ + suse91/rpm/macros \ + gentoo/init-vserver.sh gentoo/net.vserver \ + gentoo/reboot.sh gentoo/shutdown.sh \ + debian/debootstrap.script \ + breezy/debootstrap.script dapper/debootstrap.script \ + edgy/debootstrap.script feisty/debootstrap.script \ + gutsy/debootstrap.script hoary/debootstrap.script \ + warty/debootstrap.script + +nobase_confdistrib_DATA = rh9/apt/sources.list \ + fc1/apt/sources.list \ + fc2/apt/sources.list \ + fc3/apt/sources.list \ + fc4/apt/sources.list \ + fc5/apt/sources.list \ + fc6/apt/sources.list \ + f7/apt/sources.list \ + suse91/apt/sources.list + +EXTRA_DIST = $(nobase_distrib_DATA) \ + $(nobase_distrib_SCRIPTS) \ + $(nobase_confdistrib_DATA) \ + $(defaults_DATA) + +redhat_style = rh9 fc1 fc2 fc3 fc4 fc5 fc6 f7 f8 f9 centos4 centos5 +sid_style = etch lenny sid +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/m4/install-notify.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu distrib/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu distrib/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +install-nobase_distribSCRIPTS: $(nobase_distrib_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(distribdir)" || $(MKDIR_P) "$(DESTDIR)$(distribdir)" + @$(am__vpath_adj_setup) \ + list='$(nobase_distrib_SCRIPTS)'; for p in $$list; do \ + $(am__vpath_adj) p=$$f; \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f $$d$$p; then \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + f=`echo "$$p" | sed 's|[^/]*$$||'`"$$f"; \ + echo " $(nobase_distribSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(distribdir)/$$f'"; \ + $(nobase_distribSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(distribdir)/$$f"; \ + else :; fi; \ + done + +uninstall-nobase_distribSCRIPTS: + @$(NORMAL_UNINSTALL) + @$(am__vpath_adj_setup) \ + list='$(nobase_distrib_SCRIPTS)'; for p in $$list; do \ + $(am__vpath_adj) p=$$f; \ + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ + f=`echo "$$p" | sed 's|[^/]*$$||'`"$$f"; \ + echo " rm -f '$(DESTDIR)$(distribdir)/$$f'"; \ + rm -f "$(DESTDIR)$(distribdir)/$$f"; \ + done + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-defaultsDATA: $(defaults_DATA) + @$(NORMAL_INSTALL) + test -z "$(defaultsdir)" || $(MKDIR_P) "$(DESTDIR)$(defaultsdir)" + @list='$(defaults_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(defaultsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(defaultsdir)/$$f'"; \ + $(defaultsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(defaultsdir)/$$f"; \ + done + +uninstall-defaultsDATA: + @$(NORMAL_UNINSTALL) + @list='$(defaults_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(defaultsdir)/$$f'"; \ + rm -f "$(DESTDIR)$(defaultsdir)/$$f"; \ + done +install-nobase_confdistribDATA: $(nobase_confdistrib_DATA) + @$(NORMAL_INSTALL) + test -z "$(confdistribdir)" || $(MKDIR_P) "$(DESTDIR)$(confdistribdir)" + @$(am__vpath_adj_setup) \ + list='$(nobase_confdistrib_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + $(am__vpath_adj) \ + echo " $(nobase_confdistribDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(confdistribdir)/$$f'"; \ + $(nobase_confdistribDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(confdistribdir)/$$f"; \ + done + +uninstall-nobase_confdistribDATA: + @$(NORMAL_UNINSTALL) + @$(am__vpath_adj_setup) \ + list='$(nobase_confdistrib_DATA)'; for p in $$list; do \ + $(am__vpath_adj) \ + echo " rm -f '$(DESTDIR)$(confdistribdir)/$$f'"; \ + rm -f "$(DESTDIR)$(confdistribdir)/$$f"; \ + done +install-nobase_distribDATA: $(nobase_distrib_DATA) + @$(NORMAL_INSTALL) + test -z "$(distribdir)" || $(MKDIR_P) "$(DESTDIR)$(distribdir)" + @$(am__vpath_adj_setup) \ + list='$(nobase_distrib_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + $(am__vpath_adj) \ + echo " $(nobase_distribDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(distribdir)/$$f'"; \ + $(nobase_distribDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(distribdir)/$$f"; \ + done + +uninstall-nobase_distribDATA: + @$(NORMAL_UNINSTALL) + @$(am__vpath_adj_setup) \ + list='$(nobase_distrib_DATA)'; for p in $$list; do \ + $(am__vpath_adj) \ + echo " rm -f '$(DESTDIR)$(distribdir)/$$f'"; \ + rm -f "$(DESTDIR)$(distribdir)/$$f"; \ + done +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(SCRIPTS) $(DATA) +installdirs: + for dir in "$(DESTDIR)$(distribdir)" "$(DESTDIR)$(defaultsdir)" "$(DESTDIR)$(confdistribdir)" "$(DESTDIR)$(distribdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-defaultsDATA install-nobase_confdistribDATA \ + install-nobase_distribDATA install-nobase_distribSCRIPTS + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook + +install-dvi: install-dvi-am + +install-exec-am: + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook + +install-html: install-html-am + +install-info: install-info-am + +install-man: + +install-pdf: install-pdf-am + +install-ps: install-ps-am + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-defaultsDATA uninstall-nobase_confdistribDATA \ + uninstall-nobase_distribDATA uninstall-nobase_distribSCRIPTS + +.MAKE: install-am install-data-am install-exec-am install-strip + +.PHONY: all all-am check check-am clean clean-generic clean-libtool \ + distclean distclean-generic distclean-libtool distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-hook \ + install-defaultsDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-exec-hook install-html install-html-am \ + install-info install-info-am install-man \ + install-nobase_confdistribDATA install-nobase_distribDATA \ + install-nobase_distribSCRIPTS install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-defaultsDATA uninstall-nobase_confdistribDATA \ + uninstall-nobase_distribDATA uninstall-nobase_distribSCRIPTS + + +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT \ + = $(nobase_distrib_SCRIPTS) + +install-exec-hook: install-notify-xtra +install-data-hook: install-data-xtras + +install-data-xtras: + l="$(redhat_style)"; for i in $$l; do \ + ln -sf ../redhat/initpost $(DESTDIR)$(distribdir)/$$i/ && \ + ln -sf ../redhat/initpre $(DESTDIR)$(distribdir)/$$i/; \ + done + l="$(sid_style)"; for i in $$l; do \ + ln -sf debian $(DESTDIR)$(distribdir)/$$i; \ + done + $(mkinstalldirs) $(DESTDIR)$(confdir) \ + $(DESTDIR)$(confdistribdir)/.common/pubkeys \ + $(DESTDIR)$(confdefaultsdir) \ + $(DESTDIR)$(confdefaultsdir)/apps/vunify/hash \ + $(DESTDIR)$(confdefaultsdir)/files + +install-exec-hook install-data-hook: install-notify-xtra + +install-notify-xtra: + @echo + @echo + @echo '***************************' + @echo '*' + @echo '* NOTE: a plain "make install" installs only the files under $$(prefix)' + @echo '* which might be insufficient. To complete the installation,' + @echo '* "make install-distribution" should be executed. See README,' + @echo '* "Notes for distributors" for details.' + @echo '*' + @echo '***************************' + @echo + @echo + +.PHONY: install-notify-xtra +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/distrib/alpine/initpost b/distrib/alpine/initpost new file mode 100644 index 0000000..d700067 --- /dev/null +++ b/distrib/alpine/initpost @@ -0,0 +1,68 @@ +#!/bin/bash + +# Copyright (C) 2007 Natanael Copa +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Called as: initpost + +cfgdir="$1" +vdir="$cfgdir"/vdir +. "$2" + +cd "$vdir" + +echo ">>> Creating missing dirs..." +$_CHROOT_SH mkdir proc sys dev home etc etc/rcL.d etc/rcK.d 2>/dev/null + +# remove mtab which is a link +if test -e "$vdir/etc/mtab"; then + $_CHROOT_SH rm /etc/mtab 2>/dev/null +fi + +# trick to install busybox links and boot services +echo ">>> Installing boot services..." +vserver="$1" +$_VSERVER "$vserver" stop &>/dev/null || true +$_VSERVER "$vserver" start --rescue --rescue-init /bin/busybox sh -c ' + /bin/busybox --install -s + /sbin/rc_add -s 20 -k syslog +' + +# set up hostname +if test -r "$cfgdir"/uts/nodename; then + echo ">>> Setting hostname..." + $_CHROOT_SH truncate /etc/hostname < "$cfgdir/uts/nodename" +fi + +# create fstab +echo -e "none\t/\tnone\tdefaults" | $_CHROOT_SH truncate /etc/fstab + +# create busybox style inittab +cat < "$cfgdir/apps/init/cmd.start" + echo "/etc/init.d/rcK" > "$cfgdir/apps/init/cmd.stop" +fi + +# vserver should not be running at this point but lets be sure +$_VSERVER "$vserver" stop &>/dev/null || true + diff --git a/distrib/alpine/initpre b/distrib/alpine/initpre new file mode 100644 index 0000000..58ea449 --- /dev/null +++ b/distrib/alpine/initpre @@ -0,0 +1,33 @@ +#!/bin/bash + +# Copyright (C) 2007 Natanael Copa +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Called as: initpost + +vdir="$1"/vdir +. "$2" + +# initstyle sanity +initstyle=sysv +test -e "$1"/apps/init/style && initstyle=$(cat "$1"/apps/init/style) + +echo ">>> Checking init-style ... $initstyle" + +if test "$initstyle" != "sysv" && test "$initstyle" != "plain" ; then + echo "!!! The init-style is not supported for Alpine Linux" + echo "!!! Please use sysv or plain" +fi + diff --git a/distrib/breezy/debootstrap.script b/distrib/breezy/debootstrap.script new file mode 100644 index 0000000..8b55993 --- /dev/null +++ b/distrib/breezy/debootstrap.script @@ -0,0 +1,163 @@ +default_mirror http://old-releases.ubuntu.com/ubuntu +mirror_style release +download_style apt +finddebs_style from-indices +variants - buildd + +work_out_debs () { + LIBC6=libc6 + if [ "$ARCH" = "alpha" -o "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi + + required="$(get_debs Priority: required)" + + if doing_variant -; then + #required="$required $(get_debs Priority: important)" + # ^^ should be getting debconf here somehow maybe + base="$(get_debs Priority: important)" + elif doing_variant buildd; then + # TODO: add Build-Essential: yes extraoverrides + #base="$(get_debs Build-Essential: yes)" + + add () { if [ "$ARCH" = "$1" ]; then eval "$2=\"\$$2 $3\""; fi; } + + base="apt binutils cpio cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 gcc-4.0-base ${LIBC6}-dev libdb4.2 libgdbm3 libstdc++6 libstdc++6-4.0-dev linux-kernel-headers make patch perl perl-modules" + + add ia64 base "libunwind7-dev" + add sparc base "lib64gcc1" + add sparc base "libc6-dev-sparc64" + add sparc base "libc6-sparc64" + fi +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + echo >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + setup_devices + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + setup_proc + in_target /sbin/ldconfig + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + baseprog=0 + bases=7 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + if doing_variant -; then + x_core_install debconf + fi + + baseprog=0 + bases=$(set -- $required; echo $#) + + info UNPACKREQ "Unpacking required packages..." + + smallyes '' | + (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" \ + dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING) 7>&1 + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + + smallyes '' | + (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" \ + dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING) 7>&1 + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" \ + dpkg --status-fd 8 --force-auto-select --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING) 7>&1 + + info CONFBASE "Configuring the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be attempted 5 times." "" \ + dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING) 7>&1 + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} diff --git a/distrib/centos4/pkgs/01 b/distrib/centos4/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/centos4/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/centos4/pkgs/02 b/distrib/centos4/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/centos4/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/centos4/pkgs/03 b/distrib/centos4/pkgs/03 new file mode 100644 index 0000000..64ab4a7 --- /dev/null +++ b/distrib/centos4/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +setup diff --git a/distrib/centos4/yum.repos.d/CentOS-Base.repo b/distrib/centos4/yum.repos.d/CentOS-Base.repo new file mode 100644 index 0000000..5c1dae3 --- /dev/null +++ b/distrib/centos4/yum.repos.d/CentOS-Base.repo @@ -0,0 +1,50 @@ +[base] +name=CentOS-4 - Base +baseurl=http://mirror.centos.org/centos/4/os/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 + +#released updates +[update] +name=CentOS-4 - Updates +baseurl=http://mirror.centos.org/centos/4/updates/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 + +#packages used/produced in the build but not released +[addons] +name=CentOS-4 - Addons +baseurl=http://mirror.centos.org/centos/4/addons/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 + +#additional packages that may be useful +[extras] +name=CentOS-4 - Extras +baseurl=http://mirror.centos.org/centos/4/extras/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-4 - Plus +baseurl=http://mirror.centos.org/centos/4/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 + +#contrib - packages by Centos Users +[contrib] +name=CentOS-4 - Contrib +baseurl=http://mirror.centos.org/centos/4/contrib/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 + +#packages in testing +[testing] +name=CentOS-4 - Testing +baseurl=http://mirror.centos.org/centos/4/testing/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 diff --git a/distrib/centos4/yum/yum.conf b/distrib/centos4/yum/yum.conf new file mode 100644 index 0000000..952f111 --- /dev/null +++ b/distrib/centos4/yum/yum.conf @@ -0,0 +1,10 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=centos-release +installonlypkgs= +exactarch=0 diff --git a/distrib/centos5/pkgs/01 b/distrib/centos5/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/centos5/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/centos5/pkgs/02 b/distrib/centos5/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/centos5/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/centos5/pkgs/03 b/distrib/centos5/pkgs/03 new file mode 100644 index 0000000..64ab4a7 --- /dev/null +++ b/distrib/centos5/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +setup diff --git a/distrib/centos5/yum.repos.d/CentOS-Base.repo b/distrib/centos5/yum.repos.d/CentOS-Base.repo new file mode 100644 index 0000000..a4281a2 --- /dev/null +++ b/distrib/centos5/yum.repos.d/CentOS-Base.repo @@ -0,0 +1,61 @@ +# CentOS-Base.repo +# +# This file uses a new mirrorlist system developed by Lance Davis for CentOS. +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-5 - Base +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os +#baseurl=http://mirror.centos.org/centos/5/os/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#released updates +[updates] +name=CentOS-5 - Updates +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates +#baseurl=http://mirror.centos.org/centos/5/updates/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#packages used/produced in the build but not released +[addons] +name=CentOS-5 - Addons +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=addons +#baseurl=http://mirror.centos.org/centos/5/addons/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#additional packages that may be useful +[extras] +name=CentOS-5 - Extras +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=extras +#baseurl=http://mirror.centos.org/centos/5/extras/$basearch/ +gpgcheck=1 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-5 - Plus +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus +#baseurl=http://mirror.centos.org/centos/5/centosplus/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 + +#contrib - packages by Centos Users +[contrib] +name=CentOS-5 - Contrib +mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=contrib +#baseurl=http://mirror.centos.org/centos/5/contrib/$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 diff --git a/distrib/centos5/yum/yum.conf b/distrib/centos5/yum/yum.conf new file mode 100644 index 0000000..d5e34e8 --- /dev/null +++ b/distrib/centos5/yum/yum.conf @@ -0,0 +1,11 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=centos-release +installonlypkgs= +exactarch=0 +persistdir=@YUMLIBDIR@ diff --git a/distrib/dapper/debootstrap.script b/distrib/dapper/debootstrap.script new file mode 100644 index 0000000..63e8582 --- /dev/null +++ b/distrib/dapper/debootstrap.script @@ -0,0 +1,170 @@ +case $ARCH in + amd64|i386|powerpc|sparc) + default_mirror http://archive.ubuntu.com/ubuntu + ;; + *) + default_mirror http://ports.ubuntu.com/ubuntu-ports + ;; +esac +mirror_style release +download_style apt +finddebs_style from-indices +variants - buildd + +work_out_debs () { + LIBC6=libc6 + if [ "$ARCH" = "alpha" -o "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi + + required="$(get_debs Priority: required)" + + if doing_variant -; then + #required="$required $(get_debs Priority: important)" + # ^^ should be getting debconf here somehow maybe + base="$(get_debs Priority: important)" + elif doing_variant buildd; then + # TODO: add Build-Essential: yes extraoverrides + #base="$(get_debs Build-Essential: yes)" + + add () { if [ "$ARCH" = "$1" ]; then eval "$2=\"\$$2 $3\""; fi; } + + base="apt binutils cpio cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 ${LIBC6}-dev libgdbm3 libstdc++6 libstdc++6-4.0-dev linux-kernel-headers make patch perl perl-modules" + + add ia64 base "libunwind7-dev" + add sparc base "lib64gcc1" + add sparc base "libc6-dev-sparc64" + add sparc base "libc6-sparc64" + fi +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + : >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + setup_devices + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + setup_proc + in_target /sbin/ldconfig + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + baseprog=0 + bases=7 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + if doing_variant -; then + x_core_install debconf + fi + + baseprog=0 + bases=$(set -- $required; echo $#) + + info UNPACKREQ "Unpacking required packages..." + + smallyes '' | + (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" \ + dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING) 7>&1 + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + + smallyes '' | + (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" \ + dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING) 7>&1 + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" \ + dpkg --status-fd 8 --force-auto-select --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING) 7>&1 + + info CONFBASE "Configuring the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be attempted 5 times." "" \ + dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING) 7>&1 + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} diff --git a/distrib/debian/debootstrap.script b/distrib/debian/debootstrap.script new file mode 100644 index 0000000..480a74d --- /dev/null +++ b/distrib/debian/debootstrap.script @@ -0,0 +1,188 @@ +case $ARCH in + amd64|i386) + ;; + *) + # ftp.debian.org only has amd64 and i386 + default_mirror http://ftp.us.debian.org/debian + ;; +esac +mirror_style release +download_style apt +finddebs_style from-indices +variants - buildd fakechroot + +if doing_variant fakechroot; then + test "$FAKECHROOT" = "true" || error 1 FAKECHROOTREQ "This variant requires fakechroot environment to be started" +fi + +work_out_debs () { + LIBC6=libc6 + if [ "$ARCH" = "alpha" -o "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi + + required="$(get_debs Priority: required)" + + if doing_variant - || doing_variant fakechroot; then + #required="$required $(get_debs Priority: important)" + # ^^ should be getting debconf here somehow maybe + base="$(get_debs Priority: important)" + elif doing_variant buildd; then + base="$(get_debs Build-Essential: yes)" + fi + + if doing_variant fakechroot; then + # ldd.fake needs binutils + required="$required binutils" + fi +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + echo >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + if [ -x $TARGET/usr/bin/md5sum.textutils -a \! -e $TARGET/usr/bin/md5sum ]; then + cp $TARGET/usr/bin/md5sum.textutils $TARGET/usr/bin/md5sum + fi + + if doing_variant fakechroot; then + setup_devices_fakechroot + else + setup_devices + fi + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + if doing_variant fakechroot; then + setup_proc_fakechroot + else + setup_proc + in_target /sbin/ldconfig + fi + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + baseprog=0 + bases=7 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" + fi + + if doing_variant fakechroot; then + install_fakechroot_tools + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + if doing_variant -; then + x_core_install debconf + fi + + baseprog=0 + bases=$(set -- $required; echo $#) + + info UNPACKREQ "Unpacking required packages..." + + exec 7>&1 + + smallyes '' | + (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" \ + dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 || echo EXITCODE $?) | + dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + + smallyes '' | + (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" \ + dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 || echo EXITCODE $?) | + dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" \ + dpkg --status-fd 8 --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 || echo EXITCODE $?) | + dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING + + info CONFBASE "Configuring the base system..." + + smallyes '' | + (repeat 5 \ + in_target_failmsg CONF_BASE_FAIL "Failure while configuring base packages." "" \ + dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 || echo EXITCODE $?) | + dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} diff --git a/distrib/debian/initpost b/distrib/debian/initpost new file mode 100755 index 0000000..9b1fb1f --- /dev/null +++ b/distrib/debian/initpost @@ -0,0 +1,144 @@ +#!/bin/bash + +# Copyright (C) 2006 Benedikt Boehm +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Called as: initpost + +# setup environment +cfgdir="$1" +vdir="$cfgdir"/vdir +. "$2" +. "$_LIB_VSERVER_BUILD_FUNCTIONS" + + +# vserver name +NAME="$cfgdir" + + +# go to vdir for chroot-sh +pushd "$vdir" &>/dev/null + + +# helper for sed in chroot +chrootsed() { + local file="$1" + shift + + sedtmp=$($_MKTEMP chrootsed.XXXXXX) + + $_CHROOT_SH cat "$file" | $_SED "$@" > $sedtmp + $_CHROOT_SH truncate "$file" < $sedtmp + + $_RM -f $sedtmp +} + + +# create a locale.gen if needed. +if test -n "$LANG" && test "$LANG" != "C"; then + echo $LANG $(locale charmap) | $_CHROOT_SH append /etc/locale.gen +fi + + +# make apt and friends work +$_CHROOT_SH truncate /etc/apt/sources.list <>> Executing post install script ... " +echo + +# start vserver before we can exec anything inside it +$_VSERVER "$NAME" stop &>/dev/null || : +startSleepingGuest "$NAME" 30 + +# run the configure commands from within the server +export LANG=C LC_ALL=C + +$_CHROOT_SH testfile /usr/sbin/locale-gen && \ + $_VSERVER "$NAME" exec /usr/sbin/locale-gen + +have_halt= +test "$(cat "$cfgdir"/apps/init/style 2>/dev/null)" != "plain" || \ + have_halt=halt + +pushd etc/init.d &>/dev/null +for i in *; do + case "$i" in + (sysklogd|syslog-ng|rsyslog|dsyslog) + ;; + (README|skeleton|sendsigs|single|rc|rc.local|rcS) + ;; + ($have_halt) + ;; + (*) + $_VSERVER "$NAME" exec update-rc.d -f "$i" remove + ;; + esac +done +popd &>/dev/null + +# stop the vserver +stopSleepingGuest "$NAME" &>/dev/null || : + +popd &>/dev/null diff --git a/distrib/defaults/apt.conf b/distrib/defaults/apt.conf new file mode 100644 index 0000000..9fadb65 --- /dev/null +++ b/distrib/defaults/apt.conf @@ -0,0 +1,3 @@ +RPM { + Ignore { "gpg-pubkey"; }; +} diff --git a/distrib/defaults/apt/apt.conf b/distrib/defaults/apt/apt.conf new file mode 100644 index 0000000..82255c0 --- /dev/null +++ b/distrib/defaults/apt/apt.conf @@ -0,0 +1,6 @@ +// Do not remove 'autogenerated' tags and keep them on an own line +// which can be commented out + +Dir { + Etc "@APTETCDIR@"; // @autogenerated@: APTETCDIR +} diff --git a/distrib/defaults/devs b/distrib/defaults/devs new file mode 100644 index 0000000..f3916f6 --- /dev/null +++ b/distrib/defaults/devs @@ -0,0 +1,9 @@ +null c 1 3 666 +zero c 1 5 666 +full c 1 7 666 +random c 1 8 644 +urandom c 1 9 644 +tty c 5 0 666 +ptmx c 5 2 666 +fd l ../proc/self/fd 777 +shm d 1777 diff --git a/distrib/defaults/rpm/macros b/distrib/defaults/rpm/macros new file mode 100644 index 0000000..8bada0d --- /dev/null +++ b/distrib/defaults/rpm/macros @@ -0,0 +1,4 @@ +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725 +# you have to use at least one language beside 'C' +%_install_langs C:de:en:es:fr +%_netsharedpath /dev:/etc/rc.d/init.d/halt:/sbin/new-kernel-pkg:/usr/bin/rhgb-client diff --git a/distrib/edgy/debootstrap.script b/distrib/edgy/debootstrap.script new file mode 100644 index 0000000..7f656b6 --- /dev/null +++ b/distrib/edgy/debootstrap.script @@ -0,0 +1,170 @@ +case $ARCH in + amd64|i386|powerpc|sparc) + default_mirror http://archive.ubuntu.com/ubuntu + ;; + *) + default_mirror http://ports.ubuntu.com/ubuntu-ports + ;; +esac +mirror_style release +download_style apt +finddebs_style from-indices +variants - buildd + +work_out_debs () { + LIBC6=libc6 + if [ "$ARCH" = "alpha" -o "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi + + required="$(get_debs Priority: required)" + + if doing_variant -; then + #required="$required $(get_debs Priority: important)" + # ^^ should be getting debconf here somehow maybe + base="$(get_debs Priority: important)" + elif doing_variant buildd; then + # TODO: add Build-Essential: yes extraoverrides + #base="$(get_debs Build-Essential: yes)" + + add () { if [ "$ARCH" = "$1" ]; then eval "$2=\"\$$2 $3\""; fi; } + + base="apt binutils cpio cpp cpp-4.1 dpkg-dev g++ g++-4.1 gcc gcc-4.1 ${LIBC6}-dev libdb4.4 libgdbm3 libstdc++6 libstdc++6-4.1-dev linux-libc-dev make patch perl perl-modules" + + add ia64 base "libunwind7-dev" + add sparc base "lib64gcc1" + add sparc base "libc6-dev-sparc64" + add sparc base "libc6-sparc64" + fi +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + : >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + setup_devices + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + setup_proc + in_target /sbin/ldconfig + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + baseprog=0 + bases=7 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + if doing_variant -; then + x_core_install debconf + fi + + baseprog=0 + bases=$(set -- $required; echo $#) + + info UNPACKREQ "Unpacking required packages..." + + smallyes '' | + (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" \ + dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING) 7>&1 + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + + smallyes '' | + (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" \ + dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING) 7>&1 + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" \ + dpkg --status-fd 8 --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING) 7>&1 + + info CONFBASE "Configuring the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be attempted 5 times." "" \ + dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING) 7>&1 + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} diff --git a/distrib/f7/apt/rpmpriorities b/distrib/f7/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/f7/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/f7/apt/sources.list b/distrib/f7/apt/sources.list new file mode 100644 index 0000000..b833d31 --- /dev/null +++ b/distrib/f7/apt/sources.list @@ -0,0 +1,7 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 3/i386 os patches updates + +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora 3/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora 3/i386 os updates +# rpm http://download.fedora.us/fedora/fedora 3/i386 os updates diff --git a/distrib/f7/pkgs/01 b/distrib/f7/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/f7/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/f7/pkgs/02 b/distrib/f7/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/f7/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/f7/pkgs/03 b/distrib/f7/pkgs/03 new file mode 100644 index 0000000..218b1e6 --- /dev/null +++ b/distrib/f7/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +initscripts diff --git a/distrib/f7/rpmlist.d/00.lst b/distrib/f7/rpmlist.d/00.lst new file mode 100644 index 0000000..85a9617 --- /dev/null +++ b/distrib/f7/rpmlist.d/00.lst @@ -0,0 +1,7 @@ +basesystem-*.rpm +filesystem-*.rpm +glibc-common-*.rpm +glibc-[0-9]*.rpm +libgcc-[0-9]*.rpm +setup-*.rpm +tzdata-*.rpm diff --git a/distrib/f7/yum.repos.d/fedora-development.repo b/distrib/f7/yum.repos.d/fedora-development.repo new file mode 100644 index 0000000..3d5861f --- /dev/null +++ b/distrib/f7/yum.repos.d/fedora-development.repo @@ -0,0 +1,42 @@ +# These packages are untested and still under development. This +# repository is used for updates to test releases, and for +# development of new releases. +# +# This repository can see significant daily turnover and major +# functionality changes which cause unexpected problems with other +# development packages. Please use these packages if you want to work +# with the Fedora developers by testing these new development packages. +# +# fedora-test-list@redhat.com is available as a discussion forum for +# testing and troubleshooting for development packages in conjunction +# with new test releases. +# +# More information is available at http://fedoraproject.org/wiki/Testing +# +# Reproducible and reportable issues should be filed at +# http://bugzilla.redhat.com/. +# +# Product: Fedora +# Version: devel + +[development] +name=Fedora - Development +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch +enabled=0 +gpgcheck=0 + +[development-debuginfo] +name=Fedora - Development - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch +enabled=0 +gpgcheck=0 + +[development-source] +name=Fedora - Development - Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch +enabled=0 +gpgcheck=0 + diff --git a/distrib/f7/yum.repos.d/fedora-updates-testing.repo b/distrib/f7/yum.repos.d/fedora-updates-testing.repo new file mode 100644 index 0000000..ec933e4 --- /dev/null +++ b/distrib/f7/yum.repos.d/fedora-updates-testing.repo @@ -0,0 +1,23 @@ +[updates-testing] +name=Fedora 7 - $basearch - Test Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/7/$basearch/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f7&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-debuginfo] +name=Fedora 7 - $basearch - Test Updates Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/7/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f7&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-source] +name=Fedora 7 - Test Updates Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/7/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f7&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora-test diff --git a/distrib/f7/yum.repos.d/fedora-updates.repo b/distrib/f7/yum.repos.d/fedora-updates.repo new file mode 100644 index 0000000..c786e96 --- /dev/null +++ b/distrib/f7/yum.repos.d/fedora-updates.repo @@ -0,0 +1,23 @@ +[updates] +name=Fedora 7 - $basearch - Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/7/$basearch/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f7&arch=$basearch +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora + +[updates-debuginfo] +name=Fedora 7 - $basearch - Updates - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/7/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f7&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora + +[updates-source] +name=Fedora 7 - Updates Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/7/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f7&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora diff --git a/distrib/f7/yum.repos.d/fedora.repo b/distrib/f7/yum.repos.d/fedora.repo new file mode 100644 index 0000000..e3da381 --- /dev/null +++ b/distrib/f7/yum.repos.d/fedora.repo @@ -0,0 +1,23 @@ +[fedora] +name=Fedora 7 - $basearch +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-7&arch=$basearch +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY + +[fedora-debuginfo] +name=Fedora 7 - $basearch - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-7&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY + +[fedora-source] +name=Fedora 7 - Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-7&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/7/Everything/$basearch/os/RPM-GPG-KEY diff --git a/distrib/f7/yum/yum.conf b/distrib/f7/yum/yum.conf new file mode 100644 index 0000000..cd0ccc9 --- /dev/null +++ b/distrib/f7/yum/yum.conf @@ -0,0 +1,11 @@ +[main] +cachedir=@YUMCACHEDIR@ +persistdir=@YUMLIBDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=fedora-release +installonlypkgs= +exactarch=0 diff --git a/distrib/f8/apt/rpmpriorities b/distrib/f8/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/f8/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/f8/pkgs/01 b/distrib/f8/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/f8/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/f8/pkgs/02 b/distrib/f8/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/f8/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/f8/pkgs/03 b/distrib/f8/pkgs/03 new file mode 100644 index 0000000..218b1e6 --- /dev/null +++ b/distrib/f8/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +initscripts diff --git a/distrib/f8/pubkeys/RPM-GPG-KEY-fedora-8-and-9-primary b/distrib/f8/pubkeys/RPM-GPG-KEY-fedora-8-and-9-primary new file mode 100644 index 0000000..f9459a7 --- /dev/null +++ b/distrib/f8/pubkeys/RPM-GPG-KEY-fedora-8-and-9-primary @@ -0,0 +1,40 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.9 (GNU/Linux) + +mQGiBEi11ZYRBACjAKCM0ckAnqEZWP/z96Bb4c6WH252/2JJiC8BWw20hBhJ0CT1 +Jzfg6rhpFsB1Hv8/yFbV2bMKzHP5QySMkJ7Jp/mlDMwj0mx5dGoxshSED40E4b1h +ZRkuvyVKKn4IKE9vIhl1nhudwSIjsoYD3wH2wbE2CHVg/kB4vuBaP5WPSwCgndSE +sAssoEObir4Ndq/gep6jFjEEAI53sM8u2PQ9inKNXrkuw+GCUMXChk/zhZhmdyDx +cySIgy17X17/jF+TnXsCSXTo87Oz9X4BAk+fzHPKqTLm0/RjjuQd1DwNxsVkPbQJ +QqnIFwfnSZmVcfbZ0u/KLaSUPwi3PjzzBI4L8fsTwspZmpuipRM/pCh1tbOo3Lbq +WqSyA/9wlKJ11Ycvr/yZYlbqipKC4hFJnu4y/DD2xwBMNT5vkQeQNRlLh8smqmMf +FNoCUPwGSiuYG2wP1OLX6EG6uCVStjcvWvONtCKgG4TdsfPv4tMPO1dtnK97CVjz +10HJ5qC5WxLNqQY5U5jRnOyzq4yE3cakXk5shLsT/ch5lffPErQrRmVkb3JhICg4 +IGFuZCA5KSA8ZmVkb3JhQGZlZG9yYXByb2plY3Qub3JnPohgBBMRAgAgBQJItdWW +AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQYq7D3G3yGW8mgACfaXJGS96k ++ggwwo0A4GC7iH6T1awAn12SDBWY8X1wq45trdHGRLig68C0uQQNBEi11ZYQEADB +hyS3+Fgz+qLPlYe8Ic47435mwDzUeCFnNO+yA3c1OD1PE5OVi4Fco/pHUfMkMSFo +p0FM6iCkudzGQKWgmlJ8TTsMK20VAXTcUBzksOx9WJBSIHVGnAVSuMb+S5Rclma1 +tiEbpNRkEFcUKRz85XDD5s072F1tY31yOObptzFbRi5m8fZvJXlFNkmkp/si70SN +ZcyMFwXEiPDPmnauAkZfD+rJ7c19C/MlQ0HI3IATxp3DfCCnN7FcTRPvieFUYoq/ +z/cjOQioliAhZE0zMJtiY+YEuxL65d/zj536kMmO6v9d31n1GPGD5XS3HGK2jHbw +MCDKzGVJTFpT7K3jb2ZJ7H7MRJ+bbEgPBMZiFiUml+wbTsEempLrK2fkFxqIfrpl +DuGxgBVqyydfC/nnaiBR6pjeKV2veNbAL6f+G3SaQ0LykreiZB/CDfLFJQBE7M6T +5wGIF1WPCmsekkQyPUUbWpxtdmECepOAOETgGpzoySyNf0V4WRTfHLXYRYbplPzD +qPdRSba5kmrhmFBXimHrybvjH8n4Z+s33dbJigjv1L/XDhxL1QZfUBZr+u6LNDKQ +BNdb/1o7op1kcJ1dPqd5nNAMwbvAkTEnvsdPPuBg7rAju3lV5i7ZbMRVHwuhHjBt +BMBcZt5PBr9IianAqxE6eGJyWkSuY7i2Ig/1+pcvBwADBQ/+IOXV47IbdrfgUgv9 +MYlnlk4GBUz1lIRoZzyzsRiRsWNqN8BNtnZe1IGgc/5G3sIOLYJ+XNSAOphLkLxb +WXsNDkRt64Z+ZmjOlqW34TxyEyzeJLZC8cL2Zu8U61oPT27LFe929AJD1CdzeEZT +qd2gfxm7JEw2Vxb76f299qhe/ubgd6VaG+WaNBx9yFdUNAB/oK3arGL0LxUR5j87 +CAafpqjNQteZmd6yJ5dJAkwlJ1RXJaOMOdE0V/ARsV38cxNce31dazbmf01QGhxW +IZBmAdoqeoykCQ/rIwN7WakwxHf/lz522qa0E4RQ8niKktdHK26goQ3H6nQcbS6i +DgHckODOm3ZO4NTwRPM0UhFw663cQt289xdODJWCdb4P17AV3oqCUJBf82PbHIhD +I5fZTp2Bgn2Gu2WseNqQJQCq+S2uXUxxqMiBWaOk8+8i9aMdBZkTHn8KIfhrdSW3 +gbpyIWITDY5KQqJy9AQk3NfTkavMZy09q5mUD5Tiw+X75Taj8IbZJMuO2AsEUvFX +rLBuY7FyLX0gyq6no44Enhsq5H9/1yx1EIAx1pgYyPW+0IIPdGHFW33yKHfbo8wf +2MITxZpd3eaNifBfO3iGOAOJAFYAO7wXeHHX43Syyj5KGlOAdaX7Dp4gU8nGTeFi +2B7oYh0vSvB7F/6Tu/mHilzenzeISQQYEQIACQUCSLXVlgIbDAAKCRBirsPcbfIZ +b+s6AJ9MxzebTDyCoSGb17gmU23fAk72XwCgmdn5nV35GD8LYcojs8O7HXPfLrk= +=Bp6s +-----END PGP PUBLIC KEY BLOCK----- diff --git a/distrib/f8/pubkeys/RPM-GPG-KEY-fedora-test-8-and-9-primary b/distrib/f8/pubkeys/RPM-GPG-KEY-fedora-test-8-and-9-primary new file mode 100644 index 0000000..55b7a42 --- /dev/null +++ b/distrib/f8/pubkeys/RPM-GPG-KEY-fedora-test-8-and-9-primary @@ -0,0 +1,41 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.9 (GNU/Linux) + +mQGiBEi12pURBACCiC3NeEdXbE1AY59iPwsgmcjOBivSe3nhU90AnLjg2qvaizqa +420fbq1bNlQvU83+C7ZP2FJ5pVLYQBKHGIP9VTbZL1yIp5DZdvpd1PDdjJPep2fV +1y8Iozd694ujn1DVG2utnpXhnJxzXmXsoFMu2xGvV+sTKQSS8vJJc9Eq2wCgvvZ+ +FTtk2lbaCmgTVZpFIeCEOUED/AwvjJjDy846GI+H5o+J9Rbtcp2mWNqaIF8DRfGA +JfbH9H14Q/4WW75Y+HNoSVWTiZeLJspHR5yUqsU30D+fFi7I9HdKJWWMEAk5sATe +znIGTPvMaBFomRT+Mm/ugkgZPpAwBNbxapCEH8U2qF2c5he9pGvyWwWsMydEaffX +9DrNA/421ns/pPoL7EYOhWsvuC8Te+LVNkfC3beLpYSEcQcu0rsCSuy0+t98zbCY +UKUE+rTWAveaMdFA0o9it/fUVRzNAkX62Zg8aNLAtkAurjqxwqJ6QdMydNqrQBXA +P3GLZoKg+YveEEx8jxZ4tC1Z3VWHzXSzO4ej30Cl1Ae2aN1LMrQzRmVkb3JhICg4 +IGFuZCA5IHRlc3RpbmcpIDxmZWRvcmFAZmVkb3JhcHJvamVjdC5vcmc+iGAEExEC +ACAFAki12pUCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRCOaTtN35sK6a0G +AKC33X7/usCOS6uHj2OiBxQwLY7++wCgvG5hzgNys5cfbzp2YAgPoTVzXEm5BA0E +SLXalRAQAJHPSkzNsHStgqXLojWIYlnSCiGtmpEZentHpPrw653cOhCQ4VGk9YhA +eSgTIE9hBav2zNR/lHLRvAIIGvAqCF3QcVJgWR/A6MeWbysZhlRnLGJXGJMDceO8 +D8jno6ngh0nzenQiB4S4Vpa/PEzh9tEzZ33ktRHJUTKrtCO5r1haLAGp6csh2pa7 +Mfu3jFBKwFwTkwyUE+odadtQBZAIu4ZnSFqpX5JXfHdjn/GbzlpJ8UsSPFAy7wZ1 +VSl65g+j6TADUtL2wPB1GxIJSs7kVvM5YwyddXeVOrpJwD3ayNSGzqnL1rqL3ZNn +Ho6NIc2dMouwx3EPvrGt/j3xqCQej2+63r8d9qLdOtvvTcJnlDIYR61+EKBKYugN +CVmcztNa8N44P3mHFX2zWbURYSEiCL8H8K6esPB1a82eOGpP+hnDc+BwoLMniDb9 +SIwsRtxhyGmHUnP0h+HyRbC9ykveeoqA0Viyvs0qicd6lIhMtaA8RXmiv/PkEzX8 +QqhH+zU1G7M5dH8qN9mJ7zJ4jB0y5WkoHXwIhPjzgKERMmvh1Cepr1CyKxP+HoVz +MexUf7bfV4e874Dnqgsga5OS5l53NQj7lp1A41lehVgPxFP5Z11NsmJY4Vzwk2Yc +Twt0IKLa7jSI/NoWpjU4ooAcg/klVNf2CQEVFUPpG0BTSaflV2yrAAMFD/oCBJuM +GSSzYwFmwVTfLgjCAs8e12wc02I1BslWC+hNmn6O+5Vc9W7bpphZfX5SWuiRRh7E +uEW5m1jJ/79W31g6DX64e4JJ3nIU5At1KdDWwZL8KDTHeHMHci7yZ5BdXT0yfG9g +fjFtNeK6McbDeLJFIB8kFMoEjjU+RuUPZ8fli7EbY5ij2Yi9XuKMbbOK0nBLJmxh +KyXtMxlcYZo4Kr/k7XJY4yPZIYSITNfQaekzkStxbPMevgh5x7rT5XOz7c8/NI3n +s+aifWxlerjP9Ls+OQHyF+fU+9XymN7+PI8UwQjTSC0p7THz52zMYgJ0Rz4oPbwZ +aR9C+w/fnNF4k/wIpDWwv0yrxbG6pGrlMLGT9m2pUdwJWg+3jVMx3PlgAcNPXUyu +64GhIneaqFQj1Mqy3+GCYr5wHSkRJRmxaMcbwGC4890tbfbS6bLKPYAtM7AthRUL +Pkt6de/CdJOK8gQjc27rPCxzEEil28xijpa4XGOp0P5nk8BL4Bp2g2iJnh6xJJrN +OY6UH2ZGRFl1cv8/sDBVMc/KfXaDgMh8fDhYkzRPkLPKdicdDRGUYXtmNf1NurT8 +W12YKqlj9C28mv6rLesHAGT1lIfkwvcbg/dE539c6VHg05DdfsD05io4WvMf9iy/ +DfIiGqnRvoXvfvrVi5Y4AMAkJKNydxa47b3wG4hIBBgRAgAJBQJItdqVAhsMAAoJ +EI5pO03fmwrp7Q8An1wCbS0WAB+U3TZVA/z+U4yhcv08AJUQGF9I7RlUxkOPAwGE +X3ofpIDE +=yrQo +-----END PGP PUBLIC KEY BLOCK----- diff --git a/distrib/f8/rpmlist.d/00.lst b/distrib/f8/rpmlist.d/00.lst new file mode 100644 index 0000000..85a9617 --- /dev/null +++ b/distrib/f8/rpmlist.d/00.lst @@ -0,0 +1,7 @@ +basesystem-*.rpm +filesystem-*.rpm +glibc-common-*.rpm +glibc-[0-9]*.rpm +libgcc-[0-9]*.rpm +setup-*.rpm +tzdata-*.rpm diff --git a/distrib/f8/yum.repos.d/fedora-development.repo b/distrib/f8/yum.repos.d/fedora-development.repo new file mode 100644 index 0000000..89c03e3 --- /dev/null +++ b/distrib/f8/yum.repos.d/fedora-development.repo @@ -0,0 +1,48 @@ +# These packages are untested and still under development. This +# repository is used for updates to test releases, and for +# development of new releases. +# +# This repository can see significant daily turnover and major +# functionality changes which cause unexpected problems with other +# development packages. Please use these packages if you want to work +# with the Fedora developers by testing these new development packages. +# +# fedora-test-list@redhat.com is available as a discussion forum for +# testing and troubleshooting for development packages in conjunction +# with new test releases. +# +# More information is available at http://fedoraproject.org/wiki/Testing +# +# Reproducible and reportable issues should be filed at +# http://bugzilla.redhat.com/. +# +# Product: Fedora +# Version: devel + +[development] +name=Fedora - Development +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch +enabled=0 +gpgcheck=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora-test http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora + +[development-debuginfo] +name=Fedora - Development - Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch +enabled=0 +gpgcheck=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora-test http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora + +[development-source] +name=Fedora - Development - Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch +enabled=0 +gpgcheck=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora-test http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora + diff --git a/distrib/f8/yum.repos.d/fedora-updates-testing.repo b/distrib/f8/yum.repos.d/fedora-updates-testing.repo new file mode 100644 index 0000000..9912418 --- /dev/null +++ b/distrib/f8/yum.repos.d/fedora-updates-testing.repo @@ -0,0 +1,26 @@ +[updates-testing] +name=Fedora 8 - $basearch - Test Updates +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/8/$basearch.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f8.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-debuginfo] +name=Fedora 8 - $basearch - Test Updates Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/8/$basearch/debug.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f8.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-source] +name=Fedora 8 - Test Updates Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/8/SRPMS.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f8.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora-test diff --git a/distrib/f8/yum.repos.d/fedora-updates.repo b/distrib/f8/yum.repos.d/fedora-updates.repo new file mode 100644 index 0000000..8161e1f --- /dev/null +++ b/distrib/f8/yum.repos.d/fedora-updates.repo @@ -0,0 +1,26 @@ +[updates] +name=Fedora 8 - $basearch - Updates +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/8/$basearch.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8.newkey&arch=$basearch +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora + +[updates-debuginfo] +name=Fedora 8 - $basearch - Updates - Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/8/$basearch.newkey/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f8.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora + +[updates-source] +name=Fedora 8 - Updates Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/8/SRPMS.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f8.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora diff --git a/distrib/f8/yum.repos.d/fedora.repo b/distrib/f8/yum.repos.d/fedora.repo new file mode 100644 index 0000000..f98da56 --- /dev/null +++ b/distrib/f8/yum.repos.d/fedora.repo @@ -0,0 +1,26 @@ +[fedora] +name=Fedora 8 - $basearch +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY + +[fedora-debuginfo] +name=Fedora 8 - $basearch - Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-8&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY + +[fedora-source] +name=Fedora 8 - Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Everything/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-8&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/8/Everything/$basearch/os/RPM-GPG-KEY diff --git a/distrib/f8/yum/yum.conf b/distrib/f8/yum/yum.conf new file mode 100644 index 0000000..cd0ccc9 --- /dev/null +++ b/distrib/f8/yum/yum.conf @@ -0,0 +1,11 @@ +[main] +cachedir=@YUMCACHEDIR@ +persistdir=@YUMLIBDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=fedora-release +installonlypkgs= +exactarch=0 diff --git a/distrib/f9/pkgs/01 b/distrib/f9/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/f9/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/f9/pkgs/02 b/distrib/f9/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/f9/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/f9/pkgs/03 b/distrib/f9/pkgs/03 new file mode 100644 index 0000000..218b1e6 --- /dev/null +++ b/distrib/f9/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +initscripts diff --git a/distrib/f9/pubkeys/RPM-GPG-KEY-fedora-8-and-9-primary b/distrib/f9/pubkeys/RPM-GPG-KEY-fedora-8-and-9-primary new file mode 100644 index 0000000..f9459a7 --- /dev/null +++ b/distrib/f9/pubkeys/RPM-GPG-KEY-fedora-8-and-9-primary @@ -0,0 +1,40 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.9 (GNU/Linux) + +mQGiBEi11ZYRBACjAKCM0ckAnqEZWP/z96Bb4c6WH252/2JJiC8BWw20hBhJ0CT1 +Jzfg6rhpFsB1Hv8/yFbV2bMKzHP5QySMkJ7Jp/mlDMwj0mx5dGoxshSED40E4b1h +ZRkuvyVKKn4IKE9vIhl1nhudwSIjsoYD3wH2wbE2CHVg/kB4vuBaP5WPSwCgndSE +sAssoEObir4Ndq/gep6jFjEEAI53sM8u2PQ9inKNXrkuw+GCUMXChk/zhZhmdyDx +cySIgy17X17/jF+TnXsCSXTo87Oz9X4BAk+fzHPKqTLm0/RjjuQd1DwNxsVkPbQJ +QqnIFwfnSZmVcfbZ0u/KLaSUPwi3PjzzBI4L8fsTwspZmpuipRM/pCh1tbOo3Lbq +WqSyA/9wlKJ11Ycvr/yZYlbqipKC4hFJnu4y/DD2xwBMNT5vkQeQNRlLh8smqmMf +FNoCUPwGSiuYG2wP1OLX6EG6uCVStjcvWvONtCKgG4TdsfPv4tMPO1dtnK97CVjz +10HJ5qC5WxLNqQY5U5jRnOyzq4yE3cakXk5shLsT/ch5lffPErQrRmVkb3JhICg4 +IGFuZCA5KSA8ZmVkb3JhQGZlZG9yYXByb2plY3Qub3JnPohgBBMRAgAgBQJItdWW +AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQYq7D3G3yGW8mgACfaXJGS96k ++ggwwo0A4GC7iH6T1awAn12SDBWY8X1wq45trdHGRLig68C0uQQNBEi11ZYQEADB +hyS3+Fgz+qLPlYe8Ic47435mwDzUeCFnNO+yA3c1OD1PE5OVi4Fco/pHUfMkMSFo +p0FM6iCkudzGQKWgmlJ8TTsMK20VAXTcUBzksOx9WJBSIHVGnAVSuMb+S5Rclma1 +tiEbpNRkEFcUKRz85XDD5s072F1tY31yOObptzFbRi5m8fZvJXlFNkmkp/si70SN +ZcyMFwXEiPDPmnauAkZfD+rJ7c19C/MlQ0HI3IATxp3DfCCnN7FcTRPvieFUYoq/ +z/cjOQioliAhZE0zMJtiY+YEuxL65d/zj536kMmO6v9d31n1GPGD5XS3HGK2jHbw +MCDKzGVJTFpT7K3jb2ZJ7H7MRJ+bbEgPBMZiFiUml+wbTsEempLrK2fkFxqIfrpl +DuGxgBVqyydfC/nnaiBR6pjeKV2veNbAL6f+G3SaQ0LykreiZB/CDfLFJQBE7M6T +5wGIF1WPCmsekkQyPUUbWpxtdmECepOAOETgGpzoySyNf0V4WRTfHLXYRYbplPzD +qPdRSba5kmrhmFBXimHrybvjH8n4Z+s33dbJigjv1L/XDhxL1QZfUBZr+u6LNDKQ +BNdb/1o7op1kcJ1dPqd5nNAMwbvAkTEnvsdPPuBg7rAju3lV5i7ZbMRVHwuhHjBt +BMBcZt5PBr9IianAqxE6eGJyWkSuY7i2Ig/1+pcvBwADBQ/+IOXV47IbdrfgUgv9 +MYlnlk4GBUz1lIRoZzyzsRiRsWNqN8BNtnZe1IGgc/5G3sIOLYJ+XNSAOphLkLxb +WXsNDkRt64Z+ZmjOlqW34TxyEyzeJLZC8cL2Zu8U61oPT27LFe929AJD1CdzeEZT +qd2gfxm7JEw2Vxb76f299qhe/ubgd6VaG+WaNBx9yFdUNAB/oK3arGL0LxUR5j87 +CAafpqjNQteZmd6yJ5dJAkwlJ1RXJaOMOdE0V/ARsV38cxNce31dazbmf01QGhxW +IZBmAdoqeoykCQ/rIwN7WakwxHf/lz522qa0E4RQ8niKktdHK26goQ3H6nQcbS6i +DgHckODOm3ZO4NTwRPM0UhFw663cQt289xdODJWCdb4P17AV3oqCUJBf82PbHIhD +I5fZTp2Bgn2Gu2WseNqQJQCq+S2uXUxxqMiBWaOk8+8i9aMdBZkTHn8KIfhrdSW3 +gbpyIWITDY5KQqJy9AQk3NfTkavMZy09q5mUD5Tiw+X75Taj8IbZJMuO2AsEUvFX +rLBuY7FyLX0gyq6no44Enhsq5H9/1yx1EIAx1pgYyPW+0IIPdGHFW33yKHfbo8wf +2MITxZpd3eaNifBfO3iGOAOJAFYAO7wXeHHX43Syyj5KGlOAdaX7Dp4gU8nGTeFi +2B7oYh0vSvB7F/6Tu/mHilzenzeISQQYEQIACQUCSLXVlgIbDAAKCRBirsPcbfIZ +b+s6AJ9MxzebTDyCoSGb17gmU23fAk72XwCgmdn5nV35GD8LYcojs8O7HXPfLrk= +=Bp6s +-----END PGP PUBLIC KEY BLOCK----- diff --git a/distrib/f9/pubkeys/RPM-GPG-KEY-fedora-test-8-and-9-primary b/distrib/f9/pubkeys/RPM-GPG-KEY-fedora-test-8-and-9-primary new file mode 100644 index 0000000..55b7a42 --- /dev/null +++ b/distrib/f9/pubkeys/RPM-GPG-KEY-fedora-test-8-and-9-primary @@ -0,0 +1,41 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.9 (GNU/Linux) + +mQGiBEi12pURBACCiC3NeEdXbE1AY59iPwsgmcjOBivSe3nhU90AnLjg2qvaizqa +420fbq1bNlQvU83+C7ZP2FJ5pVLYQBKHGIP9VTbZL1yIp5DZdvpd1PDdjJPep2fV +1y8Iozd694ujn1DVG2utnpXhnJxzXmXsoFMu2xGvV+sTKQSS8vJJc9Eq2wCgvvZ+ +FTtk2lbaCmgTVZpFIeCEOUED/AwvjJjDy846GI+H5o+J9Rbtcp2mWNqaIF8DRfGA +JfbH9H14Q/4WW75Y+HNoSVWTiZeLJspHR5yUqsU30D+fFi7I9HdKJWWMEAk5sATe +znIGTPvMaBFomRT+Mm/ugkgZPpAwBNbxapCEH8U2qF2c5he9pGvyWwWsMydEaffX +9DrNA/421ns/pPoL7EYOhWsvuC8Te+LVNkfC3beLpYSEcQcu0rsCSuy0+t98zbCY +UKUE+rTWAveaMdFA0o9it/fUVRzNAkX62Zg8aNLAtkAurjqxwqJ6QdMydNqrQBXA +P3GLZoKg+YveEEx8jxZ4tC1Z3VWHzXSzO4ej30Cl1Ae2aN1LMrQzRmVkb3JhICg4 +IGFuZCA5IHRlc3RpbmcpIDxmZWRvcmFAZmVkb3JhcHJvamVjdC5vcmc+iGAEExEC +ACAFAki12pUCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRCOaTtN35sK6a0G +AKC33X7/usCOS6uHj2OiBxQwLY7++wCgvG5hzgNys5cfbzp2YAgPoTVzXEm5BA0E +SLXalRAQAJHPSkzNsHStgqXLojWIYlnSCiGtmpEZentHpPrw653cOhCQ4VGk9YhA +eSgTIE9hBav2zNR/lHLRvAIIGvAqCF3QcVJgWR/A6MeWbysZhlRnLGJXGJMDceO8 +D8jno6ngh0nzenQiB4S4Vpa/PEzh9tEzZ33ktRHJUTKrtCO5r1haLAGp6csh2pa7 +Mfu3jFBKwFwTkwyUE+odadtQBZAIu4ZnSFqpX5JXfHdjn/GbzlpJ8UsSPFAy7wZ1 +VSl65g+j6TADUtL2wPB1GxIJSs7kVvM5YwyddXeVOrpJwD3ayNSGzqnL1rqL3ZNn +Ho6NIc2dMouwx3EPvrGt/j3xqCQej2+63r8d9qLdOtvvTcJnlDIYR61+EKBKYugN +CVmcztNa8N44P3mHFX2zWbURYSEiCL8H8K6esPB1a82eOGpP+hnDc+BwoLMniDb9 +SIwsRtxhyGmHUnP0h+HyRbC9ykveeoqA0Viyvs0qicd6lIhMtaA8RXmiv/PkEzX8 +QqhH+zU1G7M5dH8qN9mJ7zJ4jB0y5WkoHXwIhPjzgKERMmvh1Cepr1CyKxP+HoVz +MexUf7bfV4e874Dnqgsga5OS5l53NQj7lp1A41lehVgPxFP5Z11NsmJY4Vzwk2Yc +Twt0IKLa7jSI/NoWpjU4ooAcg/klVNf2CQEVFUPpG0BTSaflV2yrAAMFD/oCBJuM +GSSzYwFmwVTfLgjCAs8e12wc02I1BslWC+hNmn6O+5Vc9W7bpphZfX5SWuiRRh7E +uEW5m1jJ/79W31g6DX64e4JJ3nIU5At1KdDWwZL8KDTHeHMHci7yZ5BdXT0yfG9g +fjFtNeK6McbDeLJFIB8kFMoEjjU+RuUPZ8fli7EbY5ij2Yi9XuKMbbOK0nBLJmxh +KyXtMxlcYZo4Kr/k7XJY4yPZIYSITNfQaekzkStxbPMevgh5x7rT5XOz7c8/NI3n +s+aifWxlerjP9Ls+OQHyF+fU+9XymN7+PI8UwQjTSC0p7THz52zMYgJ0Rz4oPbwZ +aR9C+w/fnNF4k/wIpDWwv0yrxbG6pGrlMLGT9m2pUdwJWg+3jVMx3PlgAcNPXUyu +64GhIneaqFQj1Mqy3+GCYr5wHSkRJRmxaMcbwGC4890tbfbS6bLKPYAtM7AthRUL +Pkt6de/CdJOK8gQjc27rPCxzEEil28xijpa4XGOp0P5nk8BL4Bp2g2iJnh6xJJrN +OY6UH2ZGRFl1cv8/sDBVMc/KfXaDgMh8fDhYkzRPkLPKdicdDRGUYXtmNf1NurT8 +W12YKqlj9C28mv6rLesHAGT1lIfkwvcbg/dE539c6VHg05DdfsD05io4WvMf9iy/ +DfIiGqnRvoXvfvrVi5Y4AMAkJKNydxa47b3wG4hIBBgRAgAJBQJItdqVAhsMAAoJ +EI5pO03fmwrp7Q8An1wCbS0WAB+U3TZVA/z+U4yhcv08AJUQGF9I7RlUxkOPAwGE +X3ofpIDE +=yrQo +-----END PGP PUBLIC KEY BLOCK----- diff --git a/distrib/f9/rpmlist.d/00.lst b/distrib/f9/rpmlist.d/00.lst new file mode 100644 index 0000000..44d59c2 --- /dev/null +++ b/distrib/f9/rpmlist.d/00.lst @@ -0,0 +1,25 @@ +basesystem-*.rpm +filesystem-*.rpm +glibc-common-*.rpm +glibc-[0-9]*.rpm +libgcc-[0-9]*.rpm +setup-*.rpm +tzdata-*.rpm +bash-[0-9]*.rpm +ncurses-libs-*.rpm +ncurses-[0-9]*.rpm +coreutils-[0-9]*.rpm +ncurses-base-[0-9]*.rpm +pam-[0-9]*.rpm +libselinux-[0-9]*.rpm +grep-[0-9]*.rpm +info-[0-9]*.rpm +libacl-[0-9]*.rpm +cracklib-[0-9]*.rpm +cracklib-dicts-[0-9]*.rpm +audit-libs-[0-9]*.rpm +libsepol-[0-9]*.rpm +zlib-[0-9]*.rpm +pcre-[0-9]*.rpm +libattr-[0-9]*.rpm +libstdc++-[0-9]*.rpm diff --git a/distrib/f9/yum.repos.d/fedora-development.repo b/distrib/f9/yum.repos.d/fedora-development.repo new file mode 100644 index 0000000..fb6fe26 --- /dev/null +++ b/distrib/f9/yum.repos.d/fedora-development.repo @@ -0,0 +1,48 @@ +# These packages are untested and still under development. This +# repository is used for updates to test releases, and for +# development of new releases. +# +# This repository can see significant daily turnover and major +# functionality changes which cause unexpected problems with other +# development packages. Please use these packages if you want to work +# with the Fedora developers by testing these new development packages. +# +# fedora-test-list@redhat.com is available as a discussion forum for +# testing and troubleshooting for development packages in conjunction +# with new test releases. +# +# More information is available at http://fedoraproject.org/wiki/Testing +# +# Reproducible and reportable issues should be filed at +# http://bugzilla.redhat.com/. +# +# Product: Fedora +# Version: devel + +[development] +name=Fedora - Development +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch +enabled=0 +gpgcheck=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora + +[development-debuginfo] +name=Fedora - Development - Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch +enabled=0 +gpgcheck=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora + +[development-source] +name=Fedora - Development - Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch +enabled=0 +gpgcheck=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora + diff --git a/distrib/f9/yum.repos.d/fedora-updates-testing.repo b/distrib/f9/yum.repos.d/fedora-updates-testing.repo new file mode 100644 index 0000000..f79cb78 --- /dev/null +++ b/distrib/f9/yum.repos.d/fedora-updates-testing.repo @@ -0,0 +1,26 @@ +[updates-testing] +name=Fedora 9 - $basearch - Test Updates +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/9/$basearch.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f9.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-debuginfo] +name=Fedora 9 - $basearch - Test Updates Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/9/$basearch.newkey/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f9.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-source] +name=Fedora 9 - Test Updates Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/9/SRPMS.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f9.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora-test diff --git a/distrib/f9/yum.repos.d/fedora-updates.repo b/distrib/f9/yum.repos.d/fedora-updates.repo new file mode 100644 index 0000000..7d74cc3 --- /dev/null +++ b/distrib/f9/yum.repos.d/fedora-updates.repo @@ -0,0 +1,26 @@ +[updates] +name=Fedora 9 - $basearch - Updates +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/$basearch.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9.newkey&arch=$basearch +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora + +[updates-debuginfo] +name=Fedora 9 - $basearch - Updates - Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/$basearch.newkey/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f9.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora + +[updates-source] +name=Fedora 9 - Updates Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/SRPMS.newkey/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f9.newkey&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora diff --git a/distrib/f9/yum.repos.d/fedora.repo b/distrib/f9/yum.repos.d/fedora.repo new file mode 100644 index 0000000..536fcc1 --- /dev/null +++ b/distrib/f9/yum.repos.d/fedora.repo @@ -0,0 +1,26 @@ +[fedora] +name=Fedora 9 - $basearch +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=$basearch +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY + +[fedora-debuginfo] +name=Fedora 9 - $basearch - Debug +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-9&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY + +[fedora-source] +name=Fedora 9 - Source +failovermethod=priority +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-9&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/releases/9/Fedora/$basearch/os/RPM-GPG-KEY diff --git a/distrib/f9/yum/yum.conf b/distrib/f9/yum/yum.conf new file mode 100644 index 0000000..cd0ccc9 --- /dev/null +++ b/distrib/f9/yum/yum.conf @@ -0,0 +1,11 @@ +[main] +cachedir=@YUMCACHEDIR@ +persistdir=@YUMLIBDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=fedora-release +installonlypkgs= +exactarch=0 diff --git a/distrib/fc1/apt/rpmpriorities b/distrib/fc1/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/fc1/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/fc1/apt/sources.list b/distrib/fc1/apt/sources.list new file mode 100644 index 0000000..8521209 --- /dev/null +++ b/distrib/fc1/apt/sources.list @@ -0,0 +1,8 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 1/i386 os patches updates +# rpm-src http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 1/i386 os patches updates + +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/fedora 1/i386 os updates +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora 1/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/fedora 1/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora 1/i386 os updates +# rpm http://download.fedora.us/fedora/fedora 1/i386 os updates diff --git a/distrib/fc1/pkgs/01 b/distrib/fc1/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/fc1/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/fc1/pkgs/02 b/distrib/fc1/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/fc1/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/fc2/apt/rpmpriorities b/distrib/fc2/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/fc2/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/fc2/apt/sources.list b/distrib/fc2/apt/sources.list new file mode 100644 index 0000000..36753b5 --- /dev/null +++ b/distrib/fc2/apt/sources.list @@ -0,0 +1,8 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 2/i386 os patches updates +# rpm-src http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 2/i386 os patches updates + +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/fedora 2/i386 os updates +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora 2/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora 2/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora 2/i386 os updates +# rpm http://download.fedora.us/fedora/fedora 2/i386 os updates diff --git a/distrib/fc2/pkgs/01 b/distrib/fc2/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/fc2/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/fc2/pkgs/02 b/distrib/fc2/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/fc2/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/fc3/apt/rpmpriorities b/distrib/fc3/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/fc3/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/fc3/apt/sources.list b/distrib/fc3/apt/sources.list new file mode 100644 index 0000000..b833d31 --- /dev/null +++ b/distrib/fc3/apt/sources.list @@ -0,0 +1,7 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 3/i386 os patches updates + +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora 3/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora 3/i386 os updates +# rpm http://download.fedora.us/fedora/fedora 3/i386 os updates diff --git a/distrib/fc3/pkgs/01 b/distrib/fc3/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/fc3/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/fc3/pkgs/02 b/distrib/fc3/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/fc3/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/fc3/pkgs/03 b/distrib/fc3/pkgs/03 new file mode 100644 index 0000000..64ab4a7 --- /dev/null +++ b/distrib/fc3/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +setup diff --git a/distrib/fc3/rpmlist.d/00.lst b/distrib/fc3/rpmlist.d/00.lst new file mode 100644 index 0000000..85a9617 --- /dev/null +++ b/distrib/fc3/rpmlist.d/00.lst @@ -0,0 +1,7 @@ +basesystem-*.rpm +filesystem-*.rpm +glibc-common-*.rpm +glibc-[0-9]*.rpm +libgcc-[0-9]*.rpm +setup-*.rpm +tzdata-*.rpm diff --git a/distrib/fc3/yum.repos.d/fedora-devel.repo b/distrib/fc3/yum.repos.d/fedora-devel.repo new file mode 100644 index 0000000..fbd4edf --- /dev/null +++ b/distrib/fc3/yum.repos.d/fedora-devel.repo @@ -0,0 +1,5 @@ +[development] +name=Fedora Core 3 - Development Tree +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide +enabled=0 diff --git a/distrib/fc3/yum.repos.d/fedora-updates-testing.repo b/distrib/fc3/yum.repos.d/fedora-updates-testing.repo new file mode 100644 index 0000000..f8e7cc4 --- /dev/null +++ b/distrib/fc3/yum.repos.d/fedora-updates-testing.repo @@ -0,0 +1,6 @@ +[updates-testing] +name=Fedora Core 3 - $basearch - Test Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/3/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc3 +enabled=0 +gpgcheck=1 diff --git a/distrib/fc3/yum.repos.d/fedora-updates.repo b/distrib/fc3/yum.repos.d/fedora-updates.repo new file mode 100644 index 0000000..086a6b0 --- /dev/null +++ b/distrib/fc3/yum.repos.d/fedora-updates.repo @@ -0,0 +1,6 @@ +[updates-released] +name=Fedora Core 3 - $basearch - Released Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc3 +enabled=1 +gpgcheck=1 diff --git a/distrib/fc3/yum.repos.d/fedora.repo b/distrib/fc3/yum.repos.d/fedora.repo new file mode 100644 index 0000000..f4ba735 --- /dev/null +++ b/distrib/fc3/yum.repos.d/fedora.repo @@ -0,0 +1,6 @@ +[base] +name=Fedora Core 3 - $basearch - Base +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/3/$basearch/os/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-3 +enabled=1 +gpgcheck=1 diff --git a/distrib/fc3/yum/yum.conf b/distrib/fc3/yum/yum.conf new file mode 100644 index 0000000..1d21cd1 --- /dev/null +++ b/distrib/fc3/yum/yum.conf @@ -0,0 +1,10 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=fedora-release +installonlypkgs= +exactarch=0 diff --git a/distrib/fc4/apt/rpmpriorities b/distrib/fc4/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/fc4/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/fc4/apt/sources.list b/distrib/fc4/apt/sources.list new file mode 100644 index 0000000..b833d31 --- /dev/null +++ b/distrib/fc4/apt/sources.list @@ -0,0 +1,7 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 3/i386 os patches updates + +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora 3/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora 3/i386 os updates +# rpm http://download.fedora.us/fedora/fedora 3/i386 os updates diff --git a/distrib/fc4/pkgs/01 b/distrib/fc4/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/fc4/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/fc4/pkgs/02 b/distrib/fc4/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/fc4/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/fc4/pkgs/03 b/distrib/fc4/pkgs/03 new file mode 100644 index 0000000..64ab4a7 --- /dev/null +++ b/distrib/fc4/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +setup diff --git a/distrib/fc4/rpmlist.d/00.lst b/distrib/fc4/rpmlist.d/00.lst new file mode 100644 index 0000000..85a9617 --- /dev/null +++ b/distrib/fc4/rpmlist.d/00.lst @@ -0,0 +1,7 @@ +basesystem-*.rpm +filesystem-*.rpm +glibc-common-*.rpm +glibc-[0-9]*.rpm +libgcc-[0-9]*.rpm +setup-*.rpm +tzdata-*.rpm diff --git a/distrib/fc4/yum.repos.d/fedora-devel.repo b/distrib/fc4/yum.repos.d/fedora-devel.repo new file mode 100644 index 0000000..997ffe8 --- /dev/null +++ b/distrib/fc4/yum.repos.d/fedora-devel.repo @@ -0,0 +1,5 @@ +[development] +name=Fedora Core 4 - Development Tree +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide +enabled=0 diff --git a/distrib/fc4/yum.repos.d/fedora-updates-testing.repo b/distrib/fc4/yum.repos.d/fedora-updates-testing.repo new file mode 100644 index 0000000..d5edd0f --- /dev/null +++ b/distrib/fc4/yum.repos.d/fedora-updates-testing.repo @@ -0,0 +1,6 @@ +[updates-testing] +name=Fedora Core 4 - $basearch - Test Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/4/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc4 +enabled=0 +gpgcheck=1 diff --git a/distrib/fc4/yum.repos.d/fedora-updates.repo b/distrib/fc4/yum.repos.d/fedora-updates.repo new file mode 100644 index 0000000..0df7d1a --- /dev/null +++ b/distrib/fc4/yum.repos.d/fedora-updates.repo @@ -0,0 +1,6 @@ +[updates-released] +name=Fedora Core 4 - $basearch - Released Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc4 +enabled=1 +gpgcheck=1 diff --git a/distrib/fc4/yum.repos.d/fedora.repo b/distrib/fc4/yum.repos.d/fedora.repo new file mode 100644 index 0000000..9176ecd --- /dev/null +++ b/distrib/fc4/yum.repos.d/fedora.repo @@ -0,0 +1,6 @@ +[base] +name=Fedora Core 4 - $basearch - Base +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/4/$basearch/os/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-4 +enabled=1 +gpgcheck=1 diff --git a/distrib/fc4/yum/yum.conf b/distrib/fc4/yum/yum.conf new file mode 100644 index 0000000..1d21cd1 --- /dev/null +++ b/distrib/fc4/yum/yum.conf @@ -0,0 +1,10 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=fedora-release +installonlypkgs= +exactarch=0 diff --git a/distrib/fc5/apt/rpmpriorities b/distrib/fc5/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/fc5/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/fc5/apt/sources.list b/distrib/fc5/apt/sources.list new file mode 100644 index 0000000..b833d31 --- /dev/null +++ b/distrib/fc5/apt/sources.list @@ -0,0 +1,7 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 3/i386 os patches updates + +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora 3/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora 3/i386 os updates +# rpm http://download.fedora.us/fedora/fedora 3/i386 os updates diff --git a/distrib/fc5/pkgs/01 b/distrib/fc5/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/fc5/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/fc5/pkgs/02 b/distrib/fc5/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/fc5/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/fc5/pkgs/03 b/distrib/fc5/pkgs/03 new file mode 100644 index 0000000..218b1e6 --- /dev/null +++ b/distrib/fc5/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +initscripts diff --git a/distrib/fc5/rpmlist.d/00.lst b/distrib/fc5/rpmlist.d/00.lst new file mode 100644 index 0000000..85a9617 --- /dev/null +++ b/distrib/fc5/rpmlist.d/00.lst @@ -0,0 +1,7 @@ +basesystem-*.rpm +filesystem-*.rpm +glibc-common-*.rpm +glibc-[0-9]*.rpm +libgcc-[0-9]*.rpm +setup-*.rpm +tzdata-*.rpm diff --git a/distrib/fc5/yum.repos.d/fedora-core.repo b/distrib/fc5/yum.repos.d/fedora-core.repo new file mode 100644 index 0000000..7a5101a --- /dev/null +++ b/distrib/fc5/yum.repos.d/fedora-core.repo @@ -0,0 +1,21 @@ +[core] +name=Fedora Core 5 - $basearch +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/5/$basearch/os/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-5 +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY + +[core-debuginfo] +name=Fedora Core 5 - $basearch - Debug +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/5/$basearch/debug/ +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY + +[core-source] +name=Fedora Core 5 - Source +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/5/source/SRPMS/ +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY diff --git a/distrib/fc5/yum.repos.d/fedora-development.repo b/distrib/fc5/yum.repos.d/fedora-development.repo new file mode 100644 index 0000000..12ea285 --- /dev/null +++ b/distrib/fc5/yum.repos.d/fedora-development.repo @@ -0,0 +1,44 @@ +# These packages are untested and still under development. This +# repository is used for updates to test releases, and for +# development of new releases. +# +# This repository can see significant daily turnover and major +# functionality changes which cause unexpected problems with other +# development packages. Please use these packages if you want to work +# with the Fedora developers by testing these new development packages. +# +# fedora-test-list@redhat.com is available as a discussion forum for +# testing and troubleshooting for development packages in conjunction +# with new test releases. +# +# fedora-devel-list@redhat.com is available as a discussion forum for +# testing and troubleshooting for development packages in conjunction +# with developing new releases. +# +# More information is available at http://fedoraproject.org/wiki/Testing +# +# Reproducible and reportable issues should be filed at +# http://bugzilla.redhat.com/. +# +# Product: Fedora Core +# Version: devel + +[development] +name=Fedora Core - Development +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide +enabled=0 +gpgcheck=0 + +[development-debuginfo] +name=Fedora Core - Development - Debug +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/debug/ +enabled=0 +gpgcheck=0 + +[development-source] +name=Fedora Core - Development - Source +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/ +enabled=0 +gpgcheck=0 + diff --git a/distrib/fc5/yum.repos.d/fedora-extras-development.repo b/distrib/fc5/yum.repos.d/fedora-extras-development.repo new file mode 100644 index 0000000..7c87c3e --- /dev/null +++ b/distrib/fc5/yum.repos.d/fedora-extras-development.repo @@ -0,0 +1,21 @@ +[extras-development] +name=Fedora Extras - Development Tree +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-devel +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-development-debuginfo] +name=Fedora Extras - Development - Debug +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$basearch/debug/ +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-development-source] +name=Fedora Extras - Development - Source +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS/ +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 diff --git a/distrib/fc5/yum.repos.d/fedora-extras.repo b/distrib/fc5/yum.repos.d/fedora-extras.repo new file mode 100644 index 0000000..480a6eb --- /dev/null +++ b/distrib/fc5/yum.repos.d/fedora-extras.repo @@ -0,0 +1,21 @@ +[extras] +name=Fedora Extras 5 - $basearch +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/5/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-5 +enabled=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-debuginfo] +name=Fedora Extras 5 - $basearch - Debug +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/5/$basearch/debug/ +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-source] +name=Fedora Extras 5 - Source +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/5/SRPMS/ +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 diff --git a/distrib/fc5/yum.repos.d/fedora-legacy.repo b/distrib/fc5/yum.repos.d/fedora-legacy.repo new file mode 100644 index 0000000..724155a --- /dev/null +++ b/distrib/fc5/yum.repos.d/fedora-legacy.repo @@ -0,0 +1,13 @@ +[legacy-updates] +name=Fedora Legacy 5 - $basearch - Updates +mirrorlist=http://fedora.redhat.com/download/mirrors/legacy-updates-released-fc5 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-legacy + +[legacy-testing] +name=Fedora Legacy 5 - $basearch - Updates Testing +mirrorlist=http://fedora.redhat.com/download/mirrors/legacy-updates-testing-fc5 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-legacy diff --git a/distrib/fc5/yum.repos.d/fedora-updates-testing.repo b/distrib/fc5/yum.repos.d/fedora-updates-testing.repo new file mode 100644 index 0000000..7ee19f3 --- /dev/null +++ b/distrib/fc5/yum.repos.d/fedora-updates-testing.repo @@ -0,0 +1,21 @@ +[updates-testing] +name=Fedora Core 5 - $basearch - Test Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/5/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc5 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-debuginfo] +name=Fedora Core 5 - $basearch - Test Updates Debug +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/5/$basearch/debug/ +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-source] +name=Fedora Core 5 - Test Updates Source +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/5/SRPMS/ +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora-test diff --git a/distrib/fc5/yum.repos.d/fedora-updates.repo b/distrib/fc5/yum.repos.d/fedora-updates.repo new file mode 100644 index 0000000..e25ebf7 --- /dev/null +++ b/distrib/fc5/yum.repos.d/fedora-updates.repo @@ -0,0 +1,21 @@ +[updates] +name=Fedora Core 5 - $basearch - Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/$basearch/ +mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc5 +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora + +[updates-debuginfo] +name=Fedora Core 5 - $basearch - Updates - Debug +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/$basearch/debug/ +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora + +[updates-source] +name=Fedora Core 5 - Updates Source +baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/ +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/5/$basearch/os/RPM-GPG-KEY-fedora diff --git a/distrib/fc5/yum/yum.conf b/distrib/fc5/yum/yum.conf new file mode 100644 index 0000000..1d21cd1 --- /dev/null +++ b/distrib/fc5/yum/yum.conf @@ -0,0 +1,10 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=fedora-release +installonlypkgs= +exactarch=0 diff --git a/distrib/fc6/apt/rpmpriorities b/distrib/fc6/apt/rpmpriorities new file mode 100644 index 0000000..f4a90e2 --- /dev/null +++ b/distrib/fc6/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + fedora-release diff --git a/distrib/fc6/apt/sources.list b/distrib/fc6/apt/sources.list new file mode 100644 index 0000000..b833d31 --- /dev/null +++ b/distrib/fc6/apt/sources.list @@ -0,0 +1,7 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/fedora/core/.apt 3/i386 os patches updates + +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/fedora 3/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/fedora/fedora 3/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/fedora 3/i386 os updates +# rpm http://download.fedora.us/fedora/fedora 3/i386 os updates diff --git a/distrib/fc6/pkgs/01 b/distrib/fc6/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/fc6/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/fc6/pkgs/02 b/distrib/fc6/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/fc6/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/fc6/pkgs/03 b/distrib/fc6/pkgs/03 new file mode 100644 index 0000000..218b1e6 --- /dev/null +++ b/distrib/fc6/pkgs/03 @@ -0,0 +1,2 @@ +coreutils +initscripts diff --git a/distrib/fc6/rpmlist.d/00.lst b/distrib/fc6/rpmlist.d/00.lst new file mode 100644 index 0000000..85a9617 --- /dev/null +++ b/distrib/fc6/rpmlist.d/00.lst @@ -0,0 +1,7 @@ +basesystem-*.rpm +filesystem-*.rpm +glibc-common-*.rpm +glibc-[0-9]*.rpm +libgcc-[0-9]*.rpm +setup-*.rpm +tzdata-*.rpm diff --git a/distrib/fc6/yum.repos.d/fedora-core.repo b/distrib/fc6/yum.repos.d/fedora-core.repo new file mode 100644 index 0000000..56b4318 --- /dev/null +++ b/distrib/fc6/yum.repos.d/fedora-core.repo @@ -0,0 +1,23 @@ +[core] +name=Fedora Core 6 - $basearch +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/6/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=$basearch +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY + +[core-debuginfo] +name=Fedora Core 6 - $basearch - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/6/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-6&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY + +[core-source] +name=Fedora Core 6 - Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/6/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-6&arch=$basearch +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY diff --git a/distrib/fc6/yum.repos.d/fedora-development.repo b/distrib/fc6/yum.repos.d/fedora-development.repo new file mode 100644 index 0000000..6dd04d7 --- /dev/null +++ b/distrib/fc6/yum.repos.d/fedora-development.repo @@ -0,0 +1,46 @@ +# These packages are untested and still under development. This +# repository is used for updates to test releases, and for +# development of new releases. +# +# This repository can see significant daily turnover and major +# functionality changes which cause unexpected problems with other +# development packages. Please use these packages if you want to work +# with the Fedora developers by testing these new development packages. +# +# fedora-test-list@redhat.com is available as a discussion forum for +# testing and troubleshooting for development packages in conjunction +# with new test releases. +# +# fedora-devel-list@redhat.com is available as a discussion forum for +# testing and troubleshooting for development packages in conjunction +# with developing new releases. +# +# More information is available at http://fedoraproject.org/wiki/Testing +# +# Reproducible and reportable issues should be filed at +# http://bugzilla.redhat.com/. +# +# Product: Fedora Core +# Version: devel + +[development] +name=Fedora Core - Development +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/os/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch +enabled=0 +gpgcheck=0 + +[development-debuginfo] +name=Fedora Core - Development - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch +enabled=0 +gpgcheck=0 + +[development-source] +name=Fedora Core - Development - Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch +enabled=0 +gpgcheck=0 + diff --git a/distrib/fc6/yum.repos.d/fedora-extras-development.repo b/distrib/fc6/yum.repos.d/fedora-extras-development.repo new file mode 100644 index 0000000..4f2a5fc --- /dev/null +++ b/distrib/fc6/yum.repos.d/fedora-extras-development.repo @@ -0,0 +1,34 @@ +# These packages are untested and still under development. This +# repository is used for updates to test releases, and for +# development of new releases. +# +# This repository can see significant daily turnover and major +# functionality changes which cause unexpected problems with other +# development packages. Please use these packages if you want to work +# with the Fedora developers by testing these new development packages. +# +# More information is available at http://fedoraproject.org/wiki/Testing + +[extras-development] +name=Fedora Extras - Development Tree +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$basearch/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-devel&arch=$basearch +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-development-debuginfo] +name=Fedora Extras - Development - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-devel-debug&arch=$basearch +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-development-source] +name=Fedora Extras - Development - Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/development/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-devel-source&arch=$basearch +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 diff --git a/distrib/fc6/yum.repos.d/fedora-extras.repo b/distrib/fc6/yum.repos.d/fedora-extras.repo new file mode 100644 index 0000000..b7d42ad --- /dev/null +++ b/distrib/fc6/yum.repos.d/fedora-extras.repo @@ -0,0 +1,23 @@ +[extras] +name=Fedora Extras 6 - $basearch +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/$basearch/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-6&arch=$basearch +enabled=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-debuginfo] +name=Fedora Extras 6 - $basearch - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/$basearch/debug/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-debug-6&arch=$basearch +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 + +[extras-source] +name=Fedora Extras 6 - Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/6/SRPMS/ +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-source-6&arch=$basearch +enabled=0 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-extras +gpgcheck=1 diff --git a/distrib/fc6/yum.repos.d/fedora-legacy.repo b/distrib/fc6/yum.repos.d/fedora-legacy.repo new file mode 100644 index 0000000..1dc6e2d --- /dev/null +++ b/distrib/fc6/yum.repos.d/fedora-legacy.repo @@ -0,0 +1,13 @@ +[legacy-updates] +name=Fedora Legacy 6 - $basearch - Updates +mirrorlist=http://fedora.redhat.com/Download/mirrors/legacy-updates-released-fc6 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-legacy + +[legacy-testing] +name=Fedora Legacy 6 - $basearch - Updates Testing +mirrorlist=http://fedora.redhat.com/Download/mirrors/legacy-updates-testing-fc6 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-legacy diff --git a/distrib/fc6/yum.repos.d/fedora-updates-testing.repo b/distrib/fc6/yum.repos.d/fedora-updates-testing.repo new file mode 100644 index 0000000..8cdaf84 --- /dev/null +++ b/distrib/fc6/yum.repos.d/fedora-updates-testing.repo @@ -0,0 +1,23 @@ +[updates-testing] +name=Fedora Core 6 - $basearch - Test Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/6/$basearch/ +mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-testing-fc6 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-debuginfo] +name=Fedora Core 6 - $basearch - Test Updates Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/6/$basearch/debug/ +mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-testing-debug-fc6 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-test + +[updates-testing-source] +name=Fedora Core 6 - Test Updates Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/6/SRPMS/ +mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-testing-source-fc6 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora-test diff --git a/distrib/fc6/yum.repos.d/fedora-updates.repo b/distrib/fc6/yum.repos.d/fedora-updates.repo new file mode 100644 index 0000000..fd4db84 --- /dev/null +++ b/distrib/fc6/yum.repos.d/fedora-updates.repo @@ -0,0 +1,23 @@ +[updates] +name=Fedora Core 6 - $basearch - Updates +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/$basearch/ +mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-released-fc6 +enabled=1 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora + +[updates-debuginfo] +name=Fedora Core 6 - $basearch - Updates - Debug +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/$basearch/debug/ +mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-released-debug-fc6 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora + +[updates-source] +name=Fedora Core 6 - Updates Source +#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/6/SRPMS/ +mirrorlist=http://fedora.redhat.com/Download/mirrors/updates-released-source-fc6 +enabled=0 +gpgcheck=1 +gpgkey=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/6/$basearch/os/RPM-GPG-KEY-fedora diff --git a/distrib/fc6/yum/yum.conf b/distrib/fc6/yum/yum.conf new file mode 100644 index 0000000..1d21cd1 --- /dev/null +++ b/distrib/fc6/yum/yum.conf @@ -0,0 +1,10 @@ +[main] +cachedir=@YUMCACHEDIR@ +reposdir=@YUMETCDIR@/yum.repos.d +debuglevel=1 +logfile=@YUMLOGDIR@/log +lockfile=@YUMLOCKDIR@/yum.pid +pkgpolicy=newest +distroverpkg=fedora-release +installonlypkgs= +exactarch=0 diff --git a/distrib/feisty/debootstrap.script b/distrib/feisty/debootstrap.script new file mode 100644 index 0000000..7f656b6 --- /dev/null +++ b/distrib/feisty/debootstrap.script @@ -0,0 +1,170 @@ +case $ARCH in + amd64|i386|powerpc|sparc) + default_mirror http://archive.ubuntu.com/ubuntu + ;; + *) + default_mirror http://ports.ubuntu.com/ubuntu-ports + ;; +esac +mirror_style release +download_style apt +finddebs_style from-indices +variants - buildd + +work_out_debs () { + LIBC6=libc6 + if [ "$ARCH" = "alpha" -o "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi + + required="$(get_debs Priority: required)" + + if doing_variant -; then + #required="$required $(get_debs Priority: important)" + # ^^ should be getting debconf here somehow maybe + base="$(get_debs Priority: important)" + elif doing_variant buildd; then + # TODO: add Build-Essential: yes extraoverrides + #base="$(get_debs Build-Essential: yes)" + + add () { if [ "$ARCH" = "$1" ]; then eval "$2=\"\$$2 $3\""; fi; } + + base="apt binutils cpio cpp cpp-4.1 dpkg-dev g++ g++-4.1 gcc gcc-4.1 ${LIBC6}-dev libdb4.4 libgdbm3 libstdc++6 libstdc++6-4.1-dev linux-libc-dev make patch perl perl-modules" + + add ia64 base "libunwind7-dev" + add sparc base "lib64gcc1" + add sparc base "libc6-dev-sparc64" + add sparc base "libc6-sparc64" + fi +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + : >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + setup_devices + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + setup_proc + in_target /sbin/ldconfig + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + baseprog=0 + bases=7 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + if doing_variant -; then + x_core_install debconf + fi + + baseprog=0 + bases=$(set -- $required; echo $#) + + info UNPACKREQ "Unpacking required packages..." + + smallyes '' | + (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" \ + dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING) 7>&1 + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + + smallyes '' | + (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" \ + dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING) 7>&1 + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" \ + dpkg --status-fd 8 --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING) 7>&1 + + info CONFBASE "Configuring the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be attempted 5 times." "" \ + dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING) 7>&1 + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} diff --git a/distrib/gentoo/init-vserver.sh b/distrib/gentoo/init-vserver.sh new file mode 100644 index 0000000..856af51 --- /dev/null +++ b/distrib/gentoo/init-vserver.sh @@ -0,0 +1,31 @@ +#!/bin/bash +# +# Copyright (C) 2006 Benedikt Boehm +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# +# BIG FAT WARNING: +# +# Do not remove this file if you are using gentoo init style! +# Your vserver will not boot anymore! +# +# You have been warned... + +# Force TERM=linux for baselayout-2 + +RUNLEVEL=1 /sbin/rc sysinit || exit 1 +/sbin/rc boot || exit 1 +/sbin/rc ${1:-default} +exit 0 diff --git a/distrib/gentoo/initpost b/distrib/gentoo/initpost new file mode 100755 index 0000000..069727b --- /dev/null +++ b/distrib/gentoo/initpost @@ -0,0 +1,139 @@ +#!/bin/bash + +# Copyright (C) 2006 Benedikt Boehm +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Called as: initpost + +# finish notice from initpre +echo "ok" + + +#setup environment +cfgdir="$1" +vdir="$cfgdir"/vdir +. "$2" + + +# go to vdir for chroot-sh +pushd "$vdir" &>/dev/null + + +# helper for sed in chroot +chrootsed() { + local file="$1" + shift + + sedtmp=$($_MKTEMP chrootsed.XXXXXX) + + $_CHROOT_SH cat "$file" | $_SED "$@" > $sedtmp + $_CHROOT_SH truncate "$file" < $sedtmp + + $_RM -f $sedtmp +} + + +# portage stuff +$_CHROOT_SH mkdir /usr 2>/dev/null || : +$_CHROOT_SH mkdir /usr/portage 2>/dev/null || : +$_CHROOT_SH mkdir /usr/portage/distfiles 2>/dev/null || : + + +# check if we have openrc +have_openrc=0 +$_CHROOT_SH testfile /lib/rc/bin/is_older_than && have_openrc=1 + + +# gentoo initstyle magic +initstyle=sysv +test -e "$cfgdir"/apps/init/style && initstyle=$(<"$cfgdir"/apps/init/style) + +if test "$initstyle" == "gentoo"; then + echo ">>> Installing special init-style magic ... " + + # force /lib/rc/sh even if we don't have it in older stages + $_CHROOT_SH mkdir /lib 2>/dev/null || : + $_CHROOT_SH mkdir /lib/rc 2>/dev/null || : + $_CHROOT_SH mkdir /lib/rc/sh 2>/dev/null || : + + $_CAT "$__DISTRIBDIR"/gentoo/init-vserver.sh | \ + $_CHROOT_SH truncate /lib/rc/sh/init-vserver.sh + $_CHROOT_SH chmod 0755 /lib/rc/sh/init-vserver.sh + + $_CAT "$__DISTRIBDIR"/gentoo/reboot.sh | \ + $_CHROOT_SH truncate /etc/init.d/reboot.sh + $_CHROOT_SH chmod 0755 /etc/init.d/reboot.sh + + $_CAT "$__DISTRIBDIR"/gentoo/shutdown.sh | \ + $_CHROOT_SH truncate /etc/init.d/shutdown.sh + $_CHROOT_SH chmod 0755 /etc/init.d/shutdown.sh + + echo "!!!" + echo "!!! You have to install a service (e.g. syslog/cron) and add it to the" + echo "!!! default runlevel before you start the guest the first time!" + echo "!!! Otherwise the guest will die as soon as it has finished booting." + echo "!!!" + echo "!!! Consult the Gentoo Handbook on how to chroot and install" + echo "!!! packages into the guest environment." + echo "!!!" +else + # fix gettys in inittab + if $_CHROOT_SH testfile /etc/inittab; then + echo ">>> Fixing inittab ... " + chrootsed /etc/inittab \ + -e 's/\(^[^#].*getty.*$\)/#\1/' + fi +fi + +# unneeded runlevel scripts +if test $have_openrc -ne 1; then + echo ">>> Fixing default runlevel scripts ... " + $_CHROOT_SH rm /etc/runlevels/boot/{clock,consolefont,keymaps,modules,net.lo} 2>/dev/null || : + $_CHROOT_SH rm /etc/runlevels/default/{hdparm,netmount} 2>/dev/null || : +fi + +# setting hostname +if test -r "$cfgdir"/uts/nodename && $_CHROOT_SH testfile /etc/conf.d/hostname; then + echo ">>> Setting hostname ... " + chrootsed /etc/conf.d/hostname \ + -e "s:\(HOSTNAME\)=\"\(.*\)\":\1=\"$(< "$cfgdir"/uts/nodename)\":i" +fi + +# fix syslog-ng.conf +if $_CHROOT_SH testfile /etc/syslog-ng/syslog-ng.conf; then + echo ">>> Fixing syslog-ng.conf ... " + chrootsed /etc/syslog-ng/syslog-ng.conf \ + -e 's:pipe("/proc/kmsg"); ::' \ + -e 's:\(.*console_all.*\):#\1:g' +fi + +# fix fstab for checkfs/localmount in baselayout-2 +# (does not affect any previous versions) +if test $have_openrc -ne 1; then + echo ">>> Fixing fstab ... " + echo "/dev/hdv1 / ufs defaults 0 0" | $_CHROOT_SH truncate /etc/fstab +fi + +# always satisfy net dependency in baselayout-2 +# (does not affect any previous versions) +if test $have_openrc -ne 1; then + echo ">>> Providing dummy net dependency ... " + $_CAT "$__DISTRIBDIR"/gentoo/net.vserver | \ + $_CHROOT_SH truncate /etc/init.d/net.vserver + $_CHROOT_SH chmod 0755 /etc/init.d/net.vserver + $_CHROOT_SH link /etc/init.d/net.vserver /etc/runlevels/boot/net.vserver +fi + +popd &>/dev/null diff --git a/distrib/gentoo/initpre b/distrib/gentoo/initpre new file mode 100755 index 0000000..4a66bf5 --- /dev/null +++ b/distrib/gentoo/initpre @@ -0,0 +1,65 @@ +#!/bin/bash + +# Copyright (C) 2006 Benedikt Boehm +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Called as: initpost + +vdir="$1"/vdir +. "$2" + +# portage stuff +echo ">>> Adding shared /usr/portage to fstab ... " + +hash portageq &>/dev/null + +if test $? -eq 0; then + _PORTDIR=$(portageq portdir) + _DISTDIR=$(portageq distdir) +else + _PORTDIR=/usr/portage + _DISTDIR=/usr/portage/distfiles +fi + +if test -d $_PORTDIR; then + ( echo + echo "# shared portage tree" + echo "${_PORTDIR} /usr/portage none bind,ro 0 0" + ) >> "$1"/fstab +else + echo "!!! Cannot find a portage tree! You should definitely use a" + echo "!!! shared portage tree if you have multiple Gentoo guests!" +fi + +if test -d $_DISTDIR; then + echo "${_DISTDIR} /usr/portage/distfiles none bind,rw 0 0" >> "$1"/fstab +else + echo "!!! Cannot find distfiles directory! You should definitely use a" + echo "!!! shared distfiles directory if you have multiple Gentoo guests!" +fi + + +# initstyle sanity +initstyle=sysv +test -e "$1"/apps/init/style && initstyle=$(<"$1"/apps/init/style) + +echo ">>> Checking init-style ... $initstyle" + +if test "$initstyle" != "gentoo" -a "$initstyle" != "plain"; then + echo "!!! The init-style you specified is not supported for Gentoo" + echo "!!! Please use one of: plain, gentoo" +fi + +echo -n ">>> Unpacking template ... " diff --git a/distrib/gentoo/net.vserver b/distrib/gentoo/net.vserver new file mode 100644 index 0000000..8348277 --- /dev/null +++ b/distrib/gentoo/net.vserver @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +depend() { + provide net +} + +start() { + return 0 +} + +stop() { + return 0 +} diff --git a/distrib/gentoo/reboot.sh b/distrib/gentoo/reboot.sh new file mode 100644 index 0000000..c5fcea9 --- /dev/null +++ b/distrib/gentoo/reboot.sh @@ -0,0 +1,5 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# gentoo init style needs this (and nothing else) +exit 0 diff --git a/distrib/gentoo/shutdown.sh b/distrib/gentoo/shutdown.sh new file mode 100644 index 0000000..c5fcea9 --- /dev/null +++ b/distrib/gentoo/shutdown.sh @@ -0,0 +1,5 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# gentoo init style needs this (and nothing else) +exit 0 diff --git a/distrib/gutsy/debootstrap.script b/distrib/gutsy/debootstrap.script new file mode 100644 index 0000000..87d0f0e --- /dev/null +++ b/distrib/gutsy/debootstrap.script @@ -0,0 +1,171 @@ +case $ARCH in + amd64|i386|sparc) + default_mirror http://archive.ubuntu.com/ubuntu + ;; + *) + default_mirror http://ports.ubuntu.com/ubuntu-ports + ;; +esac +mirror_style release +download_style apt +finddebs_style from-indices +variants - buildd + +work_out_debs () { + LIBC6=libc6 + if [ "$ARCH" = "alpha" -o "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi + + required="$(get_debs Priority: required)" + + if doing_variant -; then + #required="$required $(get_debs Priority: important)" + # ^^ should be getting debconf here somehow maybe + base="$(get_debs Priority: important)" + elif doing_variant buildd; then + # TODO: add Build-Essential: yes extraoverrides + #base="$(get_debs Build-Essential: yes)" + + add () { if [ "$ARCH" = "$1" ]; then eval "$2=\"\$$2 $3\""; fi; } + + base="apt binutils cpio cpp cpp-4.1 dpkg-dev g++ g++-4.1 gcc gcc-4.1 ${LIBC6}-dev libdb4.4 libgdbm3 libstdc++6 libstdc++6-4.1-dev linux-libc-dev make patch perl perl-modules" + + add hppa base "libgcc4" + add ia64 base "libunwind7-dev" + add sparc base "lib64gcc1" + add sparc base "libc6-dev-sparc64" + add sparc base "libc6-sparc64" + fi +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + : >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + setup_devices + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + setup_proc + in_target /sbin/ldconfig + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + baseprog=0 + bases=7 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/Etc/UTC "$TARGET/etc/localtime" + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + if doing_variant -; then + x_core_install debconf + fi + + baseprog=0 + bases=$(set -- $required; echo $#) + + info UNPACKREQ "Unpacking required packages..." + + smallyes '' | + (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" \ + dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING) 7>&1 + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + + smallyes '' | + (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" \ + dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING) 7>&1 + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" \ + dpkg --status-fd 8 --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 | + dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING) 7>&1 + + info CONFBASE "Configuring the base system..." + + smallyes '' | + (repeat 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be attempted 5 times." "" \ + dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 | + dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING) 7>&1 + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} diff --git a/distrib/hoary/debootstrap.script b/distrib/hoary/debootstrap.script new file mode 100644 index 0000000..5450dc5 --- /dev/null +++ b/distrib/hoary/debootstrap.script @@ -0,0 +1,179 @@ +default_mirror http://old-releases.ubuntu.com/ubuntu +mirror_style release +download_style apt + +work_out_debs () { + + required="base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debconf debconf-i18n liblocale-gettext-perl libtext-iconv-perl libtext-wrapi18n-perl libtext-charwidth-perl debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g libpopt0 login makedev mawk mount ncurses-base ncurses-bin passwd perl-base procps python-minimal python2.4-minimal sed slang1a-utf8 lsb-base initscripts sysvinit sysv-rc tar util-linux zlib1g whiptail libgcc1 gcc-3.3-base libstdc++5" + + base="adduser alsa-base alsa-utils apt apt-utils aptitude at base-config bind9-host bsdmainutils bzip2 console-common console-data console-tools cpio cramfsprogs cron dash dhcp3-client dhcp3-common discover1 discover1-data dmsetup dnsutils dosfstools ed eject ethtool evms evms-ncurses fdutils file ftp gettext-base gnupg grepmap groff-base hdparm hotplug ifrename ifupdown info initrd-tools iproute iptables iputils-arping iputils-ping iputils-tracepath jfsutils klogd less libasound2 libbz2-1.0 libconsole libdb4.2 libdevmapper1.00 libdiscover1 libdns16 libevms-2.5 libfribidi0 libgc1 libgcrypt11 libgdbm3 libgnutls11 libgpg-error0 libgpmg1 libidn11 libisc7 libiw27 libldap2 liblockfile1 liblwres1 liblzo1 libmagic1 libncursesw5 libopencdk8 libparted1.6-12 libpcap0.8 libreiserfs0.3-0 libsasl2 libsasl2-modules libsigc++-1.2-5c102 libssl0.9.7 libtasn1-2 libusb-0.1-4 libwrap0 locales logrotate lsb-release lshw lsof lvm-common lvm10 lvm2 mailx man-db manpages mdadm mii-diag mime-support module-init-tools mtr-tiny mutt nano net-tools netbase netcat netkit-inetd ntp ntpdate openssh-client parted pciutils popularity-contest postfix postfix-tls ppp pppconfig pppoeconf psmisc python python2.4 reiser4progs reiserfsprogs reportbug rsync strace sudo sysklogd tcpd tcpdump telnet time ubuntu-base ubuntu-keyring udev usbutils vim vim-common w3m wget wireless-tools xfsprogs" + + without_package () { + echo "$2" | tr ' ' '\n' | grep -v "^$1$" | tr '\n' ' ' + } + subst_package () { + echo "$3" | tr ' ' '\n' | sed "s/^$1$/$2/" | tr '\n' ' ' + } + + LIBC6=libc6 + + case $ARCH in + "i386") + required="$required libc6 libc6-i686" + base="$base dmidecode libelfg0 ltrace memtest86+ libreadline4" + ;; + "powerpc") + required="$required libc6 libreadline4" + base="$base hfsplus hfsutils libelfg0 libhfsp0 ltrace mac-fdisk pmac-fdisk powerpc-utils" + ;; + "amd64") + required="$required libc6" + base="$base dmidecode libelfg0 ltrace memtest86+ libreadline4" + ;; + "ia64") + required="$required libc6.1 libunwind7" + base="$base dmidecode libreadline4" + LIBC6="libc6.1" + ;; + "sparc") + required="$required libc6" + base="$base lib64gcc1 libc6-sparc64 libreadline4" + ;; + *) + # who knows? + ;; + esac +} + +install_debs () { + first_stage_install + second_stage_install +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + echo >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + setup_devices + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + baseprog=0 + bases=7 + + setup_proc + in_target /sbin/ldconfig + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + x_core_install debconf + + baseprog=0 + bases="$(set -- $required; echo $#)" + + info UNPACKREQ "Unpacking required packages..." + + smallyes '' | (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 | dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING) 7>&1 + + baseprog=0 + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + #on_exit "(in_target_nofail umount /dev/pts) || true" + + smallyes '' | (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 | dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING) 7>&1 + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" dpkg --status-fd 8 --force-auto-select --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 | dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING) 7>&1 + + baseprog=0 + + info CONFBASE "Configuring the base system..." + + mv "$TARGET/usr/sbin/sendmail" "$TARGET/usr/sbin/sendmail.REAL" + ln -s /bin/true "$TARGET/usr/sbin/sendmail" + + smallyes '' | (repeat 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be attempted 5 times." "" dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 | dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING) 7>&1 + + rm -f "$TARGET/usr/sbin/sendmail" + mv "$TARGET/usr/sbin/sendmail.REAL" "$TARGET/usr/sbin/sendmail" + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} + diff --git a/distrib/misc/context.start b/distrib/misc/context.start new file mode 100644 index 0000000..c5da56a --- /dev/null +++ b/distrib/misc/context.start @@ -0,0 +1 @@ +40000 diff --git a/distrib/misc/debootstrap.mirror b/distrib/misc/debootstrap.mirror new file mode 100644 index 0000000..04ed33b --- /dev/null +++ b/distrib/misc/debootstrap.mirror @@ -0,0 +1 @@ +http://ftp.debian.org/debian diff --git a/distrib/misc/debootstrap.uri b/distrib/misc/debootstrap.uri new file mode 100644 index 0000000..56aea56 --- /dev/null +++ b/distrib/misc/debootstrap.uri @@ -0,0 +1 @@ +http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.10_all.deb diff --git a/distrib/misc/environment b/distrib/misc/environment new file mode 100644 index 0000000..a0d39c8 --- /dev/null +++ b/distrib/misc/environment @@ -0,0 +1 @@ +PATH=/bin:/usr/bin:/sbin:/usr/sbin diff --git a/distrib/misc/fstab b/distrib/misc/fstab new file mode 100644 index 0000000..f78c798 --- /dev/null +++ b/distrib/misc/fstab @@ -0,0 +1,3 @@ +none /proc proc defaults 0 0 +none /tmp tmpfs size=16m,mode=1777 0 0 +none /dev/pts devpts gid=5,mode=620 0 0 diff --git a/distrib/misc/h2ext.desc b/distrib/misc/h2ext.desc new file mode 100644 index 0000000..a234339 --- /dev/null +++ b/distrib/misc/h2ext.desc @@ -0,0 +1,19 @@ +# Borrowed from file(1) +# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver) +0 string \037\213 gzip -d -c 1 +# tar posix +257 string ustar\0 tar -x --numeric-owner 0 +# tar gnu +257 string ustar\040\040\0 tar -x --numeric-owner 0 +# cpio +0 short 070707 cpio -i --numeric-uid-gid 0 +# cpio swapped +0 short 0143561 cpio -i --numeric-uid-gid 0 +# bzip2 +0 string BZh bzip2 -d -c 1 +# dump/restore new-fs big and little endian +24 belong 60012 restore -rf - 0 +24 lelong 60012 restore -rf - 0 +# dump/restore old-fs big and little endian +24 belong 60011 restore -rf - 0 +24 lelong 60011 restore -rf - 0 diff --git a/distrib/misc/mtab b/distrib/misc/mtab new file mode 100644 index 0000000..e073bf6 --- /dev/null +++ b/distrib/misc/mtab @@ -0,0 +1 @@ +/dev/hdv1 / ufs defaults 0 0 diff --git a/distrib/misc/vprocunhide-files b/distrib/misc/vprocunhide-files new file mode 100644 index 0000000..630367e --- /dev/null +++ b/distrib/misc/vprocunhide-files @@ -0,0 +1,34 @@ +/proc/net/ +-/proc/net/rpc/ +-/proc/net/ip_conntrack +-/proc/net/ip_conntrack_expect +-/proc/net/nf_conntrack +-/proc/net/nf_conntrack_expect +/proc/sys/ +-/proc/sys/debug/ +-/proc/sys/dev/ +/proc/sysvipc/ +/proc/tty/ +/proc/cpuinfo +/proc/crypto +/proc/devices +/proc/execdomains +/proc/filesystems +/proc/interrupts +/proc/iomem +/proc/ioports +/proc/kcore +/proc/kmsg +/proc/ksyms +/proc/loadavg +/proc/locks +/proc/meminfo +/proc/misc +/proc/modules +/proc/pci +/proc/slabinfo +/proc/stat +/proc/swaps +/proc/uptime +-/proc/cmdline +/proc/version diff --git a/distrib/misc/vunify-exclude b/distrib/misc/vunify-exclude new file mode 100644 index 0000000..79426a7 --- /dev/null +++ b/distrib/misc/vunify-exclude @@ -0,0 +1,26 @@ +/.rpmdb +/dev +~/etc/shadow +~/etc/passwd +~/etc/group ++/etc/termcap ++/etc/gconf ++/etc/gconf/schemas +/etc/gconf/* +/etc/* +/home +/proc +/mnt ++/root/.ssh +~/root/.ssh/id* +-/root/.ssh/* ++/root/.gnupg +~/root/.gnupg/secring* +-/root/.gnupg/* +-/root/* +/selinux +/sys +~/tmp/* +/tmp +~/var/tmp/* +/var diff --git a/distrib/redhat/initctl b/distrib/redhat/initctl new file mode 100644 index 0000000..2ce90d5 --- /dev/null +++ b/distrib/redhat/initctl @@ -0,0 +1,8 @@ +#!/bin/sh + +if kill -s 0 -- 1 > /dev/null 2>&1; then + exec /sbin/initctl "$@" +else + # Ignore... + exit 0 +fi diff --git a/distrib/redhat/initpost b/distrib/redhat/initpost new file mode 100755 index 0000000..92f79bb --- /dev/null +++ b/distrib/redhat/initpost @@ -0,0 +1,104 @@ +#! /bin/bash + +# Copyright (C) 2003 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## HACK: this script is full of races... + +vdir=$1/vdir +. "$2" +. "$_LIB_VSERVER_BUILD_FUNCTIONS" + +function relink +{ + test ! -e "$2" -o -L "$2" || mv -f "$2"{,.orig} + ln -sf "$1" "$2" +} + +## Usage: subst +function subst +{ + tmp=$(mktemp /tmp/initpost-subst.XXXXXX) + + case "$1" in + (/*|./*) cat "$1";; + (*) $_CHROOT_SH cat "$1";; + esac | sed -e "$2" >$tmp + cmp -s $tmp "$1" || $_CHROOT_SH truncate "$1" <$tmp + + rm -f $tmp +} + +vserver=$1 + +## Do some magic to set the vserver into a defined state +$_VSERVER "$vserver" stop &>/dev/null || : +startSleepingGuest "$vserver" 15 + +pushd "$vdir"/etc/init.d &>/dev/null || + pushd "$vdir"/etc/rc.d/init.d &>/dev/null || exit 1 + + for i in *; do + test -e "$i" || continue + case "$i" in + functions|halt|killall|single) ;; + syslog|rsyslog) + $_VSERVER "$1" chkconfig "$i" on + ;; + *) + $_VSERVER "$1" chkconfig "$i" off + ;; + esac + done + +popd >/dev/null + +pushd "$vdir"/sbin &>/dev/null + relink /bin/true new-kernel-pkg +popd >/dev/null + +pushd "$vdir"/usr/bin &>/dev/null + relink /bin/true rhgb-client +popd >/dev/null + +pushd "$vdir" &>/dev/null + echo 'NETWORKING=yes' | $_CHROOT_SH append /etc/sysconfig/network +popd >/dev/null + +pushd "$vdir" &>/dev/null + cat </dev/null \2!;s!/sbin/initctl!/sbin/initctl.vserver!' + subst etc/event.d/rcS 's!/etc/rc.d/rc.sysinit!/etc/rc.d/rc.sysinit.vserver!' + $_CHROOT_SH rm /etc/event.d/tty{1,2,3,4,5,6} + fi +popd >/dev/null + +stopSleepingGuest "$vserver" &> /dev/null || : diff --git a/distrib/redhat/initpre b/distrib/redhat/initpre new file mode 100755 index 0000000..f1ffc88 --- /dev/null +++ b/distrib/redhat/initpre @@ -0,0 +1,25 @@ +#! /bin/bash + +# Copyright (C) 2003 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +vdir=$1/vdir +. "$2" + +## Fix/workaround the misclassification of %_netsharedpath's parent directories +mkdir -p "$vdir"/{etc/rc.d/init.d,/sbin,/usr/bin} + +## Workaround broken kernel %post scripts +ln -s ../bin/true "$vdir"/sbin/new-kernel-pkg diff --git a/distrib/redhat/rc.sysinit b/distrib/redhat/rc.sysinit new file mode 100755 index 0000000..6215cf6 --- /dev/null +++ b/distrib/redhat/rc.sysinit @@ -0,0 +1,4 @@ +#! /bin/sh + +rm -f /var/lock/subsys/* /var/run/* /var/run/*/* 2>/dev/null +true diff --git a/distrib/rh9/apt/rpmpriorities b/distrib/rh9/apt/rpmpriorities new file mode 100644 index 0000000..5ad6519 --- /dev/null +++ b/distrib/rh9/apt/rpmpriorities @@ -0,0 +1,7 @@ +Essential: + basesystem + coreutils + filesystem + glibc + setup + redhat-release diff --git a/distrib/rh9/apt/sources.list b/distrib/rh9/apt/sources.list new file mode 100644 index 0000000..e088e63 --- /dev/null +++ b/distrib/rh9/apt/sources.list @@ -0,0 +1,7 @@ +# rpm http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/RedHat/.apt redhat/9 os errata +# rpm-src http://ftp.ultra.csn.tu-chemnitz.de/pub/mirror/RedHat/.apt redhat/9 os errata + +# rpm ftp://ftp.tu-chemnitz.de/pub/linux/fedora/redhat 9/i386 os updates +# rpm ftp://ftp.ussg.iu.edu/pub/linux/fedora/fedora/redhat 9/i386 os updates +# rpm http://mirrors.usc.edu/pub/linux/fedora/redhat 9/i386 os updates +# rpm http://sunsite.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/redhat 9/i386 os updates diff --git a/distrib/rh9/pkgs/01 b/distrib/rh9/pkgs/01 new file mode 100644 index 0000000..1a5ef72 --- /dev/null +++ b/distrib/rh9/pkgs/01 @@ -0,0 +1 @@ +glibc diff --git a/distrib/rh9/pkgs/02 b/distrib/rh9/pkgs/02 new file mode 100644 index 0000000..9ec5d2b --- /dev/null +++ b/distrib/rh9/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall + +filesystem diff --git a/distrib/suse91/apt/rpmpriorities b/distrib/suse91/apt/rpmpriorities new file mode 100644 index 0000000..ed48a73 --- /dev/null +++ b/distrib/suse91/apt/rpmpriorities @@ -0,0 +1,2 @@ +Essential: + aaa_base diff --git a/distrib/suse91/apt/sources.list b/distrib/suse91/apt/sources.list new file mode 100644 index 0000000..ba6b5cc --- /dev/null +++ b/distrib/suse91/apt/sources.list @@ -0,0 +1 @@ +# rpm http://ftp.tu-chemnitz.de/pub/linux/suse/apt/SuSE 9.1-i386 base diff --git a/distrib/suse91/pkgs/01 b/distrib/suse91/pkgs/01 new file mode 100644 index 0000000..1905974 --- /dev/null +++ b/distrib/suse91/pkgs/01 @@ -0,0 +1 @@ +aaa_base diff --git a/distrib/suse91/pkgs/02 b/distrib/suse91/pkgs/02 new file mode 100644 index 0000000..be4e901 --- /dev/null +++ b/distrib/suse91/pkgs/02 @@ -0,0 +1,3 @@ +--reinstall +filesystem +pam diff --git a/distrib/suse91/rpm/macros b/distrib/suse91/rpm/macros new file mode 100644 index 0000000..7531428 --- /dev/null +++ b/distrib/suse91/rpm/macros @@ -0,0 +1,4 @@ +# Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725 +# you have to use at least one language beside 'C' +%_install_langs C:de:en:es:fr +%_netsharedpath /dev diff --git a/distrib/template/initpost b/distrib/template/initpost new file mode 100755 index 0000000..c6f52fa --- /dev/null +++ b/distrib/template/initpost @@ -0,0 +1,22 @@ +#! /bin/bash + +# Copyright (C) 2005 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Called as: initpost + +. "$2" + +true diff --git a/distrib/template/initpre b/distrib/template/initpre new file mode 100755 index 0000000..cb6d3b7 --- /dev/null +++ b/distrib/template/initpre @@ -0,0 +1,22 @@ +#! /bin/bash + +# Copyright (C) 2005 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +## Called as: initpre + +. "$2" + +true diff --git a/distrib/warty/debootstrap.script b/distrib/warty/debootstrap.script new file mode 100644 index 0000000..8771d37 --- /dev/null +++ b/distrib/warty/debootstrap.script @@ -0,0 +1,170 @@ +default_mirror http://old-releases.ubuntu.com/ubuntu +mirror_style release +download_style apt + +work_out_debs () { + + required="base-files base-passwd bash bsdutils coreutils libacl1 libattr1 debconf debconf-i18n liblocale-gettext-perl libtext-iconv-perl libtext-wrapi18n-perl libtext-charwidth-perl debianutils diff dpkg dselect libblkid1 e2fsprogs e2fslibs libcomerr2 libss2 libuuid1 findutils grep gzip hostname libcap1 libc6 libdb1-compat libdb3 libncurses5 libnewt0.51 libpam-modules libpam-runtime libpam0g libpopt0 login makedev mawk modutils mount ncurses-base ncurses-bin passwd perl-base procps sed slang1a-utf8 lsb-base initscripts sysvinit sysv-rc tar util-linux zlib1g whiptail libgcc1 gcc-3.3-base libstdc++5" + + base="adduser alsa-base alsa-utils apt apt-utils aptitude at base-config bind9-host bsdmainutils bzip2 console-common console-data console-tools cpio cramfsprogs cron dash dbus-1 dhcp3-client dhcp3-common discover1 discover1-data dmsetup dnsutils dosfstools ed eject evms evms-ncurses fdutils file ftp gettext-base gnupg groff-base hdparm hotplug ifrename ifupdown info initrd-tools iproute iptables iputils-arping iputils-ping iputils-tracepath jfsutils klogd less libasound2 libatm1 libbz2-1.0 libconsole libdb4.2 libdevmapper1.00 libdiscover1 libdns16 libevms-2.3 libexpat1 libfribidi0 libgc1 libgcrypt7 libgdbm3 libgnutls10 libgpg-error0 libgpmg1 libidn11 libisc7 libiw27 libldap2 liblockfile1 liblwres1 liblzo1 libmagic1 libncursesw5 libopencdk8 libparted1.6-0 libpcap0.7 libpcap0.8 libreiserfs0.3-0 libsasl2 libsigc++-1.2-5c102 libssl0.9.7 libtasn1-2 libusb-0.1-4 libwrap0 locales logrotate lshw lsof ltrace lvm-common lvm10 lvm2 mailx man-db manpages mdadm mii-diag mime-support module-init-tools mtr-tiny mutt nano net-tools netbase netcat netkit-inetd ntp ntpdate openssh-client parted pciutils popularity-contest postfix postfix-tls ppp pppconfig pppoeconf psmisc python python2.3 reiser4progs reiserfsprogs reportbug rsync strace sudo sysklogd tcpd tcpdump telnet time ubuntu-base udev usbutils vim vim-common w3m wget wireless-tools xfsprogs" + + without_package () { + echo "$2" | tr ' ' '\n' | grep -v "^$1$" | tr '\n' ' ' + } + subst_package () { + echo "$3" | tr ' ' '\n' | sed "s/^$1$/$2/" | tr '\n' ' ' + } + + LIBC6=libc6 + + case $ARCH in + "i386") + required="$required libc6-i686" + base="$base dmidecode memtest86+ libreadline4" + ;; + "powerpc") + required="$required libreadline4" + base="$base hfsplus hfsutils libhfsp0 mac-fdisk pmac-fdisk powerpc-utils" + ;; + "amd64") + base="$base dmidecode libreadline4" + ;; + *) + # who knows? + ;; + esac +} + +install_debs () { + first_stage_install + second_stage_install +} + +first_stage_install () { + extract $required + + mkdir -p "$TARGET/var/lib/dpkg" + : >"$TARGET/var/lib/dpkg/status" + echo >"$TARGET/var/lib/dpkg/available" + + setup_etc + if [ ! -e "$TARGET/etc/fstab" ]; then + echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab" + chown 0.0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab" + fi + + setup_devices + + x_feign_install () { + local pkg="$1" + local deb="$(debfor $pkg)" + local ver="$( + ar -p "$TARGET/$deb" control.tar.gz | zcat | + tar -O -xf - control ./control 2>/dev/null | + sed -ne 's/^Version: *//Ip' | head -n 1 + )" + + mkdir -p "$TARGET/var/lib/dpkg/info" + + echo \ +"Package: $pkg +Version: $ver +Status: install ok installed" >> "$TARGET/var/lib/dpkg/status" + + touch "$TARGET/var/lib/dpkg/info/${pkg}.list" + } + + x_feign_install dpkg +} + +second_stage_install () { + x_core_install () { + smallyes '' | in_target dpkg --force-depends --install $(debfor "$@") + } + + p () { + baseprog="$(($baseprog + ${1:-1}))" + } + + DEBIAN_FRONTEND=noninteractive + DEBCONF_NONINTERACTIVE_SEEN=true + export DEBIAN_FRONTEND DEBCONF_NONINTERACTIVE_SEEN + + setup_proc + in_target /sbin/ldconfig + + baseprog=0 + bases=7 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #1 + info INSTCORE "Installing core packages..." + + p; progress $baseprog $bases INSTCORE "Installing core packages" #2 + ln -sf mawk $TARGET/usr/bin/awk + x_core_install base-files base-passwd + p; progress $baseprog $bases INSTCORE "Installing core packages" #3 + x_core_install dpkg + + if [ ! -e "$TARGET/etc/localtime" ]; then + ln -sf /usr/share/zoneinfo/UTC "$TARGET/etc/localtime" + fi + + p; progress $baseprog $bases INSTCORE "Installing core packages" #4 + x_core_install $LIBC6 + + p; progress $baseprog $bases INSTCORE "Installing core packages" #5 + x_core_install perl-base + p; progress $baseprog $bases INSTCORE "Installing core packages" #6 + rm $TARGET/usr/bin/awk + x_core_install mawk + p; progress $baseprog $bases INSTCORE "Installing core packages" #7 + x_core_install debconf + + baseprog=0 + bases="$(set -- $required; echo $#)" + + info UNPACKREQ "Unpacking required packages..." + + smallyes '' | (repeat 5 in_target_failmsg UNPACK_REQ_FAIL_FIVE "Failure while unpacking required packages. This will be attempted up to five times." "" dpkg --status-fd 8 --force-depends --unpack $(debfor $required) 8>&1 1>&7 | dpkg_progress $baseprog $bases UNPACKREQ "Unpacking required packages" UNPACKING) 7>&1 + + baseprog=0 + + info CONFREQ "Configuring required packages..." + + mv "$TARGET/sbin/start-stop-daemon" "$TARGET/sbin/start-stop-daemon.REAL" + echo \ +"#!/bin/sh +echo +echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon" + chmod 755 "$TARGET/sbin/start-stop-daemon" + + setup_dselect_method apt + #on_exit "(in_target_nofail umount /dev/pts) || true" + + smallyes '' | (in_target_failmsg CONF_REQ_FAIL "Failure while configuring required packages." "" dpkg --status-fd 8 --configure --pending --force-configure-any --force-depends 8>&1 1>&7 | dpkg_progress $baseprog $bases CONFREQ "Configuring required packages" CONFIGURING) 7>&1 + + baseprog=0 + bases="$(set -- $base; echo $#)" + + info UNPACKBASE "Unpacking the base system..." + + smallyes '' | (repeat 5 in_target_failmsg INST_BASE_FAIL_FIVE "Failure while installing base packages. This will be re-attempted up to five times." "" dpkg --status-fd 8 --force-auto-select --force-overwrite --force-confold --skip-same-version --unpack $(debfor $base) 8>&1 1>&7 | dpkg_progress $baseprog $bases UNPACKBASE "Unpacking base system" UNPACKING) 7>&1 + + baseprog=0 + + info CONFBASE "Configuring the base system..." + + mv "$TARGET/usr/sbin/sendmail" "$TARGET/usr/sbin/sendmail.REAL" + ln -s /bin/true "$TARGET/usr/sbin/sendmail" + + smallyes '' | (repeat 5 in_target_failmsg CONF_BASE_FAIL_FIVE "Failure while configuring base packages. This will be attempted 5 times." "" dpkg --status-fd 8 --force-confold --skip-same-version --configure -a 8>&1 1>&7 | dpkg_progress $baseprog $bases CONFBASE "Configuring base system" CONFIGURING) 7>&1 + + rm -f "$TARGET/usr/sbin/sendmail" + mv "$TARGET/usr/sbin/sendmail.REAL" "$TARGET/usr/sbin/sendmail" + + mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" + + progress $bases $bases CONFBASE "Configuring base system" + info BASESUCCESS "Base system installed successfully." +} + diff --git a/doc/Makefile-files b/doc/Makefile-files new file mode 100644 index 0000000..5354f9d --- /dev/null +++ b/doc/Makefile-files @@ -0,0 +1,69 @@ +## $Id: Makefile-files 2338 2006-09-28 22:39:19Z dhozac $ -*- makefile -*- + +## Copyright (C) 2003 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +doc_old_doc = doc/intro.txt + +XSLT_AMFLAGS = --stringparam confdir '$(sysconfdir)/vservers' +XSLTP_AMFLAGS = -param confdir '$(sysconfdir)/vservers' + +doc_gen_DOCS = doc/configuration.html \ + doc/compatibility.html + +doc_configuration_SRCS = doc/configuration.xml \ + doc/configuration.xsd \ + doc/configuration.dtd \ + doc/configuration.css \ + doc/configuration-xhtml.xsl \ + doc/configuration-wiki.xsl + +doc_compatibility_SRCS = doc/compatibility.xml \ + doc/compatibility.dtd \ + doc/compatibility-xhtml.xsl + +EXTRA_DIST += $(doc_compatibility_SRCS) \ + $(doc_configuration_SRCS) \ + $(doc_old_doc) \ + $(doc_gen_DOCS) + +CLEANFILES += doc/*.raw.html* doc/*.html.tmp + +doc/configuration.html: STYLESHEET=$(srcdir)/doc/configuration-xhtml.xsl +doc/configuration.html: $(srcdir)/doc/configuration-xhtml.xsl + +doc/compatibility.html: STYLESHEET=$(srcdir)/doc/compatibility-xhtml.xsl +doc/compatibility.html: $(srcdir)/doc/compatibility-xhtml.xsl + +doc: doc_doc +doc_doc: $(doc_gen_DOCS) + +if HAVE_XSLTP +CLEANFILES += $(doc_gen_DOCS) +%.html: %.xml $(STYLESHEET) + @-rm -f '$@.tmp' '$@' + LANG=C $(XSLTP) $(XSLTP_AMFLAGS) -in '$<' -xsl $(STYLESHEET) -out '$@.tmp' + @mv -f '$@.tmp' '$@' +else !HAVE_XSLTP +if HAVE_XSLTPROC +CLEANFILES += $(doc_gen_DOCS) +%.html: %.xml $(STYLESHEET) + @-rm -f '$@.tmp' '$@' + $(XSLTPROC) $(XSLT_FLAGS) $(XSLT_AMFLAGS) -o '$@.tmp' "$(STYLESHEET)" "$<" + @mv -f '$@.tmp' '$@' +endif HAVE_XSLTPROC +endif !HAVE_XSLTP diff --git a/doc/compatibility-xhtml.xsl b/doc/compatibility-xhtml.xsl new file mode 100644 index 0000000..6578041 --- /dev/null +++ b/doc/compatibility-xhtml.xsl @@ -0,0 +1,70 @@ + + + + + + + + + <xsl:apply-templates select="compatibility/title"/> + + + +

+ + + + + + +
+ + + + + + + Command line interface compatibility + + + Functional compatibility + + + + + + +
+ : + +
+ +
+
+
+
+ + + + + + +
+
+ / + + ( + + ) + +
+ +
+
+ +
diff --git a/doc/compatibility.dtd b/doc/compatibility.dtd new file mode 100644 index 0000000..ad0d5a2 --- /dev/null +++ b/doc/compatibility.dtd @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + diff --git a/doc/compatibility.html b/doc/compatibility.html new file mode 100644 index 0000000..909a5ad --- /dev/null +++ b/doc/compatibility.html @@ -0,0 +1,294 @@ + + + + + + compatibility of util-vserver alpha branch + + + +

compatibility of util-vserver alpha branch

+
+
LIBDIR/capchroot
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/distrib-info (removed)
+
Command line interface compatibility: no
replaced by vpkg
+
Functional compatibility: no
+
+
+
LIBDIR/fakerunlevel
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/filetime
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/ifspec
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/install-* (removed)
+
Command line interface compatibility: no
Replaced by more general build-methods which are building vservers from apt-repositories.
+
Functional compatibility: no
+
+
+
LIBDIR/listdevip
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/parserpmdump
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/readlink
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/rootshell
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/sample.sh (removed)
+
Command line interface compatibility: no
incompatible with recent configuration style.
+
Functional compatibility: no
+
+
+
LIBDIR/save_s_context (removed)
+
Command line interface compatibility: no
incompatible with recent configuration style; partially replaced by save_ctxinfo.
+
Functional compatibility: yes
+
+
+
LIBDIR/setattr
+
Command line interface compatibility: no
Has been moved into SBINDIR. Lots of new option were added to support new functionality.
+
Functional compatibility: no
It is possible to recurse directories and it supports + all vserver related attributes (admin, hide, watch, barrier, + iunlink).
+
+
+
LIBDIR/showattr
+
Command line interface compatibility: no
Has been moved into SBINDIR. Lots of new option were added to support new functionality.
+
Functional compatibility: no
It is possible to recurse directories and it supports all + vserver related attributes (admin, hide, watch, barrier, + iunlink). The output has been changed: the flags are now in the + first column and they are displayed in a symbolic manner.
+
+
+
LIBDIR/showperm
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/vbuild (broken)
+
Command line interface compatibility: yes
+
Functional compatibility: no
will be removed/rewritten soon.
+
+
+
LIBDIR/vcheck (broken)
+
Command line interface compatibility: yes
+
Functional compatibility: no
will be removed/rewritten soon.
+
+
+
LIBDIR/vprofile (removed)
+
Command line interface compatibility: no
incompatible with recent configuration style.
+
Functional compatibility: no
+
+
+
LIBDIR/vreboot
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/vserverkillall (removed)
+
Command line interface compatibility: no
vkill contains the needed functionality + already.
+
Functional compatibility: no
+
+
+
LIBDIR/vservers.grabinfo.sh
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
LIBDIR/vunify (rewritten)
+
Command line interface compatibility: no
CLI has been changed to reflect new functionality. Now, it + accepts either a single vserver, or (directory,excludelist) + pairs as arguments. The old "refserver vserver1 vserver2 ..." + syntax is gone.
+
Functional compatibility: limited
vunify allows to unify generic paths, or vservers with + preconfigured reference vservers. The filelist is not taken from + packagemanagement anymore, but every file which has a counterpart + in the reference-path(s)/vserver(s) and is not in an excludelist + will be unified. A part of the excludelist will be generated + dynamically with information from the packagemanagement about + configfiles.
+
+
+
SBINDIR/chbind
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
SBINDIR/chcontext
+
Command line interface compatibility: yes
+
Functional compatibility: yes
Return code in '--disconnect' case is now more correctly.
+
+
+
SBINDIR/rebootmgr
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
SBINDIR/reducecap
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
SBINDIR/vdu
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
SBINDIR/vfiles (broken)
+
Command line interface compatibility: yes
+
Functional compatibility: no
will be removed/rewritten soon.
+
+
+
SBINDIR/vkill (rewritten)
+
Command line interface compatibility: yes
+
Functional compatibility: limited
It uses native kernel interface now and is secure (in + opposite to the old perl implementation).
+
+
+
SBINDIR/vps (rewritten)
+
Command line interface compatibility: yes
+
Functional compatibility: limited
It has been rewritten into C and output might have been changed slightly.
+
+
+
SBINDIR/vpstree
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
SBINDIR/vrpm (rewritten)
+
Command line interface compatibility: yes
+
Functional compatibility: limited
It has been rewritten into a secure, native C + implementation. Unpacking of files happens in host-ctx, but + scriptlets are executed in vserver context. The rpm database + will/can be hold outside of the vserver and there will never be + access on it from the inside (neither direct, nor by + scriptlets). This is implemented through an LD_PRELOAD wrapper + which provides own, secure NSS functions too.
+
+
+
SBINDIR/vserver (rewritten)
+
Command line interface compatibility: limited
It accepts all the old arguments, but adds lots of new + ones. This program is intended as the basic vserver management + tool; e.g. to unify a vserver you can execute "vserver XX unify", + to install a package "vserver XX install PKG" and so on.
+
Functional compatibility: limited
This tool is rewritten to completely and is now resistant + against symlink attacks. It uses the new configuration scheme + and the iproute2 tools instead of ifconfig for network + setup. Old-style vserver can be still started through this tool, + but modifications/building of them is not possible + anymore.
+
+
+
SBINDIR/vserver-copy (broken)
+
Command line interface compatibility: yes
+
Functional compatibility: no
will be removed/rewritten soon.
+
+
+
SBINDIR/vserver-stat (rewritten)
+
Command line interface compatibility: yes
+
Functional compatibility: yes
It has been rewritten to use the new libvserver API. The + output has been changed slightly.
+
+
+
SBINDIR/vtop
+
Command line interface compatibility: yes
+
Functional compatibility: yes
+
+
+
SBINDIR/exec-cd (new)
+
Functional compatibility: yes
changes into a directory in a secure manner and executes a + program there.
+
+
+
LIBDIR/rpm-fake-resolver (new)
+
Functional compatibility: yes
NSS resolver; used by vrpm and executed in + vserver-ctx.
+
+
+
LIBDIR/rpm-fake.so (new)
+
Functional compatibility: yes
LD_PRELOAD wrapper; used by vrpm.
+
+
+
LIBDIR/vapt-get-worker (new)
+
Functional compatibility: yes
Helper script for vapt-get.
+
+
+
LIBDIR/vpkg (new)
+
Functional compatibility: yes
Generic interface for package management; it allows + to install, remove or query packages in a distribution + independent manner. It can be seen as the successor of + distrib-info.
+
+
+
LIBDIR/vrpm-preload (new)
+
Functional compatibility: yes
Helper script for vrpm.
+
+
+
LIBDIR/vrpm-worker (new)
+
Functional compatibility: yes
Helper script for vrpm.
+
+
+
LIBDIR/vserver-build (new)
+
Functional compatibility: yes
Builds a vserver from scratch and allows to select the + used method. It will be called by the "vserver XY build" + command.
+
+
+
SBINDIR/vapt-get (new)
+
Functional compatibility: yes
Wrapper for apt-get; currently only the apt-rpm port + is supported. Metadata will/can be stored outside of the + vserver. This program call vrpm.
+
+
+
SBINDIR/chxid (new)
+
Functional compatibility: yes
This program assigns the associated context of an inode. It + replaces parts of the vserver-quota tools.
+
+
+
SBINDIR/lsxid (new)
+
Functional compatibility: yes
This program shows the associated context of an inode. It + replaces parts of the vserver-quota tools.
+
+
+
SBINDIR/new-namespace (new)
+
Functional compatibility: yes
This program starts a program within a new namespace which is + created with CLONE_NEWNS. It is used e.g. by vrpm to + map the rpm-database into the vserver in a secure manner.
+
+
+
SBINDIR/vlimit (new)
+
Functional compatibility: yes
This is an interface to the rlimit syscalls which allow to + limit resource-usage of contexts.
+
+
+
SBINDIR/vrsetup (new)
+
Functional compatibility: yes
This program allows to setup vroot devices. It replaces + vrsetup from the vr-tools
+
+ + diff --git a/doc/compatibility.xml b/doc/compatibility.xml new file mode 100644 index 0000000..5b9fde5 --- /dev/null +++ b/doc/compatibility.xml @@ -0,0 +1,413 @@ + + + + + compatibility of util-vserver alpha branch + + + LIBDIR + + + + + + LIBDIR + + replaced by vpkg + + + + + + LIBDIR + + + + + + LIBDIR + + + + + + LIBDIR + + + + + + LIBDIR + + Replaced by more general build-methods which are building vservers from apt-repositories. + + + + + + LIBDIR + + + + + + LIBDIR + + + + + + LIBDIR + + + + + + LIBDIR + + + + + + LIBDIR + + incompatible with recent configuration style. + + + + + + LIBDIR + + incompatible with recent configuration style; partially replaced by save_ctxinfo. + + + + + + LIBDIR + + Has been moved into SBINDIR. Lots of new option were added to support new functionality. + + + It is possible to recurse directories and it supports + all vserver related attributes (admin, hide, watch, barrier, + iunlink). + + + + + LIBDIR + + Has been moved into SBINDIR. Lots of new option were added to support new functionality. + + + It is possible to recurse directories and it supports all + vserver related attributes (admin, hide, watch, barrier, + iunlink). The output has been changed: the flags are now in the + first column and they are displayed in a symbolic manner. + + + + + LIBDIR + + + + + + LIBDIR + + + will be removed/rewritten soon. + + + + + LIBDIR + + + will be removed/rewritten soon. + + + + + LIBDIR + + incompatible with recent configuration style. + + + + + + LIBDIR + + + + + + LIBDIR + + vkill contains the needed functionality + already. + + + + + + LIBDIR + + + + + + LIBDIR + + CLI has been changed to reflect new functionality. Now, it + accepts either a single vserver, or (directory,excludelist) + pairs as arguments. The old "refserver vserver1 vserver2 ..." + syntax is gone. + + + vunify allows to unify generic paths, or vservers with + preconfigured reference vservers. The filelist is not taken from + packagemanagement anymore, but every file which has a counterpart + in the reference-path(s)/vserver(s) and is not in an excludelist + will be unified. A part of the excludelist will be generated + dynamically with information from the packagemanagement about + configfiles. + + + + + SBINDIR + + + + + + SBINDIR + + + Return code in '--disconnect' case is now more correctly. + + + + + SBINDIR + + + + + + SBINDIR + + + + + + SBINDIR + + + + + + SBINDIR + + + will be removed/rewritten soon. + + + + + SBINDIR + + + It uses native kernel interface now and is secure (in + opposite to the old perl implementation). + + + + + SBINDIR + + + It has been rewritten into C and output might have been changed slightly. + + + + + SBINDIR + + + + + + SBINDIR + + + It has been rewritten into a secure, native C + implementation. Unpacking of files happens in host-ctx, but + scriptlets are executed in vserver context. The rpm database + will/can be hold outside of the vserver and there will never be + access on it from the inside (neither direct, nor by + scriptlets). This is implemented through an LD_PRELOAD wrapper + which provides own, secure NSS functions too. + + + + + SBINDIR + + It accepts all the old arguments, but adds lots of new + ones. This program is intended as the basic vserver management + tool; e.g. to unify a vserver you can execute "vserver XX unify", + to install a package "vserver XX install PKG" and so on. + + + This tool is rewritten to completely and is now resistant + against symlink attacks. It uses the new configuration scheme + and the iproute2 tools instead of ifconfig for network + setup. Old-style vserver can be still started through this tool, + but modifications/building of them is not possible + anymore. + + + + + SBINDIR + + + will be removed/rewritten soon. + + + + + SBINDIR + + + It has been rewritten to use the new libvserver API. The + output has been changed slightly. + + + + + SBINDIR + + + + + + SBINDIR + + changes into a directory in a secure manner and executes a + program there. + + + + + LIBDIR + + NSS resolver; used by vrpm and executed in + vserver-ctx. + + + + + LIBDIR + + LD_PRELOAD wrapper; used by vrpm. + + + + + LIBDIR + + Helper script for vapt-get. + + + + + LIBDIR + + Generic interface for package management; it allows + to install, remove or query packages in a distribution + independent manner. It can be seen as the successor of + distrib-info. + + + + + LIBDIR + + Helper script for vrpm. + + + + + LIBDIR + + Helper script for vrpm. + + + + + LIBDIR + + Builds a vserver from scratch and allows to select the + used method. It will be called by the "vserver XY build" + command. + + + + + SBINDIR + + Wrapper for apt-get; currently only the apt-rpm port + is supported. Metadata will/can be stored outside of the + vserver. This program call vrpm. + + + + + + SBINDIR + + This program assigns the associated context of an inode. It + replaces parts of the vserver-quota tools. + + + + + SBINDIR + + This program shows the associated context of an inode. It + replaces parts of the vserver-quota tools. + + + + + SBINDIR + + This program starts a program within a new namespace which is + created with CLONE_NEWNS. It is used e.g. by vrpm to + map the rpm-database into the vserver in a secure manner. + + + + + SBINDIR + + This is an interface to the rlimit syscalls which allow to + limit resource-usage of contexts. + + + + + SBINDIR + + This program allows to setup vroot devices. It replaces + vrsetup from the vr-tools + + + diff --git a/doc/configuration-wiki.xsl b/doc/configuration-wiki.xsl new file mode 100644 index 0000000..11fe172 --- /dev/null +++ b/doc/configuration-wiki.xsl @@ -0,0 +1,335 @@ + + + + + + + + +

The contents of the directory

+ This page is automatically created by XSL transformation of configuration.xml. Additions, corrections, etc. should be made in that file, not in the Wiki page. + + + Directory names are written in bold letters. + + Boolean files are files without content. Only existence matters. + + Scalar files are files with only one line (one value). + + List files are files with multiple values. One value per line. + + Hash files are files with multiple key/value pairs. One key/value pair per line. + + Symbolic names (variables) are written in italic letters. + + + Directories are marked with a trailing / and bold letters. + + Scripts are marked with a trailing superscript *. + + Hash files (with key/value pairs) are marked with a trailing superscript #. + + Boolean files (without content) are marked with a trailing superscript 0. + + Scalar files (with only one line) are marked with a trailing superscript 1. + + List files (with multiple lines) are marked with a trailing superscript min - max sequence, where min is the minimum and max the maximum number of lines. + + Symlinks are marked with a trailing superscript @. + + Data files have no special mark up. + + Symbolic names (variables) are written in italic letters. + + + + + + +
+ + + + +
    + + + + +
+
+
+ + + + + + + + + + + + + + + + +
  • + + + script + + +
  • +
    + + + +
  • + + + hash + + +
  • +
    + + + +
  • + + + file + + +
  • +
    + + + +
  • + + + data + + +
  • +
    + + + +
  • + + + list + + +
  • +
    + + + +
  • + + + symlink + + +
  • +
    + + + +
  • + + + boolean + + +
  • +
    + + + +
  • + + + directory + + + + + / + +
  • +
    + + + / + + + + + + + + + + ''' + /'''' + + + ''' + + + + + /''' + @ + 0 + + + 0 + - + + + + 1 + * + # + + ??? + + + + + + +
    + + + + + + + + + + + + +
    + + + + +
      +
        + Allowed values: + + + +
      +
    +
    + + + + + + + + +
      +
        + + + +
      +
    +
    + + + + + + + +
      +
        + +
      +
    +
    + + +
      +
        + +
      +
    +
    + + +
      +
        + Possible values: + + + +
      +
    +
    + + + + + + + + +
      +
        + Will be called with the following parameters: + +
      +
    +
    + + + + + + + + +
    +
    + + +
        ; Default :
    +
    " + + +
        ; Since Version :
    +
    + + + + '''' + + [] +
    +
    + + + + [[# + + + |]] + + [file://] + +
    diff --git a/doc/configuration-xhtml.xsl b/doc/configuration-xhtml.xsl new file mode 100644 index 0000000..107b057 --- /dev/null +++ b/doc/configuration-xhtml.xsl @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + The <xsl:value-of select="$confdir"/> directory + + + + + + + +

    The content of the directory

    + + + + + +
    + + + + +
      + + + + +
    +
    +
    + + + + + + + + + + + + + + + + +
  • + + + script + + +
  • +
    + + + +
  • + + + hash + + +
  • +
    + + + +
  • + + + file + + +
  • +
    + + + +
  • + + + data + + +
  • +
    + + + +
  • + + + list + + +
  • +
    + + + +
  • + + + symlink + + +
  • +
    + + + +
  • + + + boolean + + +
  • +
    + + + +
  • + + + directory + + + + + / + +
  • +
    + + + / + + + + + + +
    +
    + + + +
    +
    +
    + + +
    + + +
    +
    +
    + + + + + + + + + + + + + + + + + + / + + + + + + +
    + + +
    + + + $ + + + + +
    + +
    +
    + + + + + + +
    +
    + + +
    +
    + + + + + + + + + + + + + + + + file:// + + + + + + + + + # + # + + + + +
    diff --git a/doc/configuration.css b/doc/configuration.css new file mode 100644 index 0000000..5881cee --- /dev/null +++ b/doc/configuration.css @@ -0,0 +1,54 @@ +body { + font-size: 12pt; + background-color: white; + margin: 10px; +} + +span.directory { + //text-decoration: underline; +} + + +span.symlink:after { + content: " [symlink]"; + font-size: 8pt; + font-style: normal; +} + +span.symlink { + text-decoration: none; + font-style: italic; +} + +span.script:after { + content: " [script]"; + font-size: 8pt; + font-style: normal; +} + +span.script { + color: gray; +} + +span.symbolic:before { content: "<"; } +span.symbolic:after { content: ">"; } + +span.symbolic { + font-style: italic; + text-decoration: none; +} + +div.description { + background-color: #ffffdd; +} + + +div.elements { + padding-left: 1em; +} + +dd.elements { +} + +dt.elements { +} diff --git a/doc/configuration.dtd b/doc/configuration.dtd new file mode 100644 index 0000000..148b50f --- /dev/null +++ b/doc/configuration.dtd @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/configuration.html b/doc/configuration.html new file mode 100644 index 0000000..c0305b4 --- /dev/null +++ b/doc/configuration.html @@ -0,0 +1,1941 @@ + + + + + + The /etc/vservers directory + + + + + + + +

    The content of the /etc/vservers directory

    +
      +
    • + /etc/vservers/.defaults +
      +
        +
      • + cachebase +
        +
        +A link to the directory which will hold cached information about +vservers. +
        +
      • +
      • + context.dynamic +
        +
        +If this file exists, kernel-side dynamic contexts will be used by the "vserver +... build" command. Otherwise a context will be generated, based on the +contents of context.next. +
        +
      • +
      • + context.next +
        +
        +The context id to use for the next guest created by "vserver ... build". +
        +
      • +
      • + fstab +
        +
        +The default fstab file to put in newly built guests. +
        +
      • +
      • + namespace-cleanup-skip +
        +
        +List of paths to skip during namespace cleanup. +
        +
      • +
      • + nonamespace +
        +
        +Disable namespace usage globally. It can be overridden for a single vserver +by setting the namespace flag +there. + +In this mode the /vservers directory must have +the 'barrier' attribute. Else, common chroot(2) exploits are possible. +
        +
      • +
      • + nonamespace-cleanup +
        +
        +Disable namespace cleanup globally. It can be overridden for a single vserver +by setting the namespace-cleanup flag +there. +
        +
      • +
      • + run.rev +
        +
        +Path of the vserver run reverse directory. This directory contains +symlinks named with XID numbers which point back to the configuration +directory of vservers. Under kernel 2.4 this is required for the XID +to VSERVER mapping; Under kernel 2.6 it is unused. + +NOTE: this link exists in 0.30.202+ only; in previous versions it was +a vserver specific setting. +
        +
      • +
      • + shell +
        +
        +Contains the pathname of the shell which will be used by the "vserver +... enter" command. Can be overridden by the +per-guest shell. +
        +
      • +
      • + vdirbase +
        +
        A link to the default vserver rootdirectory.
        +
      • +
      • + /etc/vservers/.defaults/apps +
        +
          +
        • + /etc/vservers/.defaults/apps/build +
          +
            +
          • + options +
            +
            +A list of default options to supply to vserver ... build, one option per line. +
            +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/debootstrap +
          +
            +
          • + mirror +
            +
            +The Debian mirror to use with the debootstrap program +
            +
          • +
          • + uri +
            +
            +When the debootstrap package is not installed; fetch it +from this uri and install it at a temporary place. +
            +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/init +
          +
            +
          • + environment +
            +
            +The environment to set when starting guests. Contains one VAR=VAL +pair per line. +
            +
          • +
          • + tty +
            +
            +A symlink to the TTY device where input/output will be redirected from/to +at startup via initscript. +
            +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/pkgmgmt +
          +
            +
          • + apt.conf +
            +
            The default apt.conf which is going to be used. It is overridden by +distribution specific configuration file. +
            +
          • +
          • + base +
            +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/vdevmap +
          +
            +
          • + /etc/vservers/.defaults/apps/vdevmap/x +
            +
            'x' is an arbitrary name, replace it with e.g. device names
            +
              +
            • + create +
              +
              When this file exists, the device can be created (if the guest has CAP_MKNOD)
              +
            • +
            • + device +
              +
              Contains the name of a device node
              +
            • +
            • + flags +
              +
              This file will let you specify unimplemented flags manually
              +
            • +
            • + open +
              +
              When this file exists, the device can be opened
              +
            • +
            • + remap +
              +
              +When this file exists, target will +have to exist as well and opening the device will in fact open the target device +
              +
            • +
            • + target +
              +
              Contains the device node of the target node to open instead of the device when remap is set
              +
            • +
            +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/vlogin +
          +
            +
          • + disable +
            +
            +When this file exists, vlogin isn't used on vserver <guest> enter. +
            +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/vprocunhide +
          +
            +
          • + files +
            +
            +A list of files which will be made visible by vprocunhide. Wildcards are +allowed and anything ending in '/' will be processed recursively. When this file exists, +it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be +absolute filenames inclusive the leading '/proc'. +
            +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/vshelper +
          +
            +
          • + debug +
            +
            +When existing, the vshelper execution will be traced. +
            +
          • +
          • + disabled +
            +
            +When existing, the vshelper functionality will be disabled for all +vservers. +
            +
          • +
          • + logfile +
            +
            +The file where output will be logged to when vshelper +is invoked from the kernel. This should point somewhere e.g. into +/var/log. +
            +
          • +
          • + warning-disabled +
            +
            +When existing, sanity checks for the vshelper functionality will be +skipped. +
            +
          • +
          • + /etc/vservers/.defaults/apps/vshelper/vshelper-methods +
            + +
          • +
          +
        • +
        • + /etc/vservers/.defaults/apps/vunify +
          +
            +
          • + exclude +
            +
            Static list of excluded files.
            +
          • +
          • + pgkmgmt-force +
            +
            +When existing, information from packagemanagement will be used to +create dynamic exclude-lists. This option requires that (a known) +packagemanagement is configured for the vserver; else the requested +operation will fail. Most tools assume 'on' as the default value. +
            +
          • +
          • + pkgmgmt-ignore +
            +
            +When existing, information from packagemanagement will not be used to +create dynamic exclude-lists. +
            +
          • +
          • + /etc/vservers/.defaults/apps/vunify/hash +
            +
            +A directory which will be used as the storage place for the +vhashify command. +
            +
              +
            • + id +
              +
              +Points to a directory within the filesystems which are used for the +vservers. There must be not more than one of such a directory per +filesystem. +
              +
            • +
            • + method +
              +
              The used hash method.
              +
            • +
            +
          • +
          +
        • +
        +
      • +
      • + /etc/vservers/.defaults/cgroup +
        +
        +This directory contains cgroup settings which should be applied to all guests. +See your kernel documentation for what settings are valid with your +configuration. +
        +
          +
        • + inherit +
          +
          +Some subsystems start out with clean slates, making it impossible to use the +cgroup before certain things have been set. This is true for e.g. the cpuset +subsystem. This file contains a list of filenames which should be explicitly +inherited from the parent (root) cgroup, if not overridden elsewhere. +The default is cpuset.cpus and cpuset.mems. +
          +
        • +
        • + mnt +
          +
          +The directory to mount the cgroup hierarchy at. The default is /dev/cgroup. +
          +
        • +
        • + name +
          +
          +If this file exists, all guests will be put in one cgroup named after the +contents of this file. The default is to put each guest in a cgroup named the +same thing as the guest. +
          +
        • +
        • + subsys +
          +
          +Comma-separated list of subsystems to enable on the cgroup mount point. +The default is "all". +
          +
        • +
        +
      • +
      • + /etc/vservers/.defaults/files +
        +
        This directory contains some files which will be copied to the guests during build.
        +
          +
        • + hosts +
          +
          The default /etc/hosts file.
          +
        • +
        • + krb.conf +
          +
          The default /etc/krb.conf file.
          +
        • +
        • + krb.realms +
          +
          The default /etc/krb.realms file.
          +
        • +
        • + krb5.conf +
          +
          The default /etc/krb5.conf file.
          +
        • +
        • + ldap.conf +
          +
          The default /etc/ldap.conf file.
          +
        • +
        • + localtime +
          +
          The default /etc/localtime file.
          +
        • +
        • + nsswitch.conf +
          +
          The default /etc/nsswitch.conf file.
          +
        • +
        • + resolv.conf +
          +
          The default /etc/resolv.conf file.
          +
        • +
        +
      • +
      • + /etc/vservers/.defaults/init +
        +
          +
        • + mtab +
          +
          Default mtab file
          +
        • +
        +
      • +
      • + /etc/vservers/.defaults/interfaces +
        +
          +
        • + vlandev +
          +
          +When this file exists, the steps which setup and destroy a VLAN +interface will be executed. +
          +
        • +
        +
      • +
      +
    • +
    • + /etc/vservers/.distributions +
      +
        +
      • + template +
        +
        +Symlink to the default template for this distribution. +
        +
      • +
      • + /etc/vservers/.distributions/dist +
        +
          +
        • + apt.conf +
          +
          +The default apt.conf which is going to be used. It overrides the +apt.conf from CONFDIR/.defaults/apps/pkgmgmt. +
          +
        • +
        • + dev +
          +
          +
        • +
        • + execdir +
          +
          +Directory with all executables and libraries which are required for +this distribution. +
          +
        • +
        • + initpost +
          +
          +Script which will be executed after packages are installed. +
          +
        • +
        • + initpre +
          +
          +Script which will be executed before packages will be installed. +
          +
        • +
        • + rpmlib +
          +
          +Directory which overrides /usr/lib/rpm. +
          +
        • +
        • + /etc/vservers/.distributions/dist/apt +
          +
          +Default content of the /etc/apt/ directory. +
          +
        • +
        • + /etc/vservers/.distributions/dist/pkgs +
          +
          +Contains files with packagenames. +
          +
            +
          • + list +
            +
            +File which contains the name of packages. On top of file the special +keywords '--reinstall' and '--can-fail' are possible. +
            +
          • +
          +
        • +
        • + /etc/vservers/.distributions/dist/pubkeys +
          +
          +Directory with GPG pubkeys which are used to sign the packages of this +distribution. +
          +
        • +
        • + /etc/vservers/.distributions/dist/rpm +
          +
          +Default content of the /etc/rpm directory. +
          +
        • +
        • + /etc/vservers/.distributions/dist/yum +
          +
          +The default, yum-related content of the /etc +directory. +
          +
            +
          • + yum.conf +
            +
            +The master yum configuration file. It supports the @YUMETCDIR@, +@YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at +vserver ... build time. +
            +
          • +
          +
        • +
        • + /etc/vservers/.distributions/dist/yum.repos.d +
          +
          A directory with yum repositories.
          +
        • +
        +
      • +
      +
    • +
    • + /etc/vservers/vserver-name +
      +
      +The configuration directory for the vserver vserver-name. +
      +
        +
      • + badness +
        +
        +Contains the bias to be applied to processes in this guest when the OOM-killer strikes. +
        +
      • +
      • + bcapabilities +
        +
        +Contains the system capabilities. See +lib/bcaps-v13.c +for possible values. +
        +
      • +
      • + cache +
        +
        +Path of the storage area for cached information about this vserver. +
        +
      • +
      • + capabilities +
        +
        +Contains per line a capability. This file is used for the 2.4 kernel +only; for 2.6 use bcapabilities. +
        +
      • +
      • + ccapabilities +
        +
        +Contains the context capabilities. See lib/ccaps-v13.c +for possible values. +
        +
      • +
      • + cflags +
        +
        +Contains per line a flag. See lib/cflags-v13.c +for possible values. +
        +
      • +
      • + context +
        +
        +Contains the context id which shall be used for the vserver. Valid range is 2 through 49151. +
        +
      • +
      • + flags +
        +
        +Old name for cflags. Deprecated. +
        +
      • +
      • + fstab +
        +
        +The fstab file for the vserver. Entries in this file will be mounted +within the network context of the host. Use the +fstab.remote file when you want that the +mounting happens in the network context of the vserver. In most cases +the 'fstab' file should be used. +
        +
      • +
      • + fstab.remote +
        +
        +The fstab file for the vserver. Entries in this file will be mounted +within the network context of the guest; this means that mount will be +called as chbind <options> mount .... See +fstab also. +
        +
      • +
      • + name +
        +
        +Contains the name of the vserver. When not given, the basename of the directory +will be assumed as this name. +
        +
      • +
      • + namespace +
        +
        +Overrides the global nonamespace flag and enables +namespace usage for the current vserver. +
        +
      • +
      • + namespace-cleanup +
        +
        +Overrides the global nonamespace-cleanup flag and enables +namespace cleanup for the current vserver. +
        +
      • +
      • + namespace-cleanup-skip +
        +
        +List of paths to skip during namespace cleanup. This overrides the global +namespace-cleanup-skip +file. +
        +
      • +
      • + ncapabilities +
        +
        +Contains the network capabilities. See lib/ncaps-net.c +for possible values. +
        +
      • +
      • + ncontext +
        +
        +Contains the network context id which shall be used for the vserver. Valid range is 2 through 49151. +
        +
      • +
      • + nflags +
        +
        +Contains a network flag per line. See lib/nflags-net.c +for possible values. +
        +
      • +
      • + nice +
        +
        +The nice-level on which the vserver will be started. +
        +
      • +
      • + nocgroup +
        +
        +If this file exists, +.defaults/cgroup will be ignored +for this guest. +
        +
      • +
      • + nonamespace +
        +
        +Disables namespace usage for the current vserver. + +In this mode the /vservers directory must have +the 'barrier' attribute. Else, common chroot(2) exploits are possible. +
        +
      • +
      • + personality +
        +
        +Used to set the personality of the vserver. First line in the file +is the personality-type followed by flags (one item per line). See +/usr/include/linux/personality.h for possible +values. +
        +
      • +
      • + run +
        +
        +Points to a file which will contain the XID of the running vserver. When +the vserver is stopped, this can be a dangling symlink. +
        +
      • +
      • + schedule +
        +
        +[deprecated; use sched instead] Contains the +scheduler parameters, one per line. + +The Hard CPU limit uses a mechanism called a Token Bucket. the +concept is simple: you have a bucket of a certain size which is +filled with a specified amount R of tokens each interval T until the +maximum is reached (excess tokens are spilled). At each timer tick, +a running process consumes one token from the bucket, unless the +bucket is empty. If the bucket is empty the process is put in the +hold queue. When the bucket has been refilled to at least M tokens, +all on hold processes are rescheduled. + +See the Linux +VServer Wiki for more information about this file. +
        +
      • +
      • + shell +
        +
        +Contains the pathname of the shell which will be used by the "vserver +... enter" command. +
        +
      • +
      • + tag +
        +
        +Contains the filesystem tag which shall be used for the vserver. Valid range is 2 through 49151. +
        +
      • +
      • + vdir +
        +
        +Path of the vserver root directory. +
        +
      • +
      • + /etc/vservers/vserver-name/apps +
        +
          +
        • + /etc/vservers/vserver-name/apps/init +
          +
            +
          • + cmd.prepare +
            +
            +The command which is used to setup the init-system (e.g. to set the +runlevel in the utmp-file). Each option must be on a separate line. +
            +
          • +
          • + cmd.start +
            +
            +The command which is used to start the vserver. Each option must be on +a separate line. +
            +
          • +
          • + cmd.start-sync +
            +
            +The command which is used to wait on the vserver after it has been +started. Each option must be on a separate line. This file will be +ignored when the sync flag does not exist and the +'--sync' option was not used. +
            +
          • +
          • + cmd.stop +
            +
            +The command which is used to stop the vserver. Each option must be on +a separate line. +
            +
          • +
          • + cmd.stop-sync +
            +
            +The command which is used to wait on the vserver after it has been +stopped. Each option must be on a separate line. This file will be +ignored when the sync flag does not exist and the +'--sync' option was not used. +
            +
          • +
          • + depends +
            +
            +This file is used to configure vservers which must be running before +the current vserver can be started. At shutdown, the current vserver +will be stopped before its dependencies. Content of this file are +vserver ids (one name per line). +
            +
          • +
          • + environment +
            +
            +The environment to set when starting the guest. Contains one VAR=VAL +pair per line. +
            +
          • +
          • + killseq +
            +
            +Contains the 'signal [wait signal]*' sequence which is used to stop +the vserver. +
            +
          • +
          • + mark +
            +
            +This file is used to mark group of vservers which shall be started/stopped +together by the initscript. Content is a simple string like 'default'. +
            +
          • +
          • + mtab +
            +
            +The initial-mtab which will be used for the vserver. +
            +
          • +
          • + runlevel +
            +
            The start runlevel.
            +
          • +
          • + runlevel.start +
            +
            The start runlevel.
            +
          • +
          • + runlevel.stop +
            +
            The stop runlevel.
            +
          • +
          • + style +
            +
            +Contains the init-style. +
            +
          • +
          • + sync +
            +
            +If this file is not present, all 'cmd.*-sync files will be ignored. +
            +
          • +
          • + tty +
            +
            +A symlink to the TTY device where input/output will be redirected +from/to at startup via initscript. +
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/apps/vdevmap +
          +
            +
          • + /etc/vservers/vserver-name/apps/vdevmap/x +
            +
            'x' is an arbitrary name, replace it with e.g. device names
            +
              +
            • + create +
              +
              When this file exists, the device can be created (if the guest has CAP_MKNOD)
              +
            • +
            • + device +
              +
              Contains the name of a device node
              +
            • +
            • + flags +
              +
              This file will let you specify unimplemented flags manually
              +
            • +
            • + open +
              +
              When this file exists, the device can be opened
              +
            • +
            • + remap +
              +
              +When this file exists, target will +have to exist as well and opening the device will in fact open the target device +
              +
            • +
            • + target +
              +
              Contains the device node of the target node to open instead of the device when remap is set
              +
            • +
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/apps/vshelper +
          +
            +
          • + action +
            +
            +The action which is going to be executed when a vshelper event +occurs. The default value is 'restart', but there can be defined own +methods by placing scripts into the +vshelper-methods directories. These scripts are +fed with the same arguments as the vshelper script. +
            +
          • +
          • + debug +
            +
            +When existing, the vshelper execution will be traced for this vserver. +
            +
          • +
          • + disabled +
            +
            +When existing, the vshelper functionality will be disabled for this +vserver. +
            +
          • +
          • + event +
            +
            +When existing, these scripts will be executed *instead* of the default +handler defined in 'action'. Their name must match the event which caused +the execution of vshelper; e.g. 'restart' or 'poweroff'. See +the vs_reboot() function in the kernel for more details. +
            +
          • +
          • + sync-timeout +
            +
            +The timeout in seconds which is used when synchronising vserver +startup/shutdown with the vshelper. When not set, 30 seconds will be +assumed. +
            +
          • +
          • + warning-disabled +
            +
            +When existing, sanity checks for the vshelper functionality will be +skipped. +
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/apps/vshelper-methods +
          + +
        • +
        • + /etc/vservers/vserver-name/apps/vunify +
          +
          +This directory contains configuration data required for vserver +unification. +
          +
            +
          • + exclude +
            +
            +
            Static list of files which are excluded for unification. This list +supports an rsync-like syntax: when a file is prefixed by '+', it is a +candidate for unification; when there is no prefix or a '-' or a '~' it +will be excluded. Shell-wildcards are allowed for the filenames.
            +
            When used with vcopy, the '~' prefix prevents copying +of the file entirely (e.g. for keyfiles). With this tool, the file will +be copied instead of hardlinked when the '-' prefix is used.
            +
            +
          • +
          • + pgkmgmt-force +
            +
            +When existing, information from packagemanagement will be used to +create dynamic exclude-lists. This option requires that (a known) +packagemanagement is configured for the vserver; else the requested +operation will fail. Most tools assume 'on' as the default value. +
            +
          • +
          • + pkgmgmt-ignore +
            +
            +When existing, information from packagemanagement will not be used to +create dynamic exclude-lists. +
            +
          • +
          • + refserver.X +
            +
            +These are symlinks to the configuration directory +(e.g. CONFDIR/vservers/<id>) of a refserver. There may be +multiple such symlinks but they must be prefixed by 'refserver.' and +will be processed in alphanumerical order. +
            +
          • +
          • + /etc/vservers/vserver-name/apps/vunify/hash +
            +
            +A directory which will be used as the storage place for the +vhashify command. +
            +
              +
            • + id +
              +
              +Points to a directory within the filesystems which are used for the +vservers. There must be not more than one of such a directory per +filesystem. +
              +
            • +
            • + method +
              +
              The used hash method.
              +
            • +
            +
          • +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/cgroup +
        +
        +This directory contains cgroup settings to be applied to this guest. +See your kernel documentation for what settings are valid with your +configuration. +
        +
          +
        • + name +
          +
          +If this file exists, the guest will be put in a cgroup named after the +contents of this file. The default is to name the cgroup the same thing as the +guest, unless +.defaults/cgroup/name says +otherwise. +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/cpuset +
        +
        +Puts the guest in a cpuset. Required entries are name, cpus and mems. +
        +
          +
        • + cpu_exclusive +
          +
          Is the CPU assignment exclusive?
          +
        • +
        • + cpus +
          +
          The list of CPUs in this cpuset
          +
        • +
        • + mems +
          +
          The list of Memory Nodes in this cpuset
          +
        • +
        • + mems_exclusive +
          +
          Is the memory node assignment exclusive?
          +
        • +
        • + name +
          +
          The name of the cpuset for this vserver
          +
        • +
        • + nocreate +
          +
          When this file exists, the cpuset will be assumed to exist already
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/dlimits +
        +
        +Note that all entries are required for the disk limit to be applied. +
        +
          +
        • + /etc/vservers/vserver-name/dlimits/x +
          +
          'x' is an arbitrary name, replace it with e.g. integers
          +
            +
          • + directory +
            +
            The directory to which the limit should be applied
            +
          • +
          • + inodes_total +
            +
            The amount of inodes this vserver should be limited to
            +
          • +
          • + reserved +
            +
            How much space (percentage-wise) should be reserved for the root user
            +
          • +
          • + space_total +
            +
            The amount of space this vserver should be limited to (measured in blocks of 1024 bytes)
            +
          • +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/interfaces +
        +
          +
        • + bcast +
          +
          The guest's broadcast address.
          +
        • +
        • + dev +
          +
          The default network device. See iface/dev for more information.
          +
        • +
        • + lback +
          +
          The guest's loopback address.
          +
        • +
        • + mask +
          +
          The default network mask.
          +
        • +
        • + novlandev +
          +
          +When this file exists, the steps which setup and destroy a VLAN +interface will be skipped. This overrides the global +vlandev setting for +this vserver. +
          +
        • +
        • + prefix +
          +
          The default network prefix-length.
          +
        • +
        • + scope +
          +
          The default scope of the network interfaces.
          +
        • +
        • + vlandev +
          +
          +When this file exists, the steps which setup and destroy a VLAN +interface will be executed for all interfaces of this vserver. +
          +
        • +
        • + /etc/vservers/vserver-name/interfaces/iface +
          +
          +'iface' is an arbitrary name for the interface; the value itself is +not important but may be interesting regarding interface-creation and +usage with chbind. Both happens in alphabetical order and +numbers like '00' are good names for these directories. +
          +
            +
          • + dev +
            +
            The network device. When this is specified, the IP address will be assigned and removed when starting and stopping the guest.
            +
          • +
          • + disabled +
            +
            When this file exists, this interface will be ignored.
            +
          • +
          • + gid +
            +
            +Sets the group ownership of tun/tap interfaces. Requires a group id, +not a group name. +
            +
          • +
          • + ip +
            +
            The IP address which will be assigned to this interface.
            +
          • +
          • + linktype +
            +
            +Sets the link type of tun/tap interfaces. +
            +
          • +
          • + mask +
            +
            The network mask.
            +
          • +
          • + name +
            +
            +When this file exists, the interface will be named with the text in +this file. Without such an entry, the IP will not be shown by +ifconfig but by ip addr ls only. Such +a labeled interface is known as an "alias" also (e.g. 'eth0:foo'). +
            +
          • +
          • + nocsum +
            +
            +If a tun or tap interface is created, the presence of this file will +disable checksumming on it. +
            +
          • +
          • + nodev +
            +
            +When this file exists, the interface will be assumed to exist +already. This can be used to assign primary interfaces which are +created by the host or another vserver. +
            +
          • +
          • + novlandev +
            +
            +When this file exists, the steps which setup and destroy a VLAN +interface will be skipped. This will override the global +vlandev and the per-guest +vlandev. +
            +
          • +
          • + peer +
            +
            +Sets the peer for a point-to-point link, such as a tun interface. +
            +
          • +
          • + prefix +
            +
            The network prefix-length.
            +
          • +
          • + scope +
            +
            The scope of the network interface.
            +
          • +
          • + shared +
            +
            +When this file exists, the tun/tap interface created will not be +owned by this particular guest. +
            +
          • +
          • + tap +
            +
            +When this file exists, a tap interface will be created when the guest +starts, and removed when the guest stops. +
            +
          • +
          • + tun +
            +
            +When this file exists, a tun interface will be created when the guest +starts, and removed when the guest stops. +
            +
          • +
          • + uid +
            +
            +Sets the ownership of tun/tap interfaces. Requires a user id, not a +username. +
            +
          • +
          • + vlandev +
            +
            +When this file exists, the steps which setup and destroy a VLAN +interface will be executed. +
            +
          • +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/ionice +
        +
          +
        • + class +
          +
          The IO scheduling class to use for this guest (see ionice(1)).
          +
        • +
        • + priority +
          +
          The IO scheduling priority to use for this guest (see ionice(1)).
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/rlimits +
        +
        +A directory with resource limits. Possible resources are cpu, fsize, +data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue, +nsock, openfd, anon, shmem, semary, nsems and dentry. This +configuration will be honored for kernel 2.6 only. +
        +
          +
        • + resource +
          +
          +A file which contains the hard- and soft-limit of the given resource +in the first line. The special keyword 'inf' is recognized. +
          +
        • +
        • + resource.hard +
          +
          +A file which contains the hard-limit of the given resource in the first +line. The special keyword 'inf' is recognized. +
          +
        • +
        • + resource.min +
          +
          +A file which contains the guaranteed minimum of the given resource in +the first line. The special keyword 'inf' is recognized. +
          +
        • +
        • + resource.soft +
          +
          +A file which contains the soft-limit of the given resource in the first +line. The special keyword 'inf' is recognized. +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/sched +
        +
          +
        • + fill-rate +
          +
          Amount of tokens to add each interval
          +
        • +
        • + fill-rate2 +
          +
          Amount of tokens to add each interval2 when advancing idle time
          +
        • +
        • + idle-time +
          +
          When this file exists, advancing idle time is activated
          +
        • +
        • + interval +
          +
          The interval between refills of the bucket
          +
        • +
        • + interval2 +
          +
          The interval between refills of the bucket when advancing idle time
          +
        • +
        • + priority-bias +
          +
          Bias added to priorities calculated within the guest (result is clamped to -20/+19)
          +
        • +
        • + tokens +
          +
          The initial amount of tokens to put in the bucket
          +
        • +
        • + tokens-max +
          +
          The bucket's size
          +
        • +
        • + tokens-min +
          +
          The minimum amount of tokens required to unhold the context
          +
        • +
        • + /etc/vservers/vserver-name/sched/cpu-id +
          +
          This directory contains per-CPU and/or per-bucket specific settings. Remember to set the cpu-id file. All CPUs inherit the global settings.
          +
            +
          • + bucket-id +
            +
            The bucket to apply these settings to
            +
          • +
          • + cpu-id +
            +
            The CPU to apply these settings to
            +
          • +
          • + fill-rate +
            +
            Amount of tokens to add each interval
            +
          • +
          • + fill-rate2 +
            +
            Amount of tokens to add each interval2 when advancing idle time
            +
          • +
          • + idle-time +
            +
            When this file exists, advancing idle time is activated
            +
          • +
          • + interval +
            +
            The interval between refills of the bucket
            +
          • +
          • + interval2 +
            +
            The interval between refills of the bucket when advancing idle time
            +
          • +
          • + priority-bias +
            +
            Bias added to priorities calculated within the guest (result is clamped to -20/+19)
            +
          • +
          • + tokens +
            +
            The initial amount of tokens to put in the bucket
            +
          • +
          • + tokens-max +
            +
            The bucket's size
            +
          • +
          • + tokens-min +
            +
            The minimum amount of tokens required to unhold the context
            +
          • +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/scripts +
        +
        +A directory for scripts. By default, when one of these scripts will be +executed, the execution of defaultscripts (within .../.defaults/scripts) +will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS +environment variable must be set by one of the in-shellcontext scripts +(the non-executable ones). +
        +
          +
        • + initialize +
          +
          +The scriptlet which will be executed before the root filesystem is mounted and +the configuration has been loaded. Before executing the script, the +configuration directory will be made the working directory. +
          +
        • +
        • + post-start +
          +
          +The scriptlet which will be executed after the vserver has been +started. Before executing the script, the vserver root directory +will be made the working directory. +
          +
        • +
        • + post-stop +
          +
          +The scriptlet which will be executed after the vserver has been +stopped, but before the directories will be umounted and the the +interfaces disabled. Before executing the script, the vserver root +directory will be made the working directory. +
          +
        • +
        • + postpost-stop +
          +
          +The scriptlet which will be executed after the vserver has been stopped +completely. Before executing the script, the vserver root directory +will be made the working directory. +
          +
        • +
        • + pre-start +
          +
          +The scriptlet which will be executed after network-interfaces were +enabled and the directories mounted, but before the vserver itself has +been started. Before executing the script, the vserver root directory +will be made the working directory. +
          +
        • +
        • + pre-stop +
          +
          +The scriptlet which will be executed before the vserver will be +stopped. Before executing the script, the vserver root directory +will be made the working directory. +
          +
        • +
        • + prepre-start +
          +
          +The scriptlet which will be executed before the network-interfaces are +enabled and the directories are mounted. Before executing the script, +the configuration directory will be made the working directory. +
          +
        • +
        • + /etc/vservers/vserver-name/scripts/initialize.d +
          +
          +Repository of initialize like scripts. Before executing the script, +the configuration directory will be made the working directory. +
          +
            +
          • + script +
            +
            See initialize.
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/scripts/post-start.d +
          +
          +Repository of post-start like scripts. Before executing these scripts, +the vserver root directory will be made the working directory. +
          +
            +
          • + script +
            +
            See post-start.
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/scripts/post-stop.d +
          +
          +Repository of post-stop like scripts. Before executing the script, the +vserver root directory will be made the working directory. +
          +
            +
          • + script +
            +
            See post-stop.
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/scripts/postpost-stop.d +
          +
          +Repository of postpost-stop like scripts. Before executing the script, +the vserver root directory will be made the working directory. +
          +
            +
          • + script +
            +
            See postpost-stop.
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/scripts/pre-start.d +
          +
          +Repository of pre-start like scripts. Before executing these scripts, +the vserver root directory will be made the working directory. +
          +
            +
          • + script +
            +
            See pre-start.
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/scripts/pre-stop.d +
          +
          +Repository of pre-stop like scripts. Before executing the script, the +vserver root directory will be made the working directory. +
          +
            +
          • + script +
            +
            See pre-stop.
            +
          • +
          +
        • +
        • + /etc/vservers/vserver-name/scripts/prepre-start.d +
          +
          +Repository of prepre-start like scripts. Before executing the script, +the configuration directory will be made the working directory. +
          +
            +
          • + script +
            +
            See prepre-start.
            +
          • +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/spaces +
        +
          +
        • + mask +
          +
          Contains a mask of spaces to clone/enter
          +
        • +
        • + net +
          +
          Enable network virtualization for this guest
          +
        • +
        • + pid +
          +
          Enables pid virtualization for this guest
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/sysctl +
        +
          +
        • + /etc/vservers/vserver-name/sysctl/x +
          +
          'x' is an arbitrary name, replace it with e.g. integers
          +
            +
          • + setting +
            +
            The sysctl setting
            +
          • +
          • + value +
            +
            The value
            +
          • +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/ulimits +
        +
        +A directory with ulimits. Possible resources are cpu, data, fsize, +locks, memlock, nofile, nproc, rss and/or stack. +
        +
          +
        • + resource +
          +
          +A file which contains the hard- and soft-limit of the given resource +in the first line. The special keyword 'inf' is recognized. +
          +
        • +
        • + resource.hard +
          +
          +A file which contains the hard-limit of the given resource in the first +line. The special keyword 'inf' is recognized. +
          +
        • +
        • + resource.soft +
          +
          +A file which contains the soft-limit of the given resource in the first +line. The special keyword 'inf' is recognized. +
          +
        • +
        +
      • +
      • + /etc/vservers/vserver-name/uts +
        +
          +
        • + context +
          +
          +The context-name of the vserver. This file is listed for completeness +only; the 'context' name is used and set internally by the util-vserver +tools and can *not* be modified. +
          +
        • +
        • + domainname +
          +
          The NIS domainname of the vserver
          +
        • +
        • + machine +
          +
          The machine-type of the vserver
          +
        • +
        • + nodename +
          +
          The node-/hostname of the vserver
          +
        • +
        • + release +
          +
          The OS-release of the vserver
          +
        • +
        • + sysname +
          +
          The sysname of the vserver
          +
        • +
        • + version +
          +
          The OS-version of the vserver
          +
        • +
        +
      • +
      +
    • +
    + + diff --git a/doc/configuration.xml b/doc/configuration.xml new file mode 100644 index 0000000..a78560b --- /dev/null +++ b/doc/configuration.xml @@ -0,0 +1,1648 @@ + + + + + + + + + + + Default mtab file + + + + + /vservers + A link to the default vserver rootdirectory. + + + + /var/cache/vservers + +A link to the directory which will hold cached information about +vservers. + + + + + +Disable namespace usage globally. It can be overridden for a single vserver +by setting the namespace flag +there. + +In this mode the /vservers directory must have +the 'barrier' attribute. Else, common chroot(2) exploits are possible. + + + + + +Disable namespace cleanup globally. It can be overridden for a single vserver +by setting the namespace-cleanup flag +there. + + + + + +List of paths to skip during namespace cleanup. + + + + + +Path of the vserver run reverse directory. This directory contains +symlinks named with XID numbers which point back to the configuration +directory of vservers. Under kernel 2.4 this is required for the XID +to VSERVER mapping; Under kernel 2.6 it is unused. + +NOTE: this link exists in 0.30.202+ only; in previous versions it was +a vserver specific setting. + + + + + +Contains the pathname of the shell which will be used by the "vserver +... enter" command. Can be overridden by the +per-guest shell. + + + + + +The default fstab file to put in newly built guests. + + + + + +If this file exists, kernel-side dynamic contexts will be used by the "vserver +... build" command. Otherwise a context will be generated, based on the +contents of context.next. + + + + + +The context id to use for the next guest created by "vserver ... build". + + + + + + + /vservers/.pkg + + + The default apt.conf which is going to be used. It is overridden by +distribution specific configuration file. + + + + + + + +The Debian mirror to use with the debootstrap program + + + + +When the debootstrap package is not installed; fetch it +from this uri and install it at a temporary place. + + + + + + + 'x' is an arbitrary name, replace it with e.g. device names + + When this file exists, the device can be opened + + + When this file exists, the device can be created (if the guest has CAP_MKNOD) + + + +When this file exists, target will +have to exist as well and opening the device will in fact open the target device + + + + This file will let you specify unimplemented flags manually + + + Contains the name of a device node + + + Contains the device node of the target node to open instead of the device when remap is set + + + + + + + +The file where output will be logged to when vshelper +is invoked from the kernel. This should point somewhere e.g. into +/var/log. + + + + + + +See vshelper/action. + + + + + + +When existing, the vshelper functionality will be disabled for all +vservers. + + + + + +When existing, the vshelper execution will be traced. + + + + + +When existing, sanity checks for the vshelper functionality will be +skipped. + + + + + + + + +A list of files which will be made visible by vprocunhide. Wildcards are +allowed and anything ending in '/' will be processed recursively. When this file exists, +it overrides the defaults in SYSDEFAULTDIR/vprocunhide-files. The entries there must be +absolute filenames inclusive the leading '/proc'. + + + + + + + +A symlink to the TTY device where input/output will be redirected from/to +at startup via initscript. + + + + + +The environment to set when starting guests. Contains one VAR=VAL +pair per line. + + + + + + + Static list of excluded files. + + + + +A directory which will be used as the storage place for the +vhashify command. + + + +Points to a directory within the filesystems which are used for the +vservers. There must be not more than one of such a directory per +filesystem. + + + + + SHA1 + The used hash method. + + + + + +When existing, information from packagemanagement will not be used to +create dynamic exclude-lists. + + + + + +When existing, information from packagemanagement will be used to +create dynamic exclude-lists. This option requires that (a known) +packagemanagement is configured for the vserver; else the requested +operation will fail. Most tools assume 'on' as the default value. + + + + + + + + +When this file exists, vlogin isn't used on vserver <guest> enter. + + + + + + + +A list of default options to supply to vserver ... build, one option per line. + + + + + + + + +When this file exists, the steps which setup and destroy a VLAN +interface will be executed. + + + + + + This directory contains some files which will be copied to the guests during build. + + The default /etc/hosts file. + + + The default /etc/nsswitch.conf file. + + + The default /etc/krb5.conf file. + + + The default /etc/krb.conf file. + + + The default /etc/krb.realms file. + + + The default /etc/ldap.conf file. + + + The default /etc/localtime file. + + + The default /etc/resolv.conf file. + + + + + +This directory contains cgroup settings which should be applied to all guests. +See your kernel documentation for what settings are valid with your +configuration. + + + +The directory to mount the cgroup hierarchy at. The default is /dev/cgroup. + + + + +Comma-separated list of subsystems to enable on the cgroup mount point. +The default is "all". + + + + +Some subsystems start out with clean slates, making it impossible to use the +cgroup before certain things have been set. This is true for e.g. the cpuset +subsystem. This file contains a list of filenames which should be explicitly +inherited from the parent (root) cgroup, if not overridden elsewhere. +The default is cpuset.cpus and cpuset.mems. + + + + +If this file exists, all guests will be put in one cgroup named after the +contents of this file. The default is to put each guest in a cgroup named the +same thing as the guest. + + + + + + + + + + + + +The default, yum-related content of the /etc +directory. + + + +The master yum configuration file. It supports the @YUMETCDIR@, +@YUMCACHEDIR@ and @YUMLOGDIR@ placeholder which will be replaced at +vserver ... build time. + + + + + A directory with yum repositories. + + + +The default apt.conf which is going to be used. It overrides the +apt.conf from CONFDIR/.defaults/apps/pkgmgmt. + + + + +Script which will be executed before packages will be installed. + + + + +The configuration directory of the vserver which is going to be set up. + + + + +The pathname of the util-vserver-vars file. + + + + + + +Script which will be executed after packages are installed. + + + + +The configuration directory of the vserver which is going to be set up. + + + + +The pathname of the util-vserver-vars file. + + + + + + + +Contains files with packagenames. + + + +File which contains the name of packages. On top of file the special +keywords '--reinstall' and '--can-fail' are possible. + + + + + + +Directory with GPG pubkeys which are used to sign the packages of this +distribution. + + + + + +Default content of the /etc/apt/ directory. + + + + + +Default content of the /etc/rpm directory. + + + + + +Directory which overrides /usr/lib/rpm. + + + + +Directory with all executables and libraries which are required for +this distribution. + + + + + +Symlink to the default template for this distribution. + + + + + + + +The configuration directory for the vserver vserver-name. + + + + ../.defaults/cachebase/VSERVERNAME + +Path of the storage area for cached information about this vserver. + + + + + ../.defaults/vdirbase/VSERVERNAME + +Path of the vserver root directory. + + + + + +Points to a file which will contain the XID of the running vserver. When +the vserver is stopped, this can be a dangling symlink. + + + + + +Contains the system capabilities. See +lib/bcaps-v13.c +for possible values. + + + + +Contains the context capabilities. See lib/ccaps-v13.c +for possible values. + + + + +Contains the network capabilities. See lib/ncaps-net.c +for possible values. + + + + + +Overrides the global nonamespace flag and enables +namespace usage for the current vserver. + + + + + +Disables namespace usage for the current vserver. + +In this mode the /vservers directory must have +the 'barrier' attribute. Else, common chroot(2) exploits are possible. + + + + + +Overrides the global nonamespace-cleanup flag and enables +namespace cleanup for the current vserver. + + + + + +List of paths to skip during namespace cleanup. This overrides the global +namespace-cleanup-skip +file. + + + + + +[deprecated; use sched instead] Contains the +scheduler parameters, one per line. + +The Hard CPU limit uses a mechanism called a Token Bucket. the +concept is simple: you have a bucket of a certain size which is +filled with a specified amount R of tokens each interval T until the +maximum is reached (excess tokens are spilled). At each timer tick, +a running process consumes one token from the bucket, unless the +bucket is empty. If the bucket is empty the process is put in the +hold queue. When the bucket has been refilled to at least M tokens, +all on hold processes are rescheduled. + +See the Linux +VServer Wiki for more information about this file. + + + + +Amount of tokens append to the bucket each interval. + + + + +The intervall between refills of amount fill_rate. This +value is express in ticks. + + + + +Initial bucket contents. + + + + +The minimum amount of tokens required to unhold processes + + + + +The bucket size. + + + + +??? + + + + + + +Contains the name of the vserver. When not given, the basename of the directory +will be assumed as this name. + + + + +The nice-level on which the vserver will be started. + + + + +Contains per line a capability. This file is used for the 2.4 kernel +only; for 2.6 use bcapabilities. + + + + +Contains the pathname of the shell which will be used by the "vserver +... enter" command. + + + + +Used to set the personality of the vserver. First line in the file +is the personality-type followed by flags (one item per line). See +/usr/include/linux/personality.h for possible +values. + + + + +Contains per line a flag. See lib/cflags-v13.c +for possible values. + + + + +Old name for cflags. Deprecated. + + + + +Contains a network flag per line. See lib/nflags-net.c +for possible values. + + + + +Contains the context id which shall be used for the vserver. Valid range is 2 through 49151. + + + + +Contains the network context id which shall be used for the vserver. Valid range is 2 through 49151. + + + + +Contains the filesystem tag which shall be used for the vserver. Valid range is 2 through 49151. + + + + +The fstab file for the vserver. Entries in this file will be mounted +within the network context of the host. Use the +fstab.remote file when you want that the +mounting happens in the network context of the vserver. In most cases +the 'fstab' file should be used. + + + + +The fstab file for the vserver. Entries in this file will be mounted +within the network context of the guest; this means that mount will be +called as chbind <options> mount .... See +fstab also. + + + + +Contains the bias to be applied to processes in this guest when the OOM-killer strikes. + + + + + + + +The initial-mtab which will be used for the vserver. + + + + + +Contains the init-style. + + + + + + + + + + The start runlevel. + + + + The start runlevel. + + + + The stop runlevel. + + + + +Contains the 'signal [wait signal]*' sequence which is used to stop +the vserver. + + + + + +The command which is used to start the vserver. Each option must be on +a separate line. + + + + + +The command which is used to wait on the vserver after it has been +started. Each option must be on a separate line. This file will be +ignored when the sync flag does not exist and the +'--sync' option was not used. + + + + + +The command which is used to stop the vserver. Each option must be on +a separate line. + + + + + +The command which is used to wait on the vserver after it has been +stopped. Each option must be on a separate line. This file will be +ignored when the sync flag does not exist and the +'--sync' option was not used. + + + + + +The command which is used to setup the init-system (e.g. to set the +runlevel in the utmp-file). Each option must be on a separate line. + + + + + +If this file is not present, all 'cmd.*-sync files will be ignored. + + + + + +A symlink to the TTY device where input/output will be redirected +from/to at startup via initscript. + + + + + +This file is used to mark group of vservers which shall be started/stopped +together by the initscript. Content is a simple string like 'default'. + + + + + +This file is used to configure vservers which must be running before +the current vserver can be started. At shutdown, the current vserver +will be stopped before its dependencies. Content of this file are +vserver ids (one name per line). + + + + + +The environment to set when starting the guest. Contains one VAR=VAL +pair per line. + + + + + + + 'x' is an arbitrary name, replace it with e.g. device names + + When this file exists, the device can be opened + + + When this file exists, the device can be created (if the guest has CAP_MKNOD) + + + +When this file exists, target will +have to exist as well and opening the device will in fact open the target device + + + + This file will let you specify unimplemented flags manually + + + Contains the name of a device node + + + Contains the device node of the target node to open instead of the device when remap is set + + + + + + + 30 + +The timeout in seconds which is used when synchronising vserver +startup/shutdown with the vshelper. When not set, 30 seconds will be +assumed. + + + + + restart + +The action which is going to be executed when a vshelper event +occurs. The default value is 'restart', but there can be defined own +methods by placing scripts into the +vshelper-methods directories. These scripts are +fed with the same arguments as the vshelper script. + + + + + +When existing, these scripts will be executed *instead* of the default +handler defined in 'action'. Their name must match the event which caused +the execution of vshelper; e.g. 'restart' or 'poweroff'. See +the vs_reboot() function in the kernel for more details. + + + + +The xid of the context calling the vshelper + + + + +The reboot-event. + + + + + + + +When existing, the vshelper functionality will be disabled for this +vserver. + + + + + +When existing, the vshelper execution will be traced for this vserver. + + + + + +When existing, sanity checks for the vshelper functionality will be +skipped. + + + + + + + + +See vshelper/action. + + + + + + +This directory contains configuration data required for vserver +unification. + + + + +

    Static list of files which are excluded for unification. This list +supports an rsync-like syntax: when a file is prefixed by '+', it is a +candidate for unification; when there is no prefix or a '-' or a '~' it +will be excluded. Shell-wildcards are allowed for the filenames.

    +

    When used with vcopy, the '~' prefix prevents copying +of the file entirely (e.g. for keyfiles). With this tool, the file will +be copied instead of hardlinked when the '-' prefix is used.

    +
    +
    + + + +These are symlinks to the configuration directory +(e.g. CONFDIR/vservers/<id>) of a refserver. There may be +multiple such symlinks but they must be prefixed by 'refserver.' and +will be processed in alphanumerical order. + + + + + +A directory which will be used as the storage place for the +vhashify command. + + + +Points to a directory within the filesystems which are used for the +vservers. There must be not more than one of such a directory per +filesystem. + + + + + SHA1 + The used hash method. + + + + + +When existing, information from packagemanagement will not be used to +create dynamic exclude-lists. + + + + + +When existing, information from packagemanagement will be used to +create dynamic exclude-lists. This option requires that (a known) +packagemanagement is configured for the vserver; else the requested +operation will fail. Most tools assume 'on' as the default value. + + + +
    +
    + + + +A directory for scripts. By default, when one of these scripts will be +executed, the execution of defaultscripts (within .../.defaults/scripts) +will be skipped. To execute them nevertheless, the $DONT_SKIP_DEFAULTS +environment variable must be set by one of the in-shellcontext scripts +(the non-executable ones). + + + + +The scriptlet which will be executed before the root filesystem is mounted and +the configuration has been loaded. Before executing the script, the +configuration directory will be made the working directory. + + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + +Repository of initialize like scripts. Before executing the script, +the configuration directory will be made the working directory. + + + See initialize. + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + + + +The scriptlet which will be executed before the network-interfaces are +enabled and the directories are mounted. Before executing the script, +the configuration directory will be made the working directory. + + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + +Repository of prepre-start like scripts. Before executing the script, +the configuration directory will be made the working directory. + + + See prepre-start. + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + + + +The scriptlet which will be executed after network-interfaces were +enabled and the directories mounted, but before the vserver itself has +been started. Before executing the script, the vserver root directory +will be made the working directory. + + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + +Repository of pre-start like scripts. Before executing these scripts, +the vserver root directory will be made the working directory. + + + See pre-start. + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + + + + +The scriptlet which will be executed after the vserver has been +started. Before executing the script, the vserver root directory +will be made the working directory. + + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + +Repository of post-start like scripts. Before executing these scripts, +the vserver root directory will be made the working directory. + + + See post-start. + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + + + + +The scriptlet which will be executed before the vserver will be +stopped. Before executing the script, the vserver root directory +will be made the working directory. + + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + +Repository of pre-stop like scripts. Before executing the script, the +vserver root directory will be made the working directory. + + + See pre-stop. + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + + + +The scriptlet which will be executed after the vserver has been +stopped, but before the directories will be umounted and the the +interfaces disabled. Before executing the script, the vserver root +directory will be made the working directory. + + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + +Repository of post-stop like scripts. Before executing the script, the +vserver root directory will be made the working directory. + + + See post-stop. + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + + + +The scriptlet which will be executed after the vserver has been stopped +completely. Before executing the script, the vserver root directory +will be made the working directory. + + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + +Repository of postpost-stop like scripts. Before executing the script, +the vserver root directory will be made the working directory. + + + See postpost-stop. + + + +The fixed value of the current action (e.g. 'prepre-start', 'post-stop'...). + + + + +The name of the current vserver. + + + + + + + + + + The guest's broadcast address. + + + The guest's loopback address. + + + The default network device. See iface/dev for more information. + + + The default network prefix-length. + + + The default network mask. + + + The default scope of the network interfaces. + + + +When this file exists, the steps which setup and destroy a VLAN +interface will be executed for all interfaces of this vserver. + + + + +When this file exists, the steps which setup and destroy a VLAN +interface will be skipped. This overrides the global +vlandev setting for +this vserver. + + + + + +'iface' is an arbitrary name for the interface; the value itself is +not important but may be interesting regarding interface-creation and +usage with chbind. Both happens in alphabetical order and +numbers like '00' are good names for these directories. + + + + When this file exists, this interface will be ignored. + + + + The IP address which will be assigned to this interface. + + + The network device. When this is specified, the IP address will be assigned and removed when starting and stopping the guest. + + + The network prefix-length. + + + The network mask. + + + The scope of the network interface. + + + +When this file exists, the interface will be named with the text in +this file. Without such an entry, the IP will not be shown by +ifconfig but by ip addr ls only. Such +a labeled interface is known as an "alias" also (e.g. 'eth0:foo'). + + + + +When this file exists, the interface will be assumed to exist +already. This can be used to assign primary interfaces which are +created by the host or another vserver. + + + + +When this file exists, the steps which setup and destroy a VLAN +interface will be skipped. This will override the global +vlandev and the per-guest +vlandev. + + + + +When this file exists, the steps which setup and destroy a VLAN +interface will be executed. + + + + +When this file exists, a tun interface will be created when the guest +starts, and removed when the guest stops. + + + + +When this file exists, a tap interface will be created when the guest +starts, and removed when the guest stops. + + + + +If a tun or tap interface is created, the presence of this file will +disable checksumming on it. + + + + +When this file exists, the tun/tap interface created will not be +owned by this particular guest. + + + + +Sets the ownership of tun/tap interfaces. Requires a user id, not a +username. + + + + +Sets the group ownership of tun/tap interfaces. Requires a group id, +not a group name. + + + + +Sets the link type of tun/tap interfaces. + + + + +Sets the peer for a point-to-point link, such as a tun interface. + + + + + + + +A directory with ulimits. Possible resources are cpu, data, fsize, +locks, memlock, nofile, nproc, rss and/or stack. + + + +A file which contains the hard- and soft-limit of the given resource +in the first line. The special keyword 'inf' is recognized. + + + + +A file which contains the hard-limit of the given resource in the first +line. The special keyword 'inf' is recognized. + + + + +A file which contains the soft-limit of the given resource in the first +line. The special keyword 'inf' is recognized. + + + + + + +A directory with resource limits. Possible resources are cpu, fsize, +data, stack, core, rss, nproc, nofile, memlock, as, locks, msgqueue, +nsock, openfd, anon, shmem, semary, nsems and dentry. This +configuration will be honored for kernel 2.6 only. + + + +A file which contains the hard- and soft-limit of the given resource +in the first line. The special keyword 'inf' is recognized. + + + + +A file which contains the hard-limit of the given resource in the first +line. The special keyword 'inf' is recognized. + + + + +A file which contains the soft-limit of the given resource in the first +line. The special keyword 'inf' is recognized. + + + + +A file which contains the guaranteed minimum of the given resource in +the first line. The special keyword 'inf' is recognized. + + + + + + + +The context-name of the vserver. This file is listed for completeness +only; the 'context' name is used and set internally by the util-vserver +tools and can *not* be modified. + + + + The sysname of the vserver + + + The node-/hostname of the vserver + + + The OS-release of the vserver + + + The OS-version of the vserver + + + The machine-type of the vserver + + + The NIS domainname of the vserver + + + + + +Note that all entries are required for the disk limit to be applied. + + + 'x' is an arbitrary name, replace it with e.g. integers + + The directory to which the limit should be applied + + + The amount of inodes this vserver should be limited to + + + The amount of space this vserver should be limited to (measured in blocks of 1024 bytes) + + + How much space (percentage-wise) should be reserved for the root user + + + + + + + 'x' is an arbitrary name, replace it with e.g. integers + + The sysctl setting + + + The value + + + + + + +Puts the guest in a cpuset. Required entries are name, cpus and mems. + + + The name of the cpuset for this vserver + + + The list of CPUs in this cpuset + + + The list of Memory Nodes in this cpuset + + + Is the CPU assignment exclusive? + + + Is the memory node assignment exclusive? + + + When this file exists, the cpuset will be assumed to exist already + + + + + + The initial amount of tokens to put in the bucket + + + The minimum amount of tokens required to unhold the context + + + The bucket's size + + + Amount of tokens to add each interval + + + The interval between refills of the bucket + + + Bias added to priorities calculated within the guest (result is clamped to -20/+19) + + + Amount of tokens to add each interval2 when advancing idle time + + + The interval between refills of the bucket when advancing idle time + + + When this file exists, advancing idle time is activated + + + This directory contains per-CPU and/or per-bucket specific settings. Remember to set the cpu-id file. All CPUs inherit the global settings. + + The initial amount of tokens to put in the bucket + + + The minimum amount of tokens required to unhold the context + + + The bucket's size + + + Amount of tokens to add each interval + + + The interval between refills of the bucket + + + Bias added to priorities calculated within the guest (result is clamped to -20/+19) + + + Amount of tokens to add each interval2 when advancing idle time + + + The interval between refills of the bucket when advancing idle time + + + When this file exists, advancing idle time is activated + + + The CPU to apply these settings to + + + The bucket to apply these settings to + + + + + + + Enables pid virtualization for this guest + + + Enable network virtualization for this guest + + + Contains a mask of spaces to clone/enter + + + + + + The IO scheduling class to use for this guest (see ionice(1)). + + + The IO scheduling priority to use for this guest (see ionice(1)). + + + + + +This directory contains cgroup settings to be applied to this guest. +See your kernel documentation for what settings are valid with your +configuration. + + + +If this file exists, the guest will be put in a cgroup named after the +contents of this file. The default is to name the cgroup the same thing as the +guest, unless +.defaults/cgroup/name says +otherwise. + + + + + +If this file exists, +.defaults/cgroup will be ignored +for this guest. + + +
    +
    diff --git a/doc/configuration.xsd b/doc/configuration.xsd new file mode 100644 index 0000000..df42555 --- /dev/null +++ b/doc/configuration.xsd @@ -0,0 +1,231 @@ + + + + + + Filesystem Database schema writen by Olivier Poitrey on 4/20/2004 + Version $Id: configuration.xsd 1496 2004-04-22 19:24:05Z ensc $ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Avoid duplicate element with same name attribute on the same level tree + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Avoid duplicate element with same name attribute on the same level tree + + + + + + + + diff --git a/doc/intro.txt b/doc/intro.txt new file mode 100644 index 0000000..e649a75 --- /dev/null +++ b/doc/intro.txt @@ -0,0 +1,1430 @@ + + 1. [1]Introduction [new.gif] + 1.1 [2]Who needs that [new.gif] + 2. [3]Principles [new.gif] + 2.1 [4]Non reversible isolation [new.gif] + 2.2 [5]Isolation areas [new.gif] + 2.3 [6]New system calls [new.gif] + 2.4 [7]Limiting super-user: The capabilities system [new.gif] + 2.5 [8]Enhancing the capability system [new.gif] + 2.6 [9]Playing with the new system calls [new.gif] + 2.6.1 [10]Playing with /usr/sbin/chcontext [new.gif] + 2.6.2 [11]Playing with /usr/sbin/chcontext as root [new.gif] + 2.6.3 [12]Playing with /usr/sbin/chbind [new.gif] + 2.6.4 [13]Playing with /usr/sbin/reducecap [new.gif] + 2.7 [14]Unification [new.gif] + 3. [15]Applications [new.gif] + 3.1 [16]Virtual server [new.gif] + 3.2 [17]Per user fire-wall [new.gif] + 3.3 [18]Secure server/Intrusion detection [new.gif] + 3.4 [19]Fail over servers [new.gif] + 4. [20]Installation [new.gif] + 4.1 [21]The packages [new.gif] + 4.2 [22]Setting a virtual server [new.gif] + 4.3 [23]Basic configuration of the virtual server [new.gif] + 4.4 [24]Entering the virtual server [new.gif] + 4.5 [25]Configuring the services [new.gif] + 4.6 [26]Starting/Stopping the virtual server [new.gif] + 4.7 [27]Starting/Stopping all the virtual servers [new.gif] + 4.8 [28]Restarting a virtual server from inside [new.gif] + 4.9 [29]Executing tasks at vserver start/stop time [new.gif] + 4.10 [30]Issues [new.gif] + 4.11 [31]How real is it ? [new.gif] + 5. [32]Features [new.gif] + 6. [33]Future directions [new.gif] + 6.1 [34]User controlled security box [new.gif] + 6.2 [35]Kernel enhancements [new.gif] + 6.2.1 [36]Per context disk quota [new.gif] + 6.2.2 [37]Global limits [new.gif] + 6.2.3 [38]Scheduler [new.gif] + 6.2.4 [39]Security issues [new.gif] + 6.2.4.1 [40]/dev/random [new.gif] + 6.2.4.2 [41]/dev/pts [new.gif] + 6.2.4.3 [42]Network devices [new.gif] + 7. [43]Alternative technologies [new.gif] + 7.1 [44]Virtual machines [new.gif] + 7.2 [45]Partitioning [new.gif] + 7.3 [46]Limitation of those technologies [new.gif] + 8. [47]Conclusion [new.gif] + 9. [48]Download [new.gif] + 10. [49]References [new.gif] + + Virtual private servers and security contexts + + Running independent Linux servers inside a single PC is now possible. + They offer many advantages, including higher security, flexibility and + cost reduction. + + NEW + +Introduction + + Linux computers are getting faster every day. So we should probably + end up with less, more powerful servers. Instead we are seeing more + and more servers. While there are many reasons for this trend (more + services offered), the major issue is more related to security and + administrative concerns. + + Is it possible to split a Linux server into virtual ones with as much + isolation as possible between each one, looking like real servers, yet + sharing some common tasks (monitoring, backup, ups, hardware + configuration, ...) ? + + We think so ... NEW + +Who needs that + + The short answer is everybody, or everybody managing a server. Here + are some applications: + + * Hosting: Complete general purpose hosting (Running many + independent servers in one box). + * Experimentation: You are toying with a new services and do not + want to impact the production services on the same machine. + * Education: Each student has its own server with root password. + * Personal security box: Run un-trusted applications with complete + control over their interaction with the rest of the computer and + the network. + * Managing several "versions" of the same server/project and turning + on/off each version independantly. + + Just think about all the viruses and worms out there, you end up with + a big everybody using a computer needs this. :-) NEW + +Principles + + NEW + +Non reversible isolation + + Unix and Linux have always had the chroot() system call. This call was + used to trap a process into a sub-directory. After the system-call, + the process is led to believe that the sub-directory is now the root + directory. This system call can't be reversed. In fact, the only thing + a process can do is trap itself further and further in the file-system + (calling chroot() again). + + The strategy is to introduce new system calls trapping the processes + in other areas within the server. NEW + +Isolation areas + + A virtual server is isolated from the rest of the server in 5 areas: + + * File system + The vserver is trapped into a sub-directory of the main server and + can't escape. This is done by the standard chroot() system call + found on all Unix and Linux boxes. + * Processes + The vserver can only see the processes in the same security + context. Even the root server can't see the processes in vservers, + making the root server less "dangerous" to use. A special + mechanism (context number 1) exists to view all processes though + (Limited to root in the root server). + * Networking + The vserver is assigned a host name and an IP number. The server + can only use this IP number to establish services and client + connection. Further, this restriction is transparent. + * Super user capabilities + The super user running in a vserver has less privileges than the + normal Linux root user. For example, it can't reconfigure the + networking and many aspect of the system. It can't mount devices, + can't access block devices and so on. + Roughly. the vserver super-user has full control over all files + and processes in the vserver and that's pretty much it. + * System V inter process communications + Sysv IPC resources are private to each vserver. The security + context is used as an extra key to select and assign resources. + + Those facilities are used together to create a runtime environment for + virtual servers. But they can be used independently to achieve various + goals. NEW + +New system calls + + The new system calls, as well as the existing chroot() system call are + sharing one common feature: Their effect can't be reversed. Once you + have executed one of those system call (chroot, new_s_context, + set_ipv4root), you can't get back. This affects the current process + and all the child processes. The parent process is not influenced. + + * new_s_context (int ctx) + This system call sets a new security context for the current + process. It will be inherited by all child processes. The security + context is just an id, but the system call makes sure a new unused + one is allocated. + A process can only see other processes sharing the same security + context. When the system boot, the original security context is 0. + But this one is not privileged in anyway. Processes member of the + security context 0 can only interact (and see) processes member of + context 0. + This system call isolates the processes space. + * Setting the capabilities ceiling + This is handle by the new_s_context system call as well. This + reduces the ceiling capabilities of the current process. Even + setuid sub-process can't grab more capabilities. The capability + system found since Linux 2.2 is explained later in this document. + * set_ipv4root(unsigned long ip) + This system call locks the process (and children) into using a + single IP when they communicate and when they installs a service. + This system call is a one shot. Once a process have set its IPV4 + (Internet Protocol Version 4) address to something different from + 0.0.0.0, it can't change it anymore. Children can't change it + either. + If a process tries to bind a specific IP number, it will succeed + only if this corresponds to the ipv4root (if different from + 0.0.0.0). If the process bind to any address, it will get the + ipv4root. + Basically, once a process is locked to a given ipv4root it is + forced to use this IP address to establish a service and + communicate. The restriction on services is handy: Most service + (Web servers, SQL servers) are binding to address 0.0.0.0. With + the ipv4root sets to a given IP you can have two virtual servers + using the exact same general/vanilla configuration for a given + services and running without any conflict. + This system calls isolate the IP network space. + + Those system calls are not privileged. Any user may issue them. NEW + +Limiting super-user: The capabilities system + + Once you have created a virtual environment where processes have a + limited view of the file-system, can't see processes outside of their + world and can only use a single IP number, you still must limit the + damages those processes can do. The goal is to run virtual + environments and provide some root privileges. + + How do you limit those root processes from taking over the system, or + even just re-booting it. Enter the capability system. This is not new, + but we suspect many people have never heard of it. + + In the old Unix/Linux days, user root (user ID 0) could do things + other user ID could not. All over the place in the kernel, system + calls were denying access to some resources unless the user ID of the + process (effective ID in fact) was 0. Plain zero. + + The only way a process with user ID 0 could loose some privileges was + by changing to another ID. Unfortunately this was an all or nothing + deal. Enter the capabilities. + + Today, the difference between root and the other users is the + capability set. User root has all capabilities and the other users + have none. The user ID 0 does not mean anything special anymore. There + are around 30 capabilities defined currently. A process may request to + loose a capability forever. It won't be able to get it back. + + Capabilities allows a root process to diminish its power. This is + exactly what we need to create custom super-user. A super-user process + in a virtual server would have some privileges such as binding port + below 1024, but would not be able to reconfigure the network or reboot + the machine. Check the file /usr/include/linux/capability.h to learn + which one are available. + + Note that the new system calls (new_s_context and set_ipv4root) are + not controlled by capabilities. They are by nature irreversible. Once + a virtual server is trapped in a chroot/s_context/ipv4root box, it + can't escape from the parameters of this trap. + + NEW + +Enhancing the capability system + + The Linux capability system, is still a work in progress. At some + point, we expect to see capabilities attached to programs, + generalizing the setuid concept. A setuid program would become a + program with all capability granted. + + For now, this is not available. As explained above a process may + request to loose capabilities and its child process will be trapped + with a smaller capability set. + + Well, ..., it does not work that way. Unfortunately, until + capabilities could be assigned to program, we still need a way to get + back capabilities even in a child process. So the irreversible logic + of the capabilities is kind of short circuited in the kernel. + + To solve this, we have introduced a new per-process capability ceiling + (cap_bset). This one represents the capability set inherited by child + process, including setuid root child process. Lowering this ceiling is + irreversible for a process and all its child. + + This ceiling is handled by the new_s_context system call and the + reducecap and chcontext utilities (part of the vserver package). + + Using this, we can setup a virtual server environment where root has + less capabilities, so can't reconfigure the main server. + + NEW + +Playing with the new system calls + + The vserver package provides 3 utilities to make use of the new system + calls. We will describe shortly how they work and provide few example. + We invite the reader to try those example, so it has a better feel and + trust. + + After re-booting with a kernel implementing the new system calls, and + installing the vserver package, one is ready to do experiment. You do + not need to be root to test those new utilities. None of them is + setuid either. NEW + +Playing with /usr/sbin/chcontext + + The /usr/sbin/chcontext utility is used to enter into a new security + context. The utility switch the security context and execute a + program, specified on the command line. This program is now isolated + and can't see the other processes running on the server. + + The experiment with this, start two command windows (xterm), as the + same user ID. In each window execute the following commands: + + xterm + + Using chcontext: first window + +/usr/sbin/chcontext /bin/sh +pstree +killall xterm +exit + + Using chcontext: second window + In the first window, you start the xterm command (or any command you + like). In the second window you execute chcontext. This starts a new + shell. You execute pstree and see very little. You attempt to kill the + xterm and you fail. You exit this shell and you are back seeing all + processes. + + Here is another example. You switch context and you get a new shell. + In this shell you start an xterm. Then you switch context again and + start another sub-shell. Now the sub-shell is again isolated. + +/usr/sbin/chcontext /bin/sh +pstree +xterm & +pstree +# Ok now you see your xterm +/usr/sbin/chcontext /bin/sh +pstree +# the xterm is not there, killall will fail +killall xterm +# Now we exit the shell +exit +pstree +# the xterm is there +killall xterm +# Ok, it is gone +exit +# We are back to the initial security context + + Using chcontext several times + Processes isolated using chcontext are doubly isolated: They can't see + the other processes on the server, but the other processes can't see + them either. The original security context (0) when you boot is no + better than the other: It sees only process in security context 0. + + While playing with chcontext, you will notice an exception. The + process 1 is visible from every security context. It is visible to + please utilities like pstree. But only root processes in security + context 0 are allowed to interact with it. NEW + +Playing with /usr/sbin/chcontext as root + + The new_s_context system call has a special semantic for root + processes running in security context 0 and having the CAP_SYS_ADMIN + capability: They can switch to any context they want. + + Normally, new_s_context allocates a new security context by selecting + an unused one. It walks all processes and find an ID (an integer) not + currently in use. + + But root in security context 0 is allowed to select the context it + wants. This allow the main server to control the virtual server. The + chcontext utility has the --ctx option to specify the context ID you + want. + + To help manage several virtual server, given that the security context + 0 can't see processes in other security context, it is a good thing + root in the main server (security context 0) is allowed to select a + specific context. Cool. But we also need a way to have a global + picture showing all processes in all security context. The security + context 1 is reserved for this. Security context 1 is allowed to see + all processes on the server but is not allowed to interact with them + (kill them). + + This special feature was allocated to security context 1 and not 0 + (the default when you boot) to isolate virtual servers from the main. + This way, while maintaining services on the main server, you won't + kill service in vservers accidentally. + + Here is an example showing those concepts: + +# You must be root, running X +# We start an xterm in another security context +/usr/sbin/chcontext xterm & +# We check, there is no xterm running, yet we can +# see it. +ps ax | grep xterm +# Are we running in security context 0 +# We check the s_context line in /proc/self/status +cat /proc/self/status +# Ok we in security context 0 +# Try the security context 1 +/usr/sbin/chcontext --ctx 1 ps ax | grep xterm +# Ok, we see the xterm, we try to kill it +/usr/sbin/chcontext --ctx 1 killall xterm +# No, security context 1 can see, but can't kill +# let's find out in which security context this +# xterm is running +/usr/sbin/chcontext --ctx 1 ps ax | grep xterm +# Ok, this is PID XX. We need the security context +/usr/sbin/chcontext --ctx 1 cat /proc/XX/status +# We see the s_context, this is SS. +# We want to kill this process +/usr/sbin/chcontext --ctx SS killall xterm + + chcontext as root + The /usr/sbin/vpstree and /usr/sbin/vps commands are supplied by the + vserver package. They simply runs ps and pstree in security context 1. + NEW + +Playing with /usr/sbin/chbind + + The chbind utility is used to lock a process and its children into + using a specific IP number. This applies to services and client + connection as well. Here are few examples. Execute them as root: + +# httpd is running +netstat -atn | grep ":80 " +# We see a line like this +# tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN +# Now we restart httpd, but we lock it so it +# uses only the main IP of eth0 +/usr/sbin/chbind --ip eth0 /etc/rc.d/init.d/httpd restart +netstat -atn | grep ":80 " +# Now we see a line like +# tcp 0 192.168.1.1:80 0.0.0.0:* LISTEN +# httpd.conf was not changed. +# Now, restart it normally +/etc/rc.d/init.d/httpd restart +# Now we experiment with client socket +# Log using telnet +telnet localhost +# Once logged in +netstat -atn | grep ":23 " +# You should see a line showing a connection from +# 127.0.0.1 to 127.0.0.1 like this +# tcp 0 0 127.0.0.1:23 127.0.0.1:32881 ESTABLISHED +exit +# Now we do the telnet again, bug forcing it to select a specific IP +/usr/sbin/chbind --ip eth0 telnet localhost +# Log in and then execute +netstat -atn | grep ":23 " +# You will get something like +# tcp 0 0 127.0.0.1:23 192.168.3.9:32883 ESTABLISHED + + Using /usr/sbin/chbind + NEW + +Playing with /usr/sbin/reducecap + + The reducecap utility is used to lower the capability ceiling of a + process and child process. Even setuid program won't be able to grab + more capabilities. + +# You are not root now +# What is the current capability ceiling +cat /proc/self/status +# The capBset line presents mostly 1s. +/usr/sbin/reducecap --secure /bin/sh +cat /proc/self/status +# The capBset now shows many more 0s. +# The capEff shows all 0s, you have no privilege now +# We su to root +su +cat /proc/self/status +# capEff is much better now, but there are still many 0s +# Now we try to see if we are really root +tail /var/log/messages +# So far so good, we see the content +/sbin/ifconfig eth0 +/sbin/ifconfig eth0 down +# No way, we can't configure the interface. In fact +# we have lost most privilege normally assigned to root +exit + + Using /usr/sbin/reducecap + NEW + +Unification + + Installing a virtual private server copies a linux installation inside + a sub-directory. It is a linux inside linux. If you intend to run + several vservers on the same box (which you will certainly do :-) ), + you will end up using a lot of disk space needlessly: Each vserver is + made up hundreds of megabytes of the same stuff. This is a big waste + of disk space. + + A solution is to use hard links to connect together common files. + Using the package information, we can tell which packages are shared + between various vservers, which files are configuration files and + which are not (binaries, libraries, resource files, ...). Non + configuration files may be linked together saving a huge amount of + disk space: A 2 GIG rh7.2 installation shrinks to 38megs. + + Using hard links is cool, but may be a problem. If one vserver + overwrite one file, say /bin/ls, then every vserver will inherit that + change. Not fun! The solution is to set the immutable bit on every + linked file. A file with such a bit on can't be modified, even by + root. The only way to modify it is to turn off the bit first. But + within a vserver environment, even root is not allowed to perform this + task. So linked file, turned immutable, are now safe: They can be + shared between vservers without side effects: Cool! + + Well, there is still another side effect. All vservers are now locked + with the same files. We are saving a lot of disk space, but we pay a + very heavy price for that: Vservers can't evolve independantly. + + A solution was found. A new bit call immutable-linkage-invert was + added. Combined with the immutable bit, a file may not be modified, + but may be unlinked. Unlinking a file in Unix/Linux means + disconnecting the name from the data and removing the name from the + directory. If the data is still referenced by one or more vservers, it + continue to exist on disk. So doing "rm /bin/ls" on a vserver, removes + the file /bin/ls for that vserver and that's all. If all vservers + perform this task, then /bin/ls (the data) will be forgotten completly + and the disk space will be recovered. + + Using this trick, a vserver gets back its independance. It becomes + possible to update packages by using the unlink/update sequence: + Unlink /bin/ls first and then put a new copy in place. Luckily, + package manager works this way. + + To keep this story short (probably too late :-) ), a unified vserver: + * Uses little disk space + * Can't interfere with other vservers by changing one of its file. + * Can perform package update/deletion normally using standard + practice. + + NEW + +Applications + + NEW + +Virtual server + + The first goal of this project is to create virtual servers sharing + the same machine. A virtual server operate like a normal Linux server. + It runs normal services such as telnet, mail servers, web servers, SQL + servers. In most cases, the services run using standard configuration: + The services are running unaware of the virtual server concept. + + Normal system administration is performed with ordinary admin tool. + Virtual servers have users account and a root account. + + Packages are installed using standard packages (RPMs for example). + + There are few exceptions. Some configuration can't be done inside a + virtual server. Notably the network configuration and the file-system + (mount/umount) can't be performed from a virtual server. + + NEW + +Per user fire-wall + + The set_ipv4root() system call may be used to differentiate the + various users running on an application server. If you want to setup a + fire-wall limiting what each user is doing, you have to assign one IP + per user, even if they are running application on the same server. The + chbind utility may be used to achieve that. NEW + +Secure server/Intrusion detection + + While it can be interesting to run several virtual servers in one box, + there is one concept potentially more generally useful. Imagine a + physical server running a single virtual server. The goal is isolate + the main environment from any service, any network. You boot in the + main environment, start very few services and then continue in the + virtual server. The service in the main environment could be + + * Un-reachable from the network. + * The system log daemon. While virtual server could log messages, + they would be unable to change/erase the logs. So even a cracked + virtual server would not be able the edit the log. + * Some intrusion detection facilities, potentially spying the state + of the virtual server. For example tripwire could run there and it + would be impossible to circumvent its operation or trick it. + + NEW + +Fail over servers + + One key feature of a virtual server is the independence from the + actual hardware. Most hardware issues are irrelevant for the virtual + server installation. For example: + + * Disk layout, partitions and the /etc/fstab configuration. The + virtual server has a dummy /etc/fstab. + * Network devices. + * Processor type, number of processor (kernel selection). + + The main server acts as a host and takes care of all those details. + The virtual server is just a client and ignores all the details. As + such, the client can be moved to another physical server will very few + manipulations. For example, to move the virtual server v1 from one + physical one computer to another, you do + + * Turn it off + /usr/sbin/vserver v1 stop + * Copy the file /etc/vservers/v1.conf to the new server. + * Copy all files in /vservers/v1 to the new server + * On the new server, start the vserver v1 + /usr/sbin/vserver v1 start + + As you see, there is no adjustment to do: + + * No user account merging. + * No hardware configuration to fix. + + This opens the door to fail over servers. Imagine a backup server + having a copy of many virtual servers. It can take over their tasks + with a single command. Various options exists for managing this backup + server: + + * rsync to synchronize the data. + * Network block devices to synchronize the data in real time. + * Sharing the installation over a SAN (storage area network). + * Heartbeat for automatic monitoring/fail over. + + NEW + +Installation + + NEW + +The packages + + * The kernel + We are supplying a patched 2.4.20 kernel. You will find [50]here + the kernel, the .config and the patch. + To install the kernel, just untar it. This will create a file + /boot/kernel-2.4.20ctx-17 (ctx stands for security context) and a + directory /lib/modules/2.4.20ctx-17. + Then, you need to update your boot loader. For lilo, you add a + section like this at the end of the file /etc/lilo.conf + + +image=/boot/vmlinuz-2.4.20ctx-17 + label=linux2.4.20ctx-17 + read-only + root=current + + lilo.conf section to add + Change the /dev/XXXX to your root partition. Then execute + /sbin/lilo. + Reboot and select the proper kernel. This kernel is fully + compatible with a normal 2.4.20 and will perform without any new + configuration. Note that the supplied kernel does not carry all + the features and modules found on the various distributions. + * The vserver package + This package provides the various utilities to make use of those + new system calls. The package also provides a complete solution to + implement virtual servers. We describe the major components here. + + /usr/sbin/chcontext + This is the utility to request a new security context. It can + be used to lower the capability ceiling. Execute it to learn + more. + + /usr/sbin/chbind + This is the utility to select one IP number and assign it to + a process and its children. + + /usr/sbin/newvserver (in vserver-admin) + Front-end to help create new virtual servers. + + /usr/sbin/reducecap + This utility is used to lower the capability ceiling of + children processes. + + /usr/sbin/vdu + A trimmed down "du" command reporting space usage of files + with a single link. Useful to tell how much space a unified + vserver is using. + + /usr/sbin/vkill + Locate the security context associated with a process, enter + it and kill the process. Generally used after you have + located a process with vtop, vpstree or vps. + + /usr/sbin/vps + Execute the ps command in security context 1 so all processes + in all vservers are shown. The security context and vserver + name are mapped inside the report. + + /usr/sbin/vpstree + Execute the pstree command in security context 1 so all + processes in all vservers are shown. + + /usr/sbin/vrpm + Apply an rpm command in several (or all) vservers. Useful + when you wish to update many vservers with the same package. + /usr/sbin/vrpm server1 server2 -- -Uvh /tmp/*.rpm + /usr/sbin/vrpm ALL -- -Uvh /tmp/*.rpm + After updating many packages in different vservers you may + want to re-unify them to recover disk space (and increase + cache effectivity). You can do this using the vunify command, + or simply by using the --unify option to the vrpm command. + After performing the rpm updates, vrpm will trigger the + vunify utility on the vservers for the updated packages. + /usr/sbin/vrpm --unify server1 server2 -- -Uvh /tmp/*.rpm + + /usr/sbin/vserver + This is the wrapper to start, stop and administer virtual + servers. + + /usr/sbin/vserver-stat + Produce a small report showing the activity in active + security context. The report presents the number of process + in each active security context as well as the name of the + vserver associated with this context. + + /usr/sbin/vtop + Execute the top command in security context 1 so all + processes in all vservers are shown. + + /etc/rc.d/init.d/vservers + This is an init script used to start all virtual servers at + boot time and stop them at shutdown time. Only virtual + servers with ONBOOT=yes are started at boot time. All + vservers are stopped at shutdown time. + + /etc/rc.d/init.d/rebootmgr + This is a daemon listening to requests from virtual servers. + It can either restart or stop a virtual server. The + /sbin/vreboot and /sbin/vhalt utilities are used to send + request to the reboot manager. + + /sbin/vreboot and /sbin/vhalt + Those utilities are copied in each virtual server. They + connect to the reboot manager (rebootmgr) server using the + /dev/reboot Unix domain socket and request either a restart + or a stop of the virtual server. The reboot manager issue + either a "/usr/sbin/vserver vserver restart" or + "/usr/sbin/vserver vserver stop" command. This allows the + virtual server administrator to test if all automatic service + are properly restarted at boot time. + + /usr/lib/vserver/vdu + This is a limited clone of the du command. It skips file with + more than one link. It is used to evaluate the disk usage of + an unified vserver. Using the normal du for this task is + misleading since it will count all unified files. + + NEW + +Setting a virtual server + + To set a virtual server, you need to copy in a sub-directory a Linux + installation. One way to achieve that is to copy some parts of the the + current server by issuing the command vserver XX build, where XX is + the name of the virtual server (pick one). This basically does (Well, + it does a little more than that, but this give you an idea): + +mkdir /vservers/XX +cd /vservers/XX +cp -ax /sbin /bin /etc /usr /var /dev /lib . +mkdir proc tmp home +chmod 1777 tmp + + Building a virtual server + + This is normally done using the command /usr/sbin/newvserver. This is + a text mode/graphical front-end allowing to setup the vserver runtime + and configure it. NEW + +Basic configuration of the virtual server + + A virtual private server has a few settings. They are defined in the + file /etc/vservers/XX.conf where XX is the name of the virtual server. + This is a simple script like configuration. Here are the various + parameters: + + * IPROOT + In general, each virtual server is tied to one IP using the new + set_ipv4root system call. This way several servers may run the + same services without conflict. Enter the IP number (a name is + also valid if defined in the DNS). + Since kernel ctx-12, you can assign more than one IP number to a + vserver. Enter them separated by spaces and don't forget to + enclose them with quotes. + Bu default, all IPs are configured as an IP alias on the IPROOTDEV + device (if defined). If you want to attach the various IP numbers + to different devices, specify the device as a prefix to the IP + number like this: + +IPROOT="eth0:192.168.1.2 eth1:192.168.3.1 192.168.1.4" + + IPROOT using multiple devices + In the example above, the IP 192.168.1.4 will be installed as an + IP alias on the device IPROOTDEV. + Use "IPROOT=0.0.0.0" or "IPROOT=" if you do not want to tie the + vserver at all. It will be allowed to use any IP available on the + server. + * IPROOTDEV + This is the network device use to setup the IP alias defined by + IPROOT. This is generally eth0. If you define this variable, the + IP alias will be configured when you start the virtual server and + un-configure when you stop it. + * IPROOTMASK + Netmask used to setup the IP alias. Uses the netmask of the + IPROOTDEV device by default. Seldom used. + If you have several IPs on one vserver and want to have different + netmask for each, use the following syntax: + +IPROOT="eth0:192.168.1.2 eth1:192.168.3.1/255.255.255.192" + + IPROOT using different netmask + 192.168.1.2 will use the netmask of eth0, while 192.168.3.1 will + use the specified netmask: 255.255.255.192. + * IPROOTBCAST + Broadcast address used to setup the IP alias. Uses the broadcast + of the IPROOTDEV device by default. Seldom used. + * ONBOOT + The vserver package supplies the vservers service. This service is + installed in the main server. It is used to start and stop the + virtual server at boot and shutdown time. + Virtual server with ONBOOT=yes will be started and stopped + properly like any other services of the main server. + Once a virtual server is properly configured, it is a good idea to + set this parameter to yes. + * S_CAPS + You enter here the various capability you want to grant to the + vserver. By default, a vserver is left with much less capabilities + than the root server. For example, a vserver is not allowed to use + raw socket. This explains why the ping command fails. S_CAPS lets + you enumerate the capability you want to keep in the vserver. + CAP_NET_RAW will give back ping ability for example. + * S_CONTEXT + This is optional. In general the security context ID is selected + by the kernel. An unused one is selected. If you select an ID (an + integer greater than 1), make sure you select a different one for + each server. Again, in most cases, you do not need to select one. + Leave the line commented. + * S_DOMAINNAME + A virtual server may have a different NIS domainname than the main + server. You set it here. If you leave the field empty, the vserver + will inherit the same NIS domain as the root server. Enter "none" + to reset the NIS domain name for this vserver. + * S_HOSTNAME + Many services (Apache for one) use the host name to setup some + defaults. A virtual server may have a different host name than the + main server. It is a good idea to fill this line. + * S_NICE + The is an optional priority level. It is an integer ranging + between from -20 to 19. Well it is the nice level in fact, so -20 + means the highest priority and 19 the lowest (the highest nice + level). All processes in the virtual server will be locked to this + level (or higher niceness). + Event root is locked and can't get more priority. + Note that this has limited usefulness. The kernel does not + differentiate processes running in different security context for + scheduling (for now :-) ). This means that a virtual servers + running many low priority processes may nevertheless claim a large + share of CPU. + * S_FLAGS + This is used to set various flags. Here are the supported flags: + + lock + This flags prevents the vserver from setting new security + contexts. + + sched + It kind of unifies the processes in a vserver from a + scheduler view point. All processes are weighted as single + one when compared to other processes in the real server. This + prevents a vserver from taking to much CPU resources. + + nproc + Make the ulimit maximum user process global to the vserver. + + private + Once set on a vserver security context, no other process can + enter it. Even the root server is unable to enter the + context. It can see the process list using security context + 1, but can't signal or trace the process. + + fakeinit + This assigned the current process so it works like the + process number 1. Using this trick, a normal /sbin/init may + be run in a vserver. The /usr/sbin/vserver command will use + /sbin/init to start and stop a vserver. A properly configured + /etc/inittab is needed though. + o Processes loosing their parent are reparent to this + process. + o getppid() done by child process of this process returns + 1. + o getpid() done by this process returns 1. + o This process is not shown in /proc since process number + 1 is always shown. + o An "initpid" entry is available in /proc/*/status to + tell which process is the fake init process. + * ULIMIT + This contains the command line option to the ulimit shell command. + You enter here whatever parameters accepted by ulimit. Here is the + default when you create a new vserver: + +ULIMIT="-H -u 1000" + + Default vserver ulimit + Normally ulimit settings only affects users independantly. So + limiting a vserver this way, limit each user processes + independantly in the vserver. Using special flags in the S_FLAGS + option, you can make those ulimit settings global to the vserver. + The example above used with the nproc parameter make the maximum + number of process global. In this case, a maximum of 1000 + processes is available to all users in the vserver. + + NEW + +Entering the virtual server + + It is possible to enter a virtual server context from the main server + just by executing /usr/sbin/vserver XX enter (where XX is the virtual + server name). + + This creates a shell. From there you can execute anything + administrative you normally do on a Linux server. + + NEW + +Configuring the services + + The virtual server can run pretty much any services. Many pseudo + services, such as network configuration are useless (the server is + already configured). After building the environment, enter it (without + starting the virtual server) using the vserver name enter command. + Then using a tool like Linuxconf (control/control service activity) , + or ntsysv, browse all service and keep only the needed ones. + + So after building the server, you enter it and you select the service + you need in that server. Many services such as network, and apmd are + either useless or won't run at all in the virtual server. They will + fail to start completely. NEW + +Starting/Stopping the virtual server + + Virtual server with ONBOOT=yes will be started and stopped like any + other services of the main server. But you can stop and start a + virtual server at any time. Starting a server means that all + configured service will be started. Stopping it means that all + configured services will be stopped and then all remaining process + will be killed. + + Oddly, starting a virtual server does not mean much. There is no + overhead. No monitoring process or proxy or emulator. Starting a + virtual server with 4 services is the same as running those 4 services + in the main server, at least performance wise (the service inside a + virtual server are locked inside the security context). + + The following commands may be used to control a virtual server: + + * /usr/sbin/vserver server start + * /usr/sbin/vserver server stop + * /usr/sbin/vserver server restart + * /usr/sbin/vserver server running + * /usr/sbin/vserver server enter + * /usr/sbin/vserver server exec some commands ... + * /usr/sbin/vserver server suexec user some commands ... + * /usr/sbin/vserver server service service-name + start/stop/restart/status + * /usr/sbin/vserver server status + + The running command prints if there are any processes running in the + virtual server context. + + Please note + + The processes running in a virtual server are invisible from the main + server. The opposite is true. This is very important. Managing the + main server must not cause problems to the various virtual servers. + For example, doing killall httpd will kill all the httpd processes in + the current context ( the main server or a virtual one). + + NEW + +Starting/Stopping all the virtual servers + + The sysv script /etc/rc.d/init.d/vserver is used to start and stop the + virtual server at boot and shutdown time. It may be used at any time + to operate all virtual servers. The following commands are supported: + + * /etc/rc.d/init.d/vservers start + * /etc/rc.d/init.d/vservers stop + * /etc/rc.d/init.d/vservers restart + * /etc/rc.d/init.d/vservers status + + The status command reports the running status of every virtual server. + NEW + +Restarting a virtual server from inside + + A virtual server administrator is not allowed to reboot the machine + (the kernel). But it is useful to restart his virtual server from + scratch. This allow him to make sure all the services are properly + configured to start at boot time. + + The /sbin/vreboot and /sbin/vhalt utilities are installed in each + virtual server so they can request a restart or stop. + + The rebootmgr service must be enabled in the main server. + + NEW + +Executing tasks at vserver start/stop time + + You can setup a script called /etc/vservers/XX.sh where XX is the name + of the virtual server. This script will be called four time: + + * Before starting the vserver + * After starting it. + * Before stopping it. + * After stopping it. + + You generally perform tasks such as mounting file system (mapping some + directory in the vserver root using "mount --bind"). + + Here is an example where you map the /home directory as the vserver + /home directory. + +#!/bin/sh +case $1 in +pre-start) + mount --bind /home /vservers/$2/home + ;; +post-start) + ;; +pre-stop) + ;; +post-stop) + umount /vservers/$2/home + ;; +esac + + /etc/vservers/XX.sh + NEW + +Issues + + There are some common problem you may encounter. Here they are. + + * The main server is not tied (by default) to any ipv4root. So if + the main server has already some service running they are probably + binding some UDP or TCP ports using the address 0.0.0.0. Once a + process has bound a service with the address 0.0.0.0 (see the + LISTEN lines when executing the "netstat -a" command), no other + process can bind the same port, even with a specific address. + The solution is to start the services of the main server using the + chbind utility to trap them in one ipv4root. For example + +/sbin/chbind --ip eth0 /etc/rc.d/init.d/httpd start + + Assigning on IP to a service + will limit Apache to the IP address of the eth0 interface. without + configuration changes (in httpd.conf). It is probably a good idea + to start the following services in the main server this way, + because they will be run by virtual servers as well. + + * httpd + * sshd + * xinetd + + To ease this, the vserver package supplies the following services: + v_httpd, v_sshd, v_smb and v_xinetd. Disable the corresponding + services and enable the v_ services and you will lock those services + on a single IP. + + Cleanup rc.local. This is probably not doing anything useful. + + NEW + +How real is it ? + + The project is new. So far, experiments have shown very little + restrictions. Service works the same in a virtual server. Further, + performance is the same. And there is a high level of isolation + between the various virtual servers and the main server. NEW + +Features + + There are various tricks one can use to make the virtual servers more + secure. + + * Putting a fire-wall on the box and limiting access to a virtual + services from another one. + * Using port redirection to allow one virtual server to logically + bind several IPs. One virtual server could run several web virtual + host this way. + + NEW + +Future directions + + NEW + +User controlled security box + + By combining the capabilities, the s_context, the ipv4root and the + AclFS (component of the [51]virtualfs package), we can produce a user + level tool allowing controlled access to the user own resources. For + example the user may download any program he wants and execute them + under control. Whenever the program tries to access something not + specified by the user, a popup is presented and the user may choose to + terminate the program or allow the access. + + NEW + +Kernel enhancements + + We expect to see some wider usage of the virtual servers. As usage + grow, we expect to see needs for more control. Here are some ideas. + + NEW + +Per context disk quota + + If one installs virtual servers and grant access to less trusted + users, he may want to limit the disk space used. Since a virtual + server may create new user accounts and run processes with any user ID + it wants, the current kernel disk quota is not powerful enough. First, + it can't differentiate between user ID 100 in one virtual server and + user ID 100 in another one. + + Further, the main administrator may want to control disk space + allocated to the virtual server on a server per server basis, + unrelated to the various user ID in use in those virtual servers. + + The kernel has already user and group disk quota. Adding security + context disk quota should be easily done. + + To differentiate between user IDs in virtual servers, the kernel could + coin together the security context and the user id to create a unique + ID. The kernel 2.4 now supports 32 user ID, so combining security + context and user ID in a single 32 bits number should be acceptable. + + NEW + +Global limits + + The kernel has supports for user limit (memory, processes file + handles). With virtual server, we may want to limit the resources used + by all processes in the virtual server. The security context would be + used as the key here. The following resources could be limited on a + security context basis (as opposed to user or process basis) + + * Memory used + * Processes number + (Done: This is now supported with the nproc flag in the kernel + 2.4.16ctx-4. By default a new vserver is limited to 1000 processes + maximum, configurable). + * File handles + + NEW + +Scheduler + + The scheduler may become security context aware. It could potentially + use this to provide some fairness and control priority based on + context. Currently the scheduler is process oriented and does not + group process together to qualify their priorities. For example, a + user running 10 compilations will get more CPU than another user + running a single compilation. + + Currently, it is possible to raise the nice (lower priority) for all + processes in a virtual server. This can't be reversed, so you are + setting an upper limit on priority (Just set the S_NICE variable in + the vserver configuration file). Note that a virtual server may still + start many low priority processes and this can grab significant share + of the CPU. A global per security context might be needed to really + provide more control and fairness between the various virtual servers. + + Done: The sched security context flag group all process in a vserver + so their priority is kind of unified. If you have 50 processes running + full speed in one vserver, they will take as much CPU resource than a + single process in the root server. A vserver can't starve the other... + NEW + +Security issues + + The current kernel + patch provides a fair level of isolation between + the virtual servers. User root can't take over the system: He sees + only his processes, has only access to his area of the file system + (chroot) and can't reconfigure the kernel. Yet there are some + potential problems. They are fixable. As usage grows, we will know if + they are real problems. Comments are welcome: + + NEW + +/dev/random + + Writing to /dev/random is not limited by any capability. Any root user + (virtual included) is allowed to write there. Is this a problem ? + + (kernel expert think it is ok) NEW + +/dev/pts + + /dev/pts is a virtual file-system used to allocate pseudo-tty. It + presents all the pseudo-tty in use on the server (including all + virtual server). User root is allowed to read and write to any + pseudo-tty, potentially causing problems on other vservers. + + Starting with the ctx-6 patch, /dev/pts is virtualised. Although the + file numbers are allocated from a single pool, a vserver only see the + pseudo-tty it owns. NEW + +Network devices + + Anyone can list the network devices configurations. This may inform a + virtual user that another vserver is on the same physical server. By + using as much resources as possible in his own vservers, a malicious + user could slow down the other server. Modification to the scheduler + explained above could stop this. + + Starting with the ctx-6 patch, a vserver only see the device + corresponding to its IP number. NEW + +Alternative technologies + + Using virtual servers may be a cost effective alternative to several + independent real servers. You get the administrative independence of + independent servers, but share some costs including operation costs. + + Other technologies exist offering some of the advantages talked in + this document as well as other. Two technologies are available on + various hardware platform: Virtual machines and partitioning, NEW + +Virtual machines + + This has been available for mainframes for a while now. You can boot + several different OS at once on the same server. This is mainly used + to isolate environments. For example, you can install the new version + of an OS on the same server, even while the server is running the + current version. This allows you to test and do a roll-out gracefully. + + The advantages of virtual machines are: + + * Total flexibility. You can run many different OS and different + version of the same OS, all at once. + * Robustness. You have total isolation. One OS may crash without + affecting the other. + * Resource management. You can effectively limit the resources taken + by one OS. + * Hardware Independence. The client OS is using virtual disks + provided by the host OS. + + This technology is not directly available on PCs. The Intel x86 + architecture does not support visualization natively. Some products + nevertheless have appeared and provide this. You can run Linux inside + Linux, or this other OS (Which BTW has a logo showing a window flying + in pieces, which quite frankly tells everything about it). + + The solutions available on PCs carry most of the advantages of the + virtual machines found on mainframe, except for performance. You can't + run that many virtual Linux's using this technology and expect it to + fly. One example of this technology is [52]vmware, which is quite + useful, especially if you must run this other OS... vmware may be used + to run Linux inside Linux, even test Linux installation while running + linux... NEW + +Partitioning + + Partitioning (domains ?) is a way to split the resources of a large + server so you end up with independent servers. For example, you can + take a 20 CPUs server and create 3 servers, two with 4 CPUs and one + with 12. You can very easily re-assign CPUs to servers in case you + need more for a given tasks. + + This technology provides full Independence, but much less flexibility. + If your 12 CPUs server is not working much, the 4 CPUs one can't + borrow some CPUs for 5 minutes. NEW + +Limitation of those technologies + + Oddly, one disadvantage of those technologies is a side effect of + their major advantage: Total Independence. Each virtual server is + running its own kernel. Cool. This makes the following tasks more + difficult or impossible: + + * Sharing administrative tasks such as backup. The virtual servers + are using volumes in the host server. The host server can't handle + the files in those volumes directly without interfering with the + client OS. It has to use some services of the client OS to access + the file. + The vserver solution does not have this limitation since the + virtual servers are living in the same file-system, sharing the + same kernel. + * Task monitoring. The virtual servers run their own kernel. As + such, the host OS can't spy on the tasks and check for intrusion + for example. + * Disk space. Virtual servers are using either volumes or full + devices in the host server. This space is pre-allocated to the + maximum needed by the server. You end up with a lot of wasted disk + space. Imagine running 100 virtual servers this way and allocating + say 10 gigs to each. You get the picture. The vserver solution is + sharing a common file-system so the free disk space is available + to all. + Further, if you are running the same Linux distribution in the + virtual servers, you can unify the disk space using hard link and + immutable attributes. The /usr/lib/vserver/vunify was created to + test that. Using information found in the rpm package the script + links the files, except configuration ones. + Testing vunify on a vserver installed with a RedHat 6.2 + distribution, unifying the packages glibc, binutils, perl, and + bash saved 60 megs. Quite a few packages are not changing often + and could be unified. + Vservers do not need kernel packages and hardware configuration + tools. This also contribute to save disk space. + * File system sharing + A little the same as above. You can't share file system easily + between vservers unless you use network services (often slower). + Using "mount --bind", it is very easy to "map" any directory of + the root server in several vservers, providing raw speed access + (and even sharing the disk cache). + + NEW + +Conclusion + + Virtual servers are interesting because they can provide a higher + level of security while potentially reducing the administration task. + Common operation such as backup, are shared between all servers. + Services such as monitoring may be configured once. + + A Linux server can run many services at once with a high level of + reliability. As servers are evolving, more and more services are + added, often unrelated. Unfortunately there are few details here and + there, making the server more complex than it is in reality. When one + wants to move one service to another server, it is always a little + pain: Some user accounts have to be moved and some configuration + files. A lot of hand tweaking. + + By installing services in separate virtual servers, it becomes much + easier to move services around (just by moving a directory although a + big one). + + Virtual servers may become a preferred way to install common Linux + servers. NEW + +Download + + The ftp site for this project is + [53]ftp://ftp.solucorp.qc.ca/pub/vserver . You will find there the + following components. + + * [54]kernel-2.4.20ctx-17.tar.gz + [55]kernel-2.4.20ctxsmp-17.tar.gz + A pre-compiled kernel for Pentium class machine and up. An SMP + kernel is also supplied. + * [56]vserver-0.22-1.src.rpm + The source RPM for the vserver utilities + * [57]vserver-0.22-1.i386.rpm + A compiled rpm for RedHat 7.x and up. Should work on any recent + distribution (glibc 2.2). You need a recent distribution to + operate a kernel 2.4 anyway. + * [58]vserver-admin-0.22-1.i386.rpm + Contains the command /usr/sbin/newvserver. It is a GUI to create + vservers. It requires the linuxconf-utils and linuxconf-lib + packages. You can get them from [59]here. linuxconf itself is not + needed though. + * [60]vserver-0.22.src.tar.gz + The vserver utilities source + * [61]patch-2.4.20ctx-17.gz + The patch against Linux 2.4.20 + * [62]patches + The various relative patches (ctxN-ctxN+1) + + NEW + +References + + This project is maintained by Jacques Gelinas [63]jack@solucorp.qc.ca + + The vserver package is licensed under the GNU PUBLIC LICENSE. + + A FAQ can be found at + [64]http://www.solucorp.qc.ca/howto.hc?projet=vserver + + A mailing list has been created to exchange about this project. It is + [65]vserver@solucorp.qc.ca .You can subscribe [66]here + + The mailing list is archived [67]here. + + The change logs for the vserver package are [68]here . + + The official copy of this document is found at + [69]http://www.solucorp.qc.ca/miscprj/s_context.hc + + This document was produced using the [70]TLMP documentation system + + [71]Top + [72]Back to project page + [73]About tlmpdoc and cookies + Document maintained by Jacques Gélinas ([74]jack@solucorp.qc.ca) + Last update: Wed Apr 16 11:22:22 2003 + +Références + + 1. http://remtk/solucor/miscprj/s_context.hc?s1=1&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 2. http://remtk/solucor/miscprj/s_context.hc?s1=1&s2=1&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 3. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 4. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=1&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 5. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=2&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 6. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=3&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 7. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=4&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 8. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=5&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 9. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=6&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 10. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=6&s3=1&s4=0&full=0&prjstate=1&nodoc=0 + 11. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=6&s3=2&s4=0&full=0&prjstate=1&nodoc=0 + 12. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=6&s3=3&s4=0&full=0&prjstate=1&nodoc=0 + 13. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=6&s3=4&s4=0&full=0&prjstate=1&nodoc=0 + 14. http://remtk/solucor/miscprj/s_context.hc?s1=2&s2=7&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 15. http://remtk/solucor/miscprj/s_context.hc?s1=3&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 16. http://remtk/solucor/miscprj/s_context.hc?s1=3&s2=1&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 17. http://remtk/solucor/miscprj/s_context.hc?s1=3&s2=2&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 18. http://remtk/solucor/miscprj/s_context.hc?s1=3&s2=3&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 19. http://remtk/solucor/miscprj/s_context.hc?s1=3&s2=4&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 20. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 21. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=1&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 22. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=2&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 23. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=3&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 24. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=4&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 25. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=5&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 26. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=6&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 27. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=7&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 28. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=8&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 29. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=9&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 30. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=10&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 31. http://remtk/solucor/miscprj/s_context.hc?s1=4&s2=11&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 32. http://remtk/solucor/miscprj/s_context.hc?s1=5&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 33. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 34. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=1&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 35. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 36. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=1&s4=0&full=0&prjstate=1&nodoc=0 + 37. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=2&s4=0&full=0&prjstate=1&nodoc=0 + 38. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=3&s4=0&full=0&prjstate=1&nodoc=0 + 39. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=4&s4=0&full=0&prjstate=1&nodoc=0 + 40. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=4&s4=1&full=0&prjstate=1&nodoc=0 + 41. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=4&s4=2&full=0&prjstate=1&nodoc=0 + 42. http://remtk/solucor/miscprj/s_context.hc?s1=6&s2=2&s3=4&s4=3&full=0&prjstate=1&nodoc=0 + 43. http://remtk/solucor/miscprj/s_context.hc?s1=7&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 44. http://remtk/solucor/miscprj/s_context.hc?s1=7&s2=1&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 45. http://remtk/solucor/miscprj/s_context.hc?s1=7&s2=2&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 46. http://remtk/solucor/miscprj/s_context.hc?s1=7&s2=3&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 47. http://remtk/solucor/miscprj/s_context.hc?s1=8&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 48. http://remtk/solucor/miscprj/s_context.hc?s1=9&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 49. http://remtk/solucor/miscprj/s_context.hc?s1=10&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 50. ftp://ftp.solucorp.qc.ca/pub/vserver + 51. http://www.solucorp.qc.ca/virtualfs + 52. http://www.vmware.com/ + 53. ftp://ftp.solucorp.qc.ca/pub/vserver + 54. ftp://ftp.solucorp.qc.ca/pub/vserver/kernel-2.4.20ctx-17.tar.gz + 55. ftp://ftp.solucorp.qc.ca/pub/vserver/kernel-2.4.20ctxsmp-17.tar.gz + 56. ftp://ftp.solucorp.qc.ca/pub/vserver/vserver-0.22-1.src.rpm + 57. ftp://ftp.solucorp.qc.ca/pub/vserver/vserver-0.22-1.i386.rpm + 58. ftp://ftp.solucorp.qc.ca/pub/vserver/vserver-admin-0.22-1.i386.rpm + 59. http://www.solucorp.qc.ca/linuxconf/download.hc + 60. ftp://ftp.solucorp.qc.ca/pub/vserver/vserver-0.22.src.tar.gz + 61. ftp://ftp.solucorp.qc.ca/pub/vserver/patch-2.4.20ctx-17.gz + 62. ftp://ftp.solucorp.qc.ca/pub/vserver/patches + 63. mailto:jack@solucorp.qc.ca + 64. http://www.solucorp.qc.ca/howto.hc?projet=vserver + 65. mailto:vserver@solucorp.qc.ca + 66. http://www.solucorp.qc.ca/mlist/index.hc?list=vserver + 67. http://www.paul.sladen.org/vserver/archives/ + 68. http://www.solucorp.qc.ca/changes.hc?projet=vserver + 69. http://www.solucorp.qc.ca/miscprj/s_context.hc + 70. http://www.solucorp.qc.ca/tlmp + 71. http://remtk/solucor/miscprj/s_context.hc?s1=0&s2=0&s3=0&s4=0&full=0&prjstate=1&nodoc=0 + 72. http://remtk/solucor/miscprj/s_context.hc + 73. http://www.solucorp.qc.ca/tlmp/tlmpdoc.hc + 74. mailto:jack@solucorp.qc.ca diff --git a/ensc_fmt/Makefile-files b/ensc_fmt/Makefile-files new file mode 100644 index 0000000..2e8f7e4 --- /dev/null +++ b/ensc_fmt/Makefile-files @@ -0,0 +1,27 @@ +## $Id: Makefile-files 1583 2004-06-16 10:06:03Z ensc $ --*- makefile -*-- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +ensc_fmt_SRCS = \ + ensc_fmt/fmt-32.c \ + ensc_fmt/fmt-64.c \ + ensc_fmt/fmtx-32.c \ + ensc_fmt/fmtx-64.c \ + ensc_fmt/fmt-tai64n.c \ + ensc_fmt/fmt.h \ + ensc_fmt/fmt.hc \ + ensc_fmt/fmtx.hc \ + ensc_fmt/fmt-internal.h diff --git a/ensc_fmt/fmt-32.c b/ensc_fmt/fmt-32.c new file mode 100644 index 0000000..123cd09 --- /dev/null +++ b/ensc_fmt/fmt-32.c @@ -0,0 +1,32 @@ +// $Id: fmt-32.c 1583 2004-06-16 10:06:03Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#define FMT_BITSIZE 32 +#include "fmt.hc" + +#if __WORDSIZE==FMT_BITSIZE +size_t FMT_P(ulong_base)(char *ptr, unsigned long val, char base) ALIASFUNC(uint32_base); +size_t FMT_P( long_base)(char *ptr, long val, char base) ALIASFUNC( int32_base); +#endif + +size_t FMT_P(uint_base)(char *ptr, unsigned int val, char base) ALIASFUNC(uint32_base); +size_t FMT_P( int_base)(char *ptr, int val, char base) ALIASFUNC( int32_base); diff --git a/ensc_fmt/fmt-64.c b/ensc_fmt/fmt-64.c new file mode 100644 index 0000000..34485ce --- /dev/null +++ b/ensc_fmt/fmt-64.c @@ -0,0 +1,29 @@ +// $Id: fmt-64.c 1583 2004-06-16 10:06:03Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#define FMT_BITSIZE 64 +#include "fmt.hc" + +#if __WORDSIZE==64 +size_t FMT_P(ulong_base)(char *ptr, unsigned long val, char base) ALIASFUNC(uint64_base); +size_t FMT_P( long_base)(char *ptr, long val, char base) ALIASFUNC( int64_base); +#endif diff --git a/ensc_fmt/fmt-internal.h b/ensc_fmt/fmt-internal.h new file mode 100644 index 0000000..5409422 --- /dev/null +++ b/ensc_fmt/fmt-internal.h @@ -0,0 +1,60 @@ +// $Id: fmt-internal.h 1647 2004-08-19 13:53:54Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_FMT_COMMON_H +#define H_UTIL_VSERVER_LIB_FMT_COMMON_H + +#define DIGITS "0123456789abcdefghijklmnopqrstuvwxyz" + +#define FMT_P__(X,Y) X ## Y +#define FMT_P_(X,Y) FMT_P__(X,Y) +#define FMT_P(X) FMT_P_(FMT_PREFIX, X) + +#define CONCAT__(x,y,z) x ## y ## z +#define CONCAT_(x,y,z) CONCAT__(x,y,z) +#define CONCAT(x,z) CONCAT_(x, FMT_BITSIZE, z) + +#define FMT_FN(BASE,SZ) \ + do { \ + register __typeof__(val) v = val; \ + register size_t l = 0; \ + \ + if (ptr==0) { \ + do { \ + ++l; \ + v /= BASE; \ + } while (v!=0); \ + } \ + else { \ + char buf[sizeof(val)*SZ]; \ + \ + do { \ + register unsigned int d = v%BASE; \ + v /= BASE; \ + ++l; \ + buf[sizeof(buf)-l] = DIGITS[d]; \ + } while (v!=0); \ + \ + memcpy(ptr, buf+sizeof(buf)-l, l); \ + } \ + \ + return l; \ + } while (0) + + +#endif // H_UTIL_VSERVER_LIB_FMT_COMMON_H diff --git a/ensc_fmt/fmt-tai64n.c b/ensc_fmt/fmt-tai64n.c new file mode 100644 index 0000000..7b15d22 --- /dev/null +++ b/ensc_fmt/fmt-tai64n.c @@ -0,0 +1,51 @@ +// $Id: fmt-tai64n.c 1583 2004-06-16 10:06:03Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "fmt.h" +#include "fmt-internal.h" + +#include +#include +#include + +size_t +FMT_P(tai64n)(char *buf, struct timeval const *now) +{ + uint64_t tai_secs = 1ll << 62; + char * ptr = buf; + size_t l; + + tai_secs += now->tv_sec; + *ptr++ = '@'; + + l = FMT_P(xuint64)(ptr, tai_secs); // always 16 bytes + assert(l==16); + ptr += 16; + + memset(ptr, '0', 8); + l = FMT_P(xuint32)(0, now->tv_usec*1000); + FMT_P(xuint32)(ptr+8-l, now->tv_usec*1000); + + ptr += 8; + + return ptr-buf; +} diff --git a/ensc_fmt/fmt.h b/ensc_fmt/fmt.h new file mode 100644 index 0000000..2a087c4 --- /dev/null +++ b/ensc_fmt/fmt.h @@ -0,0 +1,124 @@ +// $Id: fmt.h 1890 2005-03-17 14:46:19Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +/** \file fmt.h + * \brief Declarations for some fmt_* functions + */ + +#ifndef H_ENSC_FMT_FMT_H +#define H_ENSC_FMT_FMT_H + +#include +#include + +#ifndef FMT_PREFIX +# define FMT_PREFIX fmt_ +#endif + +#define FMT_P__(X,Y) X ## Y +#define FMT_P_(X,Y) FMT_P__(X,Y) +#define FMT_P(X) FMT_P_(FMT_PREFIX, X) + + +#ifdef __cplusplus +extern "C" { +#endif + +size_t FMT_P(xuint64)(char *ptr, uint_least64_t val); +size_t FMT_P( xint64)(char *ptr, int_least64_t val); + +size_t FMT_P(xuint32)(char *ptr, uint_least32_t val); +size_t FMT_P( xint32)(char *ptr, int_least32_t val); + +size_t FMT_P(uint64_base)(char *ptr, uint_least64_t val, char base); +size_t FMT_P( int64_base)(char *ptr, int_least64_t val, char base); + +size_t FMT_P(uint32_base)(char *ptr, uint_least32_t val, char base); +size_t FMT_P( int32_base)(char *ptr, int_least32_t val, char base); + +size_t FMT_P(ulong_base)(char *ptr, unsigned long val, char base); +size_t FMT_P( long_base)(char *ptr, long val, char base); +size_t FMT_P(xulong) (char *ptr, unsigned long val); +size_t FMT_P( xlong) (char *ptr, long val); + +size_t FMT_P(uint_base)(char *ptr, unsigned int val, char base); +size_t FMT_P( int_base)(char *ptr, int val, char base); +size_t FMT_P(xuint) (char *ptr, unsigned int val); +size_t FMT_P( xint) (char *ptr, int val); + +struct timeval; +size_t FMT_P(tai64n)(char *ptr, struct timeval const *now); + +inline static size_t +FMT_P(uint64)(char *ptr, uint_least64_t val) +{ + return FMT_P(uint64_base)(ptr, val, 10); +} + +inline static size_t +FMT_P(int64)(char *ptr, uint_least64_t val) +{ + return FMT_P(int64_base)(ptr, val, 10); +} + +inline static size_t +FMT_P(uint32)(char *ptr, uint_least32_t val) +{ + return FMT_P(uint32_base)(ptr, val, 10); +} + +inline static size_t +FMT_P(int32)(char *ptr, uint_least32_t val) +{ + return FMT_P(int32_base)(ptr, val, 10); +} + +inline static size_t +FMT_P(ulong)(char *ptr, unsigned long val) +{ + return FMT_P(ulong_base)(ptr, val, 10); +} + +inline static size_t +FMT_P(long)(char *ptr, long val) +{ + return FMT_P(long_base)(ptr, val, 10); +} + + +inline static size_t +FMT_P(uint)(char *ptr, unsigned int val) +{ + return FMT_P(uint_base)(ptr, val, 10); +} + +inline static size_t +FMT_P(int)(char *ptr, int val) +{ + return FMT_P(int_base)(ptr, val, 10); +} + + +#ifdef __cplusplus +} +#endif + +#undef FMT_P +#undef FMT_P_ +#undef FMT_P__ + +#endif // H_ENSC_FMT_FMT_H diff --git a/ensc_fmt/fmt.hc b/ensc_fmt/fmt.hc new file mode 100644 index 0000000..0691446 --- /dev/null +++ b/ensc_fmt/fmt.hc @@ -0,0 +1,52 @@ +// $Id: fmt.hc 1583 2004-06-16 10:06:03Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "fmt.h" +#include "fmt-internal.h" +#include + +#define STRINGIFY_(X) #X +#define STRINGIFY(X) STRINGIFY_(X) +#define ALIASFUNC(X) __attribute__((__alias__(STRINGIFY(FMT_P(X))))) + +size_t +CONCAT(FMT_P(uint),_base)(char *ptr, CONCAT(uint_least,_t) val, char base) +{ + if (base==16) return CONCAT(FMT_P(xuint),)(ptr,val); + FMT_FN(base,8); +} + +size_t +CONCAT(FMT_P(int),_base)(char *ptr, + CONCAT(int_least,_t) val, char base) +{ + size_t offset=0; + if (val<0) { + val = -val; + offset = 1; + + if (ptr!=0) + *ptr++ = '-'; + } + + return CONCAT(FMT_P(uint),_base)(ptr, val, base) + offset; +} diff --git a/ensc_fmt/fmtx-32.c b/ensc_fmt/fmtx-32.c new file mode 100644 index 0000000..7a179c6 --- /dev/null +++ b/ensc_fmt/fmtx-32.c @@ -0,0 +1,32 @@ +// $Id: fmtx-32.c 1890 2005-03-17 14:46:19Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#define FMT_BITSIZE 32 +#include "fmtx.hc" + +#if __WORDSIZE==FMT_BITSIZE +size_t FMT_P(xulong)(char *ptr, unsigned long val) ALIASFUNC(xuint32); +size_t FMT_P( xlong)(char *ptr, long val) ALIASFUNC( xint32); +#endif + +size_t FMT_P(xuint) (char *ptr, unsigned int val) ALIASFUNC(xuint32); +size_t FMT_P( xint) (char *ptr, int val) ALIASFUNC( xint32); diff --git a/ensc_fmt/fmtx-64.c b/ensc_fmt/fmtx-64.c new file mode 100644 index 0000000..2a0f908 --- /dev/null +++ b/ensc_fmt/fmtx-64.c @@ -0,0 +1,29 @@ +// $Id: fmtx-64.c 1583 2004-06-16 10:06:03Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#define FMT_BITSIZE 64 +#include "fmtx.hc" + +#if __WORDSIZE==FMT_BITSIZE +size_t FMT_P(xulong)(char *ptr, unsigned long val) ALIASFUNC(xuint64); +size_t FMT_P( xlong)(char *ptr, long val) ALIASFUNC( xint64); +#endif diff --git a/ensc_fmt/fmtx.hc b/ensc_fmt/fmtx.hc new file mode 100644 index 0000000..6e50205 --- /dev/null +++ b/ensc_fmt/fmtx.hc @@ -0,0 +1,52 @@ +// $Id: fmtx.hc 2179 2005-10-25 16:11:32Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "fmt.h" +#include "fmt-internal.h" +#include + +#define STRINGIFY_(X) #X +#define STRINGIFY(X) STRINGIFY_(X) +#define ALIASFUNC(X) __attribute__((__alias__(STRINGIFY(FMT_P(X))))) + + +size_t +CONCAT(FMT_P(xuint),)(char *ptr, CONCAT(uint_least,_t) val) +{ + FMT_FN(16,2); +} + +size_t +CONCAT(FMT_P(xint),)(char *ptr, + CONCAT(int_least,_t) val) +{ + size_t offset=0; + if (val<0) { + val = -val; + offset = 1; + + if (ptr!=0) + *ptr++ = '-'; + } + + return CONCAT(FMT_P(xuint),)(ptr, val) + offset; +} diff --git a/ensc_vector/Makefile-files b/ensc_vector/Makefile-files new file mode 100644 index 0000000..d08ca83 --- /dev/null +++ b/ensc_vector/Makefile-files @@ -0,0 +1,84 @@ +## $Id: Makefile-files 2113 2005-07-03 09:12:31Z ensc $ --*- makefile -*-- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +ENSC_VECTOR_SRCS = ensc_vector/vector-clear.c \ + ensc_vector/vector-foreach.c \ + ensc_vector/vector-free.c \ + ensc_vector/vector-init.c \ + ensc_vector/vector-insert.c \ + ensc_vector/vector-internal.h \ + ensc_vector/vector-popback.c \ + ensc_vector/vector-pushback.c \ + ensc_vector/vector-resize.c \ + ensc_vector/vector-resizeinternal.hc \ + ensc_vector/vector-search.c \ + ensc_vector/vector-searchselforg.c \ + ensc_vector/vector-sort.c \ + ensc_vector/vector-unique.c \ + ensc_vector/vector-zeroend.c \ + ensc_vector/list-at.c \ + ensc_vector/list-add.c \ + ensc_vector/list-free.c \ + ensc_vector/list-init.c \ + ensc_vector/list-insertinternal.c \ + ensc_vector/list-internal.h \ + ensc_vector/list-search.c \ + ensc_vector/list-searchselforg.c + +ENSC_VECTOR_HDRS = ensc_vector/vector.h \ + ensc_vector/vector.hc \ + ensc_vector/list.h \ + ensc_vector/list.hc + + +libensc_vector_glibc_a_SOURCES = $(ENSC_VECTOR_SRCS) +libensc_vector_glibc_a_CPPFLAGS = $(AM_CPPFLAGS) + +libensc_vector_diet_a_SOURCES = $(ENSC_VECTOR_SRCS) +libensc_vector_diet_a_CPPFLAGS = $(AM_CPPFLAGS) + +ENSC_VECTOR_LIBS = + +if ENSC_USE_GLIBC +LIBENSCVECTOR_GLIBC = libensc_vector-glibc.a +ENSC_VECTOR_LIBS += $(LIBENSCVECTOR_GLIBC) +else +LIBENSCVECTOR_GLIBC = lib-glibc-not-enabled-error.a +endif + +if ENSC_USE_DIETLIBC +LIBENSCVECTOR_DIET = libensc_vector-diet.a +ENSC_VECTOR_LIBS += $(LIBENSCVECTOR_DIET) +else +LIBENSCVECTOR_DIET = lib-dietlibc-not-enabled-error.a +endif + + +if ENSC_USE_DIETLIBC +LIBENSCVECTOR = $(LIBENSCVECTOR_DIET) +else !ENSC_USE_DIETLIBC +if ENSC_USE_GLIBC +LIBENSCVECTOR = $(LIBENSCVECTOR_GLIBC) +else !ENSC_USE_GLIBC +LIBENSCVECTOR = lib-nolib-enabled-error.a +endif !ENSC_USE_GLIBC +endif !ENSC_USE_DIETLIBC + +CLEANFILES += libensc_vector-diet.a \ + libensc_vector-glibc.a + +include $(srcdir)/ensc_vector/testsuite/Makefile-files diff --git a/ensc_vector/list-add.c b/ensc_vector/list-add.c new file mode 100644 index 0000000..fa2fcc1 --- /dev/null +++ b/ensc_vector/list-add.c @@ -0,0 +1,31 @@ +// $Id: list-add.c 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "list.h" +#include "list-internal.h" + + +void * +List_add(struct List *list, void const *data) +{ + return List_insertInternal(list, data, &list->root, 0)->data; +} diff --git a/ensc_vector/list-at.c b/ensc_vector/list-at.c new file mode 100644 index 0000000..9c24864 --- /dev/null +++ b/ensc_vector/list-at.c @@ -0,0 +1,36 @@ +// $Id: list-at.c 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "list.h" +#include "list-internal.h" + +void const * +List_at_const(struct List const *l, size_t idx) +{ + struct ListItem const *itm = l->root; + + for (; itm!=0 && idx>0; --idx) + itm = itm->next; + + if (itm!=0) return itm->data; + else return 0; +} diff --git a/ensc_vector/list-free.c b/ensc_vector/list-free.c new file mode 100644 index 0000000..e276d65 --- /dev/null +++ b/ensc_vector/list-free.c @@ -0,0 +1,43 @@ +// $Id: list-free.c 1935 2005-03-19 02:03:30Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "list.h" +#include "list-internal.h" + +void +List_free(struct List *list) +{ + struct ListItem *itm; + + for (itm = list->root; itm!=0; /* noop */) + { + struct ListItem *next = itm->next; + + free(itm->data); +#ifndef NDEBUG + itm->data = (void *)(0xdeadbeaf); +#endif + free(itm); + + itm = next; + } +} diff --git a/ensc_vector/list-init.c b/ensc_vector/list-init.c new file mode 100644 index 0000000..35074b2 --- /dev/null +++ b/ensc_vector/list-init.c @@ -0,0 +1,31 @@ +// $Id: list-init.c 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "list.h" + +void +List_init(struct List *list, size_t elem_size) +{ + list->root = 0; + list->count = 0; + list->elem_size = elem_size; +} diff --git a/ensc_vector/list-insertinternal.c b/ensc_vector/list-insertinternal.c new file mode 100644 index 0000000..007e755 --- /dev/null +++ b/ensc_vector/list-insertinternal.c @@ -0,0 +1,57 @@ +// $Id: list-insertinternal.c 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "list.h" +#include "list-internal.h" + +#include +#include + +#define ENSC_WRAPPERS_STDLIB 1 +#include + +struct ListItem * +List_insertInternal(struct List *list, void const *data, + struct ListItem **before_pos, + struct ListItem *after_pos) +{ + struct ListItem *item = Emalloc(sizeof(struct ListItem)); + + assert((before_pos!=0 || after_pos!=0) && + (before_pos==0 || after_pos==0)); + + item->data = Emalloc(list->elem_size); + memcpy(item->data, data, list->elem_size); + + if (before_pos!=0) { + item->next = *before_pos; + *before_pos = item; + } + else { + item->next = after_pos->next; + after_pos->next = item; + } + + ++list->count; + + return item; +} diff --git a/ensc_vector/list-internal.h b/ensc_vector/list-internal.h new file mode 100644 index 0000000..8e659ab --- /dev/null +++ b/ensc_vector/list-internal.h @@ -0,0 +1,33 @@ +// $Id: list-internal.h 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifndef H_UTILVSERVER_VECTOR_LIST_INTERNAL_H +#define H_UTILVSERVER_VECTOR_LIST_INTERNAL_H + +struct ListItem +{ + void *data; + struct ListItem *next; +}; + +struct ListItem * List_insertInternal(struct List *list, + void const *data, + struct ListItem **before_pos, + struct ListItem *after_pos); + +#endif // H_UTILVSERVER_VECTOR_LIST_INTERNAL_H diff --git a/ensc_vector/list-search.c b/ensc_vector/list-search.c new file mode 100644 index 0000000..a7275b1 --- /dev/null +++ b/ensc_vector/list-search.c @@ -0,0 +1,37 @@ +// $Id: list-search.c 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "list.h" +#include "list-internal.h" + +void const * +List_search(struct List const *list, void const *key, + int (*compare)(const void *, const void *)) +{ + struct ListItem const *itm = list->root; + + while (itm!=0 && compare(itm->data, key)!=0) + itm = itm->next; + + if (itm!=0) return itm->data; + else return 0; +} diff --git a/ensc_vector/list-searchselforg.c b/ensc_vector/list-searchselforg.c new file mode 100644 index 0000000..c573edb --- /dev/null +++ b/ensc_vector/list-searchselforg.c @@ -0,0 +1,76 @@ +// $Id: list-searchselforg.c 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "list.h" +#include "list-internal.h" + +#include +#include + +void const * +List_searchSelfOrg(struct List const *list, void const *key, + int (*compare)(const void *, const void *), + ListSelfOrgMethod method) +{ + struct List *list_v = (struct List *)(list); + struct ListItem **itm = &list_v->root; + + switch (method) { + case listMOVE_FRONT : + while (*itm!=0 && compare((*itm)->data, key)!=0) + itm = &(*itm)->next; + + if (*itm && *itm!=list->root) { + struct ListItem *res = *itm; + + *itm = res->next; + res->next = list->root; + list_v->root = res; + + itm = &list_v->root; + } + break; + + case listSHIFT_ONCE : + if (*itm!=0 && compare((*itm)->data, key)!=0) { + while ((*itm)->next!=0 && + compare((*itm)->next->data, key)!=0) + itm = &(*itm)->next; + + if ((*itm)->next==0) + itm = &(*itm)->next; + else { + struct ListItem *res = (*itm)->next; + + (*itm)->next = res->next; + res->next = *itm; + *itm = res; + } + } + break; + + default : assert(false); return 0; + } + + if (*itm!=0) return (*itm)->data; + else return 0; +} diff --git a/ensc_vector/list.h b/ensc_vector/list.h new file mode 100644 index 0000000..ddf798b --- /dev/null +++ b/ensc_vector/list.h @@ -0,0 +1,47 @@ +// $Id: list.h 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifndef H_UTILVSERVER_VECTOR_LIST_H +#define H_UTILVSERVER_VECTOR_LIST_H + +#include + +struct ListItem; +struct List +{ + struct ListItem *root; + size_t count; + size_t elem_size; +}; + +typedef enum { listMOVE_FRONT, listSHIFT_ONCE } ListSelfOrgMethod; + +void List_init(struct List *, size_t elem_size); +void List_free(struct List *); +void * List_add(struct List *, void const *key); +void * List_at(struct List *, size_t idx); +void const * List_at_const(struct List const *, size_t idx); + +void const * List_search(struct List const *, void const *key, + int (*compare)(const void *, const void *)); + +void const * List_searchSelfOrg(struct List const *, void const *key, + int (*compare)(const void *, const void *), + ListSelfOrgMethod method); + +#endif // H_UTILVSERVER_VECTOR_LIST_H diff --git a/ensc_vector/list.hc b/ensc_vector/list.hc new file mode 100644 index 0000000..08a8682 --- /dev/null +++ b/ensc_vector/list.hc @@ -0,0 +1,23 @@ +// $Id: list.hc 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +static inline UNUSED void * +List_at(struct List *list, size_t idx) +{ + return (void *)(List_at_const(list, idx)); +} diff --git a/ensc_vector/testsuite/Makefile-files b/ensc_vector/testsuite/Makefile-files new file mode 100644 index 0000000..eaf2598 --- /dev/null +++ b/ensc_vector/testsuite/Makefile-files @@ -0,0 +1,28 @@ +## $Id: Makefile-files 1907 2005-03-18 00:13:50Z ensc $ --*- makefile -*-- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +check_PROGRAMS += ensc_vector/testsuite/test1 \ + ensc_vector/testsuite/test2 + +TESTS += ensc_vector/testsuite/test1 \ + ensc_vector/testsuite/test2 + +ensc_vector_testsuite_test1_SOURCES = ensc_vector/testsuite/test1.c +ensc_vector_testsuite_test1_LDADD = $(LIBENSCVECTOR) + +ensc_vector_testsuite_test2_SOURCES = ensc_vector/testsuite/test2.c +ensc_vector_testsuite_test2_LDADD = $(LIBENSCVECTOR) diff --git a/ensc_vector/testsuite/test1.c b/ensc_vector/testsuite/test1.c new file mode 100644 index 0000000..c30691b --- /dev/null +++ b/ensc_vector/testsuite/test1.c @@ -0,0 +1,182 @@ +// $Id: test1.c 1894 2005-03-17 14:49:01Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif +#undef NDEBUG + +#include "ensc_vector/vector.h" +#include +#include + +int wrapper_exit_code = 2; + +static int +cmp(void const *lhs_v, void const *rhs_v) +{ + int const * const lhs = lhs_v; + int const * const rhs = rhs_v; + + return *lhs - *rhs; +} + +struct Vector v; + +static void I(int val) +{ + *(int *)Vector_insert(&v, &val, cmp) = val; +} + +static void P(int val) +{ + *(int *)Vector_pushback(&v) = val; +} + +static int E(size_t idx) +{ + return ((int const *)Vector_begin_const(&v))[idx]; +} + +static int const * S(int val) +{ + return Vector_search_const(&v, &val, cmp); +} + +static int const * S_F(int val) +{ + return Vector_searchSelfOrg(&v, &val, cmp, vecMOVE_FRONT); +} + +static int const * S_S(int val) +{ + return Vector_searchSelfOrg(&v, &val, cmp, vecSHIFT_ONCE); +} + +static bool CMP(int const *lhs, int val) +{ + return (lhs!=0 && val==*lhs) || (lhs==0 && val==-1); +} + +int main() +{ + Vector_init(&v, sizeof(int)); + + I(0); I(1); I(2); I(3); + assert(Vector_count(&v)==4); + assert(E(0)==0 && E(1)==1 && E(2)==2 && E(3)==3); + + // clear-test + Vector_clear(&v); + assert(Vector_count(&v)==0); + I(1); + assert(Vector_count(&v)==1); + assert(E(0)==1); + + + Vector_clear(&v); + I(3); I(0); I(2); I(1); I(5); I(4); I(7); I(6); + assert(Vector_count(&v)==8); + assert((E(0)==0 && E(1)==1 && E(2)==2 && E(3)==3 && + E(4)==4 && E(5)==5 && E(6)==6 && E(7)==7)); + + assert(S(0) && *S(0)==0); + + + Vector_clear(&v); + assert(Vector_count(&v)==0); + + P(3); P(0); P(2); P(1); P(5); P(4); P(7); P(6); + assert(Vector_count(&v)==8); + assert((E(0)==3 && E(1)==0 && E(2)==2 && E(3)==1 && + E(4)==5 && E(5)==4 && E(6)==7 && E(7)==6)); + + Vector_sort(&v, cmp); + assert(Vector_count(&v)==8); + assert((E(0)==0 && E(1)==1 && E(2)==2 && E(3)==3 && + E(4)==4 && E(5)==5 && E(6)==6 && E(7)==7)); + + Vector_popback(&v); + assert(Vector_count(&v)==7); + assert((E(0)==0 && E(1)==1 && E(2)==2 && E(3)==3 && + E(4)==4 && E(5)==5 && E(6)==6)); + + Vector_unique(&v, cmp); + assert(Vector_count(&v)==7); + assert((E(0)==0 && E(1)==1 && E(2)==2 && E(3)==3 && + E(4)==4 && E(5)==5 && E(6)==6)); + + Vector_clear(&v); + assert(Vector_count(&v)==0); + + Vector_clear(&v); + P(3); P(7); P(0); P(2); P(1); P(2); P(5); P(4); P(5); P(7); P(6); + assert(Vector_count(&v)==11); + Vector_sort(&v, cmp); + assert(Vector_count(&v)==11); + assert((E(0)==0 && E(1)==1 && E(2)==2 && E(3)==2 && + E(4)==3 && E(5)==4 && E(6)==5 && E(7)==5 && + E(8)==6 && E(9)==7 && E(10)==7)); + + Vector_unique(&v, cmp); + assert(Vector_count(&v)==8); + assert((E(0)==0 && E(1)==1 && E(2)==2 && E(3)==3 && + E(4)==4 && E(5)==5 && E(6)==6 && E(7)==7)); + + assert(CMP(S_F(0),0)); + assert((E(0)==0 && E(1)==1 && E(2)==2 && E(3)==3 && E(4)==4 && E(5)==5 && E(6)==6 && E(7)==7)); + + assert(CMP(S_F(1),1)); + assert((E(0)==1 && E(1)==0 && E(2)==2 && E(3)==3 && E(4)==4 && E(5)==5 && E(6)==6 && E(7)==7)); + + assert(CMP(S_F(7),7)); + assert((E(0)==7 && E(1)==1 && E(2)==0 && E(3)==2 && E(4)==3 && E(5)==4 && E(6)==5 && E(7)==6)); + + assert(CMP(S_F(3),3)); + assert((E(0)==3 && E(1)==7 && E(2)==1 && E(3)==0 && E(4)==2 && E(5)==4 && E(6)==5 && E(7)==6)); + + assert(CMP(S_F(3),3)); + assert((E(0)==3 && E(1)==7 && E(2)==1 && E(3)==0 && E(4)==2 && E(5)==4 && E(6)==5 && E(7)==6)); + + assert(CMP(S_F(42), -1)); + assert((E(0)==3 && E(1)==7 && E(2)==1 && E(3)==0 && E(4)==2 && E(5)==4 && E(6)==5 && E(7)==6)); + + + assert(CMP(S_S(6), 6)); + assert((E(0)==3 && E(1)==7 && E(2)==1 && E(3)==0 && E(4)==2 && E(5)==4 && E(6)==6 && E(7)==5)); + + assert(CMP(S_S(6), 6)); + assert((E(0)==3 && E(1)==7 && E(2)==1 && E(3)==0 && E(4)==2 && E(5)==6 && E(6)==4 && E(7)==5)); + + assert(CMP(S_S(6), 6)); + assert((E(0)==3 && E(1)==7 && E(2)==1 && E(3)==0 && E(4)==6 && E(5)==2 && E(6)==4 && E(7)==5)); + + assert(CMP(S_S(7), 7)); + assert((E(0)==7 && E(1)==3 && E(2)==1 && E(3)==0 && E(4)==6 && E(5)==2 && E(6)==4 && E(7)==5)); + + assert(CMP(S_S(7), 7)); + assert((E(0)==7 && E(1)==3 && E(2)==1 && E(3)==0 && E(4)==6 && E(5)==2 && E(6)==4 && E(7)==5)); + + assert(CMP(S_S(42), -1)); + assert((E(0)==7 && E(1)==3 && E(2)==1 && E(3)==0 && E(4)==6 && E(5)==2 && E(6)==4 && E(7)==5)); + + + Vector_free(&v); + + return 0; +} diff --git a/ensc_vector/testsuite/test2.c b/ensc_vector/testsuite/test2.c new file mode 100644 index 0000000..1c7e1fe --- /dev/null +++ b/ensc_vector/testsuite/test2.c @@ -0,0 +1,144 @@ +// $Id: test2.c 1975 2005-03-24 12:41:27Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifdef HAVE_CONFIG_H +# include +#endif + +#undef NDEBUG + +#include "ensc_vector/list.h" +#include "ensc_vector/list-internal.h" + +#include +#include +#include + +int wrapper_exit_code = 2; + +static int +cmp(void const *lhs_v, void const *rhs_v) +{ + int const * const lhs = lhs_v; + int const * const rhs = rhs_v; + + return *lhs - *rhs; +} + +struct List l; + + +static void A(int val) +{ + int * res = List_add(&l, &val); + + assert(*res == val); +} + +static int const * S(int val) +{ + return List_search(&l, &val, cmp); +} + +static int const * SSO_F(int val) +{ + return List_searchSelfOrg(&l, &val, cmp, listMOVE_FRONT); +} + +static int const * SSO_S(int val) +{ + return List_searchSelfOrg(&l, &val, cmp, listSHIFT_ONCE); +} + +static int P(size_t idx) +{ + int const *res = List_at_const(&l, idx); + + assert(res!=0); + return *res; +} + +static bool P0(size_t idx) +{ + return List_at_const(&l, idx) == 0; +} + +static bool CMP(int const *lhs, int rhs) +{ + return (lhs!=0 && *lhs==rhs) || (lhs==0 && rhs==-1); +} + + +int main() +{ + List_init(&l, sizeof(int)); + + A(5); A(4); A(3); A(2); A(1); A(0); + assert(P(0)==0 && P(1)==1 && P(2)==2 && P(3)==3 && P(4)==4 && P(5)==5 && P0(6)); + + assert(CMP(S(5), 5) && CMP(S(2), 2) && CMP(S(0), 0)); + assert(CMP(S(42),-1)); + + assert(CMP(SSO_F(5), 5)); + assert(P(0)==5 && P(1)==0 && P(2)==1 && P(3)==2 && P(4)==3 && P(5)==4 && P0(6)); + + assert(CMP(SSO_F(5), 5)); + assert(P(0)==5 && P(1)==0 && P(2)==1 && P(3)==2 && P(4)==3 && P(5)==4 && P0(6)); + + assert(CMP(SSO_F(0), 0)); + assert(P(0)==0 && P(1)==5 && P(2)==1 && P(3)==2 && P(4)==3 && P(5)==4 && P0(6)); + + assert(CMP(SSO_F(4), 4)); + assert(P(0)==4 && P(1)==0 && P(2)==5 && P(3)==1 && P(4)==2 && P(5)==3 && P0(6)); + + assert(CMP(SSO_F(5), 5)); + assert(P(0)==5 && P(1)==4 && P(2)==0 && P(3)==1 && P(4)==2 && P(5)==3 && P0(6)); + + assert(CMP(SSO_F(42),-1)); + assert(P(0)==5 && P(1)==4 && P(2)==0 && P(3)==1 && P(4)==2 && P(5)==3 && P0(6)); + + + + assert(CMP(SSO_S(3), 3)); + assert(P(0)==5 && P(1)==4 && P(2)==0 && P(3)==1 && P(4)==3 && P(5)==2 && P0(6)); + + assert(CMP(SSO_S(3), 3)); + assert(P(0)==5 && P(1)==4 && P(2)==0 && P(3)==3 && P(4)==1 && P(5)==2 && P0(6)); + + assert(CMP(SSO_S(5), 5)); + assert(P(0)==5 && P(1)==4 && P(2)==0 && P(3)==3 && P(4)==1 && P(5)==2 && P0(6)); + + assert(CMP(SSO_S(4), 4)); + assert(P(0)==4 && P(1)==5 && P(2)==0 && P(3)==3 && P(4)==1 && P(5)==2 && P0(6)); + + assert(CMP(SSO_S(0), 0)); + assert(P(0)==4 && P(1)==0 && P(2)==5 && P(3)==3 && P(4)==1 && P(5)==2 && P0(6)); + + assert(CMP(SSO_S(0), 0)); + assert(P(0)==0 && P(1)==4 && P(2)==5 && P(3)==3 && P(4)==1 && P(5)==2 && P0(6)); + + assert(CMP(SSO_S(0), 0)); + assert(P(0)==0 && P(1)==4 && P(2)==5 && P(3)==3 && P(4)==1 && P(5)==2 && P0(6)); + + assert(CMP(SSO_S(42), -1)); + assert(P(0)==0 && P(1)==4 && P(2)==5 && P(3)==3 && P(4)==1 && P(5)==2 && P0(6)); + + List_free(&l); + + return EXIT_SUCCESS; +} diff --git a/ensc_vector/vector-clear.c b/ensc_vector/vector-clear.c new file mode 100644 index 0000000..6ef052d --- /dev/null +++ b/ensc_vector/vector-clear.c @@ -0,0 +1,31 @@ +// $Id: vector-clear.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include + +void +Vector_clear(struct Vector *vec) +{ + assert(vec!=0); + vec->count = 0; +} diff --git a/ensc_vector/vector-foreach.c b/ensc_vector/vector-foreach.c new file mode 100644 index 0000000..aec7bd5 --- /dev/null +++ b/ensc_vector/vector-foreach.c @@ -0,0 +1,34 @@ +// $Id: vector-foreach.c 2113 2005-07-03 09:12:31Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" + +void +Vector_foreach(struct Vector *vec, void (*func)(void *, void *), void *data) +{ + char * ptr = Vector_begin(vec); + char * const end = Vector_end(vec); + size_t const step = vec->elem_size; + + for (; ptr +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include + +void +Vector_free(struct Vector *vec) +{ + assert(vec!=0); + free(vec->data); + +#ifndef NDEBUG + vec->count = 0xdeadbeef; + vec->allocated = 0xdeadbeef; + vec->elem_size = 0xdeadbeef; + vec->data = (void *)(0xdeadbeef); +#endif +} diff --git a/ensc_vector/vector-init.c b/ensc_vector/vector-init.c new file mode 100644 index 0000000..86097db --- /dev/null +++ b/ensc_vector/vector-init.c @@ -0,0 +1,36 @@ +// $Id: vector-init.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include + +void +Vector_init(struct Vector *vec, size_t elem_size) +{ + assert(vec!=0); + assert(elem_size!=0); + + vec->elem_size = elem_size; + vec->data = 0; + vec->count = 0; + vec->allocated = 0; +} diff --git a/ensc_vector/vector-insert.c b/ensc_vector/vector-insert.c new file mode 100644 index 0000000..dd86b07 --- /dev/null +++ b/ensc_vector/vector-insert.c @@ -0,0 +1,42 @@ +// $Id: vector-insert.c 824 2004-02-06 16:42:56Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include + +void * +Vector_insert(struct Vector *vec, void const *key, + int (*compare)(const void *, const void *)) +{ + char * data; + char * end_ptr = Vector_pushback(vec); + + for (data=vec->data; dataelem_size) { + if (compare(key, data)<0) { + memmove(data+vec->elem_size, data, + (char *)(end_ptr) - (char *)(data)); + return data; + } + } + + return end_ptr; +} diff --git a/ensc_vector/vector-internal.h b/ensc_vector/vector-internal.h new file mode 100644 index 0000000..cc67e1c --- /dev/null +++ b/ensc_vector/vector-internal.h @@ -0,0 +1,32 @@ +// $Id: vector-internal.h 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_SRC_VECTOR_VECTOR_INTERNAL_H +#define H_UTIL_VSERVER_SRC_VECTOR_VECTOR_INTERNAL_H + +#ifndef VECTOR_SET_THRESHOLD +# define VECTOR_SET_THRESHOLD 20/16 +#endif + +#ifndef VECTOR_DEC_THRESHOLD +# define VECTOR_DEC_THRESHOLD 24/16 +#endif + + + +#endif // H_UTIL_VSERVER_SRC_VECTOR_VECTOR_INTERNAL_H diff --git a/ensc_vector/vector-popback.c b/ensc_vector/vector-popback.c new file mode 100644 index 0000000..5759d41 --- /dev/null +++ b/ensc_vector/vector-popback.c @@ -0,0 +1,32 @@ +// $Id: vector-popback.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include + +void +Vector_popback(struct Vector *vec) +{ + assert(vec->count>0); + + if (vec->count>0) --vec->count; +} diff --git a/ensc_vector/vector-pushback.c b/ensc_vector/vector-pushback.c new file mode 100644 index 0000000..8e2e230 --- /dev/null +++ b/ensc_vector/vector-pushback.c @@ -0,0 +1,34 @@ +// $Id: vector-pushback.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include "vector-resizeinternal.hc" + +void * +Vector_pushback(struct Vector *vec) +{ + ++vec->count; + if (vec->allocatedcount) + Vector_resizeInternal(vec); + + return (char *)(vec->data) + ((vec->count-1) * vec->elem_size); +} diff --git a/ensc_vector/vector-resize.c b/ensc_vector/vector-resize.c new file mode 100644 index 0000000..53aeb61 --- /dev/null +++ b/ensc_vector/vector-resize.c @@ -0,0 +1,31 @@ +// $Id: vector-resize.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include "vector-resizeinternal.hc" + +void +Vector_resize(struct Vector *vec) +{ + if (vec->allocated * VECTOR_DEC_THRESHOLD > vec->count+1) + Vector_resizeInternal(vec); +} diff --git a/ensc_vector/vector-resizeinternal.hc b/ensc_vector/vector-resizeinternal.hc new file mode 100644 index 0000000..aa604d4 --- /dev/null +++ b/ensc_vector/vector-resizeinternal.hc @@ -0,0 +1,39 @@ +// $Id: vector-resizeinternal.hc 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector-internal.h" +#include + +#define ENSC_WRAPPERS_STDLIB 1 +#include + +static void +Vector_resizeInternal(struct Vector *vec) +{ + vec->allocated = vec->count * VECTOR_SET_THRESHOLD; + ++vec->allocated; + + assert(vec->allocated >= vec->count); + + vec->data = Erealloc(vec->data, vec->allocated * vec->elem_size); + assert(vec->data!=0); +} diff --git a/ensc_vector/vector-search.c b/ensc_vector/vector-search.c new file mode 100644 index 0000000..7f9421f --- /dev/null +++ b/ensc_vector/vector-search.c @@ -0,0 +1,37 @@ +// $Id: vector-search.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" + +#include +#include + + +void * +Vector_search(struct Vector *vec, void const *key, + int (*compare)(const void *, const void *)) +{ + if (vec->count==0) return 0; + assert(vec->data!=0); + + return bsearch(key, vec->data, vec->count, vec->elem_size, compare); +} diff --git a/ensc_vector/vector-searchselforg.c b/ensc_vector/vector-searchselforg.c new file mode 100644 index 0000000..12372a9 --- /dev/null +++ b/ensc_vector/vector-searchselforg.c @@ -0,0 +1,71 @@ +// $Id: vector-searchselforg.c 1896 2005-03-17 14:51:55Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include "vector-internal.h" + +#include +#include +#include + +void * +Vector_searchSelfOrg(struct Vector *vec, void const *key, + int (*compare)(const void *, const void *), + VectorSelfOrgMethod method) +{ + char * const start_ptr = vec->data; + char * const end_ptr = start_ptr + vec->count*vec->elem_size; + char *ptr = start_ptr; + + for (; ptrelem_size; + + if (end_ptr <= ptr) ptr = 0; + else if (start_ptr < ptr) { + char tmp[vec->elem_size]; + memcpy(tmp, ptr, vec->elem_size); + + assert(ptr >= start_ptr+vec->elem_size); + + switch (method) { + case vecMOVE_FRONT : + memmove(start_ptr+vec->elem_size, start_ptr, ptr - start_ptr); + + ptr = start_ptr; + break; + + case vecSHIFT_ONCE : + memmove(ptr, ptr - vec->elem_size, vec->elem_size); + ptr -= vec->elem_size; + break; + + default : + assert(false); + ptr = 0; + } + + memcpy (ptr, tmp, vec->elem_size); + } + + return ptr; +} + diff --git a/ensc_vector/vector-sort.c b/ensc_vector/vector-sort.c new file mode 100644 index 0000000..5dac38b --- /dev/null +++ b/ensc_vector/vector-sort.c @@ -0,0 +1,34 @@ +// $Id: vector-sort.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" + +#include +#include + +void +Vector_sort(struct Vector *vec, int (*compare)(const void *, const void *)) +{ + if (vec->count==0) return; + + qsort(vec->data, vec->count, vec->elem_size, compare); +} diff --git a/ensc_vector/vector-unique.c b/ensc_vector/vector-unique.c new file mode 100644 index 0000000..ab38378 --- /dev/null +++ b/ensc_vector/vector-unique.c @@ -0,0 +1,57 @@ +// $Id: vector-unique.c 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" + +#include +#include + + // TODO: do not iterate from begin to end but in the reverse direction. This should be more + // effective. +void +Vector_unique(struct Vector *vec, int (*compare)(const void *, const void *)) +{ + size_t idx; + + if (vec->count<2) return; + + for (idx=0; idx+1count; ++idx) { + char *ptr = (char *)(vec->data) + idx*vec->elem_size; + char *next_ptr = ptr + vec->elem_size; + size_t next_idx = idx + 1; + + while (next_idxcount && + compare(ptr, next_ptr)==0) { + ++next_idx; + next_ptr += vec->elem_size; + } + + if (next_idx==vec->count) + vec->count = idx+1; + else if (next_idx-idx > 1) { + memmove(ptr + vec->elem_size, + next_ptr, (vec->count - next_idx)*vec->elem_size); + vec->count -= (next_idx-idx-1); + } + } +} + diff --git a/ensc_vector/vector-zeroend.c b/ensc_vector/vector-zeroend.c new file mode 100644 index 0000000..371fc80 --- /dev/null +++ b/ensc_vector/vector-zeroend.c @@ -0,0 +1,40 @@ +// $Id: vector-zeroend.c 1585 2004-06-16 10:10:55Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vector.h" +#include + + +void +Vector_zeroEnd(struct Vector *vec) +{ + void * tmp; + + if (vec->allocated <= vec->count) { + tmp = Vector_pushback(vec); + Vector_popback(vec); + } + else + tmp = Vector_end(vec); + + memset(tmp, 0, vec->elem_size); +} diff --git a/ensc_vector/vector.h b/ensc_vector/vector.h new file mode 100644 index 0000000..7fd7b46 --- /dev/null +++ b/ensc_vector/vector.h @@ -0,0 +1,66 @@ +// $Id: vector.h 2113 2005-07-03 09:12:31Z ensc $ --*- c++ -*-- + +// Copyright (C) 2002,2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +#ifndef H_UTILVSERVER_VECTOR_VECTOR_H +#define H_UTILVSERVER_VECTOR_VECTOR_H + +#include + +struct Vector +{ + void *data; + size_t count; + size_t allocated; + + size_t elem_size; +}; + +typedef enum { vecMOVE_FRONT, vecSHIFT_ONCE } VectorSelfOrgMethod; + +void Vector_init(struct Vector *, size_t elem_size); +void Vector_free(struct Vector *); +void * Vector_search(struct Vector *, void const *key, int (*compar)(const void *, const void *)); +void * Vector_searchSelfOrg(struct Vector *, void const *key, + int (*compar)(const void *, const void *), + VectorSelfOrgMethod method); +void Vector_sort(struct Vector *, int (*compar)(const void *, const void *)); +void Vector_unique(struct Vector *, int (*compar)(const void *, const void *)); +void * Vector_pushback(struct Vector *); +void * Vector_insert(struct Vector *, void const *key, int (*compar)(const void *, const void *)); +void Vector_popback(struct Vector *); +void Vector_resize(struct Vector *vec); +void Vector_clear(struct Vector *vec); +void Vector_zeroEnd(struct Vector *vec); +void Vector_foreach(struct Vector *vec, void (*func)(void *, void *), void *); + +static void Vector_foreach_const(struct Vector const *vec, + void (*func)(void const *, void *), + void *); +static void const * Vector_searchSelfOrg_const(struct Vector const *, void const *key, + int (*compar)(const void *, const void *), + VectorSelfOrgMethod method); +static void const * Vector_search_const(struct Vector const *, void const *key, int (*compar)(const void *, const void *)); +static void * Vector_begin(struct Vector *); +static void * Vector_end(struct Vector *); +static void const * Vector_begin_const(struct Vector const *); +static void const * Vector_end_const(struct Vector const *); +static size_t Vector_count(struct Vector const *vec); + +#include "vector.hc" + +#endif // H_UTILVSERVER_VECTOR_VECTOR_H diff --git a/ensc_vector/vector.hc b/ensc_vector/vector.hc new file mode 100644 index 0000000..9964a1a --- /dev/null +++ b/ensc_vector/vector.hc @@ -0,0 +1,70 @@ +// $Id: vector.hc 2113 2005-07-03 09:12:31Z ensc $ --*- c++ -*-- + +// Copyright (C) 2002,2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// + +static inline UNUSED void * +Vector_begin(struct Vector *vec) +{ + return vec->data; +} + +static inline UNUSED void * +Vector_end(struct Vector *vec) +{ + return (char *)(vec->data) + (vec->count * vec->elem_size); +} + +static inline UNUSED void const * +Vector_begin_const(struct Vector const *vec) +{ + return vec->data; +} + +static inline UNUSED void const * +Vector_end_const(struct Vector const *vec) +{ + return (char *)(vec->data) + (vec->count * vec->elem_size); +} + +static inline UNUSED size_t +Vector_count(struct Vector const *vec) +{ + return vec->count; +} + +static inline UNUSED void const * +Vector_search_const(struct Vector const *vec, void const *key, int (*compar)(const void *, const void *)) +{ + return Vector_search((struct Vector *)(vec), key, compar); +} + +static inline UNUSED void const * +Vector_searchSelfOrg_const(struct Vector const *vec, void const *key, + int (*compare)(const void *, const void *), + VectorSelfOrgMethod method) +{ + return Vector_searchSelfOrg((struct Vector *)(vec), key, compare, method); +} + +static inline UNUSED void +Vector_foreach_const(struct Vector const *vec, void (*func)(void const *, void *), + void *data) +{ + Vector_foreach((struct Vector *)(vec), + (void (*)(void *, void *))(func), + data); +} diff --git a/ensc_wrappers/Makefile-files b/ensc_wrappers/Makefile-files new file mode 100644 index 0000000..a8fded1 --- /dev/null +++ b/ensc_wrappers/Makefile-files @@ -0,0 +1,36 @@ +## $Id: Makefile-files 2323 2006-09-19 15:20:56Z dhozac $ --*- makefile -*-- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +noinst_HEADERS += ensc_wrappers/wrappers-clone.hc \ + ensc_wrappers/wrappers-dirent.hc \ + ensc_wrappers/wrappers-fcntl.hc \ + ensc_wrappers/wrappers-io.hc \ + ensc_wrappers/wrappers-ioctl.hc \ + ensc_wrappers/wrappers-iosock.hc \ + ensc_wrappers/wrappers-mount.hc \ + ensc_wrappers/wrappers-pivot.hc \ + ensc_wrappers/wrappers-resource.hc \ + ensc_wrappers/wrappers-socket.hc \ + ensc_wrappers/wrappers-stat.hc \ + ensc_wrappers/wrappers-stdlib.hc \ + ensc_wrappers/wrappers-string.hc \ + ensc_wrappers/wrappers-termios.hc \ + ensc_wrappers/wrappers-unistd.hc \ + ensc_wrappers/wrappers-vserver.hc \ + ensc_wrappers/wrappers-wait.hc \ + ensc_wrappers/wrappers.h \ + ensc_wrappers/wrappers_handler.hc diff --git a/ensc_wrappers/wrappers-clone.hc b/ensc_wrappers/wrappers-clone.hc new file mode 100644 index 0000000..9444099 --- /dev/null +++ b/ensc_wrappers/wrappers-clone.hc @@ -0,0 +1,32 @@ +// $Id: wrappers-clone.hc 2747 2008-07-15 22:14:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +#include + +inline static WRAPPER_DECL pid_t +Eclone(uint64_t flags, void *child_stack) +{ + pid_t res; + res = sys_clone(flags, child_stack); + FatalErrnoError(res==-1, "clone()"); + return res; +} diff --git a/ensc_wrappers/wrappers-dirent.hc b/ensc_wrappers/wrappers-dirent.hc new file mode 100644 index 0000000..c102dee --- /dev/null +++ b/ensc_wrappers/wrappers-dirent.hc @@ -0,0 +1,57 @@ +// $Id: wrappers-dirent.hc 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL DIR * +Eopendir(const char *name) +{ + DIR * res = opendir(name); + + FatalErrnoError(res==0, "opendir()"); + return res; +} + +inline static WRAPPER_DECL struct dirent * +Ereaddir(DIR *dir) +{ + struct dirent *res; + + errno = 0; + res = readdir(dir); + + FatalErrnoError(res==0 && errno!=0, "readdir()"); + return res; +} + +#ifndef __dietlibc__ +inline static WRAPPER_DECL void +Ereaddir_r(DIR *dir, struct dirent *entry, struct dirent **result) +{ + errno = 0; + FatalErrnoError(readdir_r(dir, entry, result)==0 && errno!=0, "readdir_r()"); +} +#endif + +inline static WRAPPER_DECL void +Eclosedir(DIR *dir) +{ + FatalErrnoError(closedir(dir)==-1, "closedir()"); +} diff --git a/ensc_wrappers/wrappers-fcntl.hc b/ensc_wrappers/wrappers-fcntl.hc new file mode 100644 index 0000000..72c3320 --- /dev/null +++ b/ensc_wrappers/wrappers-fcntl.hc @@ -0,0 +1,64 @@ +// $Id: wrappers-fcntl.hc 1473 2004-04-20 17:57:12Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL int +Eopen(char const *fname, int flags, mode_t mode) +{ + int res = open(fname, flags, mode); + FatalErrnoError(res==-1, "open()"); + + return res; +} + +inline static WRAPPER_DECL int +EopenD(char const *fname, int flags, mode_t mode) +{ + ENSC_DETAIL1(msg, "open", fname, 1); + + { + int res = open(fname, flags, mode); + FatalErrnoError(res==-1, msg); + return res; + } +} + + +inline static WRAPPER_DECL void +Emkdir(const char *pathname, mode_t mode) +{ + FatalErrnoError(mkdir(pathname,mode)==-1, "mkdir()"); +} + +inline static WRAPPER_DECL void +EmkdirD(const char *pathname, mode_t mode) +{ + ENSC_DETAIL1(msg, "mkdir", pathname, 1); + FatalErrnoError(mkdir(pathname,mode)==-1, msg); +} + +inline static WRAPPER_DECL int +Efcntl(int fd, int cmd, long arg) +{ + register int res = fcntl(fd, cmd, arg); + FatalErrnoError(res==-1, "fcntl()"); + + return res; +} diff --git a/ensc_wrappers/wrappers-io.hc b/ensc_wrappers/wrappers-io.hc new file mode 100644 index 0000000..684b77f --- /dev/null +++ b/ensc_wrappers/wrappers-io.hc @@ -0,0 +1,98 @@ +// $Id: wrappers-io.hc 2116 2005-07-03 12:33:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +#include + +inline static UNUSED bool +WwriteAll(int fd, void const *ptr_v, size_t len, int *err) +{ + register char const *ptr = ptr_v; + + if (err) *err = 0; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(write(fd, ptr, len)); + if (res<=0) { + if (err) *err = errno; + return false; + } + + ptr += res; + len -= res; + } + return true; +} + +inline static UNUSED void +EwriteAll(int fd, void const *ptr_v, size_t len) +{ + register char const *ptr = ptr_v; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(write(fd, ptr, len)); + FatalErrnoError(res==-1, "write()"); + + ptr += res; + len -= res; + } +} + + +inline static UNUSED bool +WreadAll(int fd, void *ptr_v, size_t len, int *err) +{ + register char *ptr = ptr_v; + + if (err) *err = 0; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(read(fd, ptr, len)); + if (res==-1) { + if (err) *err = errno; + return false; + } + + if (res==0) return false; + + ptr += res; + len -= res; + } + return true; +} + +inline static UNUSED bool +EreadAll(int fd, void *ptr_v, size_t len) +{ + register char *ptr = ptr_v; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(read(fd, ptr, len)); + FatalErrnoError(res==-1, "read()"); + + if (res==0) return false; + + ptr += res; + len -= res; + } + + return true; +} diff --git a/ensc_wrappers/wrappers-ioctl.hc b/ensc_wrappers/wrappers-ioctl.hc new file mode 100644 index 0000000..41938e0 --- /dev/null +++ b/ensc_wrappers/wrappers-ioctl.hc @@ -0,0 +1,34 @@ +// $Id: wrappers-ioctl.hc 2687 2008-02-28 23:28:31Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL void +Eioctl(int fd, int request, void *p) +{ + int res = ioctl(fd, request, p); + FatalErrnoError(res<0, "ioctl()"); +} + +#define EioctlD(fd, request, p) \ + do { \ + int res = ioctl(fd, request, p); \ + FatalErrnoError(res<0, "ioctl(" #request ")"); \ + } while (0) diff --git a/ensc_wrappers/wrappers-iosock.hc b/ensc_wrappers/wrappers-iosock.hc new file mode 100644 index 0000000..579a740 --- /dev/null +++ b/ensc_wrappers/wrappers-iosock.hc @@ -0,0 +1,98 @@ +// $Id: wrappers-iosock.hc 2116 2005-07-03 12:33:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +#include + +inline static WRAPPER_DECL bool +WsendAll(int fd, void const *ptr_v, size_t len, int *err) +{ + register char const *ptr = ptr_v; + if (err) *err = 0; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(send(fd, ptr, len, MSG_NOSIGNAL)); + if (res==-1) { + if (err) *err = errno; + return false; + } + + if (res==0) return false; + + ptr += res; + len -= res; + } + return true; +} + +inline static WRAPPER_DECL void +EsendAll(int fd, void const *ptr_v, size_t len) +{ + register char const *ptr = ptr_v; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(send(fd, ptr, len, MSG_NOSIGNAL)); + FatalErrnoError(res==-1, "send()"); + + ptr += res; + len -= res; + } +} + + +inline static WRAPPER_DECL bool +WrecvAll(int fd, void *ptr_v, size_t len, int *err) +{ + register char *ptr = ptr_v; + if (err) *err = 0; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(recv(fd, ptr, len, MSG_NOSIGNAL)); + if (res==-1) { + if (err) *err = errno; + return false; + } + + if (res==0) return false; + + ptr += res; + len -= res; + } + return true; +} + +inline static WRAPPER_DECL bool +ErecvAll(int fd, void *ptr_v, size_t len) +{ + register char *ptr = ptr_v; + + while (len>0) { + ssize_t res = TEMP_FAILURE_RETRY(recv(fd, ptr, len, MSG_NOSIGNAL)); + FatalErrnoError(res==-1, "recv()"); + + if (res==0) return false; + + ptr += res; + len -= res; + } + + return true; +} diff --git a/ensc_wrappers/wrappers-mount.hc b/ensc_wrappers/wrappers-mount.hc new file mode 100644 index 0000000..42ff590 --- /dev/null +++ b/ensc_wrappers/wrappers-mount.hc @@ -0,0 +1,35 @@ +// $Id: wrappers-mount.hc 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL void +Eumount2(char const *path, int flag) +{ + FatalErrnoError(umount2(path,flag)==-1, "umount2()"); +} + +inline static WRAPPER_DECL void +Emount(const char *source, const char *target, + const char *filesystemtype, unsigned long mountflags, + const void *data) +{ + FatalErrnoError(mount(source, target, filesystemtype, + mountflags, data)==-1, "mount()"); +} diff --git a/ensc_wrappers/wrappers-pivot.hc b/ensc_wrappers/wrappers-pivot.hc new file mode 100644 index 0000000..bd59d03 --- /dev/null +++ b/ensc_wrappers/wrappers-pivot.hc @@ -0,0 +1,27 @@ +// $Id: wrappers-pivot.hc 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL void +Epivot_root(const char *new_root, const char *put_old) +{ + FatalErrnoError(pivot_root(new_root, put_old)==-1, "pivot_root()"); +} diff --git a/ensc_wrappers/wrappers-resource.hc b/ensc_wrappers/wrappers-resource.hc new file mode 100644 index 0000000..271ffc2 --- /dev/null +++ b/ensc_wrappers/wrappers-resource.hc @@ -0,0 +1,32 @@ +// $Id: wrappers-resource.hc 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL void +Egetrlimit(int resource, struct rlimit *rlim) +{ + FatalErrnoError(getrlimit(resource, rlim)==-1, "getrlimit()"); +} + +inline static WRAPPER_DECL void +Esetrlimit(int resource, struct rlimit const *rlim) +{ + FatalErrnoError(setrlimit(resource, rlim)==-1, "setrlimit()"); +} diff --git a/ensc_wrappers/wrappers-socket.hc b/ensc_wrappers/wrappers-socket.hc new file mode 100644 index 0000000..d70aa97 --- /dev/null +++ b/ensc_wrappers/wrappers-socket.hc @@ -0,0 +1,92 @@ +// $Id: wrappers-socket.hc 1649 2004-08-19 13:54:27Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers-socket.hc can not be used in this way +#endif + +inline static WRAPPER_DECL int +Esocket(int domain, int type, int protocol) +{ + register int res = socket(domain, type, protocol); + FatalErrnoError(res==-1, "socket()"); + return res; +} + +inline static WRAPPER_DECL void +Econnect(int sockfd, void const *serv_addr, socklen_t addrlen) +{ + FatalErrnoError(connect(sockfd, serv_addr, addrlen)==-1, "connect()"); +} + +inline static WRAPPER_DECL void +Ebind(int sockfd, void *my_addr, socklen_t addrlen) +{ + FatalErrnoError(bind(sockfd, my_addr, addrlen)==-1, "bind()"); +} + +inline static WRAPPER_DECL int +Eaccept(int s, void *addr, socklen_t *addrlen) +{ + register int res = accept(s,addr,addrlen); + FatalErrnoError(res==-1, "accept()"); + return res; +} + +inline static WRAPPER_DECL void +Elisten(int sock, int backlog) +{ + FatalErrnoError(listen(sock, backlog)==-1, "bind()"); +} + +inline static WRAPPER_DECL void +Eshutdown(int s, int how) +{ + FatalErrnoError(shutdown(s,how)==-1, "shutdown()"); +} + +inline static WRAPPER_DECL ssize_t +Erecv(int s, void *buf, size_t len, int flags) +{ + register ssize_t res = recv(s,buf,len,flags); + FatalErrnoError(res==-1, "recv()"); + return res; +} + +inline static WRAPPER_DECL ssize_t +Esend(int s, void const *buf, size_t len, int flags) +{ + register ssize_t res = send(s,buf,len,flags); + FatalErrnoError(res==-1, "send()"); + return res; +} + +inline static WRAPPER_DECL int +Eselect(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, + struct timeval *timeout) +{ + register int res = select(n, readfds,writefds,exceptfds, timeout); + FatalErrnoError(res==-1, "select()"); + return res; +} + +inline static WRAPPER_DECL void +Esocketpair(int d, int type, int protocol, int sv[2]) +{ + FatalErrnoError(socketpair(d,type,protocol,sv)==-1, "socketpair()"); +} diff --git a/ensc_wrappers/wrappers-stat.hc b/ensc_wrappers/wrappers-stat.hc new file mode 100644 index 0000000..017fd0a --- /dev/null +++ b/ensc_wrappers/wrappers-stat.hc @@ -0,0 +1,46 @@ +// $Id: wrappers-stat.hc 2253 2006-01-22 11:18:14Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers-stat.hc can not be used in this way +#endif + +#define ENSC_STAT_DECL(FUNC) \ + inline static WRAPPER_DECL void \ + E##FUNC(char const *filename, struct stat *buf) \ + { \ + FatalErrnoError(FUNC(filename, buf)==-1, #FUNC "()"); \ + } \ + \ + inline static WRAPPER_DECL void \ + E##FUNC##D(char const *filename, struct stat *buf) \ + { \ + ENSC_DETAIL1(msg, #FUNC, filename, 1); \ + FatalErrnoError(FUNC(filename, buf)==-1, msg); \ + } + + +ENSC_STAT_DECL(stat) +ENSC_STAT_DECL(lstat) + +#undef ENSC_STAT_DECL + + inline static WRAPPER_DECL void +Efstat(int fd, struct stat *buf) +{ + FatalErrnoError(fstat(fd, buf)==-1, "fstat()"); +} diff --git a/ensc_wrappers/wrappers-stdlib.hc b/ensc_wrappers/wrappers-stdlib.hc new file mode 100644 index 0000000..dfda8ff --- /dev/null +++ b/ensc_wrappers/wrappers-stdlib.hc @@ -0,0 +1,47 @@ +// $Id: wrappers-stdlib.hc 1650 2004-08-19 13:54:45Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL void * +Emalloc(size_t size) +{ + register void *res = malloc(size); + FatalErrnoError(res==0 && size!=0, "malloc()"); + return res; +} + +/*@unused@*/ +inline static WRAPPER_DECL /*@null@*//*@only@*/ void * +Erealloc(/*@only@*//*@out@*//*@null@*/ void *ptr, + size_t new_size) + /*@ensures maxSet(result) == new_size@*/ + /*@modifies *ptr@*/ +{ + register void *res = realloc(ptr, new_size); + FatalErrnoError(res==0 && new_size!=0, "realloc()"); + + return res; +} + +inline static WRAPPER_DECL void +Esetenv(char const *key, char const *val, int override) +{ + FatalErrnoError(setenv(key,val,override)==-1, "setenv()"); +} diff --git a/ensc_wrappers/wrappers-string.hc b/ensc_wrappers/wrappers-string.hc new file mode 100644 index 0000000..0a1884a --- /dev/null +++ b/ensc_wrappers/wrappers-string.hc @@ -0,0 +1,29 @@ +// $Id: wrappers-string.hc 1872 2005-02-25 23:31:19Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +/*@unused@*/ +inline static WRAPPER_DECL char * +Estrdup(char const *s) +{ + register char *res = strdup(s); + FatalErrnoError(res==0, "strdup()"); + return res; +} diff --git a/ensc_wrappers/wrappers-termios.hc b/ensc_wrappers/wrappers-termios.hc new file mode 100644 index 0000000..45d5260 --- /dev/null +++ b/ensc_wrappers/wrappers-termios.hc @@ -0,0 +1,32 @@ +// $Id: wrappers-termios.hc 2306 2006-09-12 16:55:42Z dhozac $ --*- c -*-- + +// Copyright (C) 2006 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers-termios.hc can not be used in this way +#endif + +inline static WRAPPER_DECL void +Etcgetattr(int fd, struct termios *termios_p) +{ + FatalErrnoError(tcgetattr(fd, termios_p)==-1, "tcgetattr()"); +} + +inline static WRAPPER_DECL void +Etcsetattr(int fd, int optional_actions, struct termios *termios_p) +{ + FatalErrnoError(tcsetattr(fd, optional_actions, termios_p)==-1, "tcsetattr()"); +} diff --git a/ensc_wrappers/wrappers-unistd.hc b/ensc_wrappers/wrappers-unistd.hc new file mode 100644 index 0000000..8762120 --- /dev/null +++ b/ensc_wrappers/wrappers-unistd.hc @@ -0,0 +1,232 @@ +// $Id: wrappers-unistd.hc 2467 2007-01-21 18:26:45Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL void +Eclose(int s) +{ + FatalErrnoError(close(s)==-1, "close()"); +} + +inline static WRAPPER_DECL void +Echdir(char const path[]) +{ + FatalErrnoError(chdir(path)==-1, "chdir()"); +} + +inline static WRAPPER_DECL void +Efchdir(int fd) +{ + FatalErrnoError(fchdir(fd)==-1, "fchdir()"); +} + +inline static WRAPPER_DECL void +Echroot(char const path[]) +{ + FatalErrnoError(chroot(path)==-1, "chroot()"); +} + +inline static WRAPPER_DECL NORETURN void +Eexecv(char const *path, char *argv[]) +{ + execv(path,argv); + FatalErrnoErrorFail("execv()"); +} + +inline static WRAPPER_DECL NORETURN void +Eexecvp(char const *path, char *argv[]) +{ + execvp(path,argv); + FatalErrnoErrorFail("execvp()"); +} + +inline static WRAPPER_DECL NORETURN void +EexecvpD(char const *path, char *argv[]) +{ + execvp(path,argv); + { + ENSC_DETAIL1(msg, "execvp", path, 1); + FatalErrnoErrorFail(msg); + } +} + +inline static WRAPPER_DECL void +Epipe(int filedes[2]) +{ + FatalErrnoError(pipe(filedes)==-1, "pipe()"); +} + +inline static WRAPPER_DECL pid_t +Efork() +{ + pid_t res; + res = fork(); + FatalErrnoError(res==-1, "fork()"); + return res; +} + +inline static WRAPPER_DECL size_t +Eread(int fd, void *ptr, size_t len) +{ + ssize_t res = read(fd, ptr, len); + FatalErrnoError(res==-1, "read()"); + + return res; +} + +inline static WRAPPER_DECL size_t +Ewrite(int fd, void const *ptr, size_t len) +{ + ssize_t res = write(fd, ptr, len); + FatalErrnoError(res==-1, "write()"); + + return res; +} + +inline static WRAPPER_DECL size_t +Ereadlink(const char *path, char *buf, size_t bufsiz) +{ + ssize_t res = readlink(path, buf, bufsiz); + FatalErrnoError(res==-1, "readlink()"); + + return res; +} + +inline static WRAPPER_DECL size_t +EreadlinkD(const char *path, char *buf, size_t bufsiz) +{ + ssize_t res = readlink(path, buf, bufsiz); + ENSC_DETAIL1(msg, "readlink", path, 1); + FatalErrnoError((ssize_t)(res)==-1, msg); + + return res; +} + +inline static WRAPPER_DECL void +Esymlink(const char *oldpath, const char *newpath) +{ + FatalErrnoError(symlink(oldpath, newpath)==-1, "symlink()"); +} + +inline static WRAPPER_DECL void +EsymlinkD(const char *oldpath, const char *newpath) +{ + ENSC_DETAIL2(msg, "symlink", oldpath, newpath, 1, 1); + FatalErrnoError(symlink(oldpath, newpath)==-1, msg); +} + +inline static WRAPPER_DECL void +Eunlink(char const *pathname) +{ + FatalErrnoError(unlink(pathname)==-1, "unlink()"); +} + +inline static WRAPPER_DECL void +Elink(char const *oldpath, char const *newpath) +{ + FatalErrnoError(link(oldpath, newpath)==-1, "link()"); +} + +inline static void +Esetuid(uid_t uid) +{ + FatalErrnoError(setuid(uid)==-1, "setuid()"); +} + +inline static void +Esetgid(gid_t gid) +{ + FatalErrnoError(setgid(gid)==-1, "setgid()"); +} + +#if defined(_GRP_H) && (defined(__USE_BSD) || defined(__dietlibc__)) +inline static void +Esetgroups(size_t size, const gid_t *list) +{ + FatalErrnoError(setgroups(size, list)==-1, "setgroups()"); +} + +inline static void +Einitgroups(const char *user, gid_t group) +{ + FatalErrnoError(initgroups(user, group)==-1, "initgroups()"); +} +#endif + +inline static WRAPPER_DECL int +Edup2(int oldfd, int newfd) +{ + register int res = dup2(oldfd, newfd); + FatalErrnoError(res==-1, "dup2()"); + + return res; +} + +inline static WRAPPER_DECL int +Edup(int fd) +{ + register int res = dup(fd); + FatalErrnoError(res==-1, "dup()"); + + return res; +} + +inline static WRAPPER_DECL pid_t +Esetsid() +{ + register pid_t const res = setsid(); + FatalErrnoError(res==-1, "setsid()"); + + return res; +} + +inline static WRAPPER_DECL int +Emkstemp(char *template) +{ + int res = mkstemp(template); + FatalErrnoError(res==-1, "mkstemp()"); + return res; +} + +inline static WRAPPER_DECL off_t +Elseek(int fildes, off_t offset, int whence) +{ + off_t res = lseek(fildes, offset, whence); + FatalErrnoError(res==(off_t)-1, "lseek()"); + return res; +} + +inline static WRAPPER_DECL void +Enice(int n) +{ + FatalErrnoError(nice(n)==-1, "nice()"); +} + +inline static WRAPPER_DECL void +Etruncate(const char *path, off_t length) +{ + FatalErrnoError(truncate(path,length)==-1, "truncate()"); +} + +inline static WRAPPER_DECL void +Eftruncate(int fd, off_t length) +{ + FatalErrnoError(ftruncate(fd,length)==-1, "ftruncate()"); +} diff --git a/ensc_wrappers/wrappers-vserver.hc b/ensc_wrappers/wrappers-vserver.hc new file mode 100644 index 0000000..082d3bc --- /dev/null +++ b/ensc_wrappers/wrappers-vserver.hc @@ -0,0 +1,208 @@ +// $Id: wrappers-vserver.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +#if defined(VC_ENABLE_API_COMPAT) || defined(VC_ENABLE_API_LEGACY) + +inline static WRAPPER_DECL xid_t +Evc_new_s_context(xid_t ctx, unsigned int remove_cap, unsigned int flags) +{ + register xid_t res = vc_new_s_context(ctx,remove_cap,flags); + FatalErrnoError(res==VC_NOCTX, "vc_new_s_context()"); + return res; +} + +#endif + +inline static WRAPPER_DECL xid_t +Evc_get_task_xid(pid_t pid) +{ + register xid_t res = vc_get_task_xid(pid); + FatalErrnoError(res==VC_NOCTX, "vc_get_task_xid()"); + return res; +} + +inline static WRAPPER_DECL nid_t +Evc_get_task_nid(pid_t pid) +{ + register nid_t res = vc_get_task_nid(pid); + FatalErrnoError(res==VC_NOCTX, "vc_get_task_nid()"); + return res; +} + +inline static WRAPPER_DECL xid_t +Evc_ctx_create(xid_t xid, struct vc_ctx_flags *flags) +{ + register xid_t res = vc_ctx_create(xid, flags); + FatalErrnoError(res==VC_NOCTX, "vc_ctx_create()"); + return res; +} + +inline static WRAPPER_DECL nid_t +Evc_net_create(nid_t nid) +{ + register nid_t res = vc_net_create(nid); + FatalErrnoError(res==VC_NOCTX, "vc_net_create()"); + return res; +} + +inline static WRAPPER_DECL tag_t +Evc_tag_create(tag_t tag) +{ + register tag_t res = vc_tag_create(tag); + FatalErrnoError(res==VC_NOCTX, "vc_tag_create()"); + return res; +} + +inline static WRAPPER_DECL void +Evc_ctx_migrate(xid_t xid, uint_least64_t flags) +{ + FatalErrnoError(vc_ctx_migrate(xid, flags)==-1, "vc_ctx_migrate()"); +} + +inline static WRAPPER_DECL void +Evc_net_migrate(nid_t nid) +{ + FatalErrnoError(vc_net_migrate(nid)==-1, "vc_net_migrate()"); +} + +inline static WRAPPER_DECL void +Evc_tag_migrate(tag_t tag) +{ + FatalErrnoError(vc_tag_migrate(tag)==-1, "vc_tag_migrate()"); +} + +inline static WRAPPER_DECL void +Evc_get_cflags(xid_t xid, struct vc_ctx_flags *flags) +{ + FatalErrnoError(vc_get_cflags(xid, flags)==-1, "vc_get_cflags()"); +} + +inline static WRAPPER_DECL void +Evc_set_cflags(xid_t xid, struct vc_ctx_flags const *flags) +{ + FatalErrnoError(vc_set_cflags(xid, flags)==-1, "vc_set_cflags()"); +} + +inline static WRAPPER_DECL void +Evc_get_nflags(nid_t nid, struct vc_net_flags *flags) +{ + FatalErrnoError(vc_get_nflags(nid, flags)==-1, "vc_get_nflags()"); +} + +inline static WRAPPER_DECL void +Evc_set_nflags(nid_t nid, struct vc_net_flags const *flags) +{ + FatalErrnoError(vc_set_nflags(nid, flags)==-1, "vc_set_nflags()"); +} + +inline static WRAPPER_DECL void +Evc_set_vhi_name(xid_t xid, vc_uts_type type, + char const *val, size_t len) +{ + FatalErrnoError(vc_set_vhi_name(xid,type,val,len)==-1, "vc_set_vhi_name()"); +} + +inline static WRAPPER_DECL void +Evc_get_ccaps(xid_t xid, struct vc_ctx_caps *caps) +{ + FatalErrnoError(vc_get_ccaps(xid, caps)==-1, "vc_get_ccaps()"); +} + +inline static WRAPPER_DECL void +Evc_set_ccaps(xid_t xid, struct vc_ctx_caps const *caps) +{ + FatalErrnoError(vc_set_ccaps(xid, caps)==-1, "vc_set_ccaps()"); +} + +inline static WRAPPER_DECL void +Evc_get_ncaps(nid_t nid, struct vc_net_caps *caps) +{ + FatalErrnoError(vc_get_ncaps(nid, caps)==-1, "vc_get_ncaps()"); +} + +inline static WRAPPER_DECL void +Evc_set_ncaps(nid_t nid, struct vc_net_caps const *caps) +{ + FatalErrnoError(vc_set_ncaps(nid, caps)==-1, "vc_set_ncaps()"); +} + +inline static WRAPPER_DECL void +Evc_set_namespace(xid_t xid, uint_least64_t mask, uint32_t index) +{ + FatalErrnoError(vc_set_namespace(xid, mask, index)==-1, "vc_set_namespace()"); +} + +inline static WRAPPER_DECL void +Evc_enter_namespace(xid_t xid, uint_least64_t mask, uint32_t index) +{ + FatalErrnoError(vc_enter_namespace(xid, mask, index)==-1, "vc_enter_namespace()"); +} + +inline static WRAPPER_DECL xid_t +Evc_xidopt2xid(char const *id, bool honor_static) +{ + char const * err; + xid_t rc = vc_xidopt2xid(id, honor_static, &err); + if (__builtin_expect(rc==VC_NOCTX,0)) { + ENSC_DETAIL1(msg, "vc_xidopt2xid", id, 1); +#if 1 + FatalErrnoErrorFail(msg); +#else + { + size_t l1 = strlen(msg); + size_t l2 = strlen(err); + char buf[l1 + l2 + sizeof(": ")]; + memcpy(buf, msg, l1); + memcpy(buf+l1, ": ", 2); + memcpy(buf+l1+2, err, l2+1); + + FatalErrnoErrorFail(buf); + } +#endif + } + + return rc; +} + +inline static WRAPPER_DECL nid_t +Evc_nidopt2nid(char const *id, bool honor_static) +{ + char const * err; + nid_t rc = vc_nidopt2nid(id, honor_static, &err); + if (__builtin_expect(rc==VC_NOCTX,0)) { + ENSC_DETAIL1(msg, "vc_nidopt2nid", id, 1); + FatalErrnoErrorFail(msg); + } + return rc; +} + +inline static WRAPPER_DECL tag_t +Evc_tagopt2tag(char const *id, bool honor_static) +{ + char const * err; + tag_t rc = vc_tagopt2tag(id, honor_static, &err); + if (__builtin_expect(rc==VC_NOCTX,0)) { + ENSC_DETAIL1(msg, "vc_tagopt2tag", id, 1); + FatalErrnoErrorFail(msg); + } + return rc; +} diff --git a/ensc_wrappers/wrappers-wait.hc b/ensc_wrappers/wrappers-wait.hc new file mode 100644 index 0000000..e79653c --- /dev/null +++ b/ensc_wrappers/wrappers-wait.hc @@ -0,0 +1,31 @@ +// $Id: wrappers-wait.hc 814 2004-02-06 14:47:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +inline static WRAPPER_DECL pid_t +Ewait4(pid_t pid, int *status, int options, + struct rusage *rusage) +{ + pid_t res; + res = wait4(pid, status, options, rusage); + FatalErrnoError(res==-1, "wait4()"); + return res; +} diff --git a/ensc_wrappers/wrappers.h b/ensc_wrappers/wrappers.h new file mode 100644 index 0000000..92ab848 --- /dev/null +++ b/ensc_wrappers/wrappers.h @@ -0,0 +1,124 @@ +// $Id: wrappers.h 2306 2006-09-12 16:55:42Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2003,2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_SRC_WRAPPERS_H +#define H_UTIL_VSERVER_SRC_WRAPPERS_H + +#define WRAPPER_DECL UNUSED ALWAYSINLINE +#define H_ENSC_IN_WRAPPERS_H 1 + +#include "wrappers_handler.hc" + +#define ENSC_DOQUOTE_COND(PTR, VAL, LEN, DO_QUOTE) \ + if (DO_QUOTE) *PTR++ = '"'; \ + memcpy(PTR, VAL, LEN); PTR += LEN; \ + if (DO_QUOTE) *PTR++ = '"' \ + +#define ENSC_DETAIL1(RES,FUNC,VAL,DO_QUOTE) \ + size_t l_ = strlen(VAL); \ + char RES[l_ + sizeof(FUNC "(\"\")")]; \ + char * ptr_ = RES; \ + memcpy(ptr_, FUNC "(", sizeof(FUNC)); ptr_ += sizeof(FUNC); \ + ENSC_DOQUOTE_COND(ptr_, VAL, l_, DO_QUOTE); \ + *ptr_++ = ')'; \ + *ptr_ = '\0'; + +#define ENSC_DETAIL2(RES,FUNC, VAL0,VAL1, DO_QUOTE0,DO_QUOTE1) \ + size_t l0_ = strlen(VAL0); \ + size_t l1_ = strlen(VAL1); \ + char RES[l0_ + l1_ + sizeof(FUNC "('','')")]; \ + char * ptr_ = RES; \ + memcpy(ptr_, FUNC "(", sizeof(FUNC)); ptr_ += sizeof(FUNC); \ + ENSC_DOQUOTE_COND(ptr_, VAL0, l0_, DO_QUOTE0); \ + *ptr_++ = ','; \ + ENSC_DOQUOTE_COND(ptr_, VAL1, l1_, DO_QUOTE1); \ + *ptr_++ = ')'; \ + *ptr_ = '\0'; + + +#ifdef ENSC_WRAPPERS_UNISTD +# include "wrappers-unistd.hc" +#endif + +#ifdef ENSC_WRAPPERS_FCNTL +# include "wrappers-fcntl.hc" +#endif + +#ifdef ENSC_WRAPPERS_MOUNT +# include "wrappers-mount.hc" +#endif + +#ifdef ENSC_WRAPPERS_RESOURCE +# include "wrappers-resource.hc" +#endif + +#ifdef ENSC_WRAPPERS_IOCTL +# include "wrappers-ioctl.hc" +#endif + +#ifdef ENSC_WRAPPERS_WAIT +# include "wrappers-wait.hc" +#endif + +#ifdef ENSC_WRAPPERS_VSERVER +# include "wrappers-vserver.hc" +#endif + +#ifdef ENSC_WRAPPERS_IO +# include "wrappers-io.hc" +#endif + +#ifdef ENSC_WRAPPERS_IOSOCK +# include "wrappers-iosock.hc" +#endif + +#ifdef ENSC_WRAPPERS_DIRENT +# include "wrappers-dirent.hc" +#endif + +#ifdef ENSC_WRAPPERS_CLONE +# include "wrappers-clone.hc" +#endif + +#ifdef ENSC_WRAPPERS_STDLIB +# include "wrappers-stdlib.hc" +#endif + +#ifdef ENSC_WRAPPERS_STRING +# include "wrappers-string.hc" +#endif + +#ifdef ENSC_WRAPPERS_SOCKET +# include "wrappers-socket.hc" +#endif + +#ifdef ENSC_WRAPPERS_STAT +# include "wrappers-stat.hc" +#endif + +#ifdef ENSC_WRAPPERS_TERMIOS +# include "wrappers-termios.hc" +#endif + +#undef ENSC_DETAIL2 +#undef ENSC_DETAIL1 +#undef ENSC_DOQUOTE_COND +#undef H_ENSC_IN_WRAPPERS_H +#undef WRAPPER_DECL + +#endif // H_UTIL_VSERVER_SRC_WRAPPERS_H diff --git a/ensc_wrappers/wrappers_handler.hc b/ensc_wrappers/wrappers_handler.hc new file mode 100644 index 0000000..cfa6482 --- /dev/null +++ b/ensc_wrappers/wrappers_handler.hc @@ -0,0 +1,49 @@ +// $Id: wrappers_handler.hc 1289 2004-03-18 05:27:10Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_IN_WRAPPERS_H +# error wrappers_handler.hc can not be used in this way +#endif + +#include +#include +#include + +static inline ALWAYSINLINE NORETURN void +FatalErrnoErrorFail(char const msg[]) +{ + extern int wrapper_exit_code; + +#ifdef ENSC_WRAPPERS_PREFIX + { + int old_errno = errno; + WRITE_MSG(2, ENSC_WRAPPERS_PREFIX); + errno = old_errno; + } +#endif + perror(msg); + + exit(wrapper_exit_code); +} + +static UNUSED void +FatalErrnoError(bool condition, char const msg[]) /*@*/ +{ + if (__builtin_expect(!condition,true)) return; + FatalErrnoErrorFail(msg); +} diff --git a/gentoo/Makefile-files b/gentoo/Makefile-files new file mode 100644 index 0000000..b5d5e9a --- /dev/null +++ b/gentoo/Makefile-files @@ -0,0 +1,33 @@ +## $Id: Makefile-files 2674 2008-01-27 07:55:13Z dhozac $ -*- makefile -*- + +## Copyright (C) 2003 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT += \ + $(gentoo_src_SCRPTS) + +gentoo_src_SCRPTS = gentoo/vprocunhide \ + gentoo/vservers.default \ + gentoo/util-vserver + +EXTRA_DIST += $(gentoo_src_SCRPTS) \ + gentoo/bash-wrapper + +if HAVE_GENTOO_INIT +initrd_SCRIPTS += $(gentoo_src_SCRPTS) +pkglib_SCRIPTS += gentoo/bash-wrapper +endif diff --git a/gentoo/bash-wrapper b/gentoo/bash-wrapper new file mode 100755 index 0000000..bf241bb --- /dev/null +++ b/gentoo/bash-wrapper @@ -0,0 +1,66 @@ +#! /bin/bash +# $Id: bash-wrapper 2674 2008-01-27 07:55:13Z dhozac $ + +# Copyright (C) 2007 Daniel Hokka Zakrisson +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} +test -e "$UTIL_VSERVER_VARS" || { + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 + exit 1 +} +. "$UTIL_VSERVER_VARS" +. "$_LIB_FUNCTIONS" +. "$__PKGLIBDIR/vserver.functions" + + +function showHelp() +{ + echo \ +$"Usage: $0 + +Report bugs to <$PACKAGE_BUGREPORT>." + exit 0 +} + +function showVersion() +{ + echo \ +$"bash-wrapper $PACKAGE_VERSION -- wrapper for bash snippets for Gentoo initscripts +This program is part of $PACKAGE_STRING + +Copyright (C) 2007 Daniel Hokka Zakrisson +This program is free software; you may redistribute it under the terms of +the GNU General Public License. This program has absolutely no warranty." + exit 0 +} + +tmp=$(getopt -o +q --long help,version,debug -n "$0" -- "$@") || exit 1 +eval set -- "$tmp" + +while true; do + case "$1" in + (--help) showHelp $0 ;; + (--version) showVersion ;; + (--debug) set -x;; + (--) shift; break;; + (*) echo $"bash-wrapper: internal error; arg=='$1'" >&2; exit 1;; + esac + shift +done + +for i; do + eval $i +done diff --git a/gentoo/util-vserver b/gentoo/util-vserver new file mode 100644 index 0000000..94903cc --- /dev/null +++ b/gentoo/util-vserver @@ -0,0 +1,68 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +set_helper() { + local f="/proc/sys/kernel/vshelper" + if [ -e "$f" ]; then + echo "$_VSHELPER" > "$f" + fi + return 0 +} + +kill_contexts() { + local xid + for xid in `ls -1 /proc/virtual`; do + [ "$xid" = "info" -o "$xid" = "status" ] && continue + $_VATTRIBUTE --xid $xid --set --flag ~persistent + $_VKILL --xid $xid -s 15 + sleep 3 + $_VKILL --xid $xid -s 9 + done + local alive=0 + for xid in `ls -1 /proc/virtual`; do + [ "$xid" = "info" -o "$xid" = "status" ] && continue + let alive+=1 + done + return $alive +} + +start() { + : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} + if [ ! -e ${UTIL_VSERVER_VARS} ]; then + eerror "Cannot find util-vserver installation" + eerror "(the file '$UTIL_VSERVER_VARS' would be expected)" + return 1 + fi + + . ${UTIL_VSERVER_VARS} + + ebegin "Setting vshelper path to $_VSHELPER" + set_helper + eend $? + + ebegin "Loading default device map" + $__PKGLIBDIR/bash-wrapper 'handleDeviceMap --set 0 "$__CONFDIR/.defaults/apps/vdevmap"' + eend $? +} + +stop() { + : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} + if [ ! -e ${UTIL_VSERVER_VARS} ]; then + eerror "Cannot find util-vserver installation" + eerror "(the file '$UTIL_VSERVER_VARS' would be expected)" + return 1 + fi + + . ${UTIL_VSERVER_VARS} + + ebegin "Stopping all running guests" + $_START_VSERVERS -j 1 --all --stop + eend $? + + ebegin "Killing all running contexts" + kill_contexts + eend $? +} + +# vim:ts=4:filetype=gentoo-init-d diff --git a/gentoo/vprocunhide b/gentoo/vprocunhide new file mode 100644 index 0000000..251bfba --- /dev/null +++ b/gentoo/vprocunhide @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +start() { + : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} + if [ ! -e ${UTIL_VSERVER_VARS} ]; then + eerror "Cannot find util-vserver installation" + eerror "(the file '$UTIL_VSERVER_VARS' would be expected)" + return 1 + fi + + . ${UTIL_VSERVER_VARS} + + ebegin "Fixing /proc entries visibility" + ${_VPROCUNHIDE} + eend $? +} + +# vim:ts=4:filetype=gentoo-init-d diff --git a/gentoo/vservers.default b/gentoo/vservers.default new file mode 100644 index 0000000..f4416eb --- /dev/null +++ b/gentoo/vservers.default @@ -0,0 +1,19 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need util-vserver vprocunhide +} + +start() { + MARK=${SVCNAME#vservers.} /usr/lib/util-vserver/vserver-wrapper start +} + +stop() { + MARK=${SVCNAME#vservers.} /usr/lib/util-vserver/vserver-wrapper stop +} + + + +# vim:ts=4:filetype=gentoo-init-d diff --git a/install-sh b/install-sh new file mode 100755 index 0000000..a5897de --- /dev/null +++ b/install-sh @@ -0,0 +1,519 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2006-12-25.00 + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dst_arg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + -*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/kernel/cacct_cmd.h b/kernel/cacct_cmd.h new file mode 100644 index 0000000..6a697c7 --- /dev/null +++ b/kernel/cacct_cmd.h @@ -0,0 +1,16 @@ +#ifndef _VX_CACCT_CMD_H +#define _VX_CACCT_CMD_H + + +/* virtual host info name commands */ + +#define VCMD_sock_stat VC_CMD(VSTAT, 5, 0) + +struct vcmd_sock_stat_v0 { + uint32_t field; + uint32_t count[3]; + uint64_t total[3]; +}; + + +#endif /* _VX_CACCT_CMD_H */ diff --git a/kernel/context_cmd.h b/kernel/context_cmd.h new file mode 100644 index 0000000..7b4f2ae --- /dev/null +++ b/kernel/context_cmd.h @@ -0,0 +1,102 @@ +#ifndef _VX_CONTEXT_CMD_H +#define _VX_CONTEXT_CMD_H + + +/* vinfo commands */ + +#define VCMD_task_xid VC_CMD(VINFO, 1, 0) + + +#define VCMD_vx_info VC_CMD(VINFO, 5, 0) + +struct vcmd_vx_info_v0 { + uint32_t xid; + uint32_t initpid; + /* more to come */ +}; + + +#define VCMD_ctx_stat VC_CMD(VSTAT, 0, 0) + +struct vcmd_ctx_stat_v0 { + uint32_t usecnt; + uint32_t tasks; + /* more to come */ +}; + + +/* context commands */ + +#define VCMD_ctx_create_v0 VC_CMD(VPROC, 1, 0) +#define VCMD_ctx_create_v1 VC_CMD(VPROC, 1, 1) +#define VCMD_ctx_create VC_CMD(VPROC, 1, 2) + +struct vcmd_ctx_create { + uint64_t flagword; +}; + +#define VCMD_ctx_migrate_v0 VC_CMD(PROCMIG, 1, 0) +#define VCMD_ctx_migrate_v1 VC_CMD(PROCMIG, 1, 1) +#define VCMD_ctx_migrate VC_CMD(PROCMIG, 1, 2) + +struct vcmd_ctx_migrate { + uint64_t flagword; +}; + + + +/* flag commands */ + +#define VCMD_get_cflags VC_CMD(FLAGS, 1, 0) +#define VCMD_set_cflags VC_CMD(FLAGS, 2, 0) + +struct vcmd_ctx_flags_v0 { + uint64_t flagword; + uint64_t mask; +}; + + + +/* context caps commands */ + +#define VCMD_get_ccaps_v0 VC_CMD(FLAGS, 3, 0) +#define VCMD_set_ccaps_v0 VC_CMD(FLAGS, 4, 0) + +struct vcmd_ctx_caps_v0 { + uint64_t bcaps; + uint64_t ccaps; + uint64_t cmask; +}; + +#define VCMD_get_ccaps VC_CMD(FLAGS, 3, 1) +#define VCMD_set_ccaps VC_CMD(FLAGS, 4, 1) + +struct vcmd_ctx_caps_v1 { + uint64_t ccaps; + uint64_t cmask; +}; + + + +/* bcaps commands */ + +#define VCMD_get_bcaps VC_CMD(FLAGS, 9, 0) +#define VCMD_set_bcaps VC_CMD(FLAGS, 10, 0) + +struct vcmd_bcaps { + uint64_t bcaps; + uint64_t bmask; +}; + + + +/* OOM badness */ + +#define VCMD_get_badness VC_CMD(MEMCTRL, 5, 0) +#define VCMD_set_badness VC_CMD(MEMCTRL, 6, 0) + +struct vcmd_badness_v0 { + int64_t bias; +}; + +#endif /* _VX_CONTEXT_CMD_H */ diff --git a/kernel/cvirt_cmd.h b/kernel/cvirt_cmd.h new file mode 100644 index 0000000..73b72c1 --- /dev/null +++ b/kernel/cvirt_cmd.h @@ -0,0 +1,41 @@ +#ifndef _VX_CVIRT_CMD_H +#define _VX_CVIRT_CMD_H + + +/* virtual host info name commands */ + +#define VCMD_set_vhi_name VC_CMD(VHOST, 1, 0) +#define VCMD_get_vhi_name VC_CMD(VHOST, 2, 0) + +struct vcmd_vhi_name_v0 { + uint32_t field; + char name[65]; +}; + + +enum vhi_name_field { + VHIN_CONTEXT=0, + VHIN_SYSNAME, + VHIN_NODENAME, + VHIN_RELEASE, + VHIN_VERSION, + VHIN_MACHINE, + VHIN_DOMAINNAME, +}; + + + +#define VCMD_virt_stat VC_CMD(VSTAT, 3, 0) + +struct vcmd_virt_stat_v0 { + uint64_t offset; + uint64_t uptime; + uint32_t nr_threads; + uint32_t nr_running; + uint32_t nr_uninterruptible; + uint32_t nr_onhold; + uint32_t nr_forks; + uint32_t load[3]; +}; + +#endif /* _VX_CVIRT_CMD_H */ diff --git a/kernel/debug_cmd.h b/kernel/debug_cmd.h new file mode 100644 index 0000000..1b63f77 --- /dev/null +++ b/kernel/debug_cmd.h @@ -0,0 +1,25 @@ +#ifndef _VX_DEBUG_CMD_H +#define _VX_DEBUG_CMD_H + + +/* debug commands */ + +#define VCMD_dump_history VC_CMD(DEBUG, 1, 0) + +#define VCMD_read_history VC_CMD(DEBUG, 5, 0) +#define VCMD_read_monitor VC_CMD(DEBUG, 6, 0) + +struct vcmd_read_history_v0 { + uint32_t index; + uint32_t count; + char *data; +}; + +struct vcmd_read_monitor_v0 { + uint32_t index; + uint32_t count; + char *data; +}; + + +#endif /* _VX_DEBUG_CMD_H */ diff --git a/kernel/device_cmd.h b/kernel/device_cmd.h new file mode 100644 index 0000000..506e21b --- /dev/null +++ b/kernel/device_cmd.h @@ -0,0 +1,17 @@ +#ifndef _VX_DEVICE_CMD_H +#define _VX_DEVICE_CMD_H + + +/* device vserver commands */ + +#define VCMD_set_mapping VC_CMD(DEVICE, 1, 0) +#define VCMD_unset_mapping VC_CMD(DEVICE, 2, 0) + +struct vcmd_set_mapping_v0 { + const char *device; + const char *target; + uint32_t flags; +}; + + +#endif /* _VX_DEVICE_CMD_H */ diff --git a/kernel/dlimit_cmd.h b/kernel/dlimit_cmd.h new file mode 100644 index 0000000..ed39987 --- /dev/null +++ b/kernel/dlimit_cmd.h @@ -0,0 +1,32 @@ +#ifndef _VX_DLIMIT_CMD_H +#define _VX_DLIMIT_CMD_H + + +/* dlimit vserver commands */ + +#define VCMD_add_dlimit VC_CMD(DLIMIT, 1, 0) +#define VCMD_rem_dlimit VC_CMD(DLIMIT, 2, 0) + +#define VCMD_set_dlimit VC_CMD(DLIMIT, 5, 0) +#define VCMD_get_dlimit VC_CMD(DLIMIT, 6, 0) + +struct vcmd_ctx_dlimit_base_v0 { + const char *name; + uint32_t flags; +}; + +struct vcmd_ctx_dlimit_v0 { + const char *name; + uint32_t space_used; /* used space in kbytes */ + uint32_t space_total; /* maximum space in kbytes */ + uint32_t inodes_used; /* used inodes */ + uint32_t inodes_total; /* maximum inodes */ + uint32_t reserved; /* reserved for root in % */ + uint32_t flags; +}; + +#define CDLIM_UNSET ((uint32_t)0UL) +#define CDLIM_INFINITY ((uint32_t)~0UL) +#define CDLIM_KEEP ((uint32_t)~1UL) + +#endif /* _VX_DLIMIT_CMD_H */ diff --git a/kernel/inode_cmd.h b/kernel/inode_cmd.h new file mode 100644 index 0000000..39a825a --- /dev/null +++ b/kernel/inode_cmd.h @@ -0,0 +1,27 @@ +#ifndef _VX_INODE_CMD_H +#define _VX_INODE_CMD_H + + +/* inode vserver commands */ + +#define VCMD_get_iattr VC_CMD(INODE, 1, 1) +#define VCMD_set_iattr VC_CMD(INODE, 2, 1) + +#define VCMD_fget_iattr VC_CMD(INODE, 3, 0) +#define VCMD_fset_iattr VC_CMD(INODE, 4, 0) + +struct vcmd_ctx_iattr_v1 { + const char *name; + uint32_t xid; + uint32_t flags; + uint32_t mask; +}; + +struct vcmd_ctx_fiattr_v0 { + uint32_t xid; + uint32_t flags; + uint32_t mask; +}; + + +#endif /* _VX_INODE_CMD_H */ diff --git a/kernel/legacy.h b/kernel/legacy.h new file mode 100644 index 0000000..a987121 --- /dev/null +++ b/kernel/legacy.h @@ -0,0 +1,44 @@ +#ifndef _VX_LEGACY_H +#define _VX_LEGACY_H + +#include "switch.h" + + +/* compatibiliy vserver commands */ + +#define VCMD_new_s_context VC_CMD(COMPAT, 1, 1) +#define VCMD_set_ipv4root VC_CMD(COMPAT, 2, 3) + +#define VCMD_create_context VC_CMD(VSETUP, 1, 0) + +/* compatibiliy vserver arguments */ + +struct vcmd_new_s_context_v1 { + uint32_t remove_cap; + uint32_t flags; +}; + +struct vcmd_set_ipv4root_v3 { + /* number of pairs in id */ + uint32_t broadcast; + struct { + uint32_t ip; + uint32_t mask; + } nx_mask_pair[NB_IPV4ROOT]; +}; + + +#define VX_INFO_LOCK 1 /* Can't request a new vx_id */ +#define VX_INFO_NPROC 4 /* Limit number of processes in a context */ +#define VX_INFO_PRIVATE 8 /* Noone can join this security context */ +#define VX_INFO_INIT 16 /* This process wants to become the */ + /* logical process 1 of the security */ + /* context */ +#define VX_INFO_HIDEINFO 32 /* Hide some information in /proc */ +#define VX_INFO_ULIMIT 64 /* Use ulimit of the current process */ + /* to become the global limits */ + /* of the context */ +#define VX_INFO_NAMESPACE 128 /* save private namespace */ + + +#endif /* _VX_LEGACY_H */ diff --git a/kernel/limit_cmd.h b/kernel/limit_cmd.h new file mode 100644 index 0000000..f67f7fc --- /dev/null +++ b/kernel/limit_cmd.h @@ -0,0 +1,39 @@ +#ifndef _VX_LIMIT_CMD_H +#define _VX_LIMIT_CMD_H + + +/* rlimit vserver commands */ + +#define VCMD_get_rlimit VC_CMD(RLIMIT, 1, 0) +#define VCMD_set_rlimit VC_CMD(RLIMIT, 2, 0) +#define VCMD_get_rlimit_mask VC_CMD(RLIMIT, 3, 0) +#define VCMD_reset_minmax VC_CMD(RLIMIT, 9, 0) + +struct vcmd_ctx_rlimit_v0 { + uint32_t id; + uint64_t minimum; + uint64_t softlimit; + uint64_t maximum; +}; + +struct vcmd_ctx_rlimit_mask_v0 { + uint32_t minimum; + uint32_t softlimit; + uint32_t maximum; +}; + +#define VCMD_rlimit_stat VC_CMD(VSTAT, 1, 0) + +struct vcmd_rlimit_stat_v0 { + uint32_t id; + uint32_t hits; + uint64_t value; + uint64_t minimum; + uint64_t maximum; +}; + +#define CRLIM_UNSET (0ULL) +#define CRLIM_INFINITY (~0ULL) +#define CRLIM_KEEP (~1ULL) + +#endif /* _VX_LIMIT_CMD_H */ diff --git a/kernel/monitor.h b/kernel/monitor.h new file mode 100644 index 0000000..a634bb9 --- /dev/null +++ b/kernel/monitor.h @@ -0,0 +1,95 @@ +#ifndef _VX_MONITOR_H +#define _VX_MONITOR_H + + +enum { + VXM_UNUSED = 0, + + VXM_SYNC = 0x10, + + VXM_UPDATE = 0x20, + VXM_UPDATE_1, + VXM_UPDATE_2, + + VXM_RQINFO_1 = 0x24, + VXM_RQINFO_2, + + VXM_ACTIVATE = 0x40, + VXM_DEACTIVATE, + VXM_IDLE, + + VXM_HOLD = 0x44, + VXM_UNHOLD, + + VXM_MIGRATE = 0x48, + VXM_RESCHED, + + /* all other bits are flags */ + VXM_SCHED = 0x80, +}; + +struct _vxm_update_1 { + uint32_t tokens_max; + uint32_t fill_rate; + uint32_t interval; +}; + +struct _vxm_update_2 { + uint32_t tokens_min; + uint32_t fill_rate; + uint32_t interval; +}; + +struct _vxm_rqinfo_1 { + uint16_t running; + uint16_t onhold; + uint16_t iowait; + uint16_t uintr; + uint32_t idle_tokens; +}; + +struct _vxm_rqinfo_2 { + uint32_t norm_time; + uint32_t idle_time; + uint32_t idle_skip; +}; + +struct _vxm_sched { + uint32_t tokens; + uint32_t norm_time; + uint32_t idle_time; +}; + +struct _vxm_task { + uint16_t pid; + uint16_t state; +}; + +struct _vxm_event { + uint32_t jif; + union { + uint32_t seq; + uint32_t sec; + }; + union { + uint32_t tokens; + uint32_t nsec; + struct _vxm_task tsk; + }; +}; + +struct _vx_mon_entry { + uint16_t type; + uint16_t xid; + union { + struct _vxm_event ev; + struct _vxm_sched sd; + struct _vxm_update_1 u1; + struct _vxm_update_2 u2; + struct _vxm_rqinfo_1 q1; + struct _vxm_rqinfo_2 q2; + }; +}; + + +#endif /* _VX_MONITOR_H */ diff --git a/kernel/network.h b/kernel/network.h new file mode 100644 index 0000000..c3b0323 --- /dev/null +++ b/kernel/network.h @@ -0,0 +1,49 @@ +#ifndef _VX_NETWORK_H +#define _VX_NETWORK_H + +#include + + +#define MAX_N_CONTEXT 65535 /* Arbitrary limit */ + +#define NB_IPV4ROOT 16 + + +/* network flags */ + +#define NXF_INFO_PRIVATE 0x00000008 + +#define NXF_SINGLE_IP 0x00000100 + +#define NXF_HIDE_NETIF 0x02000000 + +#define NXF_STATE_SETUP (1ULL << 32) +#define NXF_STATE_ADMIN (1ULL << 34) + +#define NXF_SC_HELPER (1ULL << 36) +#define NXF_PERSISTENT (1ULL << 38) + +#define NXF_ONE_TIME (0x0005ULL << 32) + +#define NXF_INIT_SET (NXF_STATE_ADMIN) + + +/* address types */ + +#define NXA_TYPE_IPV4 0x0001 +#define NXA_TYPE_IPV6 0x0002 + +#define NXA_TYPE_NONE 0x0000 +#define NXA_TYPE_ANY 0x00FF + +#define NXA_TYPE_ADDR 0x0003 +#define NXA_TYPE_MASK 0x0013 +#define NXA_TYPE_RANGE 0x0023 + +#define NXA_MOD_BCAST 0x0100 +#define NXA_MOD_LBACK 0x0200 + + +#else /* _VX_NETWORK_H */ +#warning duplicate inclusion +#endif /* _VX_NETWORK_H */ diff --git a/kernel/network_cmd.h b/kernel/network_cmd.h new file mode 100644 index 0000000..3327777 --- /dev/null +++ b/kernel/network_cmd.h @@ -0,0 +1,109 @@ +#ifndef _VX_NETWORK_CMD_H +#define _VX_NETWORK_CMD_H + + +/* vinfo commands */ + +#define VCMD_task_nid VC_CMD(VINFO, 2, 0) + + +#define VCMD_nx_info VC_CMD(VINFO, 6, 0) + +struct vcmd_nx_info_v0 { + uint32_t nid; + /* more to come */ +}; + + +#define VCMD_net_create_v0 VC_CMD(VNET, 1, 0) +#define VCMD_net_create VC_CMD(VNET, 1, 1) + +struct vcmd_net_create { + uint64_t flagword; +}; + +#define VCMD_net_migrate VC_CMD(NETMIG, 1, 0) + +#define VCMD_net_add_v0 VC_CMD(NETALT, 1, 0) +#define VCMD_net_remove_v0 VC_CMD(NETALT, 2, 0) + +struct vcmd_net_addr_v0 { + uint16_t type; + uint16_t count; + struct in_addr ip[4]; + struct in_addr mask[4]; +}; + +#define VCMD_net_add_ipv4 VC_CMD(NETALT, 1, 1) +#define VCMD_net_remove_ipv4 VC_CMD(NETALT, 2, 1) + +struct vcmd_net_addr_ipv4_v1 { + uint16_t type; + uint16_t flags; + struct in_addr ip; + struct in_addr mask; +}; + +#define VCMD_net_add_ipv6 VC_CMD(NETALT, 3, 1) +#define VCMD_net_remove_ipv6 VC_CMD(NETALT, 4, 1) + +struct vcmd_net_addr_ipv6_v1 { + uint16_t type; + uint16_t flags; + uint32_t prefix; + struct in6_addr ip; + struct in6_addr mask; +}; + +#define VCMD_add_match_ipv4 VC_CMD(NETALT, 5, 0) +#define VCMD_get_match_ipv4 VC_CMD(NETALT, 6, 0) + +struct vcmd_match_ipv4_v0 { + uint16_t type; + uint16_t flags; + uint16_t parent; + uint16_t prefix; + struct in_addr ip; + struct in_addr ip2; + struct in_addr mask; +}; + +#define VCMD_add_match_ipv6 VC_CMD(NETALT, 7, 0) +#define VCMD_get_match_ipv6 VC_CMD(NETALT, 8, 0) + +struct vcmd_match_ipv6_v0 { + uint16_t type; + uint16_t flags; + uint16_t parent; + uint16_t prefix; + struct in6_addr ip; + struct in6_addr ip2; + struct in6_addr mask; +}; + + + + +/* flag commands */ + +#define VCMD_get_nflags VC_CMD(FLAGS, 5, 0) +#define VCMD_set_nflags VC_CMD(FLAGS, 6, 0) + +struct vcmd_net_flags_v0 { + uint64_t flagword; + uint64_t mask; +}; + + + +/* network caps commands */ + +#define VCMD_get_ncaps VC_CMD(FLAGS, 7, 0) +#define VCMD_set_ncaps VC_CMD(FLAGS, 8, 0) + +struct vcmd_net_caps_v0 { + uint64_t ncaps; + uint64_t cmask; +}; + +#endif /* _VX_CONTEXT_CMD_H */ diff --git a/kernel/sched_cmd.h b/kernel/sched_cmd.h new file mode 100644 index 0000000..c18fb9e --- /dev/null +++ b/kernel/sched_cmd.h @@ -0,0 +1,92 @@ +#ifndef _VX_SCHED_CMD_H +#define _VX_SCHED_CMD_H + + +/* sched vserver commands */ + +#define VCMD_set_sched_v2 VC_CMD(SCHED, 1, 2) +#define VCMD_set_sched_v3 VC_CMD(SCHED, 1, 3) +#define VCMD_set_sched_v4 VC_CMD(SCHED, 1, 4) + +struct vcmd_set_sched_v2 { + int32_t fill_rate; + int32_t interval; + int32_t tokens; + int32_t tokens_min; + int32_t tokens_max; + uint64_t cpu_mask; +}; + +struct vcmd_set_sched_v3 { + uint32_t set_mask; + int32_t fill_rate; + int32_t interval; + int32_t tokens; + int32_t tokens_min; + int32_t tokens_max; + int32_t priority_bias; +}; + +struct vcmd_set_sched_v4 { + uint32_t set_mask; + int32_t fill_rate; + int32_t interval; + int32_t tokens; + int32_t tokens_min; + int32_t tokens_max; + int32_t prio_bias; + int32_t cpu_id; + int32_t bucket_id; +}; + +#define VCMD_set_sched VC_CMD(SCHED, 1, 5) +#define VCMD_get_sched VC_CMD(SCHED, 2, 5) + +struct vcmd_sched_v5 { + uint32_t mask; + int32_t cpu_id; + int32_t bucket_id; + int32_t fill_rate[2]; + int32_t interval[2]; + int32_t tokens; + int32_t tokens_min; + int32_t tokens_max; + int32_t prio_bias; +}; + +#define VXSM_FILL_RATE 0x0001 +#define VXSM_INTERVAL 0x0002 +#define VXSM_FILL_RATE2 0x0004 +#define VXSM_INTERVAL2 0x0008 +#define VXSM_TOKENS 0x0010 +#define VXSM_TOKENS_MIN 0x0020 +#define VXSM_TOKENS_MAX 0x0040 +#define VXSM_PRIO_BIAS 0x0100 + +#define VXSM_IDLE_TIME 0x0200 +#define VXSM_FORCE 0x0400 + +#define VXSM_V3_MASK 0x0173 +#define VXSM_SET_MASK 0x01FF + +#define VXSM_CPU_ID 0x1000 +#define VXSM_BUCKET_ID 0x2000 + +#define VXSM_MSEC 0x4000 + +#define SCHED_KEEP (-2) /* only for v2 */ + + +#define VCMD_sched_info VC_CMD(SCHED, 3, 0) + +struct vcmd_sched_info { + int32_t cpu_id; + int32_t bucket_id; + uint64_t user_msec; + uint64_t sys_msec; + uint64_t hold_msec; + uint32_t token_usec; + int32_t vavavoom; +}; + +#endif /* _VX_SCHED_CMD_H */ diff --git a/kernel/signal_cmd.h b/kernel/signal_cmd.h new file mode 100644 index 0000000..6ef9720 --- /dev/null +++ b/kernel/signal_cmd.h @@ -0,0 +1,31 @@ +#ifndef _VX_SIGNAL_CMD_H +#define _VX_SIGNAL_CMD_H + + +/* signalling vserver commands */ + +#define VCMD_ctx_kill VC_CMD(PROCTRL, 1, 0) +#define VCMD_wait_exit VC_CMD(EVENT, 99, 0) + +struct vcmd_ctx_kill_v0 { + int32_t pid; + int32_t sig; +}; + +struct vcmd_wait_exit_v0 { + int32_t reboot_cmd; + int32_t exit_code; +}; + + +/* process alteration commands */ + +#define VCMD_get_pflags VC_CMD(PROCALT, 5, 0) +#define VCMD_set_pflags VC_CMD(PROCALT, 6, 0) + +struct vcmd_pflags_v0 { + uint32_t flagword; + uint32_t mask; +}; + +#endif /* _VX_SIGNAL_CMD_H */ diff --git a/kernel/space_cmd.h b/kernel/space_cmd.h new file mode 100644 index 0000000..1635e4d --- /dev/null +++ b/kernel/space_cmd.h @@ -0,0 +1,32 @@ +#ifndef _VX_SPACE_CMD_H +#define _VX_SPACE_CMD_H + + +#define VCMD_enter_space_v0 VC_CMD(PROCALT, 1, 0) +#define VCMD_enter_space_v1 VC_CMD(PROCALT, 1, 1) +#define VCMD_enter_space VC_CMD(PROCALT, 1, 2) + +/* XXX: This is not available in recent kernels */ +#define VCMD_cleanup_namespace VC_CMD(PROCALT, 2, 0) + +#define VCMD_set_space_v0 VC_CMD(PROCALT, 3, 0) +#define VCMD_set_space_v1 VC_CMD(PROCALT, 3, 1) +#define VCMD_set_space VC_CMD(PROCALT, 3, 2) + +#define VCMD_get_space_mask_v0 VC_CMD(PROCALT, 4, 0) + +#define VCMD_get_space_mask VC_CMD(VSPACE, 0, 1) +#define VCMD_get_space_default VC_CMD(VSPACE, 1, 0) + + +struct vcmd_space_mask_v1 { + uint64_t mask; +}; + +struct vcmd_space_mask_v2 { + uint64_t mask; + uint32_t index; +}; + + +#endif /* _VX_SPACE_CMD_H */ diff --git a/kernel/switch.h b/kernel/switch.h new file mode 100644 index 0000000..c3c0603 --- /dev/null +++ b/kernel/switch.h @@ -0,0 +1,93 @@ +#ifndef _VX_SWITCH_H +#define _VX_SWITCH_H + +#include + + +#define VC_CATEGORY(c) (((c) >> 24) & 0x3F) +#define VC_COMMAND(c) (((c) >> 16) & 0xFF) +#define VC_VERSION(c) ((c) & 0xFFF) + +#define VC_CMD(c, i, v) ((((VC_CAT_ ## c) & 0x3F) << 24) \ + | (((i) & 0xFF) << 16) | ((v) & 0xFFF)) + +/* + + Syscall Matrix V2.8 + + |VERSION|CREATE |MODIFY |MIGRATE|CONTROL|EXPERIM| |SPECIAL|SPECIAL| + |STATS |DESTROY|ALTER |CHANGE |LIMIT |TEST | | | | + |INFO |SETUP | |MOVE | | | | | | + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + SYSTEM |VERSION|VSETUP |VHOST | | | | |DEVICE | | + HOST | 00| 01| 02| 03| 04| 05| | 06| 07| + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + CPU | |VPROC |PROCALT|PROCMIG|PROCTRL| | |SCHED. | | + PROCESS| 08| 09| 10| 11| 12| 13| | 14| 15| + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + MEMORY | | | | |MEMCTRL| | |SWAP | | + | 16| 17| 18| 19| 20| 21| | 22| 23| + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + NETWORK| |VNET |NETALT |NETMIG |NETCTL | | |SERIAL | | + | 24| 25| 26| 27| 28| 29| | 30| 31| + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + DISK | | | |TAGMIG |DLIMIT | | |INODE | | + VFS | 32| 33| 34| 35| 36| 37| | 38| 39| + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + OTHER |VSTAT | | | | | | |VINFO | | + | 40| 41| 42| 43| 44| 45| | 46| 47| + =======+=======+=======+=======+=======+=======+=======+ +=======+=======+ + SPECIAL|EVENT | | | |FLAGS | | |VSPACE | | + | 48| 49| 50| 51| 52| 53| | 54| 55| + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + SPECIAL|DEBUG | | | |RLIMIT |SYSCALL| | |COMPAT | + | 56| 57| 58| 59| 60|TEST 61| | 62| 63| + -------+-------+-------+-------+-------+-------+-------+ +-------+-------+ + +*/ + +#define VC_CAT_VERSION 0 + +#define VC_CAT_VSETUP 1 +#define VC_CAT_VHOST 2 + +#define VC_CAT_DEVICE 6 + +#define VC_CAT_VPROC 9 +#define VC_CAT_PROCALT 10 +#define VC_CAT_PROCMIG 11 +#define VC_CAT_PROCTRL 12 + +#define VC_CAT_SCHED 14 +#define VC_CAT_MEMCTRL 20 + +#define VC_CAT_VNET 25 +#define VC_CAT_NETALT 26 +#define VC_CAT_NETMIG 27 +#define VC_CAT_NETCTRL 28 + +#define VC_CAT_TAGMIG 35 +#define VC_CAT_DLIMIT 36 +#define VC_CAT_INODE 38 + +#define VC_CAT_VSTAT 40 +#define VC_CAT_VINFO 46 +#define VC_CAT_EVENT 48 + +#define VC_CAT_FLAGS 52 +#define VC_CAT_VSPACE 54 +#define VC_CAT_DEBUG 56 +#define VC_CAT_RLIMIT 60 + +#define VC_CAT_SYSTEST 61 +#define VC_CAT_COMPAT 63 + +/* query version */ + +#define VCMD_get_version VC_CMD(VERSION, 0, 0) +#define VCMD_get_vci VC_CMD(VERSION, 1, 0) + + +#define __user + +#endif /* _VX_SWITCH_H */ diff --git a/kernel/tag_cmd.h b/kernel/tag_cmd.h new file mode 100644 index 0000000..27ef60b --- /dev/null +++ b/kernel/tag_cmd.h @@ -0,0 +1,14 @@ +#ifndef _VX_TAG_CMD_H +#define _VX_TAG_CMD_H + + +/* vinfo commands */ + +#define VCMD_task_tag VC_CMD(VINFO, 3, 0) + + +/* context commands */ + +#define VCMD_tag_migrate VC_CMD(TAGMIG, 1, 0) + +#endif /* _VX_TAG_CMD_H */ diff --git a/lib/Makefile-files b/lib/Makefile-files new file mode 100644 index 0000000..3494a9d --- /dev/null +++ b/lib/Makefile-files @@ -0,0 +1,273 @@ +## $Id: Makefile-files 2820 2008-10-31 15:46:11Z dhozac $ -*- makefile -*- + +## Copyright (C) 2003 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +lib_VERSION = 0.0.0 + +lib_compat_SRCS = lib/cflags-compat.c \ + lib/cflags_list-compat.c +lib_legacy_SRCS = lib/getprocentry-legacy.c +lib_management_SRCS = lib/comparevserverbyid.c \ + lib/createskeleton.c \ + lib/getvserverbyctx.c \ + lib/getvserverbyctx-compat.hc \ + lib/getvserverbyctx-v13.hc \ + lib/getvservercfgstyle.c \ + lib/getvserverappdir.c \ + lib/getvservercfgdir.c \ + lib/getvserverctx.c \ + lib/getvservername.c \ + lib/getvservervdir.c \ + lib/xidopt2xid.c \ + lib/nidopt2nid.c \ + lib/tagopt2tag.c \ + lib/exitlikeprocess.c +lib_v11_SRCS = lib/syscall_rlimit.c \ + lib/syscall_rlimit-v11.hc \ + lib/syscall_kill.c \ + lib/syscall_kill-v11.hc +lib_v13_SRCS = lib/syscall_ctxcreate.c \ + lib/syscall_ctxcreate-v13.hc \ + lib/syscall_ctxmigrate.c \ + lib/syscall_ctxmigrate-v13.hc \ + lib/syscall_cleanupnamespace-v13.hc \ + lib/syscall_cleanupnamespace.c \ + lib/syscall_enternamespace-v13.hc \ + lib/syscall_enternamespace.c \ + lib/syscall_getccaps-v13.hc \ + lib/syscall_getccaps.c \ + lib/syscall_getcflags-v13.hc \ + lib/syscall_getcflags.c \ + lib/syscall_getiattr-fscompat.hc \ + lib/syscall_getiattr-v13.hc \ + lib/syscall_getiattr.c \ + lib/syscall_getncaps-net.hc \ + lib/syscall_getncaps.c \ + lib/syscall_getnflags-net.hc \ + lib/syscall_getnflags.c \ + lib/syscall_getnxinfo-net.hc \ + lib/syscall_getnxinfo.c \ + lib/syscall_gettasknid-net.hc \ + lib/syscall_gettasknid.c \ + lib/syscall_gettaskxid-oldproc.hc \ + lib/syscall_gettaskxid-v13.hc \ + lib/syscall_gettaskxid.c \ + lib/syscall_getvhiname-olduts.hc \ + lib/syscall_getvhiname-v13.hc \ + lib/syscall_getvhiname.c \ + lib/syscall_getvxinfo-oldproc.hc \ + lib/syscall_getvxinfo-v13.hc \ + lib/syscall_getvxinfo.c \ + lib/syscall_netadd-net.hc \ + lib/syscall_netadd.c \ + lib/syscall_netcreate-net.hc \ + lib/syscall_netcreate.c \ + lib/syscall_netmigrate-net.hc \ + lib/syscall_netmigrate.c \ + lib/syscall_netremove-net.hc \ + lib/syscall_netremove.c \ + lib/syscall_setccaps-v13.hc \ + lib/syscall_setccaps.c \ + lib/syscall_setcflags-v13.hc \ + lib/syscall_setcflags.c \ + lib/syscall_setiattr-fscompat.hc \ + lib/syscall_setiattr-v13.hc \ + lib/syscall_setiattr.c \ + lib/syscall_setnamespace-v13.hc \ + lib/syscall_setnamespace.c \ + lib/syscall_setncaps-net.hc \ + lib/syscall_setncaps.c \ + lib/syscall_setnflags-net.hc \ + lib/syscall_setnflags.c \ + lib/syscall_setsched-v13.hc \ + lib/syscall_setsched-v13obs.hc \ + lib/syscall_setsched.c \ + lib/syscall_setvhiname-olduts.hc \ + lib/syscall_setvhiname-v13.hc \ + lib/syscall_setvhiname.c \ + lib/syscall_waitexit.c \ + lib/syscall_waitexit-v13.hc \ + lib/bcaps-v13.c \ + lib/bcaps_list-v13.c \ + lib/ccaps-v13.c \ + lib/ccaps_list-v13.c \ + lib/cflags-v13.c \ + lib/cflags_list-v13.c \ + lib/ncaps-net.c \ + lib/ncaps_list-net.c \ + lib/nflags-net.c \ + lib/nflags_list-net.c +lib_v21_SRCS = lib/syscall_setccaps-v21.hc \ + lib/syscall_setsched-v21.hc \ + lib/syscall_rlimitstat.c \ + lib/syscall_rlimitstat-v21.hc \ + lib/syscall_resetminmax.c \ + lib/syscall_resetminmax-v21.hc \ + lib/syscall_getvci.c \ + lib/syscall_getvci-v21.hc \ + lib/syscall_virtstat.c \ + lib/syscall_virtstat-v21.hc \ + lib/syscall_ctxstat.c \ + lib/syscall_ctxstat-v21.hc \ + lib/syscall_getspacemask.c \ + lib/syscall_getspacemask-v21.hc \ + lib/syscall_enternamespace-v21.hc \ + lib/syscall_setnamespace-v21.hc \ + lib/syscall_ctxmigrate-v21.hc \ + lib/syscall_setmapping.c \ + lib/syscall_setmapping-v21.hc \ + lib/syscall_unsetmapping.c \ + lib/syscall_unsetmapping-v21.hc \ + lib/syscall_schedinfo.c \ + lib/syscall_schedinfo-v21.hc \ + lib/syscall_getccaps-v21.hc \ + lib/syscall_getsched.c \ + lib/syscall_getsched-v21.hc \ + lib/syscall_ctxcreate-v21.hc + +lib_v22_SRCS = lib/syscall_setsched-v22.hc \ + lib/syscall_fsetiattr.c \ + lib/syscall_fsetiattr-v22.hc \ + lib/syscall_fgetiattr.c \ + lib/syscall_fgetiattr-v22.hc + +lib_netv2_SRCS = lib/syscall_netadd-netv2.hc \ + lib/syscall_netremove-netv2.hc + +lib_v23_SRCS = lib/syscall_tagmigrate-v23.hc \ + lib/syscall_tagmigrate.c \ + lib/syscall_tagcreate.c \ + lib/syscall_tasktag-v23.hc \ + lib/syscall_tasktag.c \ + lib/syscall_getbadness.c \ + lib/syscall_getbadness-v23.hc \ + lib/syscall_setbadness.c \ + lib/syscall_setbadness-v23.hc \ + lib/syscall_getspacedefault.c \ + lib/syscall_getspacedefault-v23.hc \ + lib/syscall_setnamespace-v23.hc \ + lib/syscall_enternamespace-v23.hc \ + lib/syscall_getspacemask-v23.hc + +if ENSC_HAVE_C99_COMPILER +lib_v13_SRCS += lib/syscall_adddlimit-v13.hc \ + lib/syscall_adddlimit.c \ + lib/syscall_getdlimit-v13.hc \ + lib/syscall_getdlimit.c \ + lib/syscall_remdlimit-v13.hc \ + lib/syscall_remdlimit.c \ + lib/syscall_setdlimit-v13.hc \ + lib/syscall_setdlimit.c +endif + +PKGCONFIG_FILES = lib/util-vserver + +lib_SRCS = lib/syscall.c \ + lib/checkversion.c \ + lib/checkconfig.c \ + lib/isdirectory.c \ + lib/isfile.c \ + lib/islink.c \ + lib/getnbipv4root.c \ + lib/getversion.c \ + lib/capabilities.c \ + lib/getfilecontext.c \ + lib/getinsecurebcaps.c \ + lib/getxidtype.c \ + lib/isdynamicxid.c \ + lib/issupported.c \ + lib/issupportedstring.c \ + lib/listparser_uint32.c \ + lib/listparser_uint64.c \ + lib/personalityflag.c \ + lib/personalityflag_list.c \ + lib/personalitytype.c \ + lib/syscall-syscall.c \ + lib/val2text-t2v-uint32.c \ + lib/val2text-t2v-uint64.c \ + lib/val2text-v2t-uint32.c \ + lib/val2text-v2t-uint64.c \ + lib/parselimit.c \ + $(lib_legacy_SRCS) \ + $(lib_compat_SRCS) \ + $(lib_management_SRCS) \ + $(lib_v11_SRCS) \ + $(lib_v13_SRCS) \ + $(lib_v21_SRCS) \ + $(lib_v22_SRCS) \ + $(lib_netv2_SRCS) \ + $(lib_v23_SRCS) \ + $(ensc_fmt_SRCS) + +include_HEADERS += lib/vserver.h + +noinst_HEADERS += lib/syscall-compat.hc \ + lib/syscall-legacy.hc \ + lib/syscall-fallback.h \ + lib/createskeleton-full.hc \ + lib/createskeleton-short.hc \ + lib/fmt.h \ + lib/getversion-internal.hc \ + lib/safechroot-internal.hc \ + lib/ioctl-getext2flags.hc \ + lib/ioctl-getfilecontext.hc \ + lib/ioctl-setext2flags.hc \ + lib/ioctl-setfilecontext.hc \ + lib/ioctl-getxflg.hc \ + lib/ioctl-setxflg.hc \ + lib/ext2fs.h \ + lib/listparser.hc \ + lib/val2text.hc \ + lib/virtual.h \ + lib/internal.h \ + lib/syscall-alternative.h \ + lib/syscall-wrap.h \ + lib/utils-legacy.h \ + lib/vserver-internal.h + +LIBVSERVER_GLIBC = lib/libvserver.la +lib_LTLIBRARIES += $(LIBVSERVER_GLIBC) + +if USE_DIETLIBC +LIBVSERVER_DIET = lib/libvserver.a +LIBVSERVER = $(LIBVSERVER_DIET) +lib_LIBRARIES += $(LIBVSERVER_DIET) +else +LIBVSERVER_DIET = lib-dietlibc-not-enabled-error.a +LIBVSERVER = lib/libvserver.la +endif + +lib_libvserver_la_SOURCES = $(lib_SRCS) +lib_libvserver_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) +lib_libvserver_la_LDFLAGS = -version $(lib_VERSION) +if HAVE_VERSIONING +lib_libvserver_la_LDFLAGS += -Wl,-version-script=$(top_srcdir)/lib/libvserver.ver +EXTRA_DIST += lib/libvserver.ver +endif + +lib_libvserver_a_SOURCES = $(lib_SRCS) +lib_libvserver_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) + +DIETPROGS += lib/lib_libvserver_a-% \ + ensc_fmt/lib_libvserver_a-% + +CLEANFILES += lib/libvserver.la \ + lib/libvserver.a + +include $(srcdir)/lib/apidoc/Makefile-files +include $(srcdir)/lib/testsuite/Makefile-files diff --git a/lib/apidoc/Doxyfile.in b/lib/apidoc/Doxyfile.in new file mode 100644 index 0000000..9ebbd82 --- /dev/null +++ b/lib/apidoc/Doxyfile.in @@ -0,0 +1,217 @@ +# Doxyfile 1.3.6 + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- +PROJECT_NAME = "@PACKAGE@ (libvserver)" +PROJECT_NUMBER = @PACKAGE_VERSION@ +OUTPUT_DIRECTORY = +OUTPUT_LANGUAGE = English +USE_WINDOWS_ENCODING = NO +BRIEF_MEMBER_DESC = YES +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = +ALWAYS_DETAILED_SEC = NO +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = NO +STRIP_FROM_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = NO +MULTILINE_CPP_IS_BRIEF = NO +DETAILS_AT_TOP = NO +INHERIT_DOCS = YES +DISTRIBUTE_GROUP_DOC = NO +TAB_SIZE = 8 +ALIASES = +OPTIMIZE_OUTPUT_FOR_C = YES +OPTIMIZE_OUTPUT_JAVA = NO +SUBGROUPING = YES +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- +EXTRACT_ALL = NO +EXTRACT_PRIVATE = YES +EXTRACT_STATIC = NO +EXTRACT_LOCAL_CLASSES = YES +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = NO +HIDE_FRIEND_COMPOUNDS = NO +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = YES +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +INLINE_INFO = YES +SORT_MEMBER_DOCS = YES +SORT_BRIEF_DOCS = NO +SORT_BY_SCOPE_NAME = NO +GENERATE_TODOLIST = YES +GENERATE_TESTLIST = YES +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_FORMAT = "$file:$line: $text" +WARN_LOGFILE = +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- +INPUT = @top_srcdir@/lib +FILE_PATTERNS = vserver.h \ + internal.h +RECURSIVE = NO +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = +EXAMPLE_PATH = @top_srcdir@/lib/apidoc +EXAMPLE_PATTERNS = +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_SOURCE_FILES = NO +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +VERBATIM_HEADERS = YES +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- +ALPHABETICAL_INDEX = NO +COLS_IN_ALPHA_INDEX = 5 +IGNORE_PREFIX = +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- +GENERATE_HTML = YES +HTML_OUTPUT = html +HTML_FILE_EXTENSION = .html +HTML_HEADER = +HTML_FOOTER = +HTML_STYLESHEET = +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = NO +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = NO +TREEVIEW_WIDTH = 250 +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- +GENERATE_LATEX = YES +LATEX_OUTPUT = latex +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = YES +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES +LATEX_BATCHMODE = YES +LATEX_HIDE_INDICES = NO +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- +GENERATE_RTF = NO +RTF_OUTPUT = rtf +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- +GENERATE_MAN = YES +MAN_OUTPUT = man +MAN_EXTENSION = .3 +MAN_LINKS = YES +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +XML_PROGRAMLISTING = YES +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- +GENERATE_AUTOGEN_DEF = NO +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- +ENABLE_PREPROCESSING = YES +MACRO_EXPANSION = YES +EXPAND_ONLY_PREDEF = NO +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = VC_ATTR_UNUSED= \ + VC_ATTR_NONNULL(X)= \ + VC_ATTR_NORETURN= \ + VC_ATTR_ALWAYSINLINE= \ + VC_ATTR_PURE= \ + IS_DOXYGEN=1 +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- +TAGFILES = +GENERATE_TAGFILE = +ALLEXTERNALS = NO +EXTERNAL_GROUPS = YES +PERL_PATH = /usr/bin/perl +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- +CLASS_DIAGRAMS = YES +HIDE_UNDOC_RELATIONS = YES +HAVE_DOT = YES +CLASS_GRAPH = YES +COLLABORATION_GRAPH = YES +UML_LOOK = YES +TEMPLATE_RELATIONS = NO +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = YES +GRAPHICAL_HIERARCHY = YES +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 1024 +MAX_DOT_GRAPH_HEIGHT = 1024 +MAX_DOT_GRAPH_DEPTH = 0 +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +DOT_TRANSPARENT = YES +DOT_MULTI_TARGETS = YES +#--------------------------------------------------------------------------- +# Configuration::additions related to the search engine +#--------------------------------------------------------------------------- +SEARCHENGINE = NO diff --git a/lib/apidoc/Makefile-files b/lib/apidoc/Makefile-files new file mode 100644 index 0000000..da6e1d8 --- /dev/null +++ b/lib/apidoc/Makefile-files @@ -0,0 +1,31 @@ +## $Id: Makefile-files 1528 2004-04-28 18:12:54Z ensc $ --*- makefile -*-- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +CLEANFILES += lib/apidoc/.apidoc +EXTRA_DIST += lib/apidoc/list2xxx.syntax + +doc: lib/apidoc/.apidoc +clean-local: clean_lib_apidoc + +clean_lib_apidoc: + -rm -rf lib/apidoc/html lib/apidoc/latex lib/apidoc/man + +lib/apidoc/.apidoc: lib/apidoc/Doxyfile lib/vserver.h lib/internal.h + -rm -rf lib/apidoc/html lib/apidoc/latex lib/apidoc/man + cd "$$(dirname '$<')" && $(DOXYGEN) "$$(basename '$<')" + $(MAKE) -j1 -C lib/apidoc/latex + touch '$@' diff --git a/lib/apidoc/list2xxx.syntax b/lib/apidoc/list2xxx.syntax new file mode 100644 index 0000000..1706e9b --- /dev/null +++ b/lib/apidoc/list2xxx.syntax @@ -0,0 +1,5 @@ +LIST <- ELEM | ELEM ',' LIST +ELEM <- '~' ELEM | MASK | NAME +MASK <- NUMBER | '^' NUMBER +NUMBER <- 0[0-7]* | [1-9][0-9]* | 0x[0-9,a-f]+ +NAME <- | "all" | "any" | "none" diff --git a/lib/bcaps-v13.c b/lib/bcaps-v13.c new file mode 100644 index 0000000..c89be0d --- /dev/null +++ b/lib/bcaps-v13.c @@ -0,0 +1,101 @@ +// $Id: bcaps-v13.c 2799 2008-10-27 23:52:58Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include +#include + +#include +#include +#include + +#define DECL(VAL) { #VAL, sizeof(#VAL)-1, 1ULL << (VC_CAP_ ## VAL) } + +static struct Mapping_uint64 const VALUES[] = { + DECL(CHOWN), + DECL(DAC_OVERRIDE), + DECL(DAC_READ_SEARCH), + DECL(FOWNER), + DECL(FSETID), + DECL(KILL), + DECL(SETGID), + DECL(SETUID), + DECL(SETPCAP), + DECL(LINUX_IMMUTABLE), + DECL(NET_BIND_SERVICE), + DECL(NET_BROADCAST), + DECL(NET_ADMIN), + DECL(NET_RAW), + DECL(IPC_LOCK), + DECL(IPC_OWNER), + DECL(SYS_MODULE), + DECL(SYS_RAWIO), + DECL(SYS_CHROOT), + DECL(SYS_PTRACE), + DECL(SYS_PACCT), + DECL(SYS_ADMIN), + DECL(SYS_BOOT), + DECL(SYS_NICE), + DECL(SYS_RESOURCE), + DECL(SYS_TIME), + DECL(SYS_TTY_CONFIG), + DECL(MKNOD), + DECL(LEASE), + DECL(AUDIT_WRITE), + DECL(AUDIT_CONTROL), + DECL(SETFCAP), + DECL(MAC_OVERRIDE), + DECL(MAC_ADMIN), +}; + +inline static char const * +removePrefix(char const *str, size_t *len) +{ + if ((len==0 || *len==0 || *len>4) && + strncasecmp("cap_", str, 4)==0) { + if (len && *len>4) *len -= 4; + return str+4; + } + else + return str; +} + +uint_least64_t +vc_text2bcap(char const *str, size_t len) +{ + char const * tmp = removePrefix(str, &len); + ssize_t idx = utilvserver_value2text_uint64(tmp, len, + VALUES, DIM_OF(VALUES)); + if (idx==-1) return 0; + else return VALUES[idx].val; +} + +char const * +vc_lobcap2text(uint_least64_t *val) +{ + ssize_t idx = utilvserver_text2value_uint64(val, + VALUES, DIM_OF(VALUES)); + + if (idx==-1) return 0; + else return VALUES[idx].id; +} diff --git a/lib/bcaps_list-v13.c b/lib/bcaps_list-v13.c new file mode 100644 index 0000000..959a17c --- /dev/null +++ b/lib/bcaps_list-v13.c @@ -0,0 +1,46 @@ +// $Id: bcaps_list-v13.c 2038 2005-04-24 20:24:36Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz <> +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + +#include + +static uint_least64_t +vc_text2bcap_err(char const *str, size_t len, bool *failed) +{ + uint_least64_t res = vc_text2bcap(str, len); + if (res==0) *failed = true; + return res; +} + +int +vc_list2bcap(char const *str, size_t len, + struct vc_err_listparser *err, + struct vc_ctx_caps *caps) +{ + return utilvserver_listparser_uint64(str, len, + err ? &err->ptr : 0, + err ? &err->len : 0, + &caps->bcaps, &caps->bmask, + vc_text2bcap_err); +} diff --git a/lib/capabilities.c b/lib/capabilities.c new file mode 100644 index 0000000..7931cba --- /dev/null +++ b/lib/capabilities.c @@ -0,0 +1,86 @@ +// $Id: capabilities.c 2150 2005-07-15 16:32:05Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + + +#include "vserver.h" +#include + +#if 1 +# define DECLARECAP(X,Y) { #X, VC_##X } +#else +# define DECLARECAP(X,Y) { #X, Y } +#endif + +static struct { + char const * const id; + unsigned char bit; +} const CAP2BIT[] = { + DECLARECAP(CAP_CHOWN, 0), + DECLARECAP(CAP_DAC_OVERRIDE, 1), + DECLARECAP(CAP_DAC_READ_SEARCH, 2), + DECLARECAP(CAP_FOWNER, 3), + DECLARECAP(CAP_FSETID, 4), + DECLARECAP(CAP_KILL, 5), + DECLARECAP(CAP_SETGID, 6), + DECLARECAP(CAP_SETUID, 7), + DECLARECAP(CAP_SETPCAP, 8), + DECLARECAP(CAP_LINUX_IMMUTABLE, 9), + DECLARECAP(CAP_NET_BIND_SERVICE, 10), + DECLARECAP(CAP_NET_BROADCAST, 11), + DECLARECAP(CAP_NET_ADMIN, 12), + DECLARECAP(CAP_NET_RAW, 13), + DECLARECAP(CAP_IPC_LOCK, 14), + DECLARECAP(CAP_IPC_OWNER, 15), + DECLARECAP(CAP_SYS_MODULE, 16), + DECLARECAP(CAP_SYS_RAWIO, 17), + DECLARECAP(CAP_SYS_CHROOT, 18), + DECLARECAP(CAP_SYS_PTRACE, 19), + DECLARECAP(CAP_SYS_PACCT, 20), + DECLARECAP(CAP_SYS_ADMIN, 21), + DECLARECAP(CAP_SYS_BOOT, 22), + DECLARECAP(CAP_SYS_NICE, 23), + DECLARECAP(CAP_SYS_RESOURCE, 24), + DECLARECAP(CAP_SYS_TIME, 25), + DECLARECAP(CAP_SYS_TTY_CONFIG, 26), + DECLARECAP(CAP_MKNOD, 27), + DECLARECAP(CAP_LEASE, 28), + { "CAP_QUOTACTL", 29 }, +}; + +int +vc_text2cap(char const *str) +{ + size_t i; + if (strncmp(str, "CAP_", 4)==0) str += 4; + + for (i=0; i=sizeof(CAP2BIT)/sizeof(CAP2BIT[0])) return 0; + return CAP2BIT[bit].id; +} diff --git a/lib/ccaps-v13.c b/lib/ccaps-v13.c new file mode 100644 index 0000000..0f6d176 --- /dev/null +++ b/lib/ccaps-v13.c @@ -0,0 +1,84 @@ +// $Id: ccaps-v13.c 2643 2007-12-19 02:17:10Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include + +#include +#include +#include + +#define DECL(STR, VAL) { STR, sizeof(STR)-1, VAL } + +static struct Mapping_uint64 const VALUES[] = { + DECL("set_utsname", VC_VXC_SET_UTSNAME), + DECL("set_rlimit", VC_VXC_SET_RLIMIT), + DECL("raw_icmp", VC_VXC_RAW_ICMP), + DECL("syslog", VC_VXC_SYSLOG), + DECL("secure_mount", VC_VXC_SECURE_MOUNT), + DECL("secure_remount", VC_VXC_SECURE_REMOUNT), + DECL("binary_mount", VC_VXC_BINARY_MOUNT), + DECL("quota_ctl", VC_VXC_QUOTA_CTL), + DECL("admin_mapper", VC_VXC_ADMIN_MAPPER), + DECL("admin_cloop", VC_VXC_ADMIN_CLOOP), + DECL("kthread", VC_VXC_KTHREAD), + // some deprecated values... + DECL("mount", VC_VXC_SECURE_MOUNT), + DECL("remount", VC_VXC_SECURE_REMOUNT), + DECL("icmp", VC_VXC_RAW_ICMP), + DECL("ping", VC_VXC_RAW_ICMP), + DECL("utsname", VC_VXC_SET_UTSNAME), + DECL("rlimit", VC_VXC_SET_RLIMIT), +}; + +inline static char const * +removePrefix(char const *str, size_t *len) +{ + if ((len==0 || *len==0 || *len>4) && + strncasecmp("vxc_", str, 4)==0) { + if (len && *len>4) *len -= 4; + return str+4; + } + else + return str; +} + +uint_least64_t +vc_text2ccap(char const *str, size_t len) +{ + char const * tmp = removePrefix(str, &len); + ssize_t idx = utilvserver_value2text_uint64(tmp, len, + VALUES, DIM_OF(VALUES)); + if (idx==-1) return 0; + else return VALUES[idx].val; +} + +char const * +vc_loccap2text(uint_least64_t *val) +{ + ssize_t idx = utilvserver_text2value_uint64(val, + VALUES, DIM_OF(VALUES)); + + if (idx==-1) return 0; + else return VALUES[idx].id; +} diff --git a/lib/ccaps_list-v13.c b/lib/ccaps_list-v13.c new file mode 100644 index 0000000..ad994ac --- /dev/null +++ b/lib/ccaps_list-v13.c @@ -0,0 +1,46 @@ +// $Id: ccaps_list-v13.c 2038 2005-04-24 20:24:36Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz <> +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + +#include + +static uint_least64_t +vc_text2ccap_err(char const *str, size_t len, bool *failed) +{ + uint_least64_t res = vc_text2ccap(str, len); + if (res==0) *failed = true; + return res; +} + +int +vc_list2ccap(char const *str, size_t len, + struct vc_err_listparser *err, + struct vc_ctx_caps *caps) +{ + return utilvserver_listparser_uint64(str, len, + err ? &err->ptr : 0, + err ? &err->len : 0, + &caps->ccaps, &caps->cmask, + vc_text2ccap_err); +} diff --git a/lib/cflags-compat.c b/lib/cflags-compat.c new file mode 100644 index 0000000..7829815 --- /dev/null +++ b/lib/cflags-compat.c @@ -0,0 +1,70 @@ +// $Id: cflags-compat.c 1449 2004-04-14 23:19:51Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include +#include + +#define DECL(STR, VAL) { STR, sizeof(STR)-1, VAL } + +static struct { + char const * const id; + size_t len; + unsigned char val; +} const FLAGVALUES[] = { + DECL("lock", S_CTX_INFO_LOCK), + DECL("sched", S_CTX_INFO_SCHED), + DECL("nproc", S_CTX_INFO_NPROC), + DECL("private", S_CTX_INFO_PRIVATE), + DECL("fakeinit", S_CTX_INFO_INIT), + DECL("hideinfo", S_CTX_INFO_HIDEINFO), + DECL("ulimit", S_CTX_INFO_ULIMIT), + DECL("namespace", S_CTX_INFO_NAMESPACE), +}; + +uint_least32_t +vc_text2cflag_compat(char const *str, size_t len) +{ + size_t i; + if (len==0) len=strlen(str); + + for (i=0; i0; i/=2, --idx) + if (val & i) return FLAGVALUES[idx].id; + + return 0; +} diff --git a/lib/cflags-v13.c b/lib/cflags-v13.c new file mode 100644 index 0000000..dcf14ba --- /dev/null +++ b/lib/cflags-v13.c @@ -0,0 +1,117 @@ +// $Id: cflags-v13.c 2736 2008-07-13 17:51:18Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include + +#include +#include +#include + +#define DECL(STR, VAL) { STR, sizeof(STR)-1, VAL } + +static struct Mapping_uint64 const VALUES[] = { + DECL("lock", VC_VXF_INFO_LOCK), + DECL("nproc", VC_VXF_INFO_NPROC), + DECL("private", VC_VXF_INFO_PRIVATE), + DECL("fakeinit", VC_VXF_INFO_INIT), + + DECL("hideinfo", VC_VXF_INFO_HIDEINFO), + DECL("ulimit", VC_VXF_INFO_ULIMIT), + DECL("namespace", VC_VXF_INFO_NAMESPACE), + + DECL("sched_hard", VC_VXF_SCHED_HARD), + DECL("sched_prio", VC_VXF_SCHED_PRIO), + DECL("sched_pause", VC_VXF_SCHED_PAUSE), + + DECL("virt_mem", VC_VXF_VIRT_MEM), + DECL("virt_uptime", VC_VXF_VIRT_UPTIME), + DECL("virt_cpu", VC_VXF_VIRT_CPU), + DECL("virt_load", VC_VXF_VIRT_LOAD), + DECL("virt_time", VC_VXF_VIRT_TIME), + + DECL("hide_mount", VC_VXF_HIDE_MOUNT), + DECL("hide_netif", VC_VXF_HIDE_NETIF), + DECL("hide_vinfo", VC_VXF_HIDE_VINFO), + + DECL("state_setup", VC_VXF_STATE_SETUP), + DECL("state_init", VC_VXF_STATE_INIT), + DECL("state_admin", VC_VXF_STATE_ADMIN), + + DECL("sc_helper", VC_VXF_SC_HELPER), + DECL("persistent", VC_VXF_PERSISTENT), + DECL("reboot_kill", VC_VXF_REBOOT_KILL), + + DECL("fork_rss", VC_VXF_FORK_RSS), + DECL("prolific", VC_VXF_PROLIFIC), + DECL("igneg_nice", VC_VXF_IGNEG_NICE), + DECL("igneg_ionice", VC_VXF_IGNEG_IONICE), + + // Some pseudo flags + DECL("secure", VC_VXF_HIDE_NETIF), + DECL("default", VC_VXF_VIRT_UPTIME|VC_VXF_SC_HELPER), + + // Aliases for the legacy flags + DECL("info_lock", VC_VXF_INFO_LOCK), + DECL("info_nproc", VC_VXF_INFO_NPROC), + DECL("info_private", VC_VXF_INFO_PRIVATE), + DECL("info_init", VC_VXF_INFO_INIT), + + DECL("info_hideinfo", VC_VXF_INFO_HIDEINFO), + DECL("info_ulimit", VC_VXF_INFO_ULIMIT), + DECL("info_namespace", VC_VXF_INFO_NAMESPACE), + // 2.6 name + DECL("info_nspace", VC_VXF_INFO_NAMESPACE), +}; + +inline static char const * +removePrefix(char const *str, size_t *len) +{ + if ((len==0 || *len==0 || *len>4) && + strncasecmp("vxf_", str, 4)==0) { + if (len && *len>4) *len -= 4; + return str+4; + } + else + return str; +} + +uint_least64_t +vc_text2cflag(char const *str, size_t len) +{ + char const * tmp = removePrefix(str, &len); + ssize_t idx = utilvserver_value2text_uint64(tmp, len, + VALUES, DIM_OF(VALUES)); + if (idx==-1) return 0; + else return VALUES[idx].val; +} + +char const * +vc_locflag2text(uint_least64_t *val) +{ + ssize_t idx = utilvserver_text2value_uint64(val, + VALUES, DIM_OF(VALUES)); + + if (idx==-1) return 0; + else return VALUES[idx].id; +} diff --git a/lib/cflags_list-compat.c b/lib/cflags_list-compat.c new file mode 100644 index 0000000..cc53c8f --- /dev/null +++ b/lib/cflags_list-compat.c @@ -0,0 +1,62 @@ +// $Id: cflags_list-compat.c 1449 2004-04-14 23:19:51Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz <> +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include + +uint_least32_t +vc_list2cflag_compat(char const *str, size_t len, + struct vc_err_listparser *err) +{ + uint32_t res = 0; + + if (len==0) len = strlen(str); + + for (;len>0;) { + char const *ptr = strchr(str, ','); + size_t cnt = ptr ? (size_t)(ptr-str) : len; + unsigned int tmp; + + if (cnt>=len) { cnt=len; len=0; } + else len-=(cnt+1); + + tmp = vc_text2cflag_compat(str,cnt); + + if (tmp!=0) res |= tmp; + else { + if (err) { + err->ptr = str; + err->len = cnt; + } + return res; + } + + if (ptr==0) break; + str = ptr+1; + } + + if (err) { + err->ptr = 0; + err->len = 0; + } + return res; +} diff --git a/lib/cflags_list-v13.c b/lib/cflags_list-v13.c new file mode 100644 index 0000000..0a0ff09 --- /dev/null +++ b/lib/cflags_list-v13.c @@ -0,0 +1,45 @@ +// $Id: cflags_list-v13.c 2057 2005-04-28 17:53:01Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz <> +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + + +static uint_least64_t +vc_text2cflag_err(char const *str, size_t len, bool *failed) +{ + uint_least64_t res = vc_text2cflag(str, len); + if (res==0) *failed = true; + return res; +} + +int +vc_list2cflag(char const *str, size_t len, + struct vc_err_listparser *err, + struct vc_ctx_flags *flags) +{ + return utilvserver_listparser_uint64(str, len, + err ? &err->ptr : 0, + err ? &err->len : 0, + &flags->flagword, &flags->mask, + vc_text2cflag_err); +} diff --git a/lib/checkconfig.c b/lib/checkconfig.c new file mode 100644 index 0000000..9e5c798 --- /dev/null +++ b/lib/checkconfig.c @@ -0,0 +1,45 @@ +// $Id: checkconfig.c 2464 2007-01-20 13:55:42Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" + +uint_least32_t +utilvserver_checkCompatConfig() +{ +#ifdef VC_ENABLE_API_V21 + static uint32_t res=0; + static int v_errno; + + if (res==0) { + res = vc_get_vci(); + v_errno = errno; + if (res==(uint32_t)-1) res=0; + } + + errno = v_errno; + return res; +#else + return 0; +#endif +} diff --git a/lib/checkversion.c b/lib/checkversion.c new file mode 100644 index 0000000..205fb0e --- /dev/null +++ b/lib/checkversion.c @@ -0,0 +1,43 @@ +// $Id: checkversion.c 2246 2006-01-18 23:34:36Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "getversion-internal.hc" + +int +utilvserver_checkCompatVersion() +{ + static int res=0; + static int v_errno; + + if (res==0) { + res = vc_get_version_internal(VC_CAT_COMPAT); + v_errno = errno; +#ifdef VC_ENABLE_API_LEGACY + if (res==-1 && (errno==ENOSYS || errno==EINVAL)) res=0; +#endif + } + + errno = v_errno; + return res; +} diff --git a/lib/comparevserverbyid.c b/lib/comparevserverbyid.c new file mode 100644 index 0000000..61a9ccf --- /dev/null +++ b/lib/comparevserverbyid.c @@ -0,0 +1,83 @@ +// $Id: comparevserverbyid.c 2180 2005-10-25 16:17:12Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "pathconfig.h" + +#include +#include + +static char const * +completePath(char const *id, size_t len, vcCfgStyle style, char *buf) +{ + switch (style) { + case vcCFG_RECENT_FULL : return id; + case vcCFG_RECENT_SHORT : + memcpy(buf, CONFDIR "/", sizeof(CONFDIR "/")-1); + memcpy(buf+sizeof(CONFDIR "/")-1, id, len+1); // appends '\0' implicitly + return buf; + default : return 0; + } +} + +int +vc_compareVserverById(char const *lhs, vcCfgStyle lhs_style, + char const *rhs, vcCfgStyle rhs_style) +{ + if (lhs_style==vcCFG_NONE || lhs_style==vcCFG_AUTO) + lhs_style = vc_getVserverCfgStyle(lhs); + + if (rhs_style==vcCFG_NONE || rhs_style==vcCFG_AUTO) + rhs_style = vc_getVserverCfgStyle(rhs); + + // compare legacy vservers by their names only resp. return false on mixed + // styles + if (lhs_style==vcCFG_LEGACY || rhs_style==vcCFG_LEGACY) { + if (lhs_style!=rhs_style) return lhs_style - rhs_style; + else return strcmp(lhs, rhs); + } + + { + size_t len_lhs = strlen(lhs); + size_t len_rhs = strlen(rhs); + char buf_lhs[sizeof(CONFDIR "//") + len_lhs]; + char buf_rhs[sizeof(CONFDIR "//") + len_rhs]; + + char const * path_lhs = completePath(lhs, len_lhs, lhs_style, buf_lhs); + char const * path_rhs = (path_lhs==0 + ? 0 // skip following calculation + : completePath(rhs, len_rhs, rhs_style, buf_rhs)); + + struct stat st_lhs; + struct stat st_rhs; + + // this is true only iff both path_* are 0; compare ids in this case + if (path_lhs==path_rhs) return strcmp(lhs, rhs); + if (path_lhs==0) return -1; // path_rhs!=0 is implied by check above + if (path_rhs==0) return +1; + + if (stat(path_lhs, &st_lhs)==-1 || + stat(path_rhs, &st_rhs)==-1) return strcmp(lhs,rhs); + + return (st_lhs.st_dev - st_rhs.st_dev) + (st_lhs.st_ino - st_rhs.st_ino); + } +} diff --git a/lib/createskeleton-full.hc b/lib/createskeleton-full.hc new file mode 100644 index 0000000..e90e771 --- /dev/null +++ b/lib/createskeleton-full.hc @@ -0,0 +1,115 @@ +// $Id: createskeleton-full.hc 1837 2005-02-01 00:55:51Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#include +#include +#include +#include +#include + +#define CONCAT_TWO_ARGS(BUF, LHS,RHS) \ + size_t BUF ## l1 = strlen(LHS); \ + size_t BUF ## l2 = strlen(RHS); \ + char BUF[BUF##l1 + BUF##l2 + 2]; \ + \ + memcpy(BUF, LHS, BUF##l1 + 1); \ + if (BUF##l2 > 0) { \ + BUF[ BUF##l1 ] = '/'; \ + memcpy(BUF+ BUF##l1 + 1, RHS, BUF##l2 + 1); \ + } + +static inline int +mkdir2(char const *lhs, char const *rhs, int mode) +{ + CONCAT_TWO_ARGS(buf, lhs, rhs); + return mkdir(buf, mode); +} + +static inline int +setIAttr2(char const *lhs, char const *rhs, int flags) +{ + CONCAT_TWO_ARGS(buf, lhs, rhs); + + return vc_set_iattr(buf, 0, flags, VC_IMMUTABLE_ALL); +} + +static inline int +symlink2(char const *old_lhs, char const *old_rhs, + char const *new_lhs, char const *new_rhs) +{ + CONCAT_TWO_ARGS(old_buf, old_lhs, old_rhs); + + { + CONCAT_TWO_ARGS(new_buf, new_lhs, new_rhs); + return symlink(old_buf, new_buf); + } +} + +#undef CONCAT_TWO_ARGS + +static inline int +vc_createSkeleton_full(char const *id, char const *name, int flags) +{ + if (mkdir(id, 0755)==-1) return -1; + + if (mkdir2(id, "apps", 0755)==-1 || + ((flags&vcSKEL_INTERFACES) && mkdir2(id, "interfaces", 755)==-1) || + ((flags&vcSKEL_PKGMGMT) && ( + mkdir2(id, "apps/pkgmgmt", 0755)==-1))) + return -1; + + for (;;) { + char const *basedir = CONFDIR "/.defaults/run"; + + if (!utilvserver_isDirectory(basedir, true)) basedir = DEFAULT_PKGSTATEDIR; + if (!utilvserver_isDirectory(basedir, true)) break; + + if (symlink2(basedir, name, id, "run")==-1) + return -1; + + break; + } + + while (flags&vcSKEL_PKGMGMT) { + char const *basedir = CONFDIR "/.defaults/apps/pkgmgmt/base"; + + if (!utilvserver_isDirectory(basedir, true)) basedir = DEFAULT_VSERVERPKGDIR; + if (!utilvserver_isDirectory(basedir, true)) break; + + if (mkdir2(basedir, name, 0755)==-1 || + symlink2(basedir, name, id, "apps/pkgmgmt/base")==-1) + return -1; + + break; + } + + while (flags&vcSKEL_FILESYSTEM) { + char const *basedir = CONFDIR "/.defaults/vdirbase"; + + if (!utilvserver_isDirectory(basedir, true)) basedir = DEFAULT_VSERVERDIR; + if (!utilvserver_isDirectory(basedir, true)) break; + + if (mkdir2(basedir, name, 0755)==-1 || + setIAttr2(basedir, name, 0)==-1 || + symlink2(basedir, name, id, "vdir")==-1) + return -1; + + break; + } + + return 0; +} diff --git a/lib/createskeleton-short.hc b/lib/createskeleton-short.hc new file mode 100644 index 0000000..afa02c1 --- /dev/null +++ b/lib/createskeleton-short.hc @@ -0,0 +1,31 @@ +// $Id: createskeleton-short.hc 934 2004-02-18 04:42:38Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#include +#include + +static inline int +vc_createSkeleton_short(char const *id, int flags) +{ + size_t l = strlen(id); + char buf[sizeof(CONFDIR "/") + l]; + + memcpy(buf, CONFDIR "/", sizeof(CONFDIR "/")-1); + memcpy(buf+sizeof(CONFDIR "/")-1, id, l+1); + + return vc_createSkeleton_full(buf, id, flags); +} diff --git a/lib/createskeleton.c b/lib/createskeleton.c new file mode 100644 index 0000000..feb7813 --- /dev/null +++ b/lib/createskeleton.c @@ -0,0 +1,49 @@ +// $Id: createskeleton.c 934 2004-02-18 04:42:38Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + +#include "pathconfig.h" + +#include "createskeleton-full.hc" +#include "createskeleton-short.hc" + +#include + +int +vc_createSkeleton(char const *id, vcCfgStyle style, int flags) +{ + if (style==vcCFG_NONE || style==vcCFG_AUTO) { + if (strchr(id, '/')!=0) style = vcCFG_RECENT_FULL; + else style = vcCFG_RECENT_SHORT; + } + + switch (style) { + case vcCFG_RECENT_SHORT : return vc_createSkeleton_short(id, flags); + case vcCFG_RECENT_FULL : return vc_createSkeleton_full(id, 0, flags); + default : ; + } + + errno = EINVAL; + return -1; +} diff --git a/lib/exitlikeprocess.c b/lib/exitlikeprocess.c new file mode 100644 index 0000000..dcae710 --- /dev/null +++ b/lib/exitlikeprocess.c @@ -0,0 +1,78 @@ +// $Id: exitlikeprocess.c 2739 2008-07-14 13:12:25Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "vserver.h" + +static int pid; +static void +signalHandler(int signum) +{ + xid_t xid = vc_get_task_xid(pid); + if (xid) + vc_ctx_kill(xid, pid, signum); + else + kill(pid, signum); +} + +void +vc_exitLikeProcess(int p, int ret) +{ + int status, i; + + pid = p; + + for (i = 0; i < 32; i++) + signal(i, signalHandler); + +retry: + if (wait4(pid, &status, 0,0)==-1) { + if (errno==EINTR) + goto retry; + perror("wait()"); + exit(ret); + } + + if (WIFEXITED(status)) + exit(WEXITSTATUS(status)); + + if (WIFSIGNALED(status)) { + struct rlimit lim = { 0,0 }; + + // prevent coredumps which might override the real ones + setrlimit(RLIMIT_CORE, &lim); + + kill(getpid(), WTERMSIG(status)); + exit(1); + } + else + exit(ret); +} diff --git a/lib/ext2fs.h b/lib/ext2fs.h new file mode 100644 index 0000000..42e5e9a --- /dev/null +++ b/lib/ext2fs.h @@ -0,0 +1,30 @@ +// $Id: ext2fs.h 2728 2008-07-08 14:08:24Z dhozac $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_SRC_EXT2FS_H +#define H_UTIL_VSERVER_SRC_EXT2FS_H + +#ifdef ENSC_HAVE_EXT2FS_EXT2_FS_H +# include +#elif defined(ENSC_HAVE_LINUX_EXT2_FS_H) +# include +#else +# error Do not know how to include +#endif + +#endif // H_UTIL_VSERVER_SRC_EXT2FS_H diff --git a/lib/fmt.h b/lib/fmt.h new file mode 100644 index 0000000..38688da --- /dev/null +++ b/lib/fmt.h @@ -0,0 +1,24 @@ +// $Id: fmt.h 1583 2004-06-16 10:06:03Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_FMT_H +#define H_UTIL_VSERVER_LIB_FMT_H + +#include "../ensc_fmt/fmt.h" + +#endif // H_UTIL_VSERVER_LIB_FMT_H diff --git a/lib/getfilecontext.c b/lib/getfilecontext.c new file mode 100644 index 0000000..0c0b9ef --- /dev/null +++ b/lib/getfilecontext.c @@ -0,0 +1,38 @@ +// $Id: getfilecontext.c 1766 2004-12-09 13:05:41Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include + +xid_t vc_getfilecontext(char const *filename) +{ + xid_t res; + uint32_t mask = VC_IATTR_XID; + + if (vc_get_iattr(filename, &res, 0,&mask)==-1) + return VC_NOCTX; + else if ((mask&VC_IATTR_XID) && res!=VC_NOCTX) + return res; + + errno = 0; + return VC_NOCTX; +} diff --git a/lib/getinsecurebcaps.c b/lib/getinsecurebcaps.c new file mode 100644 index 0000000..1c5ac34 --- /dev/null +++ b/lib/getinsecurebcaps.c @@ -0,0 +1,39 @@ +// $Id: getinsecurebcaps.c 2826 2008-11-11 20:58:41Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +uint_least64_t +vc_get_insecurebcaps() +{ + return ~((1< +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +size_t +vc_get_nb_ipv4root() +{ + return NB_IPV4ROOT; +} diff --git a/lib/getprocentry-legacy.c b/lib/getprocentry-legacy.c new file mode 100644 index 0000000..664a3dd --- /dev/null +++ b/lib/getprocentry-legacy.c @@ -0,0 +1,84 @@ +// $Id: getprocentry-legacy.c 1091 2004-03-05 04:40:59Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "utils-legacy.h" +#include "internal.h" +#include "vserver-internal.h" + +#include +#include +#include +#include +#include + +static volatile size_t proc_bufsize = 4097; + +size_t +utilvserver_getProcEntryBufsize() +{ + return proc_bufsize; +} + +char * +utilvserver_getProcEntry(pid_t pid, + char *str, + char *buf, size_t bufsize) +{ + char status_name[ sizeof("/proc//status") + sizeof(unsigned int)*3 + 1 ]; + int fd; + size_t len; + char * res = 0; + + if (pid<0 || (uint32_t)(pid)>99999) { + errno = EBADR; + return 0; + } + + if (pid==0) strcpy(status_name, "/proc/self/status"); + else { + strcpy(status_name, "/proc/"); + len = utilvserver_fmt_uint(status_name+sizeof("/proc/")-1, pid); + strcpy(status_name+sizeof("/proc/")+len-1, "/status"); + } + + fd = open(status_name, O_RDONLY); + if (fd==-1) return 0; + + len = read(fd, buf, bufsize); + close(fd); + + if (len +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H +#define H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H + +#ifdef HAVE_CONFIG_H +# include +#endif + +#define _LINUX_TYPES_H 1 +#include "virtual.h" + +static inline ALWAYSINLINE UNUSED int +vc_get_version_internal(int cat) +{ + return vserver(VCMD_get_version, cat, 0); +} + +#endif // H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H diff --git a/lib/getversion.c b/lib/getversion.c new file mode 100644 index 0000000..ca233bd --- /dev/null +++ b/lib/getversion.c @@ -0,0 +1,30 @@ +// $Id: getversion.c 720 2004-01-29 11:00:41Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver-internal.h" +#include "getversion-internal.hc" + +int +vc_get_version() +{ + return vc_get_version_internal(VC_CAT_COMPAT); +} diff --git a/lib/getvserverappdir.c b/lib/getvserverappdir.c new file mode 100644 index 0000000..27ae306 --- /dev/null +++ b/lib/getvserverappdir.c @@ -0,0 +1,73 @@ +// $Id: getvserverappdir.c 611 2004-01-16 18:00:11Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include "pathconfig.h" + +#include + +char * +vc_getVserverAppDir(char const *id, vcCfgStyle style, char const *app) +{ + size_t l1 = strlen(id); + size_t l2 = strlen(app); + char *res = 0; + + if (style==vcCFG_NONE || style==vcCFG_AUTO) + style = vc_getVserverCfgStyle(id); + + switch (style) { + case vcCFG_NONE : return 0; + case vcCFG_LEGACY : return 0; + case vcCFG_RECENT_FULL : + case vcCFG_RECENT_SHORT : + { + char buf[sizeof(CONFDIR) + l1 + l2 + sizeof("//apps/") - 1]; + char * ptr = buf; + + if (style==vcCFG_RECENT_FULL) + memcpy(ptr, id, l1); + else { + memcpy(ptr, CONFDIR "/", sizeof(CONFDIR "/")-1); + ptr += sizeof(CONFDIR "/")-1; + memcpy(ptr, id, l1); + } + + ptr += l1; + memcpy(ptr, "/apps/", 6); ptr += 6; + memcpy(ptr, app, l2); ptr += l2; + *ptr = '\0'; + + res = strdup(buf); + break; + } + default : return 0; + } + + if (!utilvserver_isDirectory(res, true)) { + free(res); + res = 0; + } + + return res; +} diff --git a/lib/getvserverbyctx-compat.hc b/lib/getvserverbyctx-compat.hc new file mode 100644 index 0000000..ac6076b --- /dev/null +++ b/lib/getvserverbyctx-compat.hc @@ -0,0 +1,117 @@ +// $Id: getvserverbyctx-compat.hc 2596 2007-08-25 16:56:12Z dhozac $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include "pathconfig.h" +#include "compat-c99.h" + +#include +#include + +#ifdef VC_ENABLE_API_COMPAT +#include +#include + + +static char * +handleLegacy(xid_t xid) +{ + DIR *dir = opendir(DEFAULT_PKGSTATEDIR); + struct dirent *ep; + char * result = 0; + + if (dir==0) return 0; + while ((ep=readdir(dir))!=0) { + char * const name = ep->d_name; + size_t l = name ? strlen(name) : 0; + xid_t cur_xid; + + if (l<=4 || strcmp(name+l-4, ".ctx")!=0) continue; + name[l-4] = '\0'; + cur_xid = vc_getVserverCtx(name, vcCFG_LEGACY, false, 0, vcCTX_XID); + if (cur_xid!=xid) continue; + + result = strdup(name); + break; + } + + closedir(dir); + return result; +} +#else +static inline char * +handleLegacy(xid_t UNUSED xid) +{ + return 0; +} +#endif + +static char * +vc_getVserverByCtx_compat(xid_t ctx, vcCfgStyle *style, char const *revdir, + bool validate_result) +{ + if (revdir==0) revdir = DEFAULT_PKGSTATEREVDIR; + + { + vcCfgStyle cur_style = vcCFG_NONE; + size_t l = strlen(revdir); + size_t l1; + char path[l + sizeof(unsigned int)*3 + 3]; + + strcpy(path, revdir); + path[l] = '/'; + l1 = utilvserver_fmt_uint(path+l+1, ctx); + path[l+1+l1] = '\0'; + + if (style==0 || *style==vcCFG_AUTO) { + if (access(path, F_OK)==0) cur_style = vcCFG_RECENT_FULL; + else cur_style = vcCFG_LEGACY; + } + else + cur_style = *style; + + switch (cur_style) { + case vcCFG_RECENT_SHORT : + case vcCFG_RECENT_FULL : + // check if expected ctx == actual ctx (but only when this check is + // request) + if (validate_result && + vc_getVserverCtx(path, vcCFG_RECENT_FULL, false, 0, vcCTX_XID)!=ctx) return 0; + + if (style) *style = vcCFG_RECENT_FULL; + return strdup(path); + // TODO: handle legacy + case vcCFG_LEGACY : + { + char * tmp = handleLegacy(ctx); + if (tmp && style) + *style = vcCFG_LEGACY; + + return tmp; + } + + default : + return 0; + } + } +} diff --git a/lib/getvserverbyctx-v13.hc b/lib/getvserverbyctx-v13.hc new file mode 100644 index 0000000..ad139b5 --- /dev/null +++ b/lib/getvserverbyctx-v13.hc @@ -0,0 +1,37 @@ +// $Id: getvserverbyctx-v13.hc 2589 2007-08-16 03:06:50Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static char * +vc_getVserverByCtx_v13(xid_t ctx, vcCfgStyle *style, char const UNUSED *revdir, + bool validate_result) +{ + char buf[128]; + + if (vc_get_vhi_name(ctx, vcVHI_CONTEXT, buf, sizeof buf)!=-1 && + (!validate_result || + vc_getVserverCtx(buf, vcCFG_RECENT_FULL, false, 0, vcCTX_XID)==ctx)) { + if (style) *style = vcCFG_RECENT_FULL; + return strdup(buf); + } + else + return 0; +} diff --git a/lib/getvserverbyctx.c b/lib/getvserverbyctx.c new file mode 100644 index 0000000..8487835 --- /dev/null +++ b/lib/getvserverbyctx.c @@ -0,0 +1,54 @@ +// $Id: getvserverbyctx.c 2444 2007-01-03 11:55:04Z dhozac $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include "pathconfig.h" +#include "compat-c99.h" + +#include +#include + +#include "getvserverbyctx-compat.hc" +#include "getvserverbyctx-v13.hc" + + +char * +vc_getVserverByCtx_Internal(xid_t ctx, /*@null@*/vcCfgStyle *style, + /*@null@*/char const *revdir, + bool validate_result) +{ + char *ret; + if (vc_isSupported(vcFEATURE_MIGRATE)) { + ret = vc_getVserverByCtx_v13(ctx, style, revdir, validate_result); + if (ret) + return ret; + } + return vc_getVserverByCtx_compat(ctx, style, revdir, validate_result); +} + +char * +vc_getVserverByCtx(xid_t ctx, vcCfgStyle *style, char const *revdir) +{ + return vc_getVserverByCtx_Internal(ctx, style, revdir, true); + +} diff --git a/lib/getvservercfgdir.c b/lib/getvservercfgdir.c new file mode 100644 index 0000000..e3d9486 --- /dev/null +++ b/lib/getvservercfgdir.c @@ -0,0 +1,61 @@ +// $Id: getvservercfgdir.c 611 2004-01-16 18:00:11Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include "pathconfig.h" + +#include + +char * +vc_getVserverCfgDir(char const *id, vcCfgStyle style) +{ + size_t l1 = strlen(id); + char *res = 0; + + if (style==vcCFG_NONE || style==vcCFG_AUTO) + style = vc_getVserverCfgStyle(id); + + switch (style) { + case vcCFG_NONE : return 0; + case vcCFG_LEGACY : return 0; + case vcCFG_RECENT_FULL : res = strdup(id); break; + case vcCFG_RECENT_SHORT : + { + char buf[sizeof(CONFDIR) + l1 + sizeof("/") - 1]; + + strcpy(buf, CONFDIR "/"); + strcpy(buf+sizeof(CONFDIR "/") - 1, id); + + res = strdup(buf); + break; + } + default : return 0; + } + + if (!utilvserver_isDirectory(res, true)) { + free(res); + res = 0; + } + + return res; +} diff --git a/lib/getvservercfgstyle.c b/lib/getvservercfgstyle.c new file mode 100644 index 0000000..4677407 --- /dev/null +++ b/lib/getvservercfgstyle.c @@ -0,0 +1,97 @@ +// $Id: getvservercfgstyle.c 1804 2005-01-26 23:29:06Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "pathconfig.h" +#include "internal.h" + +#include +#include +#include +#include + +static inline bool +isRelPath(char const *p) +{ + return p[0]=='.' && (p[1]=='/' || (p[1]=='.' && p[2]=='/')); +} + +static inline bool +isAbsPath(char const *p) +{ + return p[0]=='/'; +} + +#define ISDIR utilvserver_isDirectory(buf, true) +#define ISFILE utilvserver_isFile(buf, true) +#define ISLINK utilvserver_isLink(buf) + +vcCfgStyle +vc_getVserverCfgStyle(char const *id) +{ + vcCfgStyle res = vcCFG_NONE; + size_t l1 = strlen(id); + char buf[l1 + + MAX(sizeof(CONFDIR "/"),sizeof(DEFAULT_VSERVERDIR "/")) + + MAX(sizeof("/legacy"), sizeof(".conf")) - 1]; + char * marker = 0; + bool is_path; + + strcpy(buf, id); + marker = buf+l1; + strcpy(marker, "/vdir"); + + is_path = isAbsPath(buf) || isRelPath(buf); + if (is_path && (ISDIR || ISLINK)) + res = vcCFG_RECENT_FULL; + else if (!is_path) { + strcpy(buf, CONFDIR "/"); + strcpy(buf+sizeof(CONFDIR "/") - 1, id); + marker = buf+sizeof(CONFDIR "/")+l1 - 1; + strcpy(marker, "/vdir"); + + if (ISDIR) res = vcCFG_RECENT_SHORT; + else { + strcpy(buf, DEFAULT_VSERVERDIR "/"); + strcpy(buf+sizeof(DEFAULT_VSERVERDIR)+1 - 1, id); + + if (ISDIR) res = vcCFG_LEGACY; + } + + if (res==vcCFG_LEGACY) { + strcpy(buf, CONFDIR "/"); + strcpy(buf+sizeof(CONFDIR "/") - 1, id); + strcpy(buf+sizeof(CONFDIR "/")+l1 - 1, ".conf"); + + if (!ISFILE) res = vcCFG_NONE; + } + } + + + if (res==vcCFG_RECENT_FULL || res==vcCFG_RECENT_SHORT) { + assert(marker!=0); + strcpy(marker, "/legacy"); + if (access(buf, F_OK)==0) res=vcCFG_LEGACY; + } + + return res; +} diff --git a/lib/getvserverctx.c b/lib/getvserverctx.c new file mode 100644 index 0000000..cf582f7 --- /dev/null +++ b/lib/getvserverctx.c @@ -0,0 +1,210 @@ +// $Id: getvserverctx.c 2596 2007-08-25 16:56:12Z dhozac $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "pathconfig.h" +#include "compat-c99.h" +#include "lib_internal/util.h" +#include "internal.h" + +#include +#include +#include +#include +#include +#include + +#ifdef VC_ENABLE_API_COMPAT +#include + +static xid_t +extractLegacyXID(char const *dir, char const *basename) +{ + size_t l1 = strlen(dir); + size_t l2 = strlen(basename); + char path[l1 + l2 + sizeof("/.ctx")]; + char * ptr = path; + int fd; + ssize_t len; + xid_t result = VC_NOXID; + + ptr = Xmemcpy(ptr, dir, l1); + *ptr++ = '/'; + ptr = Xmemcpy(ptr, basename, l2); + ptr = Xmemcpy(ptr, ".ctx", 5); + + fd = open(path, O_RDONLY); + if (fd==-1) return VC_NOXID; + + len = lseek(fd, 0, SEEK_END); + + if (len!=-1 && lseek(fd, 0, SEEK_SET)!=-1) { + char buf[len+2]; + char const *pos = 0; + + buf[0] = '\n'; + + if (read(fd, buf+1, len+1)==len) { + buf[len+1] = '\0'; + pos = strstr(buf, "\nS_CONTEXT="); + } + + if (pos) pos += 11; + if (*pos>='1' && *pos<='9') + result = atoi(pos); + } + + close(fd); + return result; +} +#else +static xid_t +extractLegacyXID(char const UNUSED *dir, char const UNUSED *basename) +{ + return VC_NOXID; +} +#endif + + +static xid_t +getCtxFromFile(char const *pathname) +{ + int fd; + off_t len; + + fd = open(pathname, O_RDONLY); + + if (fd==-1) return VC_NOCTX; + if ((len=lseek(fd, 0, SEEK_END))==-1 || + (len>50) || + (lseek(fd, 0, SEEK_SET)==-1)) { + close(fd); + return VC_NOCTX; + } + + { + char buf[len+1]; + char *errptr; + xid_t res; + + if (TEMP_FAILURE_RETRY(read(fd, buf, len+1))!=len) res = VC_NOCTX; + else { + buf[len] = '\0'; + + res = strtol(buf, &errptr, 10); + if (*errptr!='\0' && *errptr!='\n') res = VC_NOCTX; + } + + close(fd); + return res; + } +} + +xid_t +vc_getVserverCtx(char const *id, vcCfgStyle style, bool honor_static, bool *is_running, + vcCtxType type) +{ + size_t l1 = strlen(id); + char buf[sizeof(CONFDIR "//") + l1 + sizeof("/ncontext")]; + + if (style==vcCFG_NONE || style==vcCFG_AUTO) + style = vc_getVserverCfgStyle(id); + + if (is_running) *is_running = false; + + switch (style) { + case vcCFG_NONE : return VC_NOCTX; + case vcCFG_LEGACY : + return extractLegacyXID(DEFAULT_PKGSTATEDIR, id); + case vcCFG_RECENT_SHORT : + case vcCFG_RECENT_FULL : { + size_t idx = 0; + xid_t res = 0; + + if (style==vcCFG_RECENT_SHORT) { + memcpy(buf, CONFDIR "/", sizeof(CONFDIR "/")-1); + idx = sizeof(CONFDIR "/") - 1; + } + memcpy(buf+idx, id, l1); idx += l1; + memcpy(buf+idx, "/run", 5); // appends '\0' too + + res = getCtxFromFile(buf); + + // when context information could be read, we have to verify that + // it belongs to a running vserver and the both vservers are + // identically + if (res!=VC_NOCTX && type == vcCTX_XID) { + char *cur_name; + struct vc_vx_info info; + + // determine the vserver which is associated with the xid resp. skip + // this step when the context does not exist. When checking whether + // the context exists, do not rely on the success of + // vc_get_vx_info() alone but check 'errno' for ESRCH also. Else, + // wrong results will be caused e.g. for xid 1 which will fail with + // ENOSYS. + cur_name = (vc_get_vx_info(res, &info)!=-1 || errno!=ESRCH ? + vc_getVserverByCtx_Internal(res, &style, 0, false) : + 0); + + buf[idx] = '\0'; // cut off the '/run' from the vserver name + + res = ((cur_name!=0 && + vc_compareVserverById(buf, vcCFG_RECENT_FULL, + cur_name, vcCFG_RECENT_FULL)==0) + ? res + : VC_NOCTX); // correct the value of 'res' + + free(cur_name); + + if (is_running) // fill 'is_running' information... + *is_running = res!=VC_NOCTX; + } + else if (is_running) + *is_running = false; + + if (res==VC_NOCTX && honor_static) { +check_static: + switch (type) { + case vcCTX_XID: + memcpy(buf+idx, "/context", 9); // appends '\0' too + break; + case vcCTX_NID: + memcpy(buf+idx, "/ncontext", 10); + break; + case vcCTX_TAG: + memcpy(buf+idx, "/tag", 5); + break; + } + + res = getCtxFromFile(buf); + if (res==VC_NOCTX && type!=vcCTX_XID) { + type = vcCTX_XID; + goto check_static; + } + } + + return res; + } + default : return VC_NOCTX; + } +} diff --git a/lib/getvservername.c b/lib/getvservername.c new file mode 100644 index 0000000..963f466 --- /dev/null +++ b/lib/getvservername.c @@ -0,0 +1,104 @@ +// $Id: getvservername.c 1543 2004-05-08 01:27:25Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "pathconfig.h" + +#include +#include +#include +#include +#include +#include + +static char * +getRecentName(char *start, char *end) +{ + char *res = 0; + int fd; + char buf[PATH_MAX]; + + strcpy(end, "/name"); + fd = open(start, O_RDONLY); + if (fd!=-1) { + off_t len; + + if ((len=lseek(fd, 0, SEEK_END))!=-1 && + (len0 && buf[len-1]=='\n') --len; + buf[len] = '\0'; + if (len>0) res = buf; + } + + close(fd); + return strdup(res); + } + + close(fd); + } + + if (res==0) { + *end = '\0'; + res = realpath(start, buf); + //printf("start='%s', res='%s'\n", start,res); + if (res==0) res = start; + + res = basename(res); + } + + return strdup(res); +} + +char * +vc_getVserverName(char const *id, vcCfgStyle style) +{ + size_t l1 = strlen(id); + + if (style==vcCFG_NONE || style==vcCFG_AUTO) + style = vc_getVserverCfgStyle(id); + + switch (style) { + case vcCFG_NONE : return 0; + case vcCFG_LEGACY : return strdup(id); + case vcCFG_RECENT_SHORT : + { + char buf[sizeof(CONFDIR "/") + l1 + sizeof("/name") - 1]; + + strcpy(buf, CONFDIR "/"); + strcpy(buf+sizeof(CONFDIR "/") - 1, id); + + return getRecentName(buf, buf+sizeof(CONFDIR "/")+l1 - 1); + } + case vcCFG_RECENT_FULL : + { + char buf[l1 + sizeof("/name")]; + strcpy(buf, id); + + return getRecentName(buf, buf+l1); + } + default : return 0; + } +} diff --git a/lib/getvservervdir.c b/lib/getvservervdir.c new file mode 100644 index 0000000..689a47b --- /dev/null +++ b/lib/getvservervdir.c @@ -0,0 +1,113 @@ +// $Id: getvservervdir.c 1954 2005-03-22 14:59:46Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include "pathconfig.h" + +#include +#include +#include +#include + +static char * +getDir(char *dir, bool physical) +{ + int fd; + char tmp[PATH_MAX]; + + if (!physical) return strdup(dir); + + fd = open(".", O_RDONLY); + if (fd==-1) return 0; + + if (chdir(dir)!=-1 && + getcwd(tmp, sizeof tmp)!=0) + dir = strdup(tmp); + else + dir = 0; + + if (fchdir(fd)==-1) { + if (write(2, "FATAL error: failed to restore directory\n", 41)!=41) { /*...*/ } + abort(); + } + close(fd); + return dir; +} + +char * +vc_getVserverVdir(char const *id, vcCfgStyle style, bool physical) +{ + size_t l1 = strlen(id); + char *res = 0; + + if (style==vcCFG_NONE || style==vcCFG_AUTO) + style = vc_getVserverCfgStyle(id); + + switch (style) { + case vcCFG_NONE : return 0; + case vcCFG_LEGACY : + { + char buf[sizeof(DEFAULT_VSERVERDIR "/") + l1]; + + strcpy(buf, DEFAULT_VSERVERDIR "/"); + strcpy(buf+sizeof(DEFAULT_VSERVERDIR "/") - 1, id); + + res = getDir(buf, physical); + break; + } + + case vcCFG_RECENT_SHORT : + { + char buf[sizeof(CONFDIR) + l1 + sizeof("//vdir") - 1]; + + strcpy(buf, CONFDIR "/"); + strcpy(buf+sizeof(CONFDIR "/") - 1, id); + strcpy(buf+sizeof(CONFDIR "/")+l1 - 1, "/vdir"); + + res = getDir(buf, physical); + break; + } + + case vcCFG_RECENT_FULL : + { + char buf[l1 + sizeof("/vdir")]; + + strcpy(buf, id); + strcpy(buf+l1, "/vdir"); + + res = getDir(buf, physical); + break; + } + + default : return 0; + } + + // ignore physical-case; we went into the directory while determining + // the physical path so the directory exists + if (!physical && !utilvserver_isDirectory(res, true)) { + free(res); + res = 0; + } + + return res; +} diff --git a/lib/getxidtype.c b/lib/getxidtype.c new file mode 100644 index 0000000..8bc2be4 --- /dev/null +++ b/lib/getxidtype.c @@ -0,0 +1,41 @@ +// $Id: getxidtype.c 2493 2007-02-10 15:06:07Z dhozac $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + +vcXidType +vc_getXIDType(xid_t xid) +{ + static xid_t MIN_D_CONTEXT = 0; + const xid_t MAX_S_CONTEXT = 65535; + if (MIN_D_CONTEXT == 0 && (utilvserver_checkCompatConfig() & VC_VCI_NO_DYNAMIC) == 0) + MIN_D_CONTEXT = 49152; + else + MIN_D_CONTEXT = MAX_S_CONTEXT+1; + + if (xid==0) return vcTYPE_MAIN; + if (xid==1) return vcTYPE_WATCH; + if (xid>1 && xid=MIN_D_CONTEXT && xid +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +/** \file internal.h + * \brief Declarations which are used by util-vserver internally. + */ + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_H +#define H_UTIL_VSERVER_LIB_INTERNAL_H + +#include "fmt.h" +#include "vserver.h" + +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif + + +#ifdef HAVE_VERSIONING +/* FIXME: HAVE_ASM_DOT_GLOBAL_NAME */ +# define _symbol_version(real, name, version) \ + __asm__ (".symver " #real "," #name "@" #version) +# define _default_symbol_version(real, name, version) \ + __asm__ (".symver " #real "," #name "@@" #version) +#else +# define _symbol_version(real, name, version) +# define _default_symbol_version(real, name, version) \ + extern __typeof (real) name __attribute__ ((alias (#name))); +#endif +#define symbol_version(real, name, version) \ + _symbol_version(real, name, version) +#define default_symbol_version(real, name, version) \ + _default_symbol_version(real, name, version) + + +char * vc_getVserverByCtx_Internal(xid_t ctx, /*@null@*/vcCfgStyle *style, + /*@null@*/char const *revdir, + bool validate_result); + + +int utilvserver_checkCompatVersion(); +uint_least32_t utilvserver_checkCompatConfig(); +bool utilvserver_isDirectory(char const *path, bool follow_link); +bool utilvserver_isFile(char const *path, bool follow_link); +bool utilvserver_isLink(char const *path); + +int utilvserver_listparser_uint32(char const *str, size_t len, + char const **err_ptr, size_t *err_len, + uint_least32_t *flag, + uint_least32_t *mask, + uint_least32_t (*func)(char const*, + size_t, bool * + )) NONNULL((1,5,7)); + +int utilvserver_listparser_uint64(char const *str, size_t len, + char const **err_ptr, size_t *err_len, + uint_least64_t *flag, + uint_least64_t *mask, + uint_least64_t (*func)(char const*, + size_t, bool * + )) NONNULL((1,5,7)); + +struct Mapping_uint32 { + char const * const id; + size_t len; + uint_least32_t val; +}; + +struct Mapping_uint64 { + char const * const id; + size_t len; + uint_least64_t val; +}; + +ssize_t utilvserver_value2text_uint32(char const *str, size_t len, + struct Mapping_uint32 const *map, + size_t map_len) NONNULL((1,3)); + +ssize_t utilvserver_value2text_uint64(char const *str, size_t len, + struct Mapping_uint64 const *map, + size_t map_len) NONNULL((1,3)); + +ssize_t utilvserver_text2value_uint32(uint_least32_t *val, + struct Mapping_uint32 const *map, + size_t map_len) NONNULL((1,2)); + +ssize_t utilvserver_text2value_uint64(uint_least64_t *val, + struct Mapping_uint64 const *map, + size_t map_len) NONNULL((1,2)); +#ifdef __cplusplus +} +#endif + + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_H diff --git a/lib/ioctl-getext2flags.hc b/lib/ioctl-getext2flags.hc new file mode 100644 index 0000000..289dd0c --- /dev/null +++ b/lib/ioctl-getext2flags.hc @@ -0,0 +1,48 @@ +// $Id: ioctl-getext2flags.hc 702 2004-01-23 20:47:32Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "ext2fs.h" + +#include + +#ifndef EXT2_IMMUTABLE_FILE_FL +# define EXT2_IMMUTABLE_FILE_FL 0x00000010 +#endif + +#ifndef EXT2_IMMUTABLE_LINK_FL +# define EXT2_IMMUTABLE_LINK_FL 0x00008000 +#endif + +static inline ALWAYSINLINE int +vc_X_get_ext2flags(int fd, long *flags) +{ + int rc; + + *flags = 0; + rc = ioctl(fd, EXT2_IOC_GETFLAGS, flags); + *flags = EXT2FLAGS_KERNEL2USER(*flags); + + ENSC_FIX_IOCTL(rc); + + return rc; +} diff --git a/lib/ioctl-getfilecontext.hc b/lib/ioctl-getfilecontext.hc new file mode 100644 index 0000000..7d4df9a --- /dev/null +++ b/lib/ioctl-getfilecontext.hc @@ -0,0 +1,38 @@ +// $Id: ioctl-getfilecontext.hc 702 2004-01-23 20:47:32Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "ext2fs.h" + +#include + +static inline ALWAYSINLINE xid_t +vc_X_get_filecontext(int fd) +{ + int c; + int rc = ioctl(fd, EXT2_IOC_GETCONTEXT, &c); + + ENSC_FIX_IOCTL(rc); + + if (rc==-1) return VC_NOCTX; + else return c; +} diff --git a/lib/ioctl-getxflg.hc b/lib/ioctl-getxflg.hc new file mode 100644 index 0000000..28920f5 --- /dev/null +++ b/lib/ioctl-getxflg.hc @@ -0,0 +1,43 @@ +// $Id: ioctl-getxflg.hc 685 2004-01-22 13:36:30Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "ext2fs.h" + +#include + +#define FIOC_GETXFLG _IOR('x', 5, long) + +static inline ALWAYSINLINE int +vc_X_get_xflg(int fd, long *flags) +{ + int rc; + *flags = 0; + rc = ioctl(fd, FIOC_GETXFLG, flags); + + if (rc<-1) { + errno = -rc; + rc = -1; + } + + return rc; +} diff --git a/lib/ioctl-setext2flags.hc b/lib/ioctl-setext2flags.hc new file mode 100644 index 0000000..61e2df9 --- /dev/null +++ b/lib/ioctl-setext2flags.hc @@ -0,0 +1,56 @@ +// $Id: ioctl-setext2flags.hc 702 2004-01-23 20:47:32Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "ext2fs.h" + +#include + +#ifndef EXT2_IMMUTABLE_FILE_FL +# define EXT2_IMMUTABLE_FILE_FL 0x00000010 +#endif + +#ifndef EXT2_IMMUTABLE_LINK_FL +# define EXT2_IMMUTABLE_LINK_FL 0x00008000 +#endif + +static inline ALWAYSINLINE int +vc_X_set_ext2flags(int fd, long set_flags, long del_flags) +{ + long old_flags = 0; + int rc; + + set_flags = EXT2FLAGS_USER2KERNEL(set_flags); + del_flags = EXT2FLAGS_USER2KERNEL(del_flags); + + if (del_flags!=-1) { + if (ioctl(fd, EXT2_IOC_GETFLAGS, &old_flags)==-1) return -1; + old_flags &= ~del_flags; + } + + old_flags |= set_flags; + rc = ioctl(fd, EXT2_IOC_SETFLAGS, &old_flags); + + ENSC_FIX_IOCTL(rc); + + return rc; +} diff --git a/lib/ioctl-setfilecontext.hc b/lib/ioctl-setfilecontext.hc new file mode 100644 index 0000000..9989a3a --- /dev/null +++ b/lib/ioctl-setfilecontext.hc @@ -0,0 +1,37 @@ +// $Id: ioctl-setfilecontext.hc 702 2004-01-23 20:47:32Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "ext2fs.h" + +#include + +static inline ALWAYSINLINE int +vc_X_set_filecontext(int fd, xid_t ctx) +{ + int c = ctx; + int rc = ioctl(fd, EXT2_IOC_SETCONTEXT, &c); + + ENSC_FIX_IOCTL(rc); + + return rc; +} diff --git a/lib/ioctl-setxflg.hc b/lib/ioctl-setxflg.hc new file mode 100644 index 0000000..25381d2 --- /dev/null +++ b/lib/ioctl-setxflg.hc @@ -0,0 +1,39 @@ +// $Id: ioctl-setxflg.hc 702 2004-01-23 20:47:32Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "ext2fs.h" + +#include + +#define FIOC_SETXFLG _IOW('x', 6, long) + +static inline ALWAYSINLINE int +vc_X_set_xflg(int fd, long flags) +{ + int rc; + rc = ioctl(fd, FIOC_SETXFLG, &flags); + + ENSC_FIX_IOCTL(rc); + + return rc; +} diff --git a/lib/isdirectory.c b/lib/isdirectory.c new file mode 100644 index 0000000..1b8de9a --- /dev/null +++ b/lib/isdirectory.c @@ -0,0 +1,37 @@ +// $Id: isdirectory.c 611 2004-01-16 18:00:11Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" + +#include +#include +#include + +bool +utilvserver_isDirectory(char const *path, bool follow_link) +{ + struct stat st; + if ( ( follow_link && stat(path, &st)==-1) || + (!follow_link && lstat(path, &st)==-1) ) return false; + + return S_ISDIR(st.st_mode); +} diff --git a/lib/isdynamicxid.c b/lib/isdynamicxid.c new file mode 100644 index 0000000..658c0a9 --- /dev/null +++ b/lib/isdynamicxid.c @@ -0,0 +1,30 @@ +// $Id: isdynamicxid.c 2415 2006-12-08 13:24:49Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +bool +vc_is_dynamic_xid(xid_t xid) +{ + return vc_getXIDType(xid) == vcTYPE_DYNAMIC; +} diff --git a/lib/isfile.c b/lib/isfile.c new file mode 100644 index 0000000..8b3ea34 --- /dev/null +++ b/lib/isfile.c @@ -0,0 +1,37 @@ +// $Id: isfile.c 1654 2004-08-19 13:56:47Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" + +#include +#include +#include + +bool +utilvserver_isFile(char const *path, bool follow_link) +{ + struct stat st; + if ( ( follow_link && stat(path, &st)==-1) || + (!follow_link && lstat(path, &st)==-1) ) return false; + + return S_ISREG(st.st_mode); +} diff --git a/lib/islink.c b/lib/islink.c new file mode 100644 index 0000000..0b95799 --- /dev/null +++ b/lib/islink.c @@ -0,0 +1,36 @@ +// $Id: islink.c 1759 2004-10-21 19:01:26Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" + +#include +#include +#include + +bool +utilvserver_isLink(char const *path) +{ + struct stat st; + if (lstat(path, &st)==-1) return false; + + return S_ISLNK(st.st_mode); +} diff --git a/lib/issupported.c b/lib/issupported.c new file mode 100644 index 0000000..1f14bd2 --- /dev/null +++ b/lib/issupported.c @@ -0,0 +1,58 @@ +// $Id: issupported.c 2819 2008-10-31 15:41:04Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "assert.h" + +bool +vc_isSupported(vcFeatureSet feature) +{ + int ver = vc_get_version(); + vc_vci_t conf = vc_get_vci(); + if (ver==-1) return false; + if (conf==(vc_vci_t)-1) conf = 0; + + switch (feature) { + case vcFEATURE_COMPAT : return true; + case vcFEATURE_VSHELPER0 : return ver >= 0x00010000 && ver < 0x00010010; + case vcFEATURE_VSHELPER : return ver >= 0x00010000; + case vcFEATURE_VKILL : return ver >= 0x00010004; + case vcFEATURE_RLIMIT : return ver >= 0x00010004; + case vcFEATURE_VINFO : return ver >= 0x00010010; + case vcFEATURE_VHI : return ver >= 0x00010010; + case vcFEATURE_IATTR : return ver >= 0x00010011; + case vcFEATURE_MIGRATE : return ver >= 0x00010012; + case vcFEATURE_NAMESPACE : return ver >= 0x00010012; + case vcFEATURE_VWAIT : return ver >= 0x00010025; + case vcFEATURE_SCHED : return ver >= 0x00020000; // todo + case vcFEATURE_VNET : return ver >= 0x00020001; + case vcFEATURE_PERSISTENT : return ver >= 0x00020002; + case vcFEATURE_VSTAT : return ver >= 0x00020103; + case vcFEATURE_PPTAG : return conf & VC_VCI_PPTAG; + case vcFEATURE_SPACES : return conf & VC_VCI_SPACES; + case vcFEATURE_PIVOT_ROOT : return ver >= 0x00020304; + case vcFEATURE_PIDSPACE : return ver >= 0x00020305; + default : assert(false); + } + + return false; +} diff --git a/lib/issupportedstring.c b/lib/issupportedstring.c new file mode 100644 index 0000000..137456a --- /dev/null +++ b/lib/issupportedstring.c @@ -0,0 +1,51 @@ +// $Id: issupportedstring.c 2819 2008-10-31 15:41:04Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "lib_internal/util-dimof.h" +#include + +#define DECL(F) \ + { vcFEATURE_ ## F, #F } + +static struct { + vcFeatureSet feature; + char const * name; +} FEATURES[] = { + DECL(VKILL), DECL(IATTR), DECL(RLIMIT), DECL(COMPAT), + DECL(MIGRATE), DECL(NAMESPACE), DECL(SCHED), DECL(VINFO), + DECL(VHI), DECL(VSHELPER0), DECL(VSHELPER), DECL(VWAIT), + DECL(VNET), DECL(VSTAT), DECL(PPTAG), DECL(PIDSPACE), + DECL(SPACES), DECL(PERSISTENT),DECL(PIVOT_ROOT), +}; + +bool +vc_isSupportedString(char const *str) +{ + size_t i; + for (i=0; i +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include + +#define TONUMBER_uint64(S,E,B) strtoll(S,E,B) +#define TONUMBER_uint32(S,E,B) strtol (S,E,B) + +#define ISNUMBER(TYPE,SHORT) \ + static inline ALWAYSINLINE bool \ + isNumber_##SHORT(char const **str,size_t *len,TYPE *res,char end_chr) \ + { \ + char *err_ptr; \ + if (**str=='^') { \ + *res = ((TYPE)(1)) << TONUMBER_##SHORT(++*str, &err_ptr, 0); \ + if (len) --*len; \ + } \ + else \ + *res = TONUMBER_##SHORT(*str, &err_ptr, 0); \ + return err_ptr>*str && *err_ptr==end_chr; \ + } + + +#define LISTPARSER(TYPE,SHORT) \ + ISNUMBER(TYPE,SHORT) \ + int \ + utilvserver_listparser_ ## SHORT(char const *str, size_t len, \ + char const **err_ptr, \ + size_t *err_len, \ + TYPE * const flag, \ + TYPE * const mask, \ + TYPE (*func)(char const *, \ + size_t, bool *)) \ + { \ + if (len==0) len = strlen(str); \ + for (;len>0;) { \ + char const *ptr = strchr(str, ','); \ + size_t cnt; \ + TYPE tmp = 0; \ + bool is_neg = false; \ + bool failed = false; \ + \ + while (mask!=0 && len>0 && (*str=='!' || *str=='~')) { \ + is_neg = !is_neg; \ + ++str; \ + --len; \ + } \ + \ + cnt = ptr ? (size_t)(ptr-str) : len; \ + if (cnt>=len) { cnt=len; len=0; } \ + else len-=(cnt+1); \ + \ + if (cnt==0) \ + failed = true; \ + else if (mask!=0 && \ + (strncasecmp(str,"all",cnt)==0 || \ + strncasecmp(str,"any",cnt)==0)) \ + tmp = ~(TYPE)(0); \ + else if (mask!=0 && strncasecmp(str,"none",cnt)==0) {} \ + else if (!isNumber_##SHORT(&str, &cnt, &tmp, str[cnt])) \ + tmp = (*func)(str,cnt, &failed); \ + \ + if (!failed) { \ + if (!is_neg) *flag |= tmp; \ + else *flag &= ~tmp; \ + if (mask!=0) *mask |= tmp; \ + } \ + else { \ + if (err_ptr) *err_ptr = str; \ + if (err_len) *err_len = cnt; \ + return -1; \ + } \ + \ + if (ptr==0) break; \ + str = ptr+1; \ + } \ + \ + if (err_ptr) *err_ptr = 0; \ + if (err_len) *err_len = 0; \ + return 0; \ + } diff --git a/lib/listparser_uint32.c b/lib/listparser_uint32.c new file mode 100644 index 0000000..4ae4d29 --- /dev/null +++ b/lib/listparser_uint32.c @@ -0,0 +1,26 @@ +// $Id: listparser_uint32.c 1067 2004-03-05 03:12:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" +#include "listparser.hc" + +LISTPARSER(uint_least32_t, uint32) diff --git a/lib/listparser_uint64.c b/lib/listparser_uint64.c new file mode 100644 index 0000000..9168a65 --- /dev/null +++ b/lib/listparser_uint64.c @@ -0,0 +1,26 @@ +// $Id: listparser_uint64.c 1067 2004-03-05 03:12:18Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" +#include "listparser.hc" + +LISTPARSER(uint_least64_t, uint64) diff --git a/lib/ncaps-net.c b/lib/ncaps-net.c new file mode 100644 index 0000000..6f69fff --- /dev/null +++ b/lib/ncaps-net.c @@ -0,0 +1,68 @@ +// $Id: ncaps-net.c 2705 2008-03-17 08:55:11Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include + +#include +#include +#include + +#define DECL(STR, VAL) { STR, sizeof(STR)-1, VAL } + +static struct Mapping_uint64 const VALUES[] = { + DECL("tun_create", VC_NXC_TUN_CREATE), + DECL("raw_icmp", VC_NXC_RAW_ICMP), +}; + +inline static char const * +removePrefix(char const *str, size_t *len) +{ + if ((len==0 || *len==0 || *len>4) && + strncasecmp("nxc_", str, 4)==0) { + if (len && *len>4) *len -= 4; + return str+4; + } + else + return str; +} + +uint_least64_t +vc_text2ncap(char const *str, size_t len) +{ + char const * tmp = removePrefix(str, &len); + ssize_t idx = utilvserver_value2text_uint64(tmp, len, + VALUES, DIM_OF(VALUES)); + if (idx==-1) return 0; + else return VALUES[idx].val; +} + +char const * +vc_loncap2text(uint_least64_t *val) +{ + ssize_t idx = utilvserver_text2value_uint64(val, + VALUES, DIM_OF(VALUES)); + + if (idx==-1) return 0; + else return VALUES[idx].id; +} diff --git a/lib/ncaps_list-net.c b/lib/ncaps_list-net.c new file mode 100644 index 0000000..0961d2d --- /dev/null +++ b/lib/ncaps_list-net.c @@ -0,0 +1,47 @@ +// $Id: ncaps_list-net.c 2038 2005-04-24 20:24:36Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz <> +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + +#include + +static uint_least64_t +vc_text2ncap_err(char const *str, size_t len, bool *failed) +{ + uint_least64_t res = vc_text2ncap(str, len); + + if (res==0) *failed = true; + return res; +} + +int +vc_list2ncap(char const *str, size_t len, + struct vc_err_listparser *err, + struct vc_net_caps *caps) +{ + return utilvserver_listparser_uint64(str, len, + err ? &err->ptr : 0, + err ? &err->len : 0, + &caps->ncaps, &caps->cmask, + vc_text2ncap_err); +} diff --git a/lib/nflags-net.c b/lib/nflags-net.c new file mode 100644 index 0000000..a4f6192 --- /dev/null +++ b/lib/nflags-net.c @@ -0,0 +1,86 @@ +// $Id: nflags-net.c 2705 2008-03-17 08:55:11Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include + +#include +#include +#include + +#define DECL(STR, VAL) { STR, sizeof(STR)-1, VAL } + +static struct Mapping_uint64 const VALUES[] = { + DECL("lock", VC_NXF_INFO_LOCK), + DECL("private", VC_NXF_INFO_PRIVATE), + + DECL("single_ip", VC_NXF_SINGLE_IP), + DECL("lback_remap", VC_NXF_LBACK_REMAP), + DECL("remap_lback", VC_NXF_LBACK_REMAP), + DECL("lback_allow", VC_NXF_LBACK_ALLOW), + + DECL("hide_netif", VC_NXF_HIDE_NETIF), + DECL("hide_lback", VC_NXF_HIDE_LBACK), + + DECL("state_setup", VC_NXF_STATE_SETUP), + DECL("state_admin", VC_NXF_STATE_ADMIN), + + DECL("sc_helper", VC_NXF_SC_HELPER), + DECL("persistent", VC_NXF_PERSISTENT), + + // Aliases for the legacy flags + DECL("info_lock", VC_NXF_INFO_LOCK), + DECL("info_private", VC_NXF_INFO_PRIVATE), +}; + +inline static char const * +removePrefix(char const *str, size_t *len) +{ + if ((len==0 || *len==0 || *len>4) && + strncasecmp("nxf_", str, 4)==0) { + if (len && *len>4) *len -= 4; + return str+4; + } + else + return str; +} + +uint_least64_t +vc_text2nflag(char const *str, size_t len) +{ + char const * tmp = removePrefix(str, &len); + ssize_t idx = utilvserver_value2text_uint64(tmp, len, + VALUES, DIM_OF(VALUES)); + if (idx==-1) return 0; + else return VALUES[idx].val; +} + +char const * +vc_lonflag2text(uint_least64_t *val) +{ + ssize_t idx = utilvserver_text2value_uint64(val, + VALUES, DIM_OF(VALUES)); + + if (idx==-1) return 0; + else return VALUES[idx].id; +} diff --git a/lib/nflags_list-net.c b/lib/nflags_list-net.c new file mode 100644 index 0000000..b4c7230 --- /dev/null +++ b/lib/nflags_list-net.c @@ -0,0 +1,47 @@ +// $Id: nflags_list-net.c 2038 2005-04-24 20:24:36Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz <> +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + +#include + +static uint_least64_t +vc_text2nflag_err(char const *str, size_t len, bool *failed) +{ + uint_least64_t res = vc_text2nflag(str, len); + + if (res==0) *failed = true; + return res; +} + +int +vc_list2nflag(char const *str, size_t len, + struct vc_err_listparser *err, + struct vc_net_flags *flags) +{ + return utilvserver_listparser_uint64(str, len, + err ? &err->ptr : 0, + err ? &err->len : 0, + &flags->flagword, &flags->mask, + vc_text2nflag_err); +} diff --git a/lib/nidopt2nid.c b/lib/nidopt2nid.c new file mode 100644 index 0000000..b3bce63 --- /dev/null +++ b/lib/nidopt2nid.c @@ -0,0 +1,56 @@ +// $Id: nidopt2nid.c 2589 2007-08-16 03:06:50Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include +#include + +static nid_t +getVserverNid(char const *id, bool honor_static, char const **err) +{ + *err = "vc_getVserverCtx"; + return vc_getVserverCtx(id, vcCFG_AUTO, honor_static, 0, vcCTX_NID); +} + +nid_t +vc_nidopt2nid(char const *str, bool honor_static, char const **err_info) +{ + char const * err; + nid_t res = VC_NOCTX; + + err = "vc_get_task_nid()"; + if (strcmp(str,"self")==0) res = vc_get_task_nid(0); + else if (str[0]==':') res = getVserverNid(str+1, honor_static, &err); + else { + char * endptr; + nid_t nid = strtol(str, &endptr, 10); + + if (endptr!=str && (*endptr=='\0' || *endptr=='\n')) + res = nid; + else + res = getVserverNid(str, honor_static, &err); + } + + if (res==VC_NOCTX && err_info) *err_info = err; + + return res; +} diff --git a/lib/parselimit.c b/lib/parselimit.c new file mode 100644 index 0000000..7067964 --- /dev/null +++ b/lib/parselimit.c @@ -0,0 +1,50 @@ +// $Id: parselimit.c 1101 2004-03-05 17:21:36Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include +#include + +bool +vc_parseLimit(char const *buf, vc_limit_t *res) +{ + char * errptr; + + if (strncmp(buf, "inf", 3)==0) { + *res = VC_LIM_INFINITY; + return true; + } + + *res = strtoll(buf, &errptr, 0); + + if (errptr!=buf) { + switch (*errptr) { + case 'M' : *res *= 1024; /* fallthrough */ + case 'K' : *res *= 1024; ++errptr; break; + case 'm' : *res *= 1000; /* fallthrough */ + case 'k' : *res *= 1000; ++errptr; break; + default : break; + } + } + + return errptr!=buf && (*errptr=='\0' || *errptr=='\n'); +} diff --git a/lib/personalityflag.c b/lib/personalityflag.c new file mode 100644 index 0000000..d2bafcf --- /dev/null +++ b/lib/personalityflag.c @@ -0,0 +1,76 @@ +// $Id: personalityflag.c 2159 2005-07-15 19:40:15Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include +#include + +#define DECL(VAL) { #VAL, sizeof(#VAL)-1, (VAL) } + +static struct Mapping_uint32 const VALUES[] = { +#if HAVE_DECL_MMAP_PAGE_ZERO + DECL(MMAP_PAGE_ZERO), +#endif + +#if HAVE_DECL_ADDR_LIMIT_32BIT + DECL(ADDR_LIMIT_32BIT), +#endif + +#if HAVE_DECL_SHORT_INODE + DECL(SHORT_INODE), +#endif + +#if HAVE_DECL_WHOLE_SECONDS + DECL(WHOLE_SECONDS), +#endif + +#if HAVE_DECL_STICKY_TIMEOUTS + DECL(STICKY_TIMEOUTS), +#endif + +#if HAVE_DECL_ADDR_LIMIT_3GB + DECL(ADDR_LIMIT_3GB), +#endif +}; + +uint_least32_t +vc_text2personalityflag(char const *str, size_t len) +{ + ssize_t idx = utilvserver_value2text_uint32(str, len, + VALUES, DIM_OF(VALUES)); + + if (idx==-1) return 0; + else return VALUES[idx].val; +} + +char const * +vc_lopersonality2text(uint_least32_t *val) +{ + ssize_t idx = utilvserver_text2value_uint32(val, VALUES, + DIM_OF(VALUES)); + + if (idx==-1) return 0; + else return VALUES[idx].id; +} + + diff --git a/lib/personalityflag_list.c b/lib/personalityflag_list.c new file mode 100644 index 0000000..b086936 --- /dev/null +++ b/lib/personalityflag_list.c @@ -0,0 +1,50 @@ +// $Id: personalityflag_list.c 2055 2005-04-28 17:51:43Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" + + +static uint_least32_t +text2personalityflag_err(char const *str, + size_t len, bool *failed) +{ + uint_least32_t res = vc_text2personalityflag(str, len); + if (res==0) *failed = true; + return res; +} + +int +vc_list2personalityflag(char const *str, size_t len, + uint_least32_t *personality, + struct vc_err_listparser *err) +{ + return utilvserver_listparser_uint32(str, len, + err ? &err->ptr : 0, + err ? &err->len : 0, + personality, 0, + text2personalityflag_err); +} diff --git a/lib/personalitytype.c b/lib/personalitytype.c new file mode 100644 index 0000000..5710b82 --- /dev/null +++ b/lib/personalitytype.c @@ -0,0 +1,142 @@ +// $Id: personalitytype.c 2159 2005-07-15 19:40:15Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "internal.h" +#include +#include + +#include +#include +#include + +#define DECL(VAL) { #VAL, sizeof(#VAL)-1, (PER_ ## VAL) } + +static struct Mapping_uint32 const VALUES[] = { +#if HAVE_DECL_PER_LINUX + DECL(LINUX), +#endif + +#if HAVE_DECL_PER_LINUX_32BIT + DECL(LINUX_32BIT), +#endif + +#if HAVE_DECL_PER_SVR4 + DECL(SVR4), +#endif + +#if HAVE_DECL_PER_SVR3 + DECL(SVR3), +#endif + +#if HAVE_DECL_PER_SCOSVR3 + DECL(SCOSVR3), +#endif + +#if HAVE_DECL_PER_OSR5 + DECL(OSR5), +#endif + +#if HAVE_DECL_PER_WYSEV386 + DECL(WYSEV386), +#endif + +#if HAVE_DECL_PER_ISCR4 + DECL(ISCR4), +#endif + +#if HAVE_DECL_PER_BSD + DECL(BSD), +#endif + +#if HAVE_DECL_PER_SUNOS + DECL(SUNOS), +#endif + +#if HAVE_DECL_PER_XENIX + DECL(XENIX), +#endif + +#if HAVE_DECL_PER_LINUX32 + DECL(LINUX32), +#endif + +#if HAVE_DECL_PER_LINUX32_3GB + DECL(LINUX32_3GB), +#endif + +#if HAVE_DECL_PER_IRIX32 + DECL(IRIX32), +#endif + +#if HAVE_DECL_PER_IRIXN32 + DECL(IRIXN32), +#endif + +#if HAVE_DECL_PER_IRIX64 + DECL(IRIX64), +#endif + +#if HAVE_DECL_PER_RISCOS + DECL(RISCOS), +#endif + +#if HAVE_DECL_PER_SOLARIS + DECL(SOLARIS), +#endif + +#if HAVE_DECL_PER_UW7 + DECL(UW7), +#endif + +#if HAVE_DECL_PER_HPUX + DECL(HPUX), +#endif + +#if HAVE_DECL_PER_OSF4 + DECL(OSF4), +#endif + +}; + +static char const * +removePrefix(char const *str, size_t *len) +{ + if ((len==0 || *len==0 || *len>4) && + strncasecmp("per_", str, 4)==0) { + if (len && *len>4) *len -= 4; + return str+4; + } + else + return str; +} + +uint_least32_t +vc_str2personalitytype(char const *str, size_t len) +{ + char const *tmp = removePrefix(str, &len); + ssize_t idx = utilvserver_value2text_uint32(tmp, len, + VALUES, DIM_OF(VALUES)); + + if (idx==-1) return VC_BAD_PERSONALITY; + else return VALUES[idx].val; +} diff --git a/lib/safechroot-internal.hc b/lib/safechroot-internal.hc new file mode 100644 index 0000000..ccc360f --- /dev/null +++ b/lib/safechroot-internal.hc @@ -0,0 +1,48 @@ +// $Id: safechroot-internal.hc 147 2003-10-14 15:40:50Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_SAFECHROOT_INTERNAL_H +#define H_UTIL_VSERVER_LIB_SAFECHROOT_INTERNAL_H + +#ifdef HAVE_CONFIG_H +# include +#endif +#include "compat.h" + +#include +#include + +#ifndef NDEBUG +static void +vc_tell_unsafe_chroot() +{ + static int flag = -1; + if (flag==-1) { + char const * const e = getenv("VC_TELL_UNSAFE_CHROOT"); + flag = e ? atoi(e) : 0; + flag = flag ? 1 : 0; + } + + if (flag) write(2, "Unsafe chroot() used\n", 23); +} +#else +static ALWAYSINLINE UNUSED void vc_tell_unsafe_chroot() {} +#endif + + +#endif // H_UTIL_VSERVER_LIB_SAFECHROOT_INTERNAL_H diff --git a/lib/syscall-alternative.h b/lib/syscall-alternative.h new file mode 100644 index 0000000..63f4f32 --- /dev/null +++ b/lib/syscall-alternative.h @@ -0,0 +1,1011 @@ + // from http://vserver.13thfloor.at/Experimental/SYSCALL/syscall_shiny17.h + +#ifndef __SYSCALL_NEW_H +#define __SYSCALL_NEW_H + +/* Copyright (C) 2005-2007 Herbert Pötzl + + global config options + + __sysc_seterr ... set error value (def: errno) + __sysc_cid(N) ... syscall 'name' id (def: __NR_) + + arch specific config + + __sysc_regs ... the syscall registers (asm load) + __sysc_cmd(n) ... the syscall + __sysc_reg_cid ... syscall id register (asm load) + __sysc_reg_ret ... syscall return register (asm out) + __sysc_reg_err ... syscall error register (asm out) + + __sysc_clbrs ... the clobbered syscall registers + __sysc_clobber ... clobbered registers (def: memory) + __sysc_max_err ... maximum error number (def: separate) + __sysc_errc(r,e)... error condition (def: e) + + __sysc_type ... type of syscall arguments (def: long) + __sysc_acon(n) ... argument constraint (def: "r") + __sysc_con_cid ... syscall id constraint (def: "i"/"r") + __sysc_con_ret ... return value contraint (def: "=r") + __sysc_con_err ... error value contraint (def: "=r") + + hard core replacements + + __sc_body(n,type,name,...) + __sc_results + __sc_cidvar(N) + __sc_input(n,...) + __sc_syscall(n,N,...) + __sc_return(t) + +*/ + + /* some fallback defaults */ + +#ifndef __sysc_seterr +#define __sysc_seterr(e) do { errno = (e); } while(0) +#endif + +#ifndef __sysc_cid +#define __sysc_cid(N) __NR_##N +#endif + + +/* ***************************************** + ALPHA ALPHA ALPHA ALPHA * + alpha kernel interface */ + +#if defined(__alpha__) + +/* The Alpha calling convention doesn't use the stack until + after the first six arguments have been passed in registers. + + scnr: v0($0) + args: a1($16), a2($17), a3($18), a4($19), a5($20), a6($21) + sret: r0($0) + serr: e0($19) (!=0, err=sret) + call: callsys + clob: memory + move: mov $sR,$dR + picr: pr($29) do we need to save that? +*/ + +#define __sysc_cmd(n) "callsys" + +#define __sysc_reg_cid "$0" +#define __sysc_con_cid "v" +#define __sysc_reg_ret "$0" +#define __sysc_con_ret "=v" +#define __sysc_reg_err "$19" + +#define __sysc_regs "$16", "$17", "$18", "$19", "$20", "$21" +#define __sysc_clbrs "$16", "$17", "$18", "memory", "$20", "$21" +#define __sysc_clobber "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", \ + "$22", "$23", "$24", "$25", "$27", "$28", "memory" + + +/* ***************************************** + ARM ARM ARM ARM * + arm kernel interface */ + +#elif defined(__arm__) + +/* The Arm calling convention uses stack args after four arguments + but the Linux kernel gets up to seven arguments in registers. + + scnr: imm + args: a1(r0), a2(r1), a3(r2), a4(r3), a5(r4), a6(r5), + sret: r0(r0) + serr: (sret >= (unsigned)-EMAXERRNO) + call: swi + clob: memory + move: mov $dR,$sR +*/ + +#define __sysc_max_err 125 + +#define __sysc_cmd(n) "swi %1" + +#define __sysc_regs "r0", "r1", "r2", "r3", "r4", "r5" +#define __sysc_reg_ret "r0" + +#warning syscall arch arm not tested yet + + + +/* ***************************************** + CRIS CRIS CRIS CRIS * + cris v10 kernel interface */ + +#elif defined(__cris__) + +/* The Cris calling convention uses stack args after four arguments + but the Linux kernel gets up to six arguments in registers. + + scnr: id(r9) + args: a1(r10), a2(r11), a3(r12), a4(r13), a5(mof), a6(srp), + sret: r0(r10) + serr: (sret >= (unsigned)-EMAXERRNO) + call: break 13 + clob: memory +*/ + +#error syscall arch cris not implemented yet + + + +/* ***************************************** + FRV FRV FRV FRV * + frv kernel interface */ + +#elif defined(__frv__) + +/* The C calling convention on FR-V uses the gr8-gr13 registers + for the first six arguments, the remainder is spilled onto the + stack. the linux kernel syscall interface does so too. + + scnr: id(gr7) + args: a1(gr8), a2(gr9), a3(gr10), a4(gr11), a5(gr12), a6(gr13) + sret: r0(gr8) + serr: (sret >= (unsigned)-EMAXERRNO) + call: tra gr0,gr0 + clob: memory +*/ + +#error syscall arch frv not implemented yet + + + +/* ***************************************** + H8300 H8300 H8300 H8300 * + h8/300 kernel interface */ + +#elif defined(__H8300__) + +/* The H8/300 C calling convention passes the first three + arguments in registers. However the linux kernel calling + convention passes the first six arguments in registers + er1-er6 + + scnr: id(er0) + args: a1(er1), a2(er2), a3(er3), a4(er4), a5(er5), a6(er6) + sret: r0(er0) + serr: (sret >= (unsigned)-EMAXERRNO) + call: trapa #0 + clob: memory +*/ + +#error syscall arch h8300 not implemented yet + + + +/* ***************************************** + HPPA HPPA HPPA HPPA * + hppa/64 kernel interface */ + +#elif defined(__hppa__) + +/* The hppa calling convention uses r26-r23 for the first 4 + arguments, the rest is spilled onto the stack. However the + Linux kernel passes the first six arguments in the registers + r26-r21. + + The system call number MUST ALWAYS be loaded in the delay + slot of the ble instruction, or restarting system calls + WILL NOT WORK. + + scnr: id(r20) + args: a1(r26), a2(r25), a3(r24), a4(r23), a5(r22), a6(r21) + sret: r0(r28) + serr: (sret >= (unsigned)-EMAXERRNO) + call: ble 0x100(%%sr2, %%r0) + clob: r1, r2, (r4), r20, r29, r31, memory + picr: pr(r19) do we need to save that? +*/ + +#define __sysc_max_err 4095 + +#define __sysc_cmd(n) \ + __pasm(n,1,1, "copy %%r19, %%r4" ,)\ + __casm(n,0,1, "ble 0x100(%%sr2,%%r0)" ,)\ + __casm(n,0,1, "ldi %1,%%r20" ,)\ + __pasm(n,1,1, "copy %%r4, %%r19" ,) + +#define __sysc_regs "r26", "r25", "r24", "r23", "r22", "r21" + +#ifndef __PIC__ +#define __sysc_clobber "r1", "r2", "r20", "r29", "r31", "memory" +#else +#define __sysc_clobber "r1", "r2", "r4", "r20", "r29", "r31", "memory" +#endif + +#warning syscall arch hppa not tested yet + + + +/* ***************************************** + I386 I386 I386 I386 * + i386 kernel interface */ + +#elif defined(__i386__) + +/* The x86 calling convention uses stack args for all arguments, + but the Linux kernel passes the first six arguments in the + following registers: ebx, ecx, edx, esi, edi, ebp. + + scnr: id(eax) + args: a1(ebx), a2(ecx), a3(edx), a4(esi), a5(edi), a6(ebp) + sret: r0(eax) + serr: (sret >= (unsigned)-EMAXERRNO) + call: int 0x80 + picr: pr(ebx) + clob: memory + move: movl $sR,$dR +*/ + +#define __sysc_max_err 129 + +#define __sc_reg1(...) __sc_cast(__arg_1(__VA_ARGS__,,,,,,)) +#define __sc_reg6(...) __sc_cast(__arg_6(__VA_ARGS__,,,,,,)) + +#define __scsd struct { __sc_ldef(__a); __sc_ldef(__b); } __scs +#define __scsa(n,...) \ + __scs.__a = __sc_reg1(__VA_ARGS__); \ + __scs.__b = __sc_reg6(__VA_ARGS__); + +#define __sc_input(n,...) __casm(n,6,0, \ + __scsd; __scsa(n,__VA_ARGS__), ) + +#define __cm , +#define __sc_null(n) __arg_##n( \ + __cm,__cm,__cm,__cm,__cm,__cm) + +#define __sc_rvcs(r,v) r (__sc_cast(v)) + +#define __sc_rvrd(n,N) __arg_##n(, \ + __cm __sc_rvcs("c", N), \ + __cm __sc_rvcs("d", N), \ + __cm __sc_rvcs("S", N), \ + __cm __sc_rvcs("D", N),) + +#define __sc_arg1(n,...) __Casm(n,1,6,0,, \ + __sc_rvcs(__pic("ri") __nopic("b"), \ + __sc_reg1(__VA_ARGS__)), \ + __sc_rvcs("0", &__scs)) + +#define __sc_syscall(n,N,...) \ + __sc_asm_vol (__sysc_cmd(n) \ + : __sc_oregs \ + : __sc_cidval(N) __sc_null(n) \ + __sc_arg1(n,__VA_ARGS__) \ + __con_##n(__sc_rvrd,__VA_ARGS__) \ + : "memory" ) + +#define __sysc_cmd(n) \ + __pasm(n,1,1, "pushl %%ebx" ,)\ + __Pasm(n,1,5,1,,"movl %2, %%ebx" ,)\ + __casm(n,6,1, "pushl %%ebp" ,)\ + __casm(n,6,1, "movl 0(%2), %%ebx" ,)\ + __casm(n,6,1, "movl 4(%2), %%ebp" ,)\ + __casm(n,0,1, "movl %1, %%eax" ,)\ + __casm(n,0,1, "int $0x80" ,)\ + __casm(n,6,1, "popl %%ebp" ,)\ + __pasm(n,1,1, "popl %%ebx" ,) + +#define __sysc_reg_ret "eax" +#define __sysc_con_ret "=a" + + + +/* ***************************************** + IA64 IA64 IA64 IA64 * + ia64 kernel interface */ + +#elif defined(__ia64__) + +/* The ia64 calling convention uses out0-out7 to pass the first + eight arguments (mapped via register windows). + + scnr: id(r15) + args: a1(out0), a2(out1), ... a5(out4), a6(out5) + sret: r0(r8) + serr: e0(r10) + call: break 0x100000 + clob: out6/7, r2/3/9, r11-r14, r16-r31, p6-p15, f6-f15, b6/7 + move: mov %dR = %sR +*/ + +#define __sysc_errc(r,e) ((e) == -1) + +#define __sysc_cmd(n) "break.i 0x100000" + +#define __sysc_regs "out0", "out1", "out2", "out3", "out4", "out5" +#define __sysc_reg_cid "r15" +#define __sysc_reg_ret "r8" +#define __sysc_reg_err "r10" + +#define __sysc_clobber \ + "out6", "out7", "r2", "r3", "r9", "r11", "r12", "r13", \ + "r14", "r16", "r17", "r18", "r19", "r20", "r21", "r22", \ + "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r30", \ + "r31", "p6", "p7", "p8", "p9", "p10", "p11", "p12", "p13", \ + "p14", "p15", "f6", "f7", "f8", "f9", "f10", "f11", "f12", \ + "f13", "f14", "f15", "f16", "b6", "b7", "cc", "memory" + +#warning syscall arch ia64 not tested yet + + + +/* ***************************************** + M32R M32R M32R M32R * + m32r kernel interface */ + +#elif defined(__M32R__) + +/* The m32r calling convention uses r0-r7 to pass the first + eight arguments (mapped via register windows). + + scnr: id(r0) + args: a1(r1), a2(r2), a3(r3), a4(r4), a5(r5), a6(r6) + sret: r0(r0) + serr: (sret >= (unsigned)-EMAXERRNO) + call: trap #2 + clob: out6/7, r2/3/9, r11-r14, r16-r31, p6-p15, f6-f15, b6/7 + move: mv %dR,%sR +*/ + +#define __sysc_max_err 125 + +#define __sysc_cmd(n) "trap #2" + +#define __sysc_regs "r0", "r1", "r2", "r3", "r4", "r5" +#define __sysc_reg_cid "r7" +#define __sysc_reg_ret "r0" + +#warning syscall arch m32r not tested yet + + + +/* ***************************************** + M68K M68K M68K M68K * + m68k kernel interface */ + +#elif defined(__m68000__) + +#error syscall arch m68k not implemented yet + + + +/* ***************************************** + MIPS MIPS MIPS MIPS * + mips kernel interface */ + +#elif defined(__mips__) + +/* The ABIO32 calling convention uses a0-a3 to pass the first + four arguments, the rest is passed on the userspace stack. + The 5th arg starts at 16($sp). The new mips calling abi uses + registers a0-a5, restart requires a reload of v0 (#syscall) + + ABIN32 and ABI64 pass 6 args in a0-a3, t0-t1. + + scnr: id(v0) + args: a1(a0), a2(a1), a3(a2), a4(a3), a5(t0), a6(t1) + sret: r0(v0) + serr: e0(a3) + call: syscall + clob: at, v1, t2-t7, t8-t9 + move: move %dR,%sR +*/ + +#define __sysc_cmd(n) \ + __casm(n,0,1, "ori $v0,$0,%2" ,)\ + __casm(n,0,1, "syscall" ,) + +#define __sysc_regs "a0","a1","a2","a3", "t0", "t1" +#define __sysc_reg_ret "v0" +#define __sysc_reg_err "a3" + +#define __sysc_clobber "$1", "$3", "$10", "$11", "$12", \ + "$13", "$14", "$15", "$24", "$25", "memory" + +#warning syscall arch mips not tested yet + + + +/* ***************************************** + PPC PPC PPC PPC * + ppc/64 kernel interface */ + +#elif defined(__powerpc__) + +/* The powerpc calling convention uses r3-r10 to pass the first + eight arguments, the remainder is spilled onto the stack. + + scnr: id(r0) + args: a1(r3), a2(r4), a3(r5), a4(r6), a5(r7), a6(r8) + sret: r0(r3) + serr: (carry) + call: sc + clob: r9-r12, cr0, ctr + move: mr %dR,%sR +*/ + +#define __sysc_errc(r,e) ((e) & 0x10000000) + +#define __sysc_cmd(n) \ + __casm(n,0,1, "sc" ,)\ + __casm(n,0,1, "mfcr %1" ,) + +#define __sysc_regs "r3", "r4", "r5", "r6", "r7", "r8" +#define __sysc_reg_cid "r0" +#define __sysc_reg_ret "r3" + +#define __sysc_clobber "r9", "r10", "r11", "r12", "cr0", "ctr", "memory" + + + +/* ***************************************** + S390 S390 S390 S390 * + s390/x kernel interface */ + +#elif defined(__s390__) + +/* The s390x calling convention passes the first five arguments + in r2-r6, the remainder is spilled onto the stack. However + the Linux kernel passes the first six arguments in r2-r7. + + scnr: imm, id(r1) + args: a1(r2), a2(r3), a3(r4), a4(r5), a5(r6), a6(r7) + sret: r0(r2) + serr: (sret >= (unsigned)-EMAXERRNO) + call: svc + clob: memory +*/ + +#define __sysc_max_err 4095 + +#define __sysc_cmd(n) "svc 0" + +// #define __sysc_type unsigned long + +#define __sysc_regs "r2", "r3", "r4", "r5", "r6", "r7" +#define __sysc_reg_cid "r1" +#define __sysc_reg_ret "r2" + +#warning syscall arch s390 not tested yet + + + +/* ***************************************** + SH SH SH SH * + sh kernel interface */ + +#elif defined(__sh__) && !defined(__SH5__) + +/* The SuperH calling convention passes the first four arguments + in r4-r7, the remainder is spilled onto the stack. However + the Linux kernel passes the remainder in r0-r1. + + scnr: id(r3) + args: a1(r4), a2(r5), a3(r6), a4(r7), a5(r0), a6(r1) + sret: r0(r0) + serr: (sret >= (unsigned)-EMAXERRNO) + call: trapa #0x1x (x=#args) + clob: memory + move: ori %sR,0,%dR +*/ + +#ifdef __sh2__ +#define __sysc_arch "trapa #0x2" +#else +#define __sysc_arch "trapa #0x1" +#endif + +#define __sysc_max_err 4095 + +#define __sysc_cmd(n) __sysc_arch #n + +#define __sysc_regs "r4", "r5", "r6", "r7", "r0", "r1" +#define __sysc_reg_cid "r3" +#define __sysc_reg_ret "r0" + +#warning syscall arch sh not tested yet + + + +/* ***************************************** + SH64 SH64 SH64 SH64 * + sh64 kernel interface */ + +#elif defined(__sh__) && defined(__SH5__) + +/* The SuperH-5 calling convention passes the first eight + arguments in r2-r9. The Linux kernel uses only six of + them as arguments, and the last one for the syscall id. + + scnr: id(r9) + args: a1(r2), a2(r3), a3(r4), a4(r5), a5(r6), a6(r7) + sret: r0(r9) + serr: (sret >= (unsigned)-EMAXERRNO) + call: trapa #0x1x (x=#args) + clob: memory + move: ori %sR,0,%dR +*/ + +#define __sysc_max_err 4095 + +#define __sysc_cmd(n) \ + __casm(n,0,1, "movi 0x1" #n ",r9" ,)\ + __casm(n,0,1, "shori %1,r9" ,)\ + __casm(n,0,1, "trapa r9" ,) + +#define __sysc_regs "r2", "r3", "r4", "r5", "r6", "r7" +#define __sysc_reg_ret "r9" + +#warning syscall arch sh64 not tested yet + + + +/* ***************************************** + SPARC64 SPARC64 SPARC64 SPARC64 * + sparc64 kernel interface */ + +#elif defined(__sparc__) + +/* The sparc/64 calling convention uses o0-o5 to pass the first + six arguments (mapped via register windows). + + scnr: id(g1) + args: a1(o0), a2(o1), a3(o2), a4(o3), a5(o4), a6(o5) + sret: r0(o0) + serr: (carry) + call: ta 0x6d, t 0x10 + clob: g1-g6, g7?, o7?, f0-f31, cc + move: mov %sR,%dR +*/ + +#ifdef __arch64__ +#define __sysc_arch "ta 0x6d" +#else +#define __sysc_arch "ta 0x10" +#endif + +#define __sysc_cmd(n) \ + __casm(n,0,1, __sysc_arch ,)\ + __casm(n,0,1, "addx %%g0,%%g0,%1" ,) + +#define __sysc_regs "o0", "o1", "o2", "o3", "o4", "o5" +#define __sysc_reg_cid "g1" +#define __sysc_reg_ret "o0" + +#define __sysc_clobber "g2", "g3", "g4", "g5", "g6", \ + "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", \ + "f9", "f10", "f11", "f12", "f13", "f14", "f15", "f16", \ + "f17", "f18", "f19", "f20", "f21", "f22", "f23", "f24", \ + "f25", "f26", "f27", "f28", "f29", "f30", "f31", "f32", \ + "f34", "f36", "f38", "f40", "f42", "f44", "f46", "f48", \ + "f50", "f52", "f54", "f56", "f58", "f60", "f62", \ + "cc", "memory" + + + +/* ***************************************** + V850 V850 V850 V850 * + v850 kernel interface */ + +#elif defined(__v850__) + +/* The V850 calling convention passes the first four arguments + in registers r6-r9, the rest is spilled onto the stack. + but the Linux kernel interface uses r6-r9 and r13/14. + + scnr: id(r12) + args: a1(r6), a2(r7), a3(r8), a4(r9), a5(r13), a6(r14) + sret: r0(r10) + serr: (sret >= (unsigned)-EMAXERRNO) + call: trap 0, trap 1 + clob: r1, r5, r11, r15-r19 +*/ + +#define __sysc_max_err 515 + +#define __sysc_cmd(n) \ + __casm(n,4,0, "trap 1" ,"trap 0" ) + +#define __sysc_regs "r6", "r7", "r8", "r9", "r13", "r14" +#define __sysc_reg_cid "r12" +#define __sysc_reg_ret "r10" + +#define __sysc_clobber "r1", "r5", "r11", \ + "r15", "r16", "r17", "r18", "r19", "memory" + +#warning syscall arch v850 not tested yet + + + +/* ***************************************** + X86_64 X86_64 X86_64 X86_64 * + x86_64 kernel interface */ + +#elif defined(__x86_64__) + +/* The x86_64 calling convention uses rdi, rsi, rdx, rcx, r8, r9 + but the Linux kernel interface uses rdi, rsi, rdx, r10, r8, r9. + + scnr: id(rax) + args: a1(rdi), a2(rsi), a3(rdx), a4(r10), a5(r8), a6(r9) + sret: r0(rax) + serr: (err= sret > (unsigned)-EMAXERRNO) + call: syscall + clob: rcx, r11 +*/ + +#define __sysc_max_err 4095 + +#define __sysc_cmd(n) "syscall" + +#define __sysc_regs "rdi", "rsi", "rdx", "r10", "r8", "r9" +#define __sysc_reg_cid "rax" +#define __sysc_reg_ret "rax" +#define __sysc_con_ret "=a" + +#define __sysc_clobber "cc", "r11", "rcx", "memory" + +#else +#error unknown kernel arch +#endif + + + /* implementation defaults */ + + + +#ifndef __sysc_clobber +#define __sysc_clobber "memory" +#endif + +#ifndef __sysc_acon +#define __sysc_acon(n) "r" +#endif + +#ifndef __sysc_con_ret +#define __sysc_con_ret "=r" +#endif + +#ifndef __sysc_con_err +#define __sysc_con_err "=r" +#endif + +#ifndef __sysc_con_cid +#ifdef __sysc_reg_cid +#define __sysc_con_cid "r" +#else +#define __sysc_con_cid "i" +#endif +#endif + +#ifndef __sysc_type +#define __sysc_type long +#endif + +#ifdef __sysc_regs +#define __sysc_rega(n,...) __arg_##n(__VA_ARGS__) +#ifndef __sysc_reg +#define __sysc_reg(n) __sysc_rega(n,__sysc_regs) +#endif +#endif + + + + /* argument list */ + +#define __lst_6(x,a1,a2,a3,a4,a5,a6) __lst_5(x,a1,a2,a3,a4,a5),x(6,a6) +#define __lst_5(x,a1,a2,a3,a4,a5) __lst_4(x,a1,a2,a3,a4),x(5,a5) +#define __lst_4(x,a1,a2,a3,a4) __lst_3(x,a1,a2,a3),x(4,a4) +#define __lst_3(x,a1,a2,a3) __lst_2(x,a1,a2),x(3,a3) +#define __lst_2(x,a1,a2) __lst_1(x,a1),x(2,a2) +#define __lst_1(x,a1) __lst_0(x,*),x(1,a1) +#define __lst_0(x,a0) + + /* argument concatenation */ + +#define __con_6(x,a1,a2,a3,a4,a5,a6) __con_5(x,a1,a2,a3,a4,a5)x(6,a6) +#define __con_5(x,a1,a2,a3,a4,a5) __con_4(x,a1,a2,a3,a4)x(5,a5) +#define __con_4(x,a1,a2,a3,a4) __con_3(x,a1,a2,a3)x(4,a4) +#define __con_3(x,a1,a2,a3) __con_2(x,a1,a2)x(3,a3) +#define __con_2(x,a1,a2) __con_1(x,a1)x(2,a2) +#define __con_1(x,a1) __con_0(x,*)x(1,a1) +#define __con_0(x,a0) + + /* argument selection */ + +#define __arg_0(...) +#define __arg_1(a1,...) a1 +#define __arg_2(a1,a2,...) a2 +#define __arg_3(a1,a2,a3,...) a3 +#define __arg_4(a1,a2,a3,a4,...) a4 +#define __arg_5(a1,a2,a3,a4,a5,...) a5 +#define __arg_6(a1,a2,a3,a4,a5,a6,...) a6 + + /* list remainder */ + +#define __rem_0(a1,a2,a3,a4,a5,a6) ,a1,a2,a3,a4,a5,a6 +#define __rem_1(a1,a2,a3,a4,a5,a6) ,a2,a3,a4,a5,a6 +#define __rem_2(a1,a2,a3,a4,a5,a6) ,a3,a4,a5,a6 +#define __rem_3(a1,a2,a3,a4,a5,a6) ,a4,a5,a6 +#define __rem_4(a1,a2,a3,a4,a5,a6) ,a5,a6 +#define __rem_5(a1,a2,a3,a4,a5,a6) ,a6 +#define __rem_6(...) + + + /* conditional asm */ + +#define __casm_use(q,r,v) v __casm_use_##q##r(__casm_nl("")) + +#define __casm_use_10(v) +#define __casm_use_11(v) v +#define __casm_use_12(v) +#define __casm_use_13(v) v + +#define __casm_use_20(v) +#define __casm_use_21(v) +#define __casm_use_22(v) v +#define __casm_use_23(v) v + + +#define __casm_00(v,w,r) __casm_use(1,r,v) +#define __casm_01(v,w,r) __casm_use(2,r,w) +#define __casm_02(v,w,r) __casm_use(2,r,w) +#define __casm_03(v,w,r) __casm_use(2,r,w) +#define __casm_04(v,w,r) __casm_use(2,r,w) +#define __casm_05(v,w,r) __casm_use(2,r,w) +#define __casm_06(v,w,r) __casm_use(2,r,w) + +#define __casm_10(v,w,r) __casm_use(1,r,v) +#define __casm_11(v,w,r) __casm_use(1,r,v) +#define __casm_12(v,w,r) __casm_use(2,r,w) +#define __casm_13(v,w,r) __casm_use(2,r,w) +#define __casm_14(v,w,r) __casm_use(2,r,w) +#define __casm_15(v,w,r) __casm_use(2,r,w) +#define __casm_16(v,w,r) __casm_use(2,r,w) + +#define __casm_20(v,w,r) __casm_use(1,r,v) +#define __casm_21(v,w,r) __casm_use(1,r,v) +#define __casm_22(v,w,r) __casm_use(1,r,v) +#define __casm_23(v,w,r) __casm_use(2,r,w) +#define __casm_24(v,w,r) __casm_use(2,r,w) +#define __casm_25(v,w,r) __casm_use(2,r,w) +#define __casm_26(v,w,r) __casm_use(2,r,w) + +#define __casm_30(v,w,r) __casm_use(1,r,v) +#define __casm_31(v,w,r) __casm_use(1,r,v) +#define __casm_32(v,w,r) __casm_use(1,r,v) +#define __casm_33(v,w,r) __casm_use(1,r,v) +#define __casm_34(v,w,r) __casm_use(2,r,w) +#define __casm_35(v,w,r) __casm_use(2,r,w) +#define __casm_36(v,w,r) __casm_use(2,r,w) + +#define __casm_40(v,w,r) __casm_use(1,r,v) +#define __casm_41(v,w,r) __casm_use(1,r,v) +#define __casm_42(v,w,r) __casm_use(1,r,v) +#define __casm_43(v,w,r) __casm_use(1,r,v) +#define __casm_44(v,w,r) __casm_use(1,r,v) +#define __casm_45(v,w,r) __casm_use(2,r,w) +#define __casm_46(v,w,r) __casm_use(2,r,w) + +#define __casm_50(v,w,r) __casm_use(1,r,v) +#define __casm_51(v,w,r) __casm_use(1,r,v) +#define __casm_52(v,w,r) __casm_use(1,r,v) +#define __casm_53(v,w,r) __casm_use(1,r,v) +#define __casm_54(v,w,r) __casm_use(1,r,v) +#define __casm_55(v,w,r) __casm_use(1,r,v) +#define __casm_56(v,w,r) __casm_use(2,r,w) + +#define __casm_60(v,w,r) __casm_use(1,r,v) +#define __casm_61(v,w,r) __casm_use(1,r,v) +#define __casm_62(v,w,r) __casm_use(1,r,v) +#define __casm_63(v,w,r) __casm_use(1,r,v) +#define __casm_64(v,w,r) __casm_use(1,r,v) +#define __casm_65(v,w,r) __casm_use(1,r,v) +#define __casm_66(v,w,r) __casm_use(1,r,v) + + + /* special PIC handling */ + +#ifdef __PIC__ +#define __pic(v) v +#define __nopic(v) +#else +#define __pic(v) +#define __nopic(v) v +#endif + +#define __casm_nl(v) v "\n\t" + +#define __casm(n,a,r,v,w) __casm_##n##a(v,w,r) +#define __Casm(n,a,b,r,u,v,w) __casm_##n##b(w,__casm_##n##a(v,u,r),r) + +#define __pasm(n,a,r,v,w) __pic(__casm(n,a,r,v,w)) +#define __Pasm(n,a,b,r,u,v,w) __pic(__Casm(n,a,b,r,u,v,w)) + +#define __nasm(n,a,r,v,w) __nopic(__casm(n,a,r,v,w)) +#define __Nasm(n,a,b,r,u,v,w) __nopic(__Casm(n,a,b,r,u,v,w)) + + +#define __sc_cast(v) (__sysc_type)(v) +#define __sc_ldef(N) __sysc_type N +#define __sc_rdef(N,R) register __sc_ldef(N) __sc_asm (R) + +#define __sc_scid(N,v) __sc_ldef(N) = __sc_cast(v) +#define __sc_areg(N,R,v) __sc_rdef(N,R) = __sc_cast(v) + +#define __sc_rval(n,v) "r"(__sc_a##n) +#define __sc_ival(n,v) __sysc_acon(n)(__sc_cast(v)) +#define __sc_idef(n,v) __sc_areg(__sc_a##n, __sysc_reg(n), v); + +#ifdef __sysc_clbrs +#define __sc_cregs(n,...) __rem_##n(__VA_ARGS__) +#else +#define __sc_cregs(n,...) +#endif + +#ifdef __sysc_regs +#define __sc_input(n,...) __con_##n(__sc_idef,__VA_ARGS__) +#define __sc_ivals(n,...) __lst_##n(__sc_rval,__VA_ARGS__) +#else +#define __sc_ivals(n,...) __lst_##n(__sc_ival,__VA_ARGS__) +#endif + +#ifdef __sysc_reg_cid +#define __sc_cidvar(N) __sc_areg(__sc_id, \ + __sysc_reg_cid, __sysc_cid(N)) +#define __sc_cidval(N) __sysc_con_cid (__sc_id) +#endif + +#ifndef __sc_input +#define __sc_input(n,...) +#endif + +#ifndef __sc_cidval +#define __sc_cidval(N) __sysc_con_cid (__sysc_cid(N)) +#endif + +#ifndef __sc_cidvar +#define __sc_cidvar(N) +#endif + + +#ifdef __sysc_reg_ret +#define __sc_ret __ret +#define __sc_def_ret __sc_ldef(ret); __sc_rdef(__sc_ret,__sysc_reg_ret) +#else +#define __sc_ret ret +#define __sc_def_ret __sc_ldef(__sc_ret) +#endif + +#ifdef __sysc_reg_err +#define __sc_err __err +#define __sc_def_err __sc_ldef(err); __sc_rdef(__sc_err,__sysc_reg_err) +#else +#define __sc_err err +#define __sc_def_err __sc_ldef(__sc_err) +#endif + + +#ifndef __sysc_max_err +#define __sc_complex +#endif + +#ifdef __sc_complex /* complex result */ + +#ifndef __sc_results +#define __sc_results __sc_def_ret; __sc_def_err +#endif + +#ifndef __sysc_errc +#define __sysc_errc(ret, err) (err) +#endif + +#ifndef __sysc_retv +#define __sysc_retv(type, ret, err) \ + if (__sysc_errc(ret, err)) { \ + __sysc_seterr(ret); \ + ret = -1; \ + } \ + return (type)(ret) +#endif + +#define __sc_oregs __sysc_con_ret (__sc_ret), \ + __sysc_con_err (__sc_err) +#ifndef __sc_return +#define __sc_return(t) ret = __sc_ret; err = __sc_err; \ + __sysc_retv(t, ret, err) +#endif +#else /* simple result */ + +#ifndef __sc_results +#define __sc_results __sc_def_ret +#endif + +#ifndef __sysc_errc +#define __sysc_errc(ret) \ + ((unsigned __sysc_type)(ret) >= \ + (unsigned __sysc_type)(-(__sysc_max_err))) +#endif + +#ifndef __sysc_retv +#define __sysc_retv(type, ret) \ + if (__sysc_errc(ret)) { \ + __sysc_seterr(-ret); \ + ret = -1; \ + } \ + return (type)(ret) +#endif + +#define __sc_oregs __sysc_con_ret (__sc_ret) +#ifndef __sc_return +#define __sc_return(t) ret = __sc_ret; __sysc_retv(t, ret) +#endif +#endif /* simple/complex */ + + + + /* the inline syscall */ + +#define __sc_asm __asm__ +#define __sc_asm_vol __asm__ __volatile__ + +#ifndef __sc_syscall +#define __sc_syscall(n,N,...) \ + __sc_asm_vol (__sysc_cmd(n) \ + : __sc_oregs \ + : __sc_cidval(N) __sc_ivals(n,__VA_ARGS__) \ + : __sysc_clobber __sc_cregs(n,__sysc_clbrs)) +#endif + +#ifndef __sc_body +#define __sc_body(n, type, name, ...) \ +{ \ + __sc_results;__sc_cidvar(name); \ + __sc_input(n,__VA_ARGS__) \ + __sc_syscall(n,name,__VA_ARGS__); \ + __sc_return(type); \ +} +#endif + +#define _syscall0(type, name) \ +type name(void) \ +__sc_body(0, type, name, *) + +#define _syscall1(type, name, type1, arg1) \ +type name(type1 arg1) \ +__sc_body(1, type, name, arg1) + +#define _syscall2(type, name, type1, arg1, type2, arg2) \ +type name(type1 arg1, type2 arg2) \ +__sc_body(2, type, name, arg1, arg2) + +#define _syscall3(type, name, type1, arg1, type2, arg2, type3, arg3) \ +type name(type1 arg1, type2 arg2, type3 arg3) \ +__sc_body(3, type, name, arg1, arg2, arg3) + +#define _syscall4(type, name, type1, arg1, type2, arg2, type3, arg3, \ + type4, arg4) \ +type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ +__sc_body(4, type, name, arg1, arg2, arg3, arg4) + +#define _syscall5(type, name, type1, arg1, type2, arg2, type3, arg3, \ + type4, arg4, type5, arg5) \ +type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) \ +__sc_body(5, type, name, arg1, arg2, arg3, arg4, arg5) + +#define _syscall6(type, name, type1, arg1, type2, arg2, type3, arg3, \ + type4, arg4, type5, arg5, type6, arg6) \ +type name(type1 arg1, type2 arg2, type3 arg3, \ + type4 arg4, type5 arg5, type6 arg6) \ +__sc_body(6, type, name, arg1, arg2, arg3, arg4, arg5, arg6) + + + +#endif /* __SYSCALL_NEW_H */ diff --git a/lib/syscall-compat.hc b/lib/syscall-compat.hc new file mode 100644 index 0000000..5f69384 --- /dev/null +++ b/lib/syscall-compat.hc @@ -0,0 +1,58 @@ +// $Id: syscall-compat.hc 1450 2004-04-14 23:21:23Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif +#include "compat.h" + +#include "safechroot-internal.hc" +#include "vserver.h" + +#include + +static inline ALWAYSINLINE xid_t +vc_new_s_context_compat(xid_t ctx, unsigned int remove_cap, unsigned int flags) +{ + struct vcmd_new_s_context_v1 msg; + msg.remove_cap = remove_cap; + msg.flags = flags; + + return vserver(VCMD_new_s_context, CTX_USER2KERNEL(ctx), &msg); +} + +static inline ALWAYSINLINE int +vc_set_ipv4root_compat(uint32_t bcast, size_t nb, struct vc_ip_mask_pair const *ips) +{ + struct vcmd_set_ipv4root_v3 msg; + size_t i; + + if (nb>NB_IPV4ROOT) { + errno = -EOVERFLOW; + return -1; + } + + msg.broadcast = bcast; + + for (i=0; i +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_ENSC_UTIL_VSERVER_LIB_SYSCALL_FALLBACK_H +#define H_ENSC_UTIL_VSERVER_LIB_SYSCALL_FALLBACK_H + + +#if defined(__alpha__) +#define __NR_vserver 428 +#elif defined(__arm__) +#define __NR_vserver 313 +#elif defined(__cris__) +#define __NR_vserver 273 +#elif defined(__frv__) +#define __NR_vserver 273 +#elif defined(__h8300__) +#define __NR_vserver 273 +#elif defined(__i386__) +#define __NR_vserver 273 +#elif defined(__ia64__) +#define __NR_vserver 1269 +#elif defined(__m32r__) +#define __NR_vserver 273 +#elif defined(__mc68000__) +#define __NR_vserver 278 +#elif defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_ABI32) +#define __NR_vserver 277 +#elif defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_ABI64) +#define __NR_vserver 240 +#elif defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_NABI32) +#define __NR_vserver 236 +#elif defined(__hppa__) +#define __NR_vserver 263 +#elif defined(__powerpc__) +#define __NR_vserver 257 +#elif defined(__s390__) +#define __NR_vserver 263 +#elif defined(__sh__) +#define __NR_vserver 273 +#elif defined(__sparc__) +#define __NR_vserver 267 +#elif defined(__v850__) +#define __NR_vserver * +#elif defined(__x86_64__) +#define __NR_vserver 236 +#endif + + + +#endif // H_ENSC_UTIL_VSERVER_LIB_SYSCALL_FALLBACK_H diff --git a/lib/syscall-legacy.hc b/lib/syscall-legacy.hc new file mode 100644 index 0000000..26ecd39 --- /dev/null +++ b/lib/syscall-legacy.hc @@ -0,0 +1,255 @@ +// $Id: syscall-legacy.hc 2076 2005-05-02 21:42:05Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// based on syscall.cc by Jacques Gelinas +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) +// any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +/* + This tells the system call number for new_s_context and set_ipv4root + using /proc/self/status. This helps until the vserver project is + included officially in the kernel (and has its own syscall). + + We rely on /proc/self/status to find the syscall number. + + If it is not there, we rely on adm/unistd.h. + + If this file does not have those system calls (not a patched kernel source) + we rely on static values in this file. +*/ +#include "safechroot-internal.hc" + +#include +#include +#include +#include +#include + +#include "syscall-wrap.h" + +// Here is the trick. We keep a copy of the define, then undef it +// and then later, we try to locate the value reading /proc/self/status +// If this fails, we have the old preserved copy. +static int def_NR_set_ipv4root = 274; +#undef __NR_set_ipv4root + +static int __NR_set_ipv4root_rev0; +static int __NR_set_ipv4root_rev1; +static int __NR_set_ipv4root_rev2; +static int __NR_set_ipv4root_rev3; +static int rev_ipv4root=0; + +#ifdef ENSC_SYSCALL_TRADITIONAL +# if defined __dietlibc__ +extern long int syscall (long int __sysno, ...); +# endif + +inline static int +set_ipv4root_rev0(unsigned long ip) +{ + return syscall(__NR_set_ipv4root_rev0, ip); +} + +inline static int +set_ipv4root_rev1(unsigned long ip, unsigned long bcast) +{ + return syscall(__NR_set_ipv4root_rev1, ip, bcast); +} + +inline static int +set_ipv4root_rev2(unsigned long *ip, int nb, unsigned long bcast) +{ + return syscall(__NR_set_ipv4root_rev2, ip, nb, bcast); +} + +inline static int +set_ipv4root_rev3(unsigned long *ip, int nb, unsigned long bcast, unsigned long * mask) +{ + return syscall(__NR_set_ipv4root_rev3, ip, nb, bcast, mask); +} + +#else // ENSC_SYSCALL_TRADITIONAL +inline static _syscall1(int, set_ipv4root_rev0, unsigned long, ip) +inline static _syscall2(int, set_ipv4root_rev1, unsigned long, ip, unsigned long, bcast) +inline static _syscall3(int, set_ipv4root_rev2, unsigned long *, ip, int, nb, unsigned long, bcast) +inline static _syscall4(int, set_ipv4root_rev3, unsigned long *, ip, int, nb, unsigned long, bcast, unsigned long *, mask) +#endif // ENSC_SYSCALL_TRADITIONAL + +static int def_NR_new_s_context = 273; +#undef __NR_new_s_context +static int __NR_new_s_context_rev0; +static int rev_s_context=0; + + +#ifdef ENSC_SYSCALL_TRADITIONAL +inline static xid_t +new_s_context_rev0(int newctx, int remove_cap, int flags) +{ + return syscall(__NR_new_s_context_rev0, newctx, remove_cap, flags); +} +#else // ENSC_SYSCALL_TRADITIONAL +inline static _syscall3(int, new_s_context_rev0, int, newctx, int, remove_cap, int, flags) +#endif // ENSC_SYSCALL_TRADITIONAL + + +static bool is_init = false; + +#include "utils-legacy.h" + +#ifndef WRITE_MSG +# define WRITE_MSG(FD,X) (void)(write(FD,X,sizeof(X)-1)) +#endif + + +static bool +getNumRevPair(char const *str, int *num, int *rev) +{ + char const * blank_pos = strchr(str, ' '); + char const * eol_pos = strchr(str, '\n'); + + *num = atoi(str); + if (*num==0) return false; + + if (blank_pos!=0 && eol_pos!=0 && blank_pos 1){ + WRITE_MSG(2,"set_ipv4root: Several IP number specified, but this kernel only supports one. Ignored\n"); + } + return set_ipv4root_rev0 (ip[0]); + }else if (rev_ipv4root == 1){ + if (nb > 1){ + WRITE_MSG(2,"set_ipv4root: Several IP number specified, but this kernel only supports one. Ignored\n"); + } + return set_ipv4root_rev1 (ip[0],bcast); + }else if (rev_ipv4root == 2){ + return set_ipv4root_rev2 (ip,nb,bcast); + }else if (rev_ipv4root == 3){ + return set_ipv4root_rev3 (ip,nb,bcast,mask); + } + errno = EINVAL; + return -1; +} + +static ALWAYSINLINE int +vc_set_ipv4root_legacy(uint32_t bcast, size_t nb, struct vc_ip_mask_pair const *ips) +{ + unsigned long ip[nb]; + unsigned long mask[nb]; + size_t i; + + for (i=0; i +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver-internal.h" + +#if 0 +int +vc_syscall(uint32_t cmd, xid_t xid, void *data) __attribute__((__alias__("vserver"))); +#else +int +vc_syscall(uint32_t cmd, xid_t xid, void *data) +{ + return vserver(cmd, xid, data); +} +#endif diff --git a/lib/syscall-wrap.h b/lib/syscall-wrap.h new file mode 100644 index 0000000..e67e040 --- /dev/null +++ b/lib/syscall-wrap.h @@ -0,0 +1,43 @@ +// $Id: syscall-wrap.h 2446 2007-01-09 13:22:11Z dhozac $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_SYSCALL_WRAP_H +#define H_UTIL_VSERVER_LIB_SYSCALL_WRAP_H + +#include +#include +#include + +#ifdef ENSC_USE_ALTERNATIVE_SYSCALL_MACROS +# undef _syscall0 +# undef _syscall1 +# undef _syscall2 +# undef _syscall3 +# undef _syscall4 +# undef _syscall5 +# undef _syscall6 +# undef _syscall7 + +# include "syscall-alternative.h" +#endif + +#if defined(ENSC_SYSCALL_TRADITIONAL) && defined(__dietlibc__) && !defined(ENSC_DIETLIBC_HAS_SYSCALL) +extern long int syscall(long int __sysno, ...); +#endif + +#endif // H_UTIL_VSERVER_LIB_SYSCALL_WRAP_H diff --git a/lib/syscall.c b/lib/syscall.c new file mode 100644 index 0000000..37beb79 --- /dev/null +++ b/lib/syscall.c @@ -0,0 +1,66 @@ +// $Id: syscall.c 2448 2007-01-10 18:49:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "compat.h" +#include "vserver.h" +#include "internal.h" + +#define _LINUX_TYPES_H 1 +#include "virtual.h" + +#if defined(VC_ENABLE_API_COMPAT) && defined(VC_ENABLE_API_LEGACY) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_COMPAT +# include "syscall-compat.hc" +#endif + +#ifdef VC_ENABLE_API_LEGACY +# include "syscall-legacy.hc" +#endif + +#include +#include + + +#if defined(VC_ENABLE_API_COMPAT) || defined(VC_ENABLE_API_LEGACY) + +xid_t +vc_new_s_context(xid_t ctx, unsigned int remove_cap, unsigned int flags) +{ + CALL_VC(CALL_VC_COMPAT(vc_new_s_context, ctx, remove_cap, flags), + CALL_VC_LEGACY(vc_new_s_context, ctx, remove_cap, flags)); +} + +int +vc_set_ipv4root(uint32_t bcast, size_t nb, struct vc_ip_mask_pair const *ips) +{ + CALL_VC(CALL_VC_COMPAT(vc_set_ipv4root, bcast, nb, ips), + CALL_VC_LEGACY(vc_set_ipv4root, bcast, nb, ips)); +} + +LINK_WARNING("vc_new_s_context", "warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of"); +LINK_WARNING("vc_set_ipv4root", "warning: vc_set_ipv4root() is obsoleted; use vc_net_create() instead of"); + +#endif diff --git a/lib/syscall_adddlimit-v13.hc b/lib/syscall_adddlimit-v13.hc new file mode 100644 index 0000000..b33d3b6 --- /dev/null +++ b/lib/syscall_adddlimit-v13.hc @@ -0,0 +1,34 @@ +// $Id: syscall_adddlimit-v13.hc 1881 2005-03-02 01:29:44Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_add_dlimit_v13b(char const *filename, xid_t xid, uint32_t flags) +{ + struct vcmd_ctx_dlimit_base_v0 init = { + .name = filename, + .flags = flags + }; + + return vserver(VCMD_add_dlimit, CTX_USER2KERNEL(xid), &init); +} diff --git a/lib/syscall_adddlimit.c b/lib/syscall_adddlimit.c new file mode 100644 index 0000000..af24493 --- /dev/null +++ b/lib/syscall_adddlimit.c @@ -0,0 +1,36 @@ +// $Id: syscall_adddlimit.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_adddlimit-v13.hc" +#endif + +int +vc_add_dlimit(char const *filename, xid_t xid, uint32_t flags) +{ + CALL_VC(CALL_VC_V13B(vc_add_dlimit, filename, xid, flags)); +} diff --git a/lib/syscall_cleanupnamespace-v13.hc b/lib/syscall_cleanupnamespace-v13.hc new file mode 100644 index 0000000..2c3d464 --- /dev/null +++ b/lib/syscall_cleanupnamespace-v13.hc @@ -0,0 +1,29 @@ +// $Id: syscall_cleanupnamespace-v13.hc 1023 2004-02-27 04:42:25Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_cleanup_namespace_v13(int UNUSED tmp) +{ + return vserver(VCMD_cleanup_namespace, 0, 0); +} diff --git a/lib/syscall_cleanupnamespace.c b/lib/syscall_cleanupnamespace.c new file mode 100644 index 0000000..1b22e67 --- /dev/null +++ b/lib/syscall_cleanupnamespace.c @@ -0,0 +1,36 @@ +// $Id: syscall_cleanupnamespace.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_cleanupnamespace-v13.hc" +#endif + +int +vc_cleanup_namespace() +{ + CALL_VC(CALL_VC_V13(vc_cleanup_namespace,0)); +} diff --git a/lib/syscall_ctxcreate-v13.hc b/lib/syscall_ctxcreate-v13.hc new file mode 100644 index 0000000..b999ef6 --- /dev/null +++ b/lib/syscall_ctxcreate-v13.hc @@ -0,0 +1,34 @@ +// $Id: syscall_ctxcreate-v13.hc 2578 2007-08-08 20:05:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE xid_t +vc_ctx_create_v13(xid_t xid, struct vc_ctx_flags *flags) +{ + xid_t res = vserver(VCMD_ctx_create_v0, CTX_USER2KERNEL(xid), 0); + + if (flags) { + /* no sane way to report errors here */ + vc_set_cflags(xid, flags); + } + + return CTX_KERNEL2USER(res); +} diff --git a/lib/syscall_ctxcreate-v21.hc b/lib/syscall_ctxcreate-v21.hc new file mode 100644 index 0000000..eac8d68 --- /dev/null +++ b/lib/syscall_ctxcreate-v21.hc @@ -0,0 +1,39 @@ +// $Id: syscall_ctxcreate-v21.hc 2814 2008-10-31 04:05:53Z dhozac $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE xid_t +vc_ctx_create_v21(xid_t xid, struct vc_ctx_flags *flags) +{ + struct vcmd_ctx_create data = { + .flagword = (VC_VXF_STATE_SETUP | VC_VXF_STATE_ADMIN | + VC_VXF_STATE_INIT) + }; + xid_t res; + + if (flags) + data.flagword = flags->flagword & flags->mask; + + res = vserver(VCMD_ctx_create_v1, CTX_USER2KERNEL(xid), &data); + res = CTX_KERNEL2USER(res); + + return res; +} diff --git a/lib/syscall_ctxcreate.c b/lib/syscall_ctxcreate.c new file mode 100644 index 0000000..8b9eac7 --- /dev/null +++ b/lib/syscall_ctxcreate.c @@ -0,0 +1,46 @@ +// $Id: syscall_ctxcreate.c 2777 2008-08-27 10:38:07Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V13) && defined(VC_ENABLE_API_V21) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V13) +# include "syscall_ctxcreate-v13.hc" +#endif + +#if defined(VC_ENABLE_API_V21) +# include "syscall_ctxcreate-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21) +xid_t +vc_ctx_create(xid_t xid, struct vc_ctx_flags *flags) +{ + CALL_VC(CALL_VC_V21 (vc_ctx_create, xid, flags), + CALL_VC_V13A(vc_ctx_create, xid, flags)); +} +#endif diff --git a/lib/syscall_ctxmigrate-v13.hc b/lib/syscall_ctxmigrate-v13.hc new file mode 100644 index 0000000..930a599 --- /dev/null +++ b/lib/syscall_ctxmigrate-v13.hc @@ -0,0 +1,27 @@ +// $Id: syscall_ctxmigrate-v13.hc 2339 2006-09-29 22:15:14Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_ctx_migrate_v13(xid_t xid) +{ + return vserver(VCMD_ctx_migrate_v0, CTX_USER2KERNEL(xid), NULL); +} diff --git a/lib/syscall_ctxmigrate-v21.hc b/lib/syscall_ctxmigrate-v21.hc new file mode 100644 index 0000000..edb4020 --- /dev/null +++ b/lib/syscall_ctxmigrate-v21.hc @@ -0,0 +1,30 @@ +// $Id: syscall_ctxmigrate-v21.hc 2814 2008-10-31 04:05:53Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_ctx_migrate_spaces(xid_t xid, uint_least64_t flags) +{ + struct vcmd_ctx_migrate data = { .flagword = flags }; + + return vserver(VCMD_ctx_migrate_v1, CTX_USER2KERNEL(xid), &data); +} diff --git a/lib/syscall_ctxmigrate.c b/lib/syscall_ctxmigrate.c new file mode 100644 index 0000000..e6bffd8 --- /dev/null +++ b/lib/syscall_ctxmigrate.c @@ -0,0 +1,46 @@ +// $Id: syscall_ctxmigrate.c 2777 2008-08-27 10:38:07Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V13) && defined(VC_ENABLE_API_V21) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V13) +# include "syscall_ctxmigrate-v13.hc" +#endif + +#if defined(VC_ENABLE_API_V21) +# include "syscall_ctxmigrate-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21) +int +vc_ctx_migrate(xid_t xid, uint_least64_t flags) +{ + CALL_VC(CALL_VC_SPACES(vc_ctx_migrate, xid, flags), + CALL_VC_V13A (vc_ctx_migrate, xid)); +} +#endif diff --git a/lib/syscall_ctxstat-v21.hc b/lib/syscall_ctxstat-v21.hc new file mode 100644 index 0000000..bbf8793 --- /dev/null +++ b/lib/syscall_ctxstat-v21.hc @@ -0,0 +1,36 @@ +// $Id: syscall_ctxstat-v21.hc 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_ctx_stat_v21(xid_t ctx, struct vc_ctx_stat *stat) +{ + int ret; + struct vcmd_ctx_stat_v0 param; + + ret = vserver(VCMD_ctx_stat, CTX_USER2KERNEL(ctx), ¶m); + if (ret) + return ret; + + stat->usecnt = param.usecnt; + stat->tasks = param.tasks; + return 0; +} diff --git a/lib/syscall_ctxstat.c b/lib/syscall_ctxstat.c new file mode 100644 index 0000000..8da5f4d --- /dev/null +++ b/lib/syscall_ctxstat.c @@ -0,0 +1,39 @@ +// $Id: syscall_ctxstat.c 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_ctxstat-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) + +int +vc_ctx_stat(xid_t ctx, struct vc_ctx_stat *stat) +{ + CALL_VC(CALL_VC_V21(vc_ctx_stat, ctx, stat)); +} + +#endif diff --git a/lib/syscall_enternamespace-v13.hc b/lib/syscall_enternamespace-v13.hc new file mode 100644 index 0000000..0ddab09 --- /dev/null +++ b/lib/syscall_enternamespace-v13.hc @@ -0,0 +1,35 @@ +// $Id: syscall_enternamespace-v13.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_enter_namespace_v13(xid_t xid, uint_least64_t mask, uint32_t index) +{ + if ((mask & (CLONE_NEWNS|CLONE_FS)) == 0) + return 0; + if (index != 0) { + errno = EINVAL; + return -1; + } + return vserver(VCMD_enter_space_v0, CTX_USER2KERNEL(xid), 0); +} diff --git a/lib/syscall_enternamespace-v21.hc b/lib/syscall_enternamespace-v21.hc new file mode 100644 index 0000000..67924c2 --- /dev/null +++ b/lib/syscall_enternamespace-v21.hc @@ -0,0 +1,35 @@ +// $Id: syscall_enternamespace-v21.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_enter_namespace_spaces(xid_t xid, uint_least64_t mask, uint32_t index) +{ + struct vcmd_space_mask_v1 data = { .mask = mask }; + if (index != 0) { + errno = EINVAL; + return -1; + } + return vserver(VCMD_enter_space_v1, CTX_USER2KERNEL(xid), &data); +} diff --git a/lib/syscall_enternamespace-v23.hc b/lib/syscall_enternamespace-v23.hc new file mode 100644 index 0000000..b7d15ae --- /dev/null +++ b/lib/syscall_enternamespace-v23.hc @@ -0,0 +1,31 @@ +// $Id: syscall_enternamespace-v23.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_enter_namespace_v23(xid_t xid, uint_least64_t mask, uint32_t index) +{ + struct vcmd_space_mask_v2 data = { .mask = mask, .index = index }; + return vserver(VCMD_enter_space, CTX_USER2KERNEL(xid), &data); +} diff --git a/lib/syscall_enternamespace.c b/lib/syscall_enternamespace.c new file mode 100644 index 0000000..cc44a59 --- /dev/null +++ b/lib/syscall_enternamespace.c @@ -0,0 +1,49 @@ +// $Id: syscall_enternamespace.c 2817 2008-10-31 04:45:26Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#define VC_MULTIVERSION_SYSCALL 1 +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_enternamespace-v13.hc" +#endif + +#ifdef VC_ENABLE_API_V21 +# include "syscall_enternamespace-v21.hc" +#endif + +#ifdef VC_ENABLE_API_V23 +# include "syscall_enternamespace-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21) +int +vc_enter_namespace(xid_t xid, uint_least64_t mask, uint32_t index) +{ + CALL_VC(CALL_VC_V23P (vc_enter_namespace, xid, mask, index), + CALL_VC_SPACES(vc_enter_namespace, xid, mask, index), + CALL_VC_V13 (vc_enter_namespace, xid, mask, index)); +} +#endif diff --git a/lib/syscall_fgetiattr-v22.hc b/lib/syscall_fgetiattr-v22.hc new file mode 100644 index 0000000..01fb789 --- /dev/null +++ b/lib/syscall_fgetiattr-v22.hc @@ -0,0 +1,44 @@ +// $Id: syscall_fgetiattr-v22.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_fget_iattr_v22(int fd, xid_t *ctx, uint_least32_t *flags, + uint_least32_t *mask) +{ + int ret; + struct vcmd_ctx_fiattr_v0 data = { .mask = 0 }; + + if (mask) + data.mask = *mask; + ret = vserver(VCMD_fget_iattr, fd, &data); + if (ret) + return ret; + + if (ctx) + *ctx = data.xid; + if (flags) + *flags = data.flags; + if (mask) + *mask = data.mask; + + return 0; +} diff --git a/lib/syscall_fgetiattr.c b/lib/syscall_fgetiattr.c new file mode 100644 index 0000000..c233a70 --- /dev/null +++ b/lib/syscall_fgetiattr.c @@ -0,0 +1,38 @@ +// $Id: syscall_fgetiattr.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V22) +# include "syscall_fgetiattr-v22.hc" +#endif + +#if defined(VC_ENABLE_API_V22) +int +vc_fget_iattr(int fd, xid_t *ctx, uint_least32_t *flags, + uint_least32_t *mask) +{ + CALL_VC(CALL_VC_V22(vc_fget_iattr, fd, ctx, flags, mask)); +} +#endif diff --git a/lib/syscall_fsetiattr-v22.hc b/lib/syscall_fsetiattr-v22.hc new file mode 100644 index 0000000..1fe3df0 --- /dev/null +++ b/lib/syscall_fsetiattr-v22.hc @@ -0,0 +1,34 @@ +// $Id: syscall_fsetiattr-v22.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_fset_iattr_v22(int fd, xid_t ctx, uint_least32_t flags, + uint_least32_t mask) +{ + struct vcmd_ctx_fiattr_v0 data = { + .xid = ctx, + .flags = flags, + .mask = mask + }; + + return vserver(VCMD_fset_iattr, fd, &data); +} diff --git a/lib/syscall_fsetiattr.c b/lib/syscall_fsetiattr.c new file mode 100644 index 0000000..0513b33 --- /dev/null +++ b/lib/syscall_fsetiattr.c @@ -0,0 +1,38 @@ +// $Id: syscall_fsetiattr.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V22) +# include "syscall_fsetiattr-v22.hc" +#endif + +#if defined(VC_ENABLE_API_V22) +int +vc_fset_iattr(int fd, xid_t ctx, uint_least32_t flags, + uint_least32_t mask) +{ + CALL_VC(CALL_VC_V22(vc_fset_iattr, fd, ctx, flags, mask)); +} +#endif diff --git a/lib/syscall_getbadness-v23.hc b/lib/syscall_getbadness-v23.hc new file mode 100644 index 0000000..5c78939 --- /dev/null +++ b/lib/syscall_getbadness-v23.hc @@ -0,0 +1,33 @@ +// $Id: syscall_getbadness-v23.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_badness_v23(xid_t xid, int64_t *badness) +{ + struct vcmd_badness_v0 data; + int ret; + ret = vserver(VCMD_get_badness, xid, &data); + if (ret) + return ret; + *badness = data.bias; + return 0; +} diff --git a/lib/syscall_getbadness.c b/lib/syscall_getbadness.c new file mode 100644 index 0000000..16c3fed --- /dev/null +++ b/lib/syscall_getbadness.c @@ -0,0 +1,39 @@ +// $Id: syscall_getbadness.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V23) +# include "syscall_getbadness-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V23) + +int +vc_get_badness(xid_t xid, int64_t *badness) +{ + CALL_VC(CALL_VC_V23(vc_get_badness, xid, badness)); +} + +#endif diff --git a/lib/syscall_getccaps-v13.hc b/lib/syscall_getccaps-v13.hc new file mode 100644 index 0000000..d852288 --- /dev/null +++ b/lib/syscall_getccaps-v13.hc @@ -0,0 +1,36 @@ +// $Id: syscall_getccaps-v13.hc 2603 2007-09-02 19:51:14Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_ccaps_v13(xid_t xid, struct vc_ctx_caps *caps) +{ + struct vcmd_ctx_caps_v0 k_caps; + int res; + + res = vserver(VCMD_get_ccaps_v0, CTX_USER2KERNEL(xid), &k_caps); + caps->bcaps = k_caps.bcaps; + caps->bmask = ~0ull; + caps->ccaps = k_caps.ccaps; + caps->cmask = k_caps.cmask; + + return res; +} diff --git a/lib/syscall_getccaps-v21.hc b/lib/syscall_getccaps-v21.hc new file mode 100644 index 0000000..bd45ffd --- /dev/null +++ b/lib/syscall_getccaps-v21.hc @@ -0,0 +1,43 @@ +// $Id: syscall_getccaps-v21.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_ccaps_v21(xid_t xid, struct vc_ctx_caps *caps) +{ + struct vcmd_ctx_caps_v1 k_ccaps; + struct vcmd_bcaps k_bcaps; + int res; + + res = vserver(VCMD_get_ccaps, CTX_USER2KERNEL(xid), &k_ccaps); + if (res) + return res; + res = vserver(VCMD_get_bcaps, CTX_USER2KERNEL(xid), &k_bcaps); + if (res) + return res; + + caps->bcaps = k_bcaps.bcaps; + caps->bmask = k_bcaps.bmask; + caps->ccaps = k_ccaps.ccaps; + caps->cmask = k_ccaps.cmask; + + return res; +} diff --git a/lib/syscall_getccaps.c b/lib/syscall_getccaps.c new file mode 100644 index 0000000..9e7b88c --- /dev/null +++ b/lib/syscall_getccaps.c @@ -0,0 +1,51 @@ +// $Id: syscall_getccaps.c 2564 2007-07-16 15:10:08Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V13) && defined(VC_ENABLE_API_V21) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V13) +# include "syscall_getccaps-v13.hc" +#endif + +#if defined(VC_ENABLE_API_V21) +# include "syscall_getccaps-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21) +int +vc_get_ccaps(xid_t xid, struct vc_ctx_caps *caps) +{ + if (caps==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_V21(vc_get_ccaps, xid, caps), + CALL_VC_V13A(vc_get_ccaps, xid, caps)); +} +#endif diff --git a/lib/syscall_getcflags-v13.hc b/lib/syscall_getcflags-v13.hc new file mode 100644 index 0000000..83a62a2 --- /dev/null +++ b/lib/syscall_getcflags-v13.hc @@ -0,0 +1,39 @@ +// $Id: syscall_getcflags-v13.hc 1449 2004-04-14 23:19:51Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_cflags_v13(xid_t xid, struct vc_ctx_flags *flags) +{ + struct vcmd_ctx_flags_v0 k_flags; + int res; + + if (flags==0) { + errno = EFAULT; + return -1; + } + + res = vserver(VCMD_get_cflags, CTX_USER2KERNEL(xid), &k_flags); + flags->flagword = k_flags.flagword; + flags->mask = k_flags.mask; + + return res; +} diff --git a/lib/syscall_getcflags.c b/lib/syscall_getcflags.c new file mode 100644 index 0000000..22b1dc3 --- /dev/null +++ b/lib/syscall_getcflags.c @@ -0,0 +1,37 @@ +// $Id: syscall_getcflags.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V13) +# include "syscall_getcflags-v13.hc" +#endif + +#if defined(VC_ENABLE_API_V13) +int +vc_get_cflags(xid_t xid, struct vc_ctx_flags *flags) +{ + CALL_VC(CALL_VC_V13A(vc_get_cflags, xid, flags)); +} +#endif diff --git a/lib/syscall_getdlimit-v13.hc b/lib/syscall_getdlimit-v13.hc new file mode 100644 index 0000000..408daba --- /dev/null +++ b/lib/syscall_getdlimit-v13.hc @@ -0,0 +1,46 @@ +// $Id: syscall_getdlimit-v13.hc 1881 2005-03-02 01:29:44Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_get_dlimit_v13b(char const *filename, xid_t xid, + uint_least32_t flags, struct vc_ctx_dlimit *limits) +{ + int rc; + struct vcmd_ctx_dlimit_v0 attr = { + .name = filename, + .flags = flags + }; + + rc = vserver(VCMD_get_dlimit, CTX_USER2KERNEL(xid), &attr); + + if (limits) { + limits->space_used = CDLIM_KERNEL2USER(attr.space_used); + limits->space_total = CDLIM_KERNEL2USER(attr.space_total); + limits->inodes_used = CDLIM_KERNEL2USER(attr.inodes_used); + limits->inodes_total = CDLIM_KERNEL2USER(attr.inodes_total); + limits->reserved = CDLIM_KERNEL2USER(attr.reserved); + } + + return rc; +} diff --git a/lib/syscall_getdlimit.c b/lib/syscall_getdlimit.c new file mode 100644 index 0000000..0393921 --- /dev/null +++ b/lib/syscall_getdlimit.c @@ -0,0 +1,37 @@ +// $Id: syscall_getdlimit.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_getdlimit-v13.hc" +#endif + +int +vc_get_dlimit(char const *filename, xid_t xid, + uint_least32_t flags, struct vc_ctx_dlimit *limits) +{ + CALL_VC(CALL_VC_V13B(vc_get_dlimit, filename, xid, flags, limits)); +} diff --git a/lib/syscall_getiattr-fscompat.hc b/lib/syscall_getiattr-fscompat.hc new file mode 100644 index 0000000..12c6c9e --- /dev/null +++ b/lib/syscall_getiattr-fscompat.hc @@ -0,0 +1,95 @@ +// $Id: syscall_getiattr-fscompat.hc 2151 2005-07-15 18:06:27Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "ioctl-getext2flags.hc" +#include "ioctl-getfilecontext.hc" +#include "ioctl-getxflg.hc" + +#include +static inline ALWAYSINLINE int +vc_get_iattr_fscompat(char const *filename, + xid_t * /*@null@*/ xid, + uint32_t * /*@null@*/ flags, + uint32_t * mask) +{ + struct stat st; + int stat_rc; + int fd; + int old_mask = *mask; + + *mask = 0; + + if (lstat(filename, &st)==-1) return -1; + if (!S_ISREG(st.st_mode) && !S_ISDIR(st.st_mode)) return 0; + + fd = open(filename, O_RDONLY|O_NONBLOCK); + if (fd==-1) return -1; + + stat_rc = fstat(fd, &st); + if (stat_rc==-1) goto err; + + if ( old_mask&VC_IATTR_XID ) { + *xid = vc_X_get_filecontext(fd); + if (*xid!=VC_NOCTX) *mask |= VC_IATTR_XID; + } + + if ( old_mask&VC_IATTR_IUNLINK ) { + long tmp; + int rc = vc_X_get_ext2flags(fd, &tmp); + + if (rc!=-1) { + *mask |= VC_IATTR_IUNLINK; + if (tmp & (VC_IMMUTABLE_FILE_FL|VC_IMMUTABLE_LINK_FL)) + *flags |= VC_IATTR_IUNLINK; + } + } + + if ( (old_mask&VC_IATTR_BARRIER) && S_ISDIR(st.st_mode)) { + long ext2_flags; + + *mask |= VC_IATTR_BARRIER; + if ((st.st_mode&0777)==0 && + vc_X_get_ext2flags(fd, &ext2_flags)!=-1 && + (ext2_flags & VC_IMMUTABLE_LINK_FL)) + *flags |= VC_IATTR_BARRIER; + } + + if ( (old_mask&(VC_IATTR_WATCH|VC_IATTR_HIDE)) ){ + long tmp; + int rc = vc_X_get_xflg(fd, &tmp); + if (rc!=-1) { + *mask |= (VC_IATTR_WATCH|VC_IATTR_HIDE); + if (tmp&1) *flags |= VC_IATTR_HIDE; + if (tmp&2) *flags |= VC_IATTR_WATCH; + } + } + + close(fd); + return 0; + err: + { + int old_errno = errno; + close(fd); + errno = old_errno; + return -1; + } +} diff --git a/lib/syscall_getiattr-v13.hc b/lib/syscall_getiattr-v13.hc new file mode 100644 index 0000000..da5b623 --- /dev/null +++ b/lib/syscall_getiattr-v13.hc @@ -0,0 +1,40 @@ +// $Id: syscall_getiattr-v13.hc 1216 2004-03-12 02:57:01Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_get_iattr_v13(char const *filename, + xid_t *xid, uint32_t *flags, uint32_t *mask) +{ + struct vcmd_ctx_iattr_v1 attr; + int rc; + + attr.name = filename; + + rc = vserver(VCMD_get_iattr, 0, &attr); + if (xid) *xid = CTX_KERNEL2USER(attr.xid); + if (flags) *flags = attr.flags; + if (mask) *mask = attr.mask; + + return rc; +} diff --git a/lib/syscall_getiattr.c b/lib/syscall_getiattr.c new file mode 100644 index 0000000..36651ac --- /dev/null +++ b/lib/syscall_getiattr.c @@ -0,0 +1,52 @@ +// $Id: syscall_getiattr.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_FSCOMPAT) && defined(VC_ENABLE_API_V13) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_getiattr-v13.hc" +#endif + +#ifdef VC_ENABLE_API_FSCOMPAT +# include "syscall_getiattr-fscompat.hc" +#endif + +int +vc_get_iattr(char const *filename, xid_t *xid, uint32_t *flags, uint32_t *mask) +{ + if ( (mask==0) || + ((*mask&VC_IATTR_XID) && xid==0) || + ((*mask&~VC_IATTR_XID) && flags==0) ) { + errno = EFAULT; + return -1; + } + if ( flags ) *flags &= ~*mask; + + CALL_VC(CALL_VC_V13 (vc_get_iattr, filename, xid, flags, mask), + CALL_VC_FSCOMPAT(vc_get_iattr, filename, xid, flags, mask)); +} diff --git a/lib/syscall_getncaps-net.hc b/lib/syscall_getncaps-net.hc new file mode 100644 index 0000000..40ea3b4 --- /dev/null +++ b/lib/syscall_getncaps-net.hc @@ -0,0 +1,34 @@ +// $Id: syscall_getncaps-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_ncaps_net(nid_t nid, struct vc_net_caps *caps) +{ + struct vcmd_net_caps_v0 k_caps; + int res; + + res = vserver(VCMD_get_ncaps, NID_USER2KERNEL(nid), &k_caps); + caps->ncaps = k_caps.ncaps; + caps->cmask = k_caps.cmask; + + return res; +} diff --git a/lib/syscall_getncaps.c b/lib/syscall_getncaps.c new file mode 100644 index 0000000..85bafae --- /dev/null +++ b/lib/syscall_getncaps.c @@ -0,0 +1,42 @@ +// $Id: syscall_getncaps.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_getncaps-net.hc" +#endif + +#if defined(VC_ENABLE_API_NET) +int +vc_get_ncaps(nid_t nid, struct vc_net_caps *caps) +{ + if (caps==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_NET(vc_get_ncaps, nid, caps)); +} +#endif diff --git a/lib/syscall_getnflags-net.hc b/lib/syscall_getnflags-net.hc new file mode 100644 index 0000000..362f0f4 --- /dev/null +++ b/lib/syscall_getnflags-net.hc @@ -0,0 +1,34 @@ +// $Id: syscall_getnflags-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_nflags_net(nid_t nid, struct vc_net_flags *flags) +{ + struct vcmd_net_flags_v0 k_flags; + int res; + + res = vserver(VCMD_get_nflags, NID_USER2KERNEL(nid), &k_flags); + flags->flagword = k_flags.flagword; + flags->mask = k_flags.mask; + + return res; +} diff --git a/lib/syscall_getnflags.c b/lib/syscall_getnflags.c new file mode 100644 index 0000000..23376c7 --- /dev/null +++ b/lib/syscall_getnflags.c @@ -0,0 +1,42 @@ +// $Id: syscall_getnflags.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_getnflags-net.hc" +#endif + +#if defined(VC_ENABLE_API_NET) +int +vc_get_nflags(nid_t nid, struct vc_net_flags *flags) +{ + if (flags==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_NET(vc_get_nflags, nid, flags)); +} +#endif diff --git a/lib/syscall_getnxinfo-net.hc b/lib/syscall_getnxinfo-net.hc new file mode 100644 index 0000000..449035b --- /dev/null +++ b/lib/syscall_getnxinfo-net.hc @@ -0,0 +1,34 @@ +// $Id: syscall_getnxinfo-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_nx_info_net(nid_t nid, struct vc_nx_info *info) +{ + struct vcmd_nx_info_v0 res; + int rc; + + rc = vserver(VCMD_nx_info, NID_USER2KERNEL(nid), &res); + if (rc==-1) return -1; + + info->nid = NID_KERNEL2USER(res.nid); + return rc; +} diff --git a/lib/syscall_getnxinfo.c b/lib/syscall_getnxinfo.c new file mode 100644 index 0000000..c5c0630 --- /dev/null +++ b/lib/syscall_getnxinfo.c @@ -0,0 +1,42 @@ +// $Id: syscall_getnxinfo.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_NET +# include "syscall_getnxinfo-net.hc" +#endif + +#ifdef VC_ENABLE_API_NET +int +vc_get_nx_info(nid_t nid, struct vc_nx_info *info) +{ + if (info==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_NET(vc_get_nx_info, nid, info)); +} +#endif diff --git a/lib/syscall_getsched-v21.hc b/lib/syscall_getsched-v21.hc new file mode 100644 index 0000000..9d3d93a --- /dev/null +++ b/lib/syscall_getsched-v21.hc @@ -0,0 +1,47 @@ +// $Id: syscall_getsched-v21.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_sched_v21(xid_t xid, struct vc_set_sched *data) +{ + struct vcmd_sched_v5 k_data = { + .mask = data->set_mask, + .cpu_id = data->cpu_id, + .bucket_id = data->bucket_id, + }; + int ret; + + ret = vserver(VCMD_get_sched, xid, &k_data); + data->set_mask = k_data.mask; + data->cpu_id = k_data.cpu_id; + data->bucket_id = k_data.bucket_id; + data->fill_rate = k_data.fill_rate[0]; + data->fill_rate2 = k_data.fill_rate[1]; + data->interval = k_data.interval[0]; + data->interval2 = k_data.interval[1]; + data->tokens = k_data.tokens; + data->tokens_min = k_data.tokens_min; + data->tokens_max = k_data.tokens_max; + data->priority_bias = k_data.prio_bias; + + return ret; +} diff --git a/lib/syscall_getsched.c b/lib/syscall_getsched.c new file mode 100644 index 0000000..118fa6c --- /dev/null +++ b/lib/syscall_getsched.c @@ -0,0 +1,37 @@ +// $Id: syscall_getsched.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_getsched-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) +int +vc_get_sched(xid_t xid, struct vc_set_sched *sched) +{ + CALL_VC(CALL_VC_V21(vc_get_sched, xid, sched)); +} +#endif diff --git a/lib/syscall_getspacedefault-v23.hc b/lib/syscall_getspacedefault-v23.hc new file mode 100644 index 0000000..f07dc35 --- /dev/null +++ b/lib/syscall_getspacedefault-v23.hc @@ -0,0 +1,31 @@ +// $Id: syscall_getspacedefault-v23.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2008 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE uint_least64_t +vc_get_space_default_v23(int UNUSED tmp) +{ + struct vcmd_space_mask_v1 data = { .mask = 0 }; + int ret = vserver(VCMD_get_space_default, 0, &data); + if (ret) + return ret; + return data.mask & ~(CLONE_NEWNS|CLONE_FS); +} diff --git a/lib/syscall_getspacedefault.c b/lib/syscall_getspacedefault.c new file mode 100644 index 0000000..2c55875 --- /dev/null +++ b/lib/syscall_getspacedefault.c @@ -0,0 +1,37 @@ +// $Id: syscall_getspacedefault.c 2744 2008-07-14 20:09:00Z dhozac $ --*- c -*-- + +// Copyright (C) 2008 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V23) +# include "syscall_getspacedefault-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V23) +uint_least64_t +vc_get_space_default() +{ + CALL_VC(CALL_VC_V23P(vc_get_space_default, 0)); +} +#endif diff --git a/lib/syscall_getspacemask-v21.hc b/lib/syscall_getspacemask-v21.hc new file mode 100644 index 0000000..d5af8b5 --- /dev/null +++ b/lib/syscall_getspacemask-v21.hc @@ -0,0 +1,32 @@ +// $Id: syscall_getspacemask-v21.hc 2818 2008-10-31 15:40:01Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE uint_least64_t +vc_get_space_mask_spaces(int UNUSED tmp) +{ + struct vcmd_space_mask_v1 data = { .mask = 0 }; + int ret = vserver(VCMD_get_space_mask_v0, 0, &data); + if (ret) + return ret; + return data.mask & ~(CLONE_NEWNS|CLONE_FS); +} diff --git a/lib/syscall_getspacemask-v23.hc b/lib/syscall_getspacemask-v23.hc new file mode 100644 index 0000000..86f6da8 --- /dev/null +++ b/lib/syscall_getspacemask-v23.hc @@ -0,0 +1,32 @@ +// $Id: syscall_getspacemask-v23.hc 2818 2008-10-31 15:40:01Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE uint_least64_t +vc_get_space_mask_v23(int UNUSED tmp) +{ + struct vcmd_space_mask_v1 data = { .mask = 0 }; + int ret = vserver(VCMD_get_space_mask, 0, &data); + if (ret) + return ret; + return data.mask & ~(CLONE_NEWNS|CLONE_FS); +} diff --git a/lib/syscall_getspacemask.c b/lib/syscall_getspacemask.c new file mode 100644 index 0000000..d23a5b0 --- /dev/null +++ b/lib/syscall_getspacemask.c @@ -0,0 +1,47 @@ +// $Id: syscall_getspacemask.c 2818 2008-10-31 15:40:01Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) && defined(VC_ENABLE_API_V23) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_getspacemask-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V23) +# include "syscall_getspacemask-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V21) || defined(VC_ENABLE_API_V23) +uint_least64_t +vc_get_space_mask() +{ + CALL_VC(CALL_VC_V23P (vc_get_space_mask, 0), + CALL_VC_SPACES(vc_get_space_mask, 0)); +} +#endif diff --git a/lib/syscall_gettasknid-net.hc b/lib/syscall_gettasknid-net.hc new file mode 100644 index 0000000..453eae6 --- /dev/null +++ b/lib/syscall_gettasknid-net.hc @@ -0,0 +1,28 @@ +// $Id: syscall_gettasknid-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE nid_t +vc_get_task_nid_net(pid_t pid) +{ + nid_t res=vserver(VCMD_task_nid, pid, 0); + return NID_KERNEL2USER(res); +} diff --git a/lib/syscall_gettasknid.c b/lib/syscall_gettasknid.c new file mode 100644 index 0000000..5d4ce76 --- /dev/null +++ b/lib/syscall_gettasknid.c @@ -0,0 +1,37 @@ +// $Id: syscall_gettasknid.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_NET +# include "syscall_gettasknid-net.hc" +#endif + +#ifdef VC_ENABLE_API_NET +nid_t +vc_get_task_nid(pid_t pid) +{ + CALL_VC(CALL_VC_NET(vc_get_task_nid, pid)); +} +#endif diff --git a/lib/syscall_gettaskxid-oldproc.hc b/lib/syscall_gettaskxid-oldproc.hc new file mode 100644 index 0000000..95fdd94 --- /dev/null +++ b/lib/syscall_gettaskxid-oldproc.hc @@ -0,0 +1,47 @@ +// $Id: syscall_gettaskxid-oldproc.hc 738 2004-02-02 18:58:00Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "utils-legacy.h" + +static xid_t +getctx_legacy_internal(pid_t pid) +{ + size_t bufsize = utilvserver_getProcEntryBufsize(); + char buf[bufsize]; + char *pos = 0; + + pos = utilvserver_getProcEntry(pid, "\ns_context: ", buf, bufsize); + + if (pos!=0) return atoi(pos); + else return VC_NOCTX; +} + +static inline ALWAYSINLINE xid_t +vc_get_task_xid_oldproc(pid_t pid) +{ + xid_t res; + do { + res = getctx_legacy_internal(pid); + } while (res==VC_NOCTX && errno==EAGAIN); + + return res; +} diff --git a/lib/syscall_gettaskxid-v13.hc b/lib/syscall_gettaskxid-v13.hc new file mode 100644 index 0000000..8405617 --- /dev/null +++ b/lib/syscall_gettaskxid-v13.hc @@ -0,0 +1,28 @@ +// $Id: syscall_gettaskxid-v13.hc 701 2004-01-22 21:35:36Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE xid_t +vc_get_task_xid_v13(pid_t pid) +{ + xid_t res=vserver(VCMD_task_xid, pid, 0); + return CTX_KERNEL2USER(res); +} diff --git a/lib/syscall_gettaskxid.c b/lib/syscall_gettaskxid.c new file mode 100644 index 0000000..cb40109 --- /dev/null +++ b/lib/syscall_gettaskxid.c @@ -0,0 +1,44 @@ +// $Id: syscall_gettaskxid.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_OLDPROC) && defined(VC_ENABLE_API_V13) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_gettaskxid-v13.hc" +#endif + +#ifdef VC_ENABLE_API_OLDPROC +# include "syscall_gettaskxid-oldproc.hc" +#endif + +xid_t +vc_get_task_xid(pid_t pid) +{ + CALL_VC(CALL_VC_V13 (vc_get_task_xid, pid), + CALL_VC_OLDPROC(vc_get_task_xid, pid)); +} diff --git a/lib/syscall_getvci-v21.hc b/lib/syscall_getvci-v21.hc new file mode 100644 index 0000000..93c70f7 --- /dev/null +++ b/lib/syscall_getvci-v21.hc @@ -0,0 +1,27 @@ +// $Id: syscall_getvci-v21.hc 2589 2007-08-16 03:06:50Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE vc_vci_t +vc_get_vci_v21(int UNUSED tmp) +{ + return vserver(VCMD_get_vci, 0, 0); +} diff --git a/lib/syscall_getvci.c b/lib/syscall_getvci.c new file mode 100644 index 0000000..a21f661 --- /dev/null +++ b/lib/syscall_getvci.c @@ -0,0 +1,39 @@ +// $Id: syscall_getvci.c 2589 2007-08-16 03:06:50Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_getvci-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) + +vc_vci_t +vc_get_vci() +{ + CALL_VC(CALL_VC_V21(vc_get_vci, 0)); +} + +#endif diff --git a/lib/syscall_getvhiname-olduts.hc b/lib/syscall_getvhiname-olduts.hc new file mode 100644 index 0000000..55ab457 --- /dev/null +++ b/lib/syscall_getvhiname-olduts.hc @@ -0,0 +1,38 @@ +// $Id: syscall_getvhiname-olduts.hc 733 2004-02-02 18:32:53Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_vhi_name_olduts(xid_t xid, vc_uts_type type, char *val, size_t len) +{ + if (xid!=VC_SAMECTX) { + errno = ESRCH; + return -1; + } + + switch (type) { + case vcVHI_NODENAME : return gethostname (val, len); + case vcVHI_DOMAINNAME : return getdomainname(val, len); + default : + errno = ENOENT; + return -1; + } +} diff --git a/lib/syscall_getvhiname-v13.hc b/lib/syscall_getvhiname-v13.hc new file mode 100644 index 0000000..22d3947 --- /dev/null +++ b/lib/syscall_getvhiname-v13.hc @@ -0,0 +1,49 @@ +// $Id: syscall_getvhiname-v13.hc 2242 2006-01-04 12:29:15Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + + // HACK: workaround naming changes instead of defining yet another interface + // version +#if !defined(VCMD_get_vhi_name) && defined(VCMD_vx_get_vhi_name) +# define VCMD_get_vhi_name VCMD_vx_get_vhi_name +# define vcmd_vhi_name_v0 vcmd_vxi_vhi_name_v0 +#endif + + +static inline ALWAYSINLINE int +vc_get_vhi_name_v13(xid_t xid, vc_uts_type type, char *val, size_t len) +{ + struct vcmd_vhi_name_v0 cmd; + int rc; + size_t l = sizeof(cmd.name); + + cmd.field = VHI_USER2KERNEL(type); + rc = vserver(VCMD_get_vhi_name, CTX_USER2KERNEL(xid), &cmd); + ENSC_FIX_IOCTL(rc); + if (rc==-1) return -1; + + l = l>len ? len : l; + strncpy(val, cmd.name, l); + /* DO NOT terminate 'val' with '\0' explicitly */ + return 0; +} diff --git a/lib/syscall_getvhiname.c b/lib/syscall_getvhiname.c new file mode 100644 index 0000000..1ade5bc --- /dev/null +++ b/lib/syscall_getvhiname.c @@ -0,0 +1,44 @@ +// $Id: syscall_getvhiname.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_OLDUTS) && defined(VC_ENABLE_API_V13) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_getvhiname-v13.hc" +#endif + +#ifdef VC_ENABLE_API_OLDUTS +# include "syscall_getvhiname-olduts.hc" +#endif + +int +vc_get_vhi_name(xid_t xid, vc_uts_type type, char *val, size_t len) +{ + CALL_VC(CALL_VC_V13 (vc_get_vhi_name, xid, type, val, len), + CALL_VC_OLDUTS(vc_get_vhi_name, xid, type, val, len)); +} diff --git a/lib/syscall_getvxinfo-oldproc.hc b/lib/syscall_getvxinfo-oldproc.hc new file mode 100644 index 0000000..0fddfdc --- /dev/null +++ b/lib/syscall_getvxinfo-oldproc.hc @@ -0,0 +1,29 @@ +// $Id: syscall_getvxinfo-oldproc.hc 1091 2004-03-05 04:40:59Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_vx_info_oldproc(xid_t UNUSED xid, struct vc_vx_info UNUSED *info) +{ + // TODO: ??? + errno = ENOSYS; + return -1; +} diff --git a/lib/syscall_getvxinfo-v13.hc b/lib/syscall_getvxinfo-v13.hc new file mode 100644 index 0000000..8792a40 --- /dev/null +++ b/lib/syscall_getvxinfo-v13.hc @@ -0,0 +1,44 @@ +// $Id: syscall_getvxinfo-v13.hc 970 2004-02-20 17:04:12Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_get_vx_info_v13(xid_t xid, struct vc_vx_info *info) +{ + if (xid==0 || xid==1) { + info->xid = xid; + info->initpid = -1; + + return 0; + } + else { + struct vcmd_vx_info_v0 res; + int rc; + + rc = vserver(VCMD_vx_info, CTX_USER2KERNEL(xid), &res); + if (rc==-1) return -1; + + info->xid = CTX_KERNEL2USER(res.xid); + info->initpid = res.initpid; + + return rc; + } +} diff --git a/lib/syscall_getvxinfo.c b/lib/syscall_getvxinfo.c new file mode 100644 index 0000000..b75917e --- /dev/null +++ b/lib/syscall_getvxinfo.c @@ -0,0 +1,48 @@ +// $Id: syscall_getvxinfo.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_OLDPROC) && defined(VC_ENABLE_API_V13) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_getvxinfo-v13.hc" +#endif + +#ifdef VC_ENABLE_API_OLDPROC +# include "syscall_getvxinfo-oldproc.hc" +#endif + +int +vc_get_vx_info(xid_t xid, struct vc_vx_info *info) +{ + if (info==0) { + errno = EFAULT; + return -1; + } + CALL_VC(CALL_VC_V13 (vc_get_vx_info, xid, info), + CALL_VC_OLDPROC(vc_get_vx_info, xid, info)); +} diff --git a/lib/syscall_kill-v11.hc b/lib/syscall_kill-v11.hc new file mode 100644 index 0000000..de7357a --- /dev/null +++ b/lib/syscall_kill-v11.hc @@ -0,0 +1,31 @@ +// $Id: syscall_kill-v11.hc 736 2004-02-02 18:55:52Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_ctx_kill_v11(xid_t ctx, pid_t pid, int sig) +{ + struct vcmd_ctx_kill_v0 param = { .pid = 0 }; + param.pid = pid; + param.sig = sig; + + return vserver(VCMD_ctx_kill, CTX_USER2KERNEL(ctx), ¶m); +} diff --git a/lib/syscall_kill.c b/lib/syscall_kill.c new file mode 100644 index 0000000..c530a0e --- /dev/null +++ b/lib/syscall_kill.c @@ -0,0 +1,48 @@ +// $Id: syscall_kill.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V11) || defined(VC_ENABLE_API_V13) +# include "syscall_kill-v11.hc" +#endif + +#ifdef VC_ENABLE_API_V13 +# define vc_ctx_kill_v13 vc_ctx_kill_v11 +#endif + + +#if defined(VC_ENABLE_API_V11) || defined(VC_ENABLE_API_V13) + + // NOTICE: the reverse order of V11 -> V13 is correct here since these are + // the same syscalls + +int +vc_ctx_kill(xid_t ctx, pid_t pid, int sig) +{ + CALL_VC(CALL_VC_V11(vc_ctx_kill, ctx, pid, sig), + CALL_VC_V13(vc_ctx_kill, ctx, pid, sig)); +} + +#endif diff --git a/lib/syscall_netadd-net.hc b/lib/syscall_netadd-net.hc new file mode 100644 index 0000000..a22090f --- /dev/null +++ b/lib/syscall_netadd-net.hc @@ -0,0 +1,51 @@ +// $Id: syscall_netadd-net.hc 2584 2007-08-10 15:28:42Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_net_add_net(nid_t nid, struct vc_net_addr const *info) +{ + struct vcmd_net_addr_v0 k_info; + size_t i; + + k_info.type = info->vna_type & (VC_NXA_TYPE_IPV4|VC_NXA_TYPE_IPV6|VC_NXA_MOD_BCAST); + k_info.count = 1; + + if ((k_info.type | VC_NXA_TYPE_ADDR) != info->vna_type) { + errno = EINVAL; + return -1; + } + + switch (k_info.type) { + case VC_NXA_TYPE_IPV4: + case VC_NXA_TYPE_IPV4 | VC_NXA_MOD_BCAST: + k_info.ip[0].s_addr = info->vna_v4_ip.s_addr; + k_info.mask[0].s_addr = info->vna_v4_mask.s_addr; + break; + case VC_NXA_TYPE_IPV6: + for (i = 0; i < 4; i++) + k_info.ip[i].s_addr = info->vna_v6_ip.s6_addr32[i]; + k_info.mask[0].s_addr = info->vna_prefix; + break; + } + + return vserver(VCMD_net_add_v0, NID_USER2KERNEL(nid), &k_info); +} diff --git a/lib/syscall_netadd-netv2.hc b/lib/syscall_netadd-netv2.hc new file mode 100644 index 0000000..247ebdb --- /dev/null +++ b/lib/syscall_netadd-netv2.hc @@ -0,0 +1,57 @@ +// $Id: syscall_netadd-netv2.hc 2708 2008-03-26 22:22:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_net_add_netv2(nid_t nid, struct vc_net_addr const *info) +{ + switch (info->vna_type & (VC_NXA_TYPE_IPV4 | VC_NXA_TYPE_IPV6)) { + case VC_NXA_TYPE_IPV4: { + struct vcmd_net_addr_ipv4_v1 k_info; + + k_info.type = info->vna_type & ~VC_NXA_TYPE_IPV4; + k_info.flags = info->vna_flags; + k_info.ip.s_addr = info->vna_v4_ip.s_addr; + k_info.mask.s_addr = info->vna_v4_mask.s_addr; + + if (k_info.ip.s_addr == 0) { + k_info.type = VC_NXA_TYPE_MASK; + k_info.mask.s_addr = 0; + } + + return vserver(VCMD_net_add_ipv4, NID_USER2KERNEL(nid), &k_info); + } + case VC_NXA_TYPE_IPV6: { + struct vcmd_net_addr_ipv6_v1 k_info; + + k_info.type = info->vna_type & ~VC_NXA_TYPE_IPV6; + k_info.flags = info->vna_flags; + k_info.prefix = info->vna_prefix; + memcpy(k_info.ip.s6_addr, info->vna_v6_ip.s6_addr, sizeof(struct in6_addr)); + memcpy(k_info.mask.s6_addr, info->vna_v6_mask.s6_addr, sizeof(struct in6_addr)); + + return vserver(VCMD_net_add_ipv6, NID_USER2KERNEL(nid), &k_info); + } + default: + errno = EINVAL; + return -1; + } +} diff --git a/lib/syscall_netadd.c b/lib/syscall_netadd.c new file mode 100644 index 0000000..fdc0167 --- /dev/null +++ b/lib/syscall_netadd.c @@ -0,0 +1,53 @@ +// $Id: syscall_netadd.c 2578 2007-08-08 20:05:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) && defined(VC_ENABLE_API_NETV2) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_netadd-net.hc" +#endif + +#if defined(VC_ENABLE_API_NETV2) +# include "syscall_netadd-netv2.hc" +#endif + +#if defined(VC_ENABLE_API_NET) || defined(VC_ENABLE_API_NETV2) +int +vc_net_add(nid_t nid, struct vc_net_addr const *info) +{ + if (info==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_NETV2(vc_net_add, nid, info), + CALL_VC_NET (vc_net_add, nid, info)); +} +#endif diff --git a/lib/syscall_netcreate-net.hc b/lib/syscall_netcreate-net.hc new file mode 100644 index 0000000..684f4e1 --- /dev/null +++ b/lib/syscall_netcreate-net.hc @@ -0,0 +1,29 @@ +// $Id: syscall_netcreate-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE nid_t +vc_net_create_net(nid_t nid) +{ + nid_t res = vserver(VCMD_net_create, NID_USER2KERNEL(nid), 0); + + return NID_KERNEL2USER(res); +} diff --git a/lib/syscall_netcreate.c b/lib/syscall_netcreate.c new file mode 100644 index 0000000..d96f372 --- /dev/null +++ b/lib/syscall_netcreate.c @@ -0,0 +1,37 @@ +// $Id: syscall_netcreate.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_netcreate-net.hc" +#endif + +#if defined(VC_ENABLE_API_NET) +nid_t +vc_net_create(nid_t nid) +{ + CALL_VC(CALL_VC_NET(vc_net_create, nid)); +} +#endif diff --git a/lib/syscall_netmigrate-net.hc b/lib/syscall_netmigrate-net.hc new file mode 100644 index 0000000..2bc95e1 --- /dev/null +++ b/lib/syscall_netmigrate-net.hc @@ -0,0 +1,27 @@ +// $Id: syscall_netmigrate-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_net_migrate_net(nid_t nid) +{ + return vserver(VCMD_net_migrate, NID_USER2KERNEL(nid), 0); +} diff --git a/lib/syscall_netmigrate.c b/lib/syscall_netmigrate.c new file mode 100644 index 0000000..490b83d --- /dev/null +++ b/lib/syscall_netmigrate.c @@ -0,0 +1,37 @@ +// $Id: syscall_netmigrate.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_netmigrate-net.hc" +#endif + +#if defined(VC_ENABLE_API_NET) +int +vc_net_migrate(nid_t nid) +{ + CALL_VC(CALL_VC_NET(vc_net_migrate, nid)); +} +#endif diff --git a/lib/syscall_netremove-net.hc b/lib/syscall_netremove-net.hc new file mode 100644 index 0000000..a0ccc1d --- /dev/null +++ b/lib/syscall_netremove-net.hc @@ -0,0 +1,51 @@ +// $Id: syscall_netremove-net.hc 2578 2007-08-08 20:05:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_net_remove_net(nid_t nid, struct vc_net_addr const *info) +{ + struct vcmd_net_addr_v0 k_info; + size_t i; + + k_info.type = info->vna_type & (VC_NXA_TYPE_IPV4|VC_NXA_TYPE_IPV6); + k_info.count = 1; + switch (info->vna_type) { + case VC_NXA_TYPE_IPV4 | VC_NXA_TYPE_ADDR: + k_info.ip[0].s_addr = info->vna_v4_ip.s_addr; + k_info.mask[0].s_addr = info->vna_v4_mask.s_addr; + break; + case VC_NXA_TYPE_IPV6 | VC_NXA_TYPE_ADDR: + for (i = 0; i < 4; i++) + k_info.ip[i].s_addr = info->vna_v6_ip.s6_addr32[i]; + k_info.mask[0].s_addr = info->vna_prefix; + break; + case VC_NXA_TYPE_ANY: + k_info.type = (uint16_t) -1; + k_info.count = -1; + break; + default: + errno = EINVAL; + return -1; + } + + return vserver(VCMD_net_remove_v0, NID_USER2KERNEL(nid), &k_info); +} diff --git a/lib/syscall_netremove-netv2.hc b/lib/syscall_netremove-netv2.hc new file mode 100644 index 0000000..7e133fb --- /dev/null +++ b/lib/syscall_netremove-netv2.hc @@ -0,0 +1,65 @@ +// $Id: syscall_netremove-netv2.hc 2700 2008-03-10 19:59:18Z dhozac $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_net_remove_netv2(nid_t nid, struct vc_net_addr const *info) +{ + if (info->vna_type == VC_NXA_TYPE_ANY) { + struct vcmd_net_addr_ipv4_v1 k_ipv4; + struct vcmd_net_addr_ipv6_v1 k_ipv6; + int ret; + + k_ipv4.type = VC_NXA_TYPE_ANY; + k_ipv6.type = VC_NXA_TYPE_ANY; + + ret = vserver(VCMD_net_remove_ipv6, NID_USER2KERNEL(nid), &k_ipv6); + if (ret == -1 && errno != ENOSYS) + return -1; + return vserver(VCMD_net_remove_ipv4, NID_USER2KERNEL(nid), &k_ipv4); + } + switch (info->vna_type & (VC_NXA_TYPE_IPV4 | VC_NXA_TYPE_IPV6)) { + case VC_NXA_TYPE_IPV4: { + struct vcmd_net_addr_ipv4_v1 k_info; + + k_info.type = info->vna_type & ~VC_NXA_TYPE_IPV4; + k_info.flags = info->vna_flags; + k_info.ip.s_addr = info->vna_v4_ip.s_addr; + k_info.mask.s_addr = info->vna_v4_mask.s_addr; + + return vserver(VCMD_net_remove_ipv4, NID_USER2KERNEL(nid), &k_info); + } + case VC_NXA_TYPE_IPV6: { + struct vcmd_net_addr_ipv6_v1 k_info; + + k_info.type = info->vna_type & ~VC_NXA_TYPE_IPV6; + k_info.flags = info->vna_flags; + k_info.prefix = info->vna_prefix; + memcpy(k_info.ip.s6_addr, info->vna_v6_ip.s6_addr, sizeof(struct in6_addr)); + memcpy(k_info.mask.s6_addr, info->vna_v6_mask.s6_addr, sizeof(struct in6_addr)); + + return vserver(VCMD_net_remove_ipv6, NID_USER2KERNEL(nid), &k_info); + } + default: + errno = EINVAL; + return -1; + } +} diff --git a/lib/syscall_netremove.c b/lib/syscall_netremove.c new file mode 100644 index 0000000..25430ab --- /dev/null +++ b/lib/syscall_netremove.c @@ -0,0 +1,53 @@ +// $Id: syscall_netremove.c 2578 2007-08-08 20:05:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) && defined(VC_ENABLE_API_NETV2) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_netremove-net.hc" +#endif + +#if defined(VC_ENABLE_API_NETV2) +# include "syscall_netremove-netv2.hc" +#endif + +#if defined(VC_ENABLE_API_NET) || defined(VC_ENABLE_API_NETV2) +int +vc_net_remove(nid_t nid, struct vc_net_addr const *info) +{ + if (info==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_NETV2(vc_net_remove, nid, info), + CALL_VC_NET (vc_net_remove, nid, info)); +} +#endif diff --git a/lib/syscall_remdlimit-v13.hc b/lib/syscall_remdlimit-v13.hc new file mode 100644 index 0000000..9b9fd26 --- /dev/null +++ b/lib/syscall_remdlimit-v13.hc @@ -0,0 +1,34 @@ +// $Id: syscall_remdlimit-v13.hc 1881 2005-03-02 01:29:44Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_rem_dlimit_v13b(char const *filename, xid_t xid, uint32_t flags) +{ + struct vcmd_ctx_dlimit_base_v0 init = { + .name = filename, + .flags = flags + }; + + return vserver(VCMD_rem_dlimit, CTX_USER2KERNEL(xid), &init); +} diff --git a/lib/syscall_remdlimit.c b/lib/syscall_remdlimit.c new file mode 100644 index 0000000..1cd385b --- /dev/null +++ b/lib/syscall_remdlimit.c @@ -0,0 +1,36 @@ +// $Id: syscall_remdlimit.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_remdlimit-v13.hc" +#endif + +int +vc_rem_dlimit(char const *filename, xid_t xid, uint32_t flags) +{ + CALL_VC(CALL_VC_V13B(vc_rem_dlimit, filename, xid, flags)); +} diff --git a/lib/syscall_resetminmax-v21.hc b/lib/syscall_resetminmax-v21.hc new file mode 100644 index 0000000..4b425b2 --- /dev/null +++ b/lib/syscall_resetminmax-v21.hc @@ -0,0 +1,27 @@ +// $Id: syscall_resetminmax-v21.hc 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_reset_minmax_v21(xid_t ctx) +{ + return vserver(VCMD_reset_minmax, CTX_USER2KERNEL(ctx), 0); +} diff --git a/lib/syscall_resetminmax.c b/lib/syscall_resetminmax.c new file mode 100644 index 0000000..c012b02 --- /dev/null +++ b/lib/syscall_resetminmax.c @@ -0,0 +1,39 @@ +// $Id: syscall_resetminmax.c 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_resetminmax-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) + +int +vc_reset_minmax(xid_t ctx) +{ + CALL_VC(CALL_VC_V21(vc_reset_minmax, ctx)); +} + +#endif diff --git a/lib/syscall_rlimit-v11.hc b/lib/syscall_rlimit-v11.hc new file mode 100644 index 0000000..e74da6f --- /dev/null +++ b/lib/syscall_rlimit-v11.hc @@ -0,0 +1,75 @@ +// $Id: syscall_rlimit-v11.hc 976 2004-02-20 19:03:24Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#define KERN2USR(LIMIT) \ + (((LIMIT)==CRLIM_INFINITY) ? VC_LIM_INFINITY : \ + ((LIMIT)==CRLIM_KEEP) ? VC_LIM_KEEP : (LIMIT)) + +#define USR2KERN(LIMIT) \ + (((LIMIT)==VC_LIM_INFINITY) ? CRLIM_INFINITY : \ + ((LIMIT)==VC_LIM_KEEP) ? CRLIM_KEEP : (LIMIT)) + +static inline ALWAYSINLINE int +vc_get_rlimit_v11(xid_t ctx, int resource, struct vc_rlimit *lim) +{ + struct vcmd_ctx_rlimit_v0 vc_lim; + int rc; + + vc_lim.id = resource; + rc = vserver(VCMD_get_rlimit, CTX_USER2KERNEL(ctx), &vc_lim); + lim->min = KERN2USR(vc_lim.minimum); + lim->soft = KERN2USR(vc_lim.softlimit); + lim->hard = KERN2USR(vc_lim.maximum); + + return rc; +} + +static inline ALWAYSINLINE int +vc_set_rlimit_v11(xid_t ctx, int resource, struct vc_rlimit const *lim) +{ + struct vcmd_ctx_rlimit_v0 vc_lim; + + vc_lim.id = resource; + vc_lim.minimum = USR2KERN(lim->min); + vc_lim.softlimit = USR2KERN(lim->soft); + vc_lim.maximum = USR2KERN(lim->hard); + + return vserver(VCMD_set_rlimit, CTX_USER2KERNEL(ctx), &vc_lim); +} + +static inline ALWAYSINLINE int +vc_get_rlimit_mask_v11(xid_t ctx, int UNUSED tmp, struct vc_rlimit_mask *lim) +{ + struct vcmd_ctx_rlimit_mask_v0 vc_lim; + int rc; + + rc = vserver(VCMD_get_rlimit_mask, CTX_USER2KERNEL(ctx), &vc_lim); + + lim->min = vc_lim.minimum; + lim->soft = vc_lim.softlimit; + lim->hard = vc_lim.maximum; + + return rc; +} + +#undef KERN2USR +#undef USR2KERN diff --git a/lib/syscall_rlimit.c b/lib/syscall_rlimit.c new file mode 100644 index 0000000..61b3070 --- /dev/null +++ b/lib/syscall_rlimit.c @@ -0,0 +1,69 @@ +// $Id: syscall_rlimit.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif +#include "compat.h" + +#include "vserver.h" +#include "internal.h" +#include "virtual.h" + + +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V11) || defined(VC_ENABLE_API_V13) +# include "syscall_rlimit-v11.hc" +#endif + +#ifdef VC_ENABLE_API_V13 +# define vc_get_rlimit_v13 vc_get_rlimit_v11 +# define vc_set_rlimit_v13 vc_set_rlimit_v11 +# define vc_get_rlimit_mask_v13 vc_get_rlimit_mask_v11 +#endif + + +#if defined(VC_ENABLE_API_V11) || defined(VC_ENABLE_API_V13) + + // NOTICE: the reverse order of V11 -> V13 is correct here since these are + // the same syscalls + +int +vc_get_rlimit(xid_t ctx, int resource, struct vc_rlimit *lim) +{ + CALL_VC(CALL_VC_V11(vc_get_rlimit, ctx, resource, lim), + CALL_VC_V13(vc_get_rlimit, ctx, resource, lim)); +} + +int +vc_set_rlimit(xid_t ctx, int resource, struct vc_rlimit const *lim) +{ + CALL_VC(CALL_VC_V11(vc_set_rlimit, ctx, resource, lim), + CALL_VC_V13(vc_set_rlimit, ctx, resource, lim)); +} + +int +vc_get_rlimit_mask(xid_t ctx, struct vc_rlimit_mask *lim) +{ + CALL_VC(CALL_VC_V11(vc_get_rlimit_mask, ctx, 0, lim), + CALL_VC_V13(vc_get_rlimit_mask, ctx, 0, lim)); +} + + +#endif diff --git a/lib/syscall_rlimitstat-v21.hc b/lib/syscall_rlimitstat-v21.hc new file mode 100644 index 0000000..601e6a3 --- /dev/null +++ b/lib/syscall_rlimitstat-v21.hc @@ -0,0 +1,39 @@ +// $Id: syscall_rlimitstat-v21.hc 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_rlimit_stat_v21(xid_t ctx, int resource, struct vc_rlimit_stat *stat) +{ + struct vcmd_rlimit_stat_v0 param = { .id = resource }; + int ret; + + ret = vserver(VCMD_rlimit_stat, CTX_USER2KERNEL(ctx), ¶m); + if (ret) + return ret; + + stat->hits = param.hits; + stat->value = param.value; + stat->minimum = param.minimum; + stat->maximum = param.maximum; + + return 0; +} diff --git a/lib/syscall_rlimitstat.c b/lib/syscall_rlimitstat.c new file mode 100644 index 0000000..d2896ec --- /dev/null +++ b/lib/syscall_rlimitstat.c @@ -0,0 +1,39 @@ +// $Id: syscall_rlimitstat.c 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_rlimitstat-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) + +int +vc_rlimit_stat(xid_t ctx, int resource, struct vc_rlimit_stat *stat) +{ + CALL_VC(CALL_VC_V21(vc_rlimit_stat, ctx, resource, stat)); +} + +#endif diff --git a/lib/syscall_schedinfo-v21.hc b/lib/syscall_schedinfo-v21.hc new file mode 100644 index 0000000..f153cbb --- /dev/null +++ b/lib/syscall_schedinfo-v21.hc @@ -0,0 +1,41 @@ +// $Id: syscall_schedinfo-v21.hc 2449 2007-01-10 18:53:07Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_sched_info_v21(xid_t ctx, struct vc_sched_info *info) +{ + int ret; + struct vcmd_sched_info param = { .cpu_id = info->cpu_id, .bucket_id = info->bucket_id }; + + ret = vserver(VCMD_sched_info, CTX_USER2KERNEL(ctx), ¶m); + if (ret) + return ret; + +#define G(ATTR) info->ATTR = param.ATTR + G(user_msec); + G(sys_msec); + G(hold_msec); + G(token_usec); + G(vavavoom); + + return 0; +} diff --git a/lib/syscall_schedinfo.c b/lib/syscall_schedinfo.c new file mode 100644 index 0000000..f91c48b --- /dev/null +++ b/lib/syscall_schedinfo.c @@ -0,0 +1,39 @@ +// $Id: syscall_schedinfo.c 2449 2007-01-10 18:53:07Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_schedinfo-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) + +int +vc_sched_info(xid_t ctx, struct vc_sched_info *info) +{ + CALL_VC(CALL_VC_V21(vc_sched_info, ctx, info)); +} + +#endif diff --git a/lib/syscall_setbadness-v23.hc b/lib/syscall_setbadness-v23.hc new file mode 100644 index 0000000..1f438bd --- /dev/null +++ b/lib/syscall_setbadness-v23.hc @@ -0,0 +1,30 @@ +// $Id: syscall_setbadness-v23.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_badness_v23(xid_t xid, int64_t badness) +{ + struct vcmd_badness_v0 data = { + .bias = badness, + }; + return vserver(VCMD_set_badness, xid, &data); +} diff --git a/lib/syscall_setbadness.c b/lib/syscall_setbadness.c new file mode 100644 index 0000000..af31a29 --- /dev/null +++ b/lib/syscall_setbadness.c @@ -0,0 +1,39 @@ +// $Id: syscall_setbadness.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V23) +# include "syscall_setbadness-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V23) + +int +vc_set_badness(xid_t xid, int64_t badness) +{ + CALL_VC(CALL_VC_V23(vc_set_badness, xid, badness)); +} + +#endif diff --git a/lib/syscall_setccaps-v13.hc b/lib/syscall_setccaps-v13.hc new file mode 100644 index 0000000..59c2d5e --- /dev/null +++ b/lib/syscall_setccaps-v13.hc @@ -0,0 +1,33 @@ +// $Id: syscall_setccaps-v13.hc 2367 2006-11-03 19:59:15Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_ccaps_v13(xid_t xid, struct vc_ctx_caps const *caps) +{ + struct vcmd_ctx_caps_v0 k_caps; + + k_caps.bcaps = (caps->bcaps & caps->bmask) | ~caps->bmask; + k_caps.ccaps = caps->ccaps; + k_caps.cmask = caps->cmask; + + return vserver(VCMD_set_ccaps_v0, CTX_USER2KERNEL(xid), &k_caps); +} diff --git a/lib/syscall_setccaps-v21.hc b/lib/syscall_setccaps-v21.hc new file mode 100644 index 0000000..1e67ae1 --- /dev/null +++ b/lib/syscall_setccaps-v21.hc @@ -0,0 +1,39 @@ +// $Id: syscall_setccaps-v21.hc 2372 2006-11-05 17:48:24Z dhozac $ --*- c -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_ccaps_v21(xid_t xid, struct vc_ctx_caps const *caps) +{ + struct vcmd_ctx_caps_v1 k_ccaps; + struct vcmd_bcaps k_bcaps; + int ret; + + k_bcaps.bcaps = caps->bcaps; + k_bcaps.bmask = caps->bmask; + k_ccaps.ccaps = caps->ccaps; + k_ccaps.cmask = caps->cmask; + + ret = vserver(VCMD_set_ccaps, CTX_USER2KERNEL(xid), &k_ccaps); + if (ret) + return ret; + return vserver(VCMD_set_bcaps, CTX_USER2KERNEL(xid), &k_bcaps); +} diff --git a/lib/syscall_setccaps.c b/lib/syscall_setccaps.c new file mode 100644 index 0000000..fe38374 --- /dev/null +++ b/lib/syscall_setccaps.c @@ -0,0 +1,51 @@ +// $Id: syscall_setccaps.c 2367 2006-11-03 19:59:15Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V13) && defined(VC_ENABLE_API_V21) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V13) +# include "syscall_setccaps-v13.hc" +#endif + +#if defined(VC_ENABLE_API_V21) +# include "syscall_setccaps-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21) +int +vc_set_ccaps(xid_t xid, struct vc_ctx_caps const *caps) +{ + if (caps==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_V21(vc_set_ccaps, xid, caps), + CALL_VC_V13A(vc_set_ccaps, xid, caps)); +} +#endif diff --git a/lib/syscall_setcflags-v13.hc b/lib/syscall_setcflags-v13.hc new file mode 100644 index 0000000..55811c2 --- /dev/null +++ b/lib/syscall_setcflags-v13.hc @@ -0,0 +1,37 @@ +// $Id: syscall_setcflags-v13.hc 1449 2004-04-14 23:19:51Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_cflags_v13(xid_t xid, struct vc_ctx_flags const *flags) +{ + struct vcmd_ctx_flags_v0 k_flags; + + if (flags==0) { + errno = EFAULT; + return -1; + } + + k_flags.flagword = flags->flagword; + k_flags.mask = flags->mask; + + return vserver(VCMD_set_cflags, CTX_USER2KERNEL(xid), &k_flags); +} diff --git a/lib/syscall_setcflags.c b/lib/syscall_setcflags.c new file mode 100644 index 0000000..966bea3 --- /dev/null +++ b/lib/syscall_setcflags.c @@ -0,0 +1,42 @@ +// $Id: syscall_setcflags.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V13) +# include "syscall_setcflags-v13.hc" +#endif + +#if defined(VC_ENABLE_API_V13) +int +vc_set_cflags(xid_t xid, struct vc_ctx_flags const *flags) +{ + if (flags==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_V13A(vc_set_cflags, xid, flags)); +} +#endif diff --git a/lib/syscall_setdlimit-v13.hc b/lib/syscall_setdlimit-v13.hc new file mode 100644 index 0000000..1b1966d --- /dev/null +++ b/lib/syscall_setdlimit-v13.hc @@ -0,0 +1,40 @@ +// $Id: syscall_setdlimit-v13.hc 1881 2005-03-02 01:29:44Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_set_dlimit_v13b(char const *filename, xid_t xid, + uint_least32_t flags, struct vc_ctx_dlimit const *limits) +{ + struct vcmd_ctx_dlimit_v0 attr = { + .name = filename, + .flags = flags, + .space_used = CDLIM_USER2KERNEL(limits->space_used), + .space_total = CDLIM_USER2KERNEL(limits->space_total), + .inodes_used = CDLIM_USER2KERNEL(limits->inodes_used), + .inodes_total = CDLIM_USER2KERNEL(limits->inodes_total), + .reserved = CDLIM_USER2KERNEL(limits->reserved), + }; + + return vserver(VCMD_set_dlimit, CTX_USER2KERNEL(xid), &attr); +} diff --git a/lib/syscall_setdlimit.c b/lib/syscall_setdlimit.c new file mode 100644 index 0000000..ec8b972 --- /dev/null +++ b/lib/syscall_setdlimit.c @@ -0,0 +1,37 @@ +// $Id: syscall_setdlimit.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_setdlimit-v13.hc" +#endif + +int +vc_set_dlimit(char const *filename, xid_t xid, + uint_least32_t flags, struct vc_ctx_dlimit const *limits) +{ + CALL_VC(CALL_VC_V13B(vc_set_dlimit, filename, xid, flags, limits)); +} diff --git a/lib/syscall_setiattr-fscompat.hc b/lib/syscall_setiattr-fscompat.hc new file mode 100644 index 0000000..cf155ce --- /dev/null +++ b/lib/syscall_setiattr-fscompat.hc @@ -0,0 +1,91 @@ +// $Id: syscall_setiattr-fscompat.hc 2151 2005-07-15 18:06:27Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "ioctl-setext2flags.hc" +#include "ioctl-setfilecontext.hc" +#include "ioctl-setxflg.hc" +#include "ioctl-getxflg.hc" + +#include + +static inline ALWAYSINLINE int +vc_set_iattr_fscompat(char const *filename, + xid_t xid, + uint32_t flags, uint32_t mask) +{ + int fd; + struct stat st; + int stat_rc; + + fd = open(filename, O_RDONLY|O_NONBLOCK); + if (fd==-1) return -1; + + stat_rc = fstat(fd, &st); + if (stat_rc==-1) goto err; + + if ( (mask&VC_IATTR_IUNLINK) ) { + unsigned int const tmp = VC_IMMUTABLE_FILE_FL|VC_IMMUTABLE_LINK_FL; + if (vc_X_set_ext2flags(fd, + (flags&VC_IATTR_IUNLINK) ? tmp : 0, + (flags&VC_IATTR_IUNLINK) ? 0 : tmp)==-1) + goto err; + } + + if ( (mask&VC_IATTR_BARRIER) ) { + if ((flags&VC_IATTR_BARRIER)) { + if (vc_X_set_ext2flags(fd, VC_IMMUTABLE_LINK_FL, 0)==-1 || + fchmod(fd, 0)) + goto err; + } + else { + if (vc_X_set_ext2flags(fd, 0, VC_IMMUTABLE_LINK_FL)==-1 || + fchmod(fd, 0500)) + goto err; + } + } + + if ( (mask&VC_IATTR_XID) && + vc_X_set_filecontext(fd, xid)==-1) + goto err; + + if ( (mask&(VC_IATTR_HIDE|VC_IATTR_WATCH)) ) { + long tmp; + if (vc_X_get_xflg(fd, &tmp)==-1) goto err; + + tmp &= ~( ((mask&VC_IATTR_HIDE) ? 1 : 0) | + ((mask&VC_IATTR_WATCH) ? 2 : 0) ); + tmp |= ( ((flags&VC_IATTR_HIDE) ? 1 : 0) | + ((flags&VC_IATTR_WATCH) ? 2 : 0) ); + + if (vc_X_set_xflg(fd, tmp)==-1) goto err; + } + + close(fd); + return 0; + err: + { + int old_errno = errno; + close(fd); + errno = old_errno; + return -1; + } +} diff --git a/lib/syscall_setiattr-v13.hc b/lib/syscall_setiattr-v13.hc new file mode 100644 index 0000000..b992bab --- /dev/null +++ b/lib/syscall_setiattr-v13.hc @@ -0,0 +1,35 @@ +// $Id: syscall_setiattr-v13.hc 1216 2004-03-12 02:57:01Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_set_iattr_v13(char const *filename, xid_t xid, uint32_t flags, uint32_t mask) +{ + struct vcmd_ctx_iattr_v1 attr; + + attr.name = filename; + attr.xid = CTX_USER2KERNEL(xid); + attr.flags = flags; + attr.mask = mask; + return vserver(VCMD_set_iattr, 0, &attr); +} diff --git a/lib/syscall_setiattr.c b/lib/syscall_setiattr.c new file mode 100644 index 0000000..1ba2fda --- /dev/null +++ b/lib/syscall_setiattr.c @@ -0,0 +1,44 @@ +// $Id: syscall_setiattr.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_FSCOMPAT) && defined(VC_ENABLE_API_V13) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_setiattr-v13.hc" +#endif + +#ifdef VC_ENABLE_API_FSCOMPAT +# include "syscall_setiattr-fscompat.hc" +#endif + +int +vc_set_iattr(char const *filename, xid_t xid, uint32_t flags, uint32_t mask) +{ + CALL_VC(CALL_VC_V13 (vc_set_iattr, filename, xid, flags, mask), + CALL_VC_FSCOMPAT(vc_set_iattr, filename, xid, flags, mask)); +} diff --git a/lib/syscall_setmapping-v21.hc b/lib/syscall_setmapping-v21.hc new file mode 100644 index 0000000..10c6be6 --- /dev/null +++ b/lib/syscall_setmapping-v21.hc @@ -0,0 +1,29 @@ +// $Id: syscall_setmapping-v21.hc 2427 2006-12-12 01:39:54Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_mapping_v21(xid_t xid, const char *device, const char *target, uint32_t flags) +{ + struct vcmd_set_mapping_v0 data = { .device = device, .target = target, .flags = flags }; + return vserver(VCMD_set_mapping, xid, &data); +} diff --git a/lib/syscall_setmapping.c b/lib/syscall_setmapping.c new file mode 100644 index 0000000..23583db --- /dev/null +++ b/lib/syscall_setmapping.c @@ -0,0 +1,38 @@ +// $Id: syscall_setmapping.c 2427 2006-12-12 01:39:54Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_setmapping-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) +int +vc_set_mapping(xid_t xid, const char *device, const char *target, uint32_t flags) +{ + CALL_VC(CALL_VC_V21(vc_set_mapping, xid, device, target, flags)); +} +#endif diff --git a/lib/syscall_setnamespace-v13.hc b/lib/syscall_setnamespace-v13.hc new file mode 100644 index 0000000..ab33419 --- /dev/null +++ b/lib/syscall_setnamespace-v13.hc @@ -0,0 +1,35 @@ +// $Id: syscall_setnamespace-v13.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_set_namespace_v13(xid_t xid, uint_least64_t mask, uint32_t index) +{ + if ((mask & (CLONE_NEWNS|CLONE_FS)) == 0) + return 0; + if (index != 0) { + errno = EINVAL; + return -1; + } + return vserver(VCMD_set_space_v0, CTX_USER2KERNEL(xid), 0); +} diff --git a/lib/syscall_setnamespace-v21.hc b/lib/syscall_setnamespace-v21.hc new file mode 100644 index 0000000..d3b6855 --- /dev/null +++ b/lib/syscall_setnamespace-v21.hc @@ -0,0 +1,35 @@ +// $Id: syscall_setnamespace-v21.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_set_namespace_spaces(xid_t xid, uint_least64_t mask, uint32_t index) +{ + struct vcmd_space_mask_v1 data = { .mask = mask }; + if (index != 0) { + errno = EINVAL; + return -1; + } + return vserver(VCMD_set_space_v1, CTX_USER2KERNEL(xid), &data); +} diff --git a/lib/syscall_setnamespace-v23.hc b/lib/syscall_setnamespace-v23.hc new file mode 100644 index 0000000..e457da4 --- /dev/null +++ b/lib/syscall_setnamespace-v23.hc @@ -0,0 +1,31 @@ +// $Id: syscall_setnamespace-v23.hc 2817 2008-10-31 04:45:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_set_namespace_v23(xid_t xid, uint_least64_t mask, uint32_t index) +{ + struct vcmd_space_mask_v2 data = { .mask = mask, .index = index }; + return vserver(VCMD_set_space, CTX_USER2KERNEL(xid), &data); +} diff --git a/lib/syscall_setnamespace.c b/lib/syscall_setnamespace.c new file mode 100644 index 0000000..25d2455 --- /dev/null +++ b/lib/syscall_setnamespace.c @@ -0,0 +1,49 @@ +// $Id: syscall_setnamespace.c 2817 2008-10-31 04:45:26Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#define VC_MULTIVERSION_SYSCALL 1 +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_setnamespace-v13.hc" +#endif + +#ifdef VC_ENABLE_API_V21 +# include "syscall_setnamespace-v21.hc" +#endif + +#ifdef VC_ENABLE_API_V23 +# include "syscall_setnamespace-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V13) || defined(VC_ENABLE_API_V21) || defined(VC_ENABLE_API_V23) +int +vc_set_namespace(xid_t xid, uint_least64_t mask, uint32_t index) +{ + CALL_VC(CALL_VC_V23P (vc_set_namespace, xid, mask, index), + CALL_VC_SPACES(vc_set_namespace, xid, mask, index), + CALL_VC_V13 (vc_set_namespace, xid, mask, index)); +} +#endif diff --git a/lib/syscall_setncaps-net.hc b/lib/syscall_setncaps-net.hc new file mode 100644 index 0000000..812e244 --- /dev/null +++ b/lib/syscall_setncaps-net.hc @@ -0,0 +1,32 @@ +// $Id: syscall_setncaps-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_ncaps_net(nid_t nid, struct vc_net_caps const *caps) +{ + struct vcmd_net_caps_v0 k_caps; + + k_caps.ncaps = caps->ncaps; + k_caps.cmask = caps->cmask; + + return vserver(VCMD_set_ncaps, NID_USER2KERNEL(nid), &k_caps); +} diff --git a/lib/syscall_setncaps.c b/lib/syscall_setncaps.c new file mode 100644 index 0000000..a1bf0a6 --- /dev/null +++ b/lib/syscall_setncaps.c @@ -0,0 +1,42 @@ +// $Id: syscall_setncaps.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_setncaps-net.hc" +#endif + +#if defined(VC_ENABLE_API_NET) +int +vc_set_ncaps(nid_t nid, struct vc_net_caps const *caps) +{ + if (caps==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_NET(vc_set_ncaps, nid, caps)); +} +#endif diff --git a/lib/syscall_setnflags-net.hc b/lib/syscall_setnflags-net.hc new file mode 100644 index 0000000..1e63989 --- /dev/null +++ b/lib/syscall_setnflags-net.hc @@ -0,0 +1,37 @@ +// $Id: syscall_setnflags-net.hc 1501 2004-04-22 20:46:44Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_nflags_net(nid_t nid, struct vc_net_flags const *flags) +{ + struct vcmd_net_flags_v0 k_flags; + + if (flags==0) { + errno = EFAULT; + return -1; + } + + k_flags.flagword = flags->flagword; + k_flags.mask = flags->mask; + + return vserver(VCMD_set_nflags, NID_USER2KERNEL(nid), &k_flags); +} diff --git a/lib/syscall_setnflags.c b/lib/syscall_setnflags.c new file mode 100644 index 0000000..0dbcb7e --- /dev/null +++ b/lib/syscall_setnflags.c @@ -0,0 +1,42 @@ +// $Id: syscall_setnflags.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_NET) +# include "syscall_setnflags-net.hc" +#endif + +#if defined(VC_ENABLE_API_NET) +int +vc_set_nflags(nid_t nid, struct vc_net_flags const *flags) +{ + if (flags==0) { + errno = EFAULT; + return -1; + } + + CALL_VC(CALL_VC_NET(vc_set_nflags, nid, flags)); +} +#endif diff --git a/lib/syscall_setsched-v13.hc b/lib/syscall_setsched-v13.hc new file mode 100644 index 0000000..c217007 --- /dev/null +++ b/lib/syscall_setsched-v13.hc @@ -0,0 +1,42 @@ +// $Id: syscall_setsched-v13.hc 2367 2006-11-03 19:59:15Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include + +#define X(ATTR) ENSC_SAME_STRUCT_IDX(k_data, *data, ATTR) + +static inline ALWAYSINLINE int +vc_set_sched_v13b(xid_t xid, struct vc_set_sched const *data) +{ + struct vcmd_set_sched_v3 k_data; + + k_data.set_mask = data->set_mask & VC_VXSM_V3_MASK; + k_data.fill_rate = data->fill_rate; + k_data.interval = data->interval; + k_data.tokens = data->tokens; + k_data.tokens_min = data->tokens_min; + k_data.tokens_max = data->tokens_max; + k_data.priority_bias = data->priority_bias; + + return vserver(VCMD_set_sched_v3, CTX_USER2KERNEL(xid), &k_data); +} diff --git a/lib/syscall_setsched-v13obs.hc b/lib/syscall_setsched-v13obs.hc new file mode 100644 index 0000000..98baac0 --- /dev/null +++ b/lib/syscall_setsched-v13obs.hc @@ -0,0 +1,43 @@ +// $Id: syscall_setsched-v13obs.hc 2271 2006-01-22 18:18:28Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include + +#define VCGET(MASK,VAL) ((data->set_mask & (MASK)) ? (VAL) : SCHED_KEEP); + +static inline ALWAYSINLINE int +vc_set_sched_v13obs(xid_t xid, struct vc_set_sched const *data) +{ +#warning vc_set_sched_v13() uses an obsolete interface; remove it in the final version + struct vcmd_set_sched_v2 k_data; + + + k_data.cpu_mask = 0; + k_data.fill_rate = VCGET(VC_VXSM_FILL_RATE, data->fill_rate); + k_data.interval = VCGET(VC_VXSM_INTERVAL, data->interval); + k_data.tokens = VCGET(VC_VXSM_TOKENS, data->tokens); + k_data.tokens_min = VCGET(VC_VXSM_TOKENS_MIN, data->tokens_min); + k_data.tokens_max = VCGET(VC_VXSM_TOKENS_MAX, data->tokens_max); + + return vserver(VCMD_set_sched_v2, CTX_USER2KERNEL(xid), &k_data); +} diff --git a/lib/syscall_setsched-v21.hc b/lib/syscall_setsched-v21.hc new file mode 100644 index 0000000..b38ba02 --- /dev/null +++ b/lib/syscall_setsched-v21.hc @@ -0,0 +1,57 @@ +// $Id: syscall_setsched-v21.hc 2454 2007-01-17 09:56:23Z dhozac $ --*- c -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_set_sched_v21(xid_t xid, struct vc_set_sched const *data) +{ + struct vcmd_set_sched_v4 k_data; + int ret; + + k_data.fill_rate = data->fill_rate; + k_data.interval = data->interval; + k_data.tokens = data->tokens; + k_data.tokens_min = data->tokens_min; + k_data.tokens_max = data->tokens_max; + k_data.prio_bias = data->priority_bias; + k_data.cpu_id = data->cpu_id; + k_data.bucket_id = data->bucket_id; + + if ((data->set_mask & VC_VXSM_FILL_RATE2 && data->fill_rate != data->fill_rate2) || + (data->set_mask & VC_VXSM_INTERVAL2 && data->interval != data->interval2)) { + /* first set the regular values */ + k_data.set_mask = data->set_mask & ~(VC_VXSM_FILL_RATE2|VC_VXSM_INTERVAL2|VC_VXSM_FORCE); + ret = vserver(VCMD_set_sched_v4, CTX_USER2KERNEL(xid), &k_data); + if (ret) + return ret; + /* then set idle time */ + k_data.set_mask = data->set_mask & (VC_VXSM_FILL_RATE2|VC_VXSM_INTERVAL2|VC_VXSM_FORCE|VC_VXSM_IDLE_TIME|VC_VXSM_CPU_ID|VC_VXSM_BUCKET_ID); + k_data.fill_rate = data->fill_rate2; + k_data.interval = data->interval2; + return vserver(VCMD_set_sched_v4, CTX_USER2KERNEL(xid), &k_data); + } + else { + k_data.set_mask = data->set_mask; + return vserver(VCMD_set_sched_v4, CTX_USER2KERNEL(xid), &k_data); + } +} diff --git a/lib/syscall_setsched-v22.hc b/lib/syscall_setsched-v22.hc new file mode 100644 index 0000000..6b815e2 --- /dev/null +++ b/lib/syscall_setsched-v22.hc @@ -0,0 +1,43 @@ +// $Id: syscall_setsched-v22.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" + +static inline ALWAYSINLINE int +vc_set_sched_v22(xid_t xid, struct vc_set_sched const *data) +{ + struct vcmd_sched_v5 k_data; + + k_data.fill_rate[0] = data->fill_rate; + k_data.interval[0] = data->interval; + k_data.fill_rate[1] = data->fill_rate2; + k_data.interval[1] = data->interval2; + k_data.tokens = data->tokens; + k_data.tokens_min = data->tokens_min; + k_data.tokens_max = data->tokens_max; + k_data.prio_bias = data->priority_bias; + k_data.cpu_id = data->cpu_id; + k_data.bucket_id = data->bucket_id; + k_data.mask = data->set_mask; + + return vserver(VCMD_set_sched, CTX_USER2KERNEL(xid), &k_data); +} diff --git a/lib/syscall_setsched.c b/lib/syscall_setsched.c new file mode 100644 index 0000000..25246b3 --- /dev/null +++ b/lib/syscall_setsched.c @@ -0,0 +1,52 @@ +// $Id: syscall_setsched.c 2578 2007-08-08 20:05:26Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#define VC_MULTIVERSION_SYSCALL 1 +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_setsched-v13.hc" +#endif + +#ifdef VC_ENABLE_API_V13OBS +# include "syscall_setsched-v13obs.hc" +#endif + +#ifdef VC_ENABLE_API_V21 +# include "syscall_setsched-v21.hc" +#endif + +#ifdef VC_ENABLE_API_V22 +# include "syscall_setsched-v22.hc" +#endif + +int +vc_set_sched(xid_t xid, struct vc_set_sched const *data) +{ + CALL_VC(CALL_VC_V22 (vc_set_sched,xid,data), + CALL_VC_V21 (vc_set_sched,xid,data), + CALL_VC_V13B (vc_set_sched,xid,data), + CALL_VC_V13OBS(vc_set_sched,xid,data)); +} diff --git a/lib/syscall_setvhiname-olduts.hc b/lib/syscall_setvhiname-olduts.hc new file mode 100644 index 0000000..31d2970 --- /dev/null +++ b/lib/syscall_setvhiname-olduts.hc @@ -0,0 +1,38 @@ +// $Id: syscall_setvhiname-olduts.hc 733 2004-02-02 18:32:53Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_set_vhi_name_olduts(xid_t xid, vc_uts_type type, char const *val, size_t len) +{ + if (xid!=VC_SAMECTX) { + errno = ESRCH; + return -1; + } + + switch (type) { + case vcVHI_NODENAME : return sethostname (val, len); + case vcVHI_DOMAINNAME : return setdomainname(val, len); + default : + errno = ENOENT; + return -1; + } +} diff --git a/lib/syscall_setvhiname-v13.hc b/lib/syscall_setvhiname-v13.hc new file mode 100644 index 0000000..3e6f6f1 --- /dev/null +++ b/lib/syscall_setvhiname-v13.hc @@ -0,0 +1,51 @@ +// $Id: syscall_setvhiname-v13.hc 2133 2005-07-03 17:49:57Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + + // HACK: workaround naming changes instead of defining yet another interface + // version +#if !defined(VCMD_set_vhi_name) && defined(VCMD_vx_set_vhi_name) +# define VCMD_set_vhi_name VCMD_vx_set_vhi_name +# define vcmd_vhi_name_v0 vcmd_vxi_vhi_name_v0 +#endif + +static inline ALWAYSINLINE int +vc_set_vhi_name_v13(xid_t xid, vc_uts_type type, char const *val, size_t len) +{ + struct vcmd_vhi_name_v0 cmd; + int rc; + + if (len>=sizeof(cmd.name)) { + errno = E2BIG; + return -1; + } + + cmd.field = VHI_USER2KERNEL(type); + memcpy(cmd.name, val, len); + cmd.name[len] = '\0'; + + rc = vserver(VCMD_set_vhi_name, CTX_USER2KERNEL(xid), &cmd); + ENSC_FIX_IOCTL(rc); + + return rc; +} diff --git a/lib/syscall_setvhiname.c b/lib/syscall_setvhiname.c new file mode 100644 index 0000000..eaeb84c --- /dev/null +++ b/lib/syscall_setvhiname.c @@ -0,0 +1,46 @@ +// $Id: syscall_setvhiname.c 2207 2005-10-29 10:31:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_OLDUTS) && defined(VC_ENABLE_API_V13) +# define VC_MULTIVERSION_SYSCALL 1 +#endif +#include "vserver-internal.h" + +#ifdef VC_ENABLE_API_V13 +# include "syscall_setvhiname-v13.hc" +#endif + +#ifdef VC_ENABLE_API_OLDUTS +# include "syscall_setvhiname-olduts.hc" +#endif + +int +vc_set_vhi_name(xid_t xid, vc_uts_type type, char const *val, size_t len) +{ + if (len==(size_t)(-1)) len=strlen(val); + + CALL_VC(CALL_VC_V13 (vc_set_vhi_name, xid, type, val, len), + CALL_VC_OLDUTS(vc_set_vhi_name, xid, type, val, len)); +} diff --git a/lib/syscall_tagcreate.c b/lib/syscall_tagcreate.c new file mode 100644 index 0000000..39db617 --- /dev/null +++ b/lib/syscall_tagcreate.c @@ -0,0 +1,39 @@ +// $Id: syscall_tagcreate.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V23) +# include "syscall_tagmigrate-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V23) + +int +vc_tag_create(tag_t tag) +{ + CALL_VC(CALL_VC_TAG(vc_tag_migrate, tag)); +} + +#endif diff --git a/lib/syscall_tagmigrate-v23.hc b/lib/syscall_tagmigrate-v23.hc new file mode 100644 index 0000000..254ff7e --- /dev/null +++ b/lib/syscall_tagmigrate-v23.hc @@ -0,0 +1,28 @@ +// $Id: syscall_tagmigrate-v23.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_tag_migrate_tag(tag_t tag) +{ + tag_t res = vserver(VCMD_tag_migrate, TAG_USER2KERNEL(tag), NULL); + return TAG_KERNEL2USER(res); +} diff --git a/lib/syscall_tagmigrate.c b/lib/syscall_tagmigrate.c new file mode 100644 index 0000000..3f03c76 --- /dev/null +++ b/lib/syscall_tagmigrate.c @@ -0,0 +1,39 @@ +// $Id: syscall_tagmigrate.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V23) +# include "syscall_tagmigrate-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V23) + +int +vc_tag_migrate(tag_t tag) +{ + CALL_VC(CALL_VC_TAG(vc_tag_migrate, tag)); +} + +#endif diff --git a/lib/syscall_tasktag-v23.hc b/lib/syscall_tasktag-v23.hc new file mode 100644 index 0000000..a37681d --- /dev/null +++ b/lib/syscall_tasktag-v23.hc @@ -0,0 +1,27 @@ +// $Id: syscall_tasktag-v23.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE tag_t +vc_get_task_tag_tag(pid_t pid) +{ + return vserver(VCMD_task_tag, pid, NULL); +} diff --git a/lib/syscall_tasktag.c b/lib/syscall_tasktag.c new file mode 100644 index 0000000..3d36c12 --- /dev/null +++ b/lib/syscall_tasktag.c @@ -0,0 +1,39 @@ +// $Id: syscall_tasktag.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "virtual.h" +#include "vserver-internal.h" + +#if defined(VC_ENABLE_API_V23) +# include "syscall_tasktag-v23.hc" +#endif + +#if defined(VC_ENABLE_API_V23) + +tag_t +vc_get_task_tag(pid_t pid) +{ + CALL_VC(CALL_VC_TAG(vc_get_task_tag, pid)); +} + +#endif diff --git a/lib/syscall_unsetmapping-v21.hc b/lib/syscall_unsetmapping-v21.hc new file mode 100644 index 0000000..062e189 --- /dev/null +++ b/lib/syscall_unsetmapping-v21.hc @@ -0,0 +1,33 @@ +// $Id: syscall_unsetmapping-v21.hc 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_unset_mapping_v21(xid_t xid, const char *device, const char *target, uint32_t flags) +{ + struct vcmd_set_mapping_v0 data = { + .device = device, + .target = target, + .flags = flags + }; + return vserver(VCMD_unset_mapping, xid, &data); +} diff --git a/lib/syscall_unsetmapping.c b/lib/syscall_unsetmapping.c new file mode 100644 index 0000000..8403b38 --- /dev/null +++ b/lib/syscall_unsetmapping.c @@ -0,0 +1,38 @@ +// $Id: syscall_unsetmapping.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_unsetmapping-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) +int +vc_unset_mapping(xid_t xid, const char *device, const char *target, uint32_t flags) +{ + CALL_VC(CALL_VC_V21(vc_unset_mapping, xid, device, target, flags)); +} +#endif diff --git a/lib/syscall_virtstat-v21.hc b/lib/syscall_virtstat-v21.hc new file mode 100644 index 0000000..a4d0362 --- /dev/null +++ b/lib/syscall_virtstat-v21.hc @@ -0,0 +1,45 @@ +// $Id: syscall_virtstat-v21.hc 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_virt_stat_v21(xid_t ctx, struct vc_virt_stat *stat) +{ + int ret; + struct vcmd_virt_stat_v0 param; + + ret = vserver(VCMD_virt_stat, CTX_USER2KERNEL(ctx), ¶m); + if (ret) + return ret; + +#define G(ATTR) stat->ATTR = param.ATTR + G(offset); + G(uptime); + G(nr_threads); + G(nr_running); + G(nr_uninterruptible); + G(nr_onhold); + G(nr_forks); + G(load[0]); + G(load[1]); + G(load[2]); + return 0; +} diff --git a/lib/syscall_virtstat.c b/lib/syscall_virtstat.c new file mode 100644 index 0000000..727b508 --- /dev/null +++ b/lib/syscall_virtstat.c @@ -0,0 +1,39 @@ +// $Id: syscall_virtstat.c 2380 2006-11-15 20:14:00Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2006 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V21) +# include "syscall_virtstat-v21.hc" +#endif + +#if defined(VC_ENABLE_API_V21) + +int +vc_virt_stat(xid_t ctx, struct vc_virt_stat *stat) +{ + CALL_VC(CALL_VC_V21(vc_virt_stat, ctx, stat)); +} + +#endif diff --git a/lib/syscall_waitexit-v13.hc b/lib/syscall_waitexit-v13.hc new file mode 100644 index 0000000..6da85ba --- /dev/null +++ b/lib/syscall_waitexit-v13.hc @@ -0,0 +1,29 @@ +// $Id: syscall_waitexit-v13.hc 2317 2006-09-15 21:18:21Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +static inline ALWAYSINLINE int +vc_wait_exit_v13b(xid_t ctx) +{ + struct vcmd_wait_exit_v0 param = { .reboot_cmd = 0, .exit_code = 0 }; + + return vserver(VCMD_wait_exit, CTX_USER2KERNEL(ctx), ¶m); +} diff --git a/lib/syscall_waitexit.c b/lib/syscall_waitexit.c new file mode 100644 index 0000000..cf666a0 --- /dev/null +++ b/lib/syscall_waitexit.c @@ -0,0 +1,39 @@ +// $Id: syscall_waitexit.c 2207 2005-10-29 10:31:42Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include "vserver-internal.h" +#include "virtual.h" + +#if defined(VC_ENABLE_API_V13) +# include "syscall_waitexit-v13.hc" +#endif + +#if defined(VC_ENABLE_API_V13) + +int +vc_wait_exit(xid_t ctx) +{ + CALL_VC(CALL_VC_V13B(vc_wait_exit, ctx)); +} + +#endif diff --git a/lib/tagopt2tag.c b/lib/tagopt2tag.c new file mode 100644 index 0000000..fc23f9f --- /dev/null +++ b/lib/tagopt2tag.c @@ -0,0 +1,57 @@ +// $Id: tagopt2tag.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include +#include + +static tag_t +getVserverTag(char const *id, bool honor_static, char const **err) +{ + *err = "vc_getVserverCtx"; + return vc_getVserverCtx(id, vcCFG_AUTO, honor_static, 0, vcCTX_TAG); +} + +tag_t +vc_tagopt2tag(char const *str, bool honor_static, char const **err_info) +{ + char const * err; + tag_t res = VC_NOCTX; + + err = "vc_task_tag()"; + if (strcmp(str,"self")==0) res = vc_get_task_tag(0); + else if (str[0]==':') res = getVserverTag(str+1, honor_static, &err); + else { + char * endptr; + tag_t tag = strtol(str, &endptr, 10); + + if (endptr!=str && (*endptr=='\0' || *endptr=='\n')) + res = tag; + else + res = getVserverTag(str, honor_static, &err); + } + + if (res==VC_NOCTX && err_info) *err_info = err; + + return res; +} diff --git a/lib/testsuite/Makefile-files b/lib/testsuite/Makefile-files new file mode 100644 index 0000000..5eee70f --- /dev/null +++ b/lib/testsuite/Makefile-files @@ -0,0 +1,49 @@ +## $Id: Makefile-files 2060 2005-04-28 17:54:57Z ensc $ --*- makefile -*-- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +DIETPROGS += lib/testsuite/cflags \ + lib/testsuite/personality \ + lib/testsuite/fmt + +check_PROGRAMS += lib/testsuite/cflags \ + lib/testsuite/personality \ + lib/testsuite/fmt \ + lib/testsuite/parselimit +TESTS += lib/testsuite/cflags \ + lib/testsuite/personality \ + lib/testsuite/fmt \ + lib/testsuite/parselimit + +lib_testsuite_cflags_SOURCES = lib/testsuite/cflags.c +lib_testsuite_cflags_LDADD = $(LIBVSERVER) +lib_testsuite_cflags_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_cflags_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE + +lib_testsuite_personality_SOURCES = lib/testsuite/personality.c +lib_testsuite_personality_LDADD = $(LIBVSERVER) +lib_testsuite_personality_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_personality_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE + +lib_testsuite_fmt_SOURCES = lib/testsuite/fmt.c +lib_testsuite_fmt_LDADD = $(LIBVSERVER) +lib_testsuite_fmt_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_fmt_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE + +lib_testsuite_parselimit_SOURCES = lib/testsuite/parselimit.c +lib_testsuite_parselimit_LDADD = $(LIBVSERVER) +lib_testsuite_parselimit_LDFLAGS = $(VSERVER_LDFLGS) +lib_testsuite_parselimit_CPPFLAGS = $(AM_CPPFLAGS) -DENSC_TESTSUITE diff --git a/lib/testsuite/cflags.c b/lib/testsuite/cflags.c new file mode 100644 index 0000000..d2370ed --- /dev/null +++ b/lib/testsuite/cflags.c @@ -0,0 +1,204 @@ +// $Id: cflags.c 1879 2005-03-02 01:24:25Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "lib_internal/coreassert.h" +#include "vserver.h" + +#include +#include + + +#define TEST_T2F_C(X,Y,Z) assert(vc_text2cflag_compat(X,Y)==Z) +#define TEST_F2T_C(Y,X) { \ + char const *x=vc_hicflag2text_compat(X); \ + assert((x==0 && Y==0) || (x!=0 && Y!=0)); \ + if (x!=0 && Y!=0) assert(strcmp(x, Y ? Y : "")==0); \ + } + +#define TEST_LIST_C(STR,LEN,EXP,ERR_POS,ERR_LEN) { \ + struct vc_err_listparser err; \ + char buf[] = STR; \ + uint32_t res; \ + res = vc_list2cflag_compat(buf, LEN, &err); \ + assert(res==(EXP)); \ + assert(err.len==ERR_LEN); \ + if (ERR_POS==-1) assert(err.ptr==0); \ + else assert(err.ptr==buf+(ERR_POS)); \ + } + +//---- + +#define TEST_T2F(X,Y,Z) assert(vc_text2cflag(X,Y)==Z) +#define TEST_F2T(Y,X) { \ + uint_least64_t x = (X); \ + char const *rc=vc_locflag2text(&x); \ + assert((rc==0 && Y==0) || (rc!=0 && Y!=0)); \ + if (rc!=0 && Y!=0) assert(strcmp(rc, Y ? Y : "")==0); \ + } +#define TEST_LIST(STR,LEN,EXP_RES,EXP_FLAG,EXP_MASK,ERR_POS,ERR_LEN) { \ + struct vc_err_listparser err; \ + char buf[] = STR; \ + volatile int res; \ + struct vc_ctx_flags flags = {0,0}; \ + res = vc_list2cflag(buf, LEN, &err, &flags); \ + assert(res==(EXP_RES)); \ + assert(flags.flagword==(uint_least64_t)(EXP_FLAG)); \ + assert(flags.mask ==(uint_least64_t)(EXP_MASK)); \ + assert(err.len==ERR_LEN); \ + if (ERR_POS==-1) assert(err.ptr==0); \ + else assert(err.ptr==buf+(ERR_POS)); \ + } + +#define ALL64 (~(uint_least64_t)(0)) + +int main() +{ + TEST_T2F_C("lock", 0, S_CTX_INFO_LOCK); + TEST_T2F_C("lockXXXX", 4, S_CTX_INFO_LOCK); + TEST_T2F_C("locXXXXX", 3, 0); + TEST_T2F_C("sched", 0, S_CTX_INFO_SCHED); + TEST_T2F_C("nproc", 0, S_CTX_INFO_NPROC); + TEST_T2F_C("private", 0, S_CTX_INFO_PRIVATE); + TEST_T2F_C("fakeinit", 0, S_CTX_INFO_INIT); + TEST_T2F_C("hideinfo", 0, S_CTX_INFO_HIDEINFO); + TEST_T2F_C("ulimit", 0, S_CTX_INFO_ULIMIT); + TEST_T2F_C("XXX", 0, 0); + TEST_T2F_C("", 0, 0); + + TEST_F2T_C("lock", S_CTX_INFO_LOCK); + TEST_F2T_C("sched", S_CTX_INFO_SCHED); + TEST_F2T_C("nproc", S_CTX_INFO_NPROC); + TEST_F2T_C("private", S_CTX_INFO_PRIVATE); + TEST_F2T_C("fakeinit", S_CTX_INFO_INIT); + TEST_F2T_C("hideinfo", S_CTX_INFO_HIDEINFO); + TEST_F2T_C("ulimit", S_CTX_INFO_ULIMIT); + TEST_F2T_C(0, 0); + TEST_F2T_C("ulimit", 64 | 128 | 23 ); + TEST_F2T_C("fakeinit", 23); + + TEST_LIST_C("lock", 0, S_CTX_INFO_LOCK, -1,0); + TEST_LIST_C("lock,sched,", 0, S_CTX_INFO_LOCK|S_CTX_INFO_SCHED, -1,0); + TEST_LIST_C("lock,XXX", 0, S_CTX_INFO_LOCK, 5,3); + TEST_LIST_C("", 0, 0, -1,0); + TEST_LIST_C("X", 0, 0, 0,1); + TEST_LIST_C("lock,sched,", 10, S_CTX_INFO_LOCK|S_CTX_INFO_SCHED, -1,0); + + //------- + + TEST_T2F("fakeinit", 0, VC_VXF_INFO_INIT); + TEST_T2F("XXX", 0, 0); + TEST_T2F("", 0, 0); + + TEST_F2T("fakeinit", VC_VXF_INFO_INIT); + TEST_F2T(0, 0); + + TEST_LIST("fakeinit", 0, 0, VC_VXF_INFO_INIT, VC_VXF_INFO_INIT,-1,0); + TEST_LIST("FaKeInIt", 0, 0, VC_VXF_INFO_INIT, VC_VXF_INFO_INIT,-1,0); + TEST_LIST("~fakeinit", 0, 0, 0, VC_VXF_INFO_INIT,-1,0); + TEST_LIST("!fakeinit", 0, 0, 0, VC_VXF_INFO_INIT,-1,0); + TEST_LIST("fakeinit,XXX", 0, -1, VC_VXF_INFO_INIT, VC_VXF_INFO_INIT, 9,3); + TEST_LIST("", 0, 0, 0, 0, -1,0); + TEST_LIST("0", 0, 0, 0, 0, -1,0); + TEST_LIST("00", 0, 0, 0, 0, -1,0); + TEST_LIST("X", 0, -1, 0, 0, 0,1); + TEST_LIST("all", 0, 0, ALL64, ALL64, -1,0); + TEST_LIST("ALL", 0, 0, ALL64, ALL64, -1,0); + TEST_LIST("any", 0, 0, ALL64, ALL64, -1,0); + TEST_LIST("ANY", 0, 0, ALL64, ALL64, -1,0); + TEST_LIST("~all", 0, 0, 0, ALL64, -1,0); + TEST_LIST("~ALL", 0, 0, 0, ALL64, -1,0); + TEST_LIST("none", 0, 0, 0, 0, -1,0); + TEST_LIST("NONE", 0, 0, 0, 0, -1,0); + TEST_LIST("~none", 0, 0, 0, 0, -1,0); + TEST_LIST("~NONE", 0, 0, 0, 0, -1,0); + TEST_LIST("all,~fakeinit",0, 0, ~VC_VXF_INFO_INIT,ALL64, -1,0); + TEST_LIST("~all,fakeinit",0, 0, VC_VXF_INFO_INIT, ALL64, -1,0); + TEST_LIST("fakeinit,~all",0, 0, 0, ALL64, -1,0); + TEST_LIST("none,~lock", 0, 0, 0, VC_VXF_INFO_LOCK,-1,0); + TEST_LIST("~none,lock", 0, 0, VC_VXF_INFO_LOCK,VC_VXF_INFO_LOCK,-1,0); + TEST_LIST("lock,none", 0, 0, VC_VXF_INFO_LOCK,VC_VXF_INFO_LOCK,-1,0); + TEST_LIST("lock,~none", 0, 0, VC_VXF_INFO_LOCK,VC_VXF_INFO_LOCK,-1,0); + TEST_LIST("~", 0, -1, 0, 0, 1,0); + TEST_LIST("~~", 0, -1, 0, 0, 2,0); + TEST_LIST("!", 0, -1, 0, 0, 1,0); + TEST_LIST("^", 0, -1, 0, 0, 1,0); + TEST_LIST("fakeinit,~", 0, -1, VC_VXF_INFO_INIT, VC_VXF_INFO_INIT,10,0); + TEST_LIST("1", 0, 0, 1, 1, -1,0); + TEST_LIST("1,23,42", 0, 0, 1|23|42, 1|23|42, -1,0); + TEST_LIST("~1", 0, 0, 0, 1, -1,0); + TEST_LIST("!1", 0, 0, 0, 1, -1,0); + TEST_LIST("~~1", 0, 0, 1, 1, -1,0); + TEST_LIST("~~~1", 0, 0, 0, 1, -1,0); + TEST_LIST("~!~1", 0, 0, 0, 1, -1,0); + TEST_LIST("42,fakeinit", 0, 0, VC_VXF_INFO_INIT|42, VC_VXF_INFO_INIT|42, -1,0); + TEST_LIST("42x,1", 0, -1, 0, 0, 0,3); + + TEST_LIST("^4,~^2", 0, 0, 0x10, 0x14, -1,0); + TEST_LIST("^4,~~^2", 0, 0, 0x14, 0x14, -1,0); + TEST_LIST("^4,~~~^2", 0, 0, 0x10, 0x14, -1,0); + TEST_LIST("~^2,^4", 0, 0, 0x10, 0x14, -1,0); + TEST_LIST("1,^1,~^2,8", 0, 0, 0x0b, 0x0f, -1,0); + + TEST_LIST("lock,nproc,private,fakeinit,hideinfo,ulimit,namespace," + "sched_hard,sched_prio,sched_pause," + "virt_mem,virt_uptime,virt_cpu,virt_load," + "hide_mount,hide_netif,state_setup,state_init," + "fork_rss,prolific,igneg_nice", + 0, 0, + VC_VXF_INFO_LOCK|VC_VXF_INFO_NPROC|VC_VXF_INFO_PRIVATE|VC_VXF_INFO_INIT| + VC_VXF_INFO_HIDEINFO|VC_VXF_INFO_ULIMIT|VC_VXF_INFO_NAMESPACE| + VC_VXF_SCHED_HARD|VC_VXF_SCHED_PRIO|VC_VXF_SCHED_PAUSE| + VC_VXF_VIRT_MEM|VC_VXF_VIRT_UPTIME|VC_VXF_VIRT_CPU|VC_VXF_VIRT_LOAD| + VC_VXF_HIDE_MOUNT|VC_VXF_HIDE_NETIF| + VC_VXF_STATE_SETUP|VC_VXF_STATE_INIT| + VC_VXF_FORK_RSS|VC_VXF_PROLIFIC|VC_VXF_IGNEG_NICE, + + VC_VXF_INFO_LOCK|VC_VXF_INFO_NPROC|VC_VXF_INFO_PRIVATE|VC_VXF_INFO_INIT| + VC_VXF_INFO_HIDEINFO|VC_VXF_INFO_ULIMIT|VC_VXF_INFO_NAMESPACE| + VC_VXF_SCHED_HARD|VC_VXF_SCHED_PRIO|VC_VXF_SCHED_PAUSE| + VC_VXF_VIRT_MEM|VC_VXF_VIRT_UPTIME|VC_VXF_VIRT_CPU|VC_VXF_VIRT_LOAD| + VC_VXF_HIDE_MOUNT|VC_VXF_HIDE_NETIF| + VC_VXF_STATE_SETUP|VC_VXF_STATE_INIT| + VC_VXF_FORK_RSS|VC_VXF_PROLIFIC|VC_VXF_IGNEG_NICE, + + -1,0); + + TEST_LIST("~lock,~nproc,~private,~fakeinit,~hideinfo,~ulimit,~namespace," + "~sched_hard,~sched_prio,~sched_pause," + "~virt_mem,~virt_uptime,~virt_cpu,~virt_load," + "~hide_mount,~hide_netif,~state_setup,~state_init," + "~fork_rss,~prolific,~igneg_nice", + 0, 0, + 0, + VC_VXF_INFO_LOCK|VC_VXF_INFO_NPROC|VC_VXF_INFO_PRIVATE|VC_VXF_INFO_INIT| + VC_VXF_INFO_HIDEINFO|VC_VXF_INFO_ULIMIT|VC_VXF_INFO_NAMESPACE| + VC_VXF_SCHED_HARD|VC_VXF_SCHED_PRIO|VC_VXF_SCHED_PAUSE| + VC_VXF_VIRT_MEM|VC_VXF_VIRT_UPTIME|VC_VXF_VIRT_CPU|VC_VXF_VIRT_LOAD| + VC_VXF_HIDE_MOUNT|VC_VXF_HIDE_NETIF| + VC_VXF_STATE_SETUP|VC_VXF_STATE_INIT| + VC_VXF_FORK_RSS|VC_VXF_PROLIFIC|VC_VXF_IGNEG_NICE, + + -1,0); + + + return 0; +} diff --git a/lib/testsuite/fmt.c b/lib/testsuite/fmt.c new file mode 100644 index 0000000..d749508 --- /dev/null +++ b/lib/testsuite/fmt.c @@ -0,0 +1,55 @@ +// $Id: fmt.c 2185 2005-10-25 16:23:45Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "lib_internal/coreassert.h" + +#include "lib/fmt.h" +#include + +#define TEST(VAL, EXP) { \ + char buf[512]; \ + size_t l; \ + memset(buf+1, '\23', sizeof(buf)-2); \ + buf[0] = buf[sizeof(EXP)] = '\42'; \ + l = FUNC(buf+1, VAL); \ + assert(l==sizeof(EXP)-1); \ + assert(memcmp(buf+1, EXP, l)==0); \ + assert(buf[0] =='\42'); \ + assert(buf[l+1]=='\42'); \ + assert(buf[l+2]=='\23'); \ + } + +int main() +{ + #define FUNC utilvserver_fmt_xuint64 + TEST(0, "0"); + TEST(1, "1"); + TEST(15, "f"); + TEST(16, "10"); + TEST(100, "64"); + TEST(1000, "3e8"); + TEST(65535, "ffff"); + TEST(65536, "10000"); + TEST(68719476736ul, "1000000000"); + + return 0; +} diff --git a/lib/testsuite/parselimit.c b/lib/testsuite/parselimit.c new file mode 100644 index 0000000..e25e80e --- /dev/null +++ b/lib/testsuite/parselimit.c @@ -0,0 +1,54 @@ +// $Id: parselimit.c 1521 2004-04-28 18:07:41Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "lib_internal/coreassert.h" +#include "vserver.h" + +#define TEST(BUF, RES, VAL) \ + do { \ + vc_limit_t res = 0xdeadbeaf; \ + assert(vc_parseLimit(BUF, &res)==(RES)); \ + assert(res==(VAL)); \ + } while (0) + +#define TESTT(BUF,VAL) TEST(BUF, true, VAL) +#define TESTF(BUF,VAL) TEST(BUF, false, VAL) + +int main() +{ + TESTT("0", 0); + TESTT("1", 1); + TESTT("1k", 1000); + TESTT("1K", 1024); + TESTT("1m", 1000000); + TESTT("1M", 1048576); + TESTT("1234", 1234); + TESTT("1234\n", 1234); + TESTT("inf", VC_LIM_INFINITY); + + TESTF("x", 0); + TESTF("k", 0); + TESTF("1kX", 1000); + TESTF("", 0); + + return EXIT_SUCCESS; +} diff --git a/lib/testsuite/personality.c b/lib/testsuite/personality.c new file mode 100644 index 0000000..ff33518 --- /dev/null +++ b/lib/testsuite/personality.c @@ -0,0 +1,145 @@ +// $Id: personality.c 2060 2005-04-28 17:54:57Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "lib_internal/coreassert.h" +#include "vserver.h" + +#include +#include +#include + + +#define TEST_T2PF(X,Y,Z) assert(vc_text2personalityflag(X,Y)==Z) +#define TEST_PF2T(Y,X) { \ + uint_least32_t x = (X); \ + char const *rc=vc_lopersonality2text(&x); \ + assert((rc==0 && Y==0) || (rc!=0 && Y!=0)); \ + if (rc!=0 && Y!=0) assert(strcmp(rc, Y ? Y : "")==0); \ + } + +#define TEST_LIST(STR,LEN,EXP_RES,EXP_PERS,ERR_POS,ERR_LEN) { \ + struct vc_err_listparser err; \ + char buf[] = STR; \ + volatile int res; \ + uint_least32_t personality = 0; \ + res = vc_list2personalityflag(buf, LEN, &personality, &err); \ + assert(res==(EXP_RES)); \ + assert(personality==(uint_least32_t)(EXP_PERS)); \ + assert(err.len==ERR_LEN); \ + if (ERR_POS==-1) assert(err.ptr==0); \ + else assert(err.ptr==buf+(ERR_POS)); \ + } + + + +#define TEST_T2PT(X,Y,Z) assert(vc_str2personalitytype(X,Y)==Z) + + + +int main() +{ + TEST_T2PF("mmap_page_zero", 0, MMAP_PAGE_ZERO); + TEST_T2PF("MMAP_PAGE_ZERO", 0, MMAP_PAGE_ZERO); + TEST_T2PF("MmAp_PaGe_ZeRo", 0, MMAP_PAGE_ZERO); + TEST_T2PF("mmap_page_zero", 14, MMAP_PAGE_ZERO); + TEST_T2PF("MMAP_PAGE_ZERO", 14, MMAP_PAGE_ZERO); + TEST_T2PF("MMAP_PAGE_ZEROXXXX", 14, MMAP_PAGE_ZERO); + TEST_T2PF("MMAP_PAGE_ZEROXXXX", 13, 0); + TEST_T2PF("MMAP_PAGE_ZERO", 13, 0); + TEST_T2PF("MMAP_PAGE_ZERXXX", 13, 0); + TEST_T2PF("XXX", 0, 0); + TEST_T2PF("", 0, 0); + + TEST_T2PF("ADDR_LIMIT_32BIT", 0, ADDR_LIMIT_32BIT); + TEST_T2PF("SHORT_INODE", 0, SHORT_INODE); + TEST_T2PF("WHOLE_SECONDS", 0, WHOLE_SECONDS); + TEST_T2PF("STICKY_TIMEOUTS", 0, STICKY_TIMEOUTS); + TEST_T2PF("ADDR_LIMIT_3GB", 0, ADDR_LIMIT_3GB); + + + // the _loc* tests + TEST_PF2T("MMAP_PAGE_ZERO", MMAP_PAGE_ZERO); + TEST_PF2T("ADDR_LIMIT_32BIT", ADDR_LIMIT_32BIT); + TEST_PF2T("SHORT_INODE", SHORT_INODE); + TEST_PF2T("WHOLE_SECONDS", WHOLE_SECONDS); + TEST_PF2T("STICKY_TIMEOUTS", STICKY_TIMEOUTS); + TEST_PF2T("ADDR_LIMIT_3GB", ADDR_LIMIT_3GB); + + + + TEST_LIST("mmap_page_zero", 14, 0, MMAP_PAGE_ZERO, -1, 0); + TEST_LIST("mmap_page_zero,XXX", 14, 0, MMAP_PAGE_ZERO, -1, 0); + TEST_LIST("mmap_page_zero", 0, 0, MMAP_PAGE_ZERO, -1, 0); + TEST_LIST("MmAp_pAgE_ZeRo", 0, 0, MMAP_PAGE_ZERO, -1, 0); + TEST_LIST("mmap_page_zero,XXX", 0, -1, MMAP_PAGE_ZERO, 15, 3); + TEST_LIST("~mmap_page_zero", 0, -1, 0, 0,15); + TEST_LIST("!mmap_page_zero", 0, -1, 0, 0,15); + TEST_LIST("", 0, 0, 0, -1, 0); + TEST_LIST("0", 0, 0, 0, -1, 0); + TEST_LIST("00", 0, 0, 0, -1, 0); + TEST_LIST("1", 0, 0, 1, -1, 0); + TEST_LIST("1,23,42", 0, 0, 1|23|42, -1, 0); + TEST_LIST("^1", 0, 0, 2, -1, 0); + TEST_LIST("^4,^2", 0, 0, 0x14, -1, 0); + TEST_LIST("^2,^3", 0, 0, 0x0c, -1, 0); + TEST_LIST("^2,~^3", 0, -1, 0x04, 3, 3); + TEST_LIST("~0", 0, -1, 0, 0, 2); + TEST_LIST("^", 0, -1, 0, 1, 0); + TEST_LIST("~", 0, -1, 0, 0, 1); + TEST_LIST("!", 0, -1, 0, 0, 1); + TEST_LIST("X", 0, -1, 0, 0, 1); + TEST_LIST("all", 0, -1, 0, 0, 3); + TEST_LIST("ALL", 0, -1, 0, 0, 3); + TEST_LIST("~all", 0, -1, 0, 0, 4); + TEST_LIST("~ALL", 0, -1, 0, 0, 4); + TEST_LIST("any", 0, -1, 0, 0, 3); + TEST_LIST("ANY", 0, -1, 0, 0, 3); + TEST_LIST("~any", 0, -1, 0, 0, 4); + TEST_LIST("~ANY", 0, -1, 0, 0, 4); + TEST_LIST("none", 0, -1, 0, 0, 4); + TEST_LIST("NONE", 0, -1, 0, 0, 4); + TEST_LIST("~none", 0, -1, 0, 0, 5); + TEST_LIST("~NONE", 0, -1, 0, 0, 5); + TEST_LIST("mmap_page_zero,all", 0, -1, MMAP_PAGE_ZERO, 15, 3); + TEST_LIST("mmap_page_zero,any", 0, -1, MMAP_PAGE_ZERO, 15, 3); + + TEST_LIST("mmap_page_zero,addr_limit_32bit,short_inode,whole_seconds," + "sticky_timeouts,addr_limit_3gb", + 0, 0, + MMAP_PAGE_ZERO|ADDR_LIMIT_32BIT|SHORT_INODE|WHOLE_SECONDS| + STICKY_TIMEOUTS|ADDR_LIMIT_3GB, + -1, 0); + + TEST_T2PT("linux", 0, PER_LINUX); + TEST_T2PT("LINUX", 0, PER_LINUX); + TEST_T2PT("LiNuX", 0, PER_LINUX); + TEST_T2PT("LiNuX", 5, PER_LINUX); + TEST_T2PT("LiNuX", 4, VC_BAD_PERSONALITY); + TEST_T2PT("LiNuXAAA", 5, PER_LINUX); + TEST_T2PT("LiNuXAAA", 4, VC_BAD_PERSONALITY); + TEST_T2PT("LiNuAAA", 4, VC_BAD_PERSONALITY); + TEST_T2PT("XXX", 0, VC_BAD_PERSONALITY); + TEST_T2PT("", 0, VC_BAD_PERSONALITY); + + + return 0; +} diff --git a/lib/util-vserver.pc.subst b/lib/util-vserver.pc.subst new file mode 100644 index 0000000..fcb5ae8 --- /dev/null +++ b/lib/util-vserver.pc.subst @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: @PACKAGE@ +Description: vserver libraries +Version: @VERSION@ +Requires: +Libs: @libflags@-lvserver +Cflags: @incflags@ diff --git a/lib/utils-legacy.h b/lib/utils-legacy.h new file mode 100644 index 0000000..d8faff0 --- /dev/null +++ b/lib/utils-legacy.h @@ -0,0 +1,39 @@ +// $Id: utils-legacy.h 177 2003-10-16 14:02:54Z ensc $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_UTILS_COMPAT_H +#define H_UTIL_VSERVER_LIB_UTILS_COMPAT_H + +#include +#include + + // read /proc//status into 'buf' which has the size bufsize. When 'str' + // is non-null, search this string and return a pointer *after* it. When no + // such string could be found, return 0. When 'str' is null return 'buf'. + // + // When this function fails (result==0) and errno is EAGAIN, the buffersize + // was too small and this function should be called again with a larger + // buffer. +char * utilvserver_getProcEntry(pid_t pid, char *str, + char *buf, size_t bufsize); + + // Returns the suggested buffersize for reading a /proc/.../status + // file. Return-value can change when utilvserver_getProcEntry() was called. +size_t utilvserver_getProcEntryBufsize(); + +#endif // H_UTIL_VSERVER_LIB_UTILS_COMPAT_H diff --git a/lib/val2text-t2v-uint32.c b/lib/val2text-t2v-uint32.c new file mode 100644 index 0000000..d89d584 --- /dev/null +++ b/lib/val2text-t2v-uint32.c @@ -0,0 +1,26 @@ +// $Id: val2text-t2v-uint32.c 1132 2004-03-07 19:35:59Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" +#include "val2text.hc" + +TEXT2VAL(uint_least32_t, uint32) diff --git a/lib/val2text-t2v-uint64.c b/lib/val2text-t2v-uint64.c new file mode 100644 index 0000000..9362126 --- /dev/null +++ b/lib/val2text-t2v-uint64.c @@ -0,0 +1,26 @@ +// $Id: val2text-t2v-uint64.c 1132 2004-03-07 19:35:59Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" +#include "val2text.hc" + +TEXT2VAL(uint_least64_t, uint64) diff --git a/lib/val2text-v2t-uint32.c b/lib/val2text-v2t-uint32.c new file mode 100644 index 0000000..e04ee52 --- /dev/null +++ b/lib/val2text-v2t-uint32.c @@ -0,0 +1,26 @@ +// $Id: val2text-v2t-uint32.c 1132 2004-03-07 19:35:59Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" +#include "val2text.hc" + +VAL2TEXT(uint_least32_t, uint32) diff --git a/lib/val2text-v2t-uint64.c b/lib/val2text-v2t-uint64.c new file mode 100644 index 0000000..f4ab530 --- /dev/null +++ b/lib/val2text-v2t-uint64.c @@ -0,0 +1,26 @@ +// $Id: val2text-v2t-uint64.c 1132 2004-03-07 19:35:59Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "internal.h" +#include "val2text.hc" + +VAL2TEXT(uint_least64_t, uint64) diff --git a/lib/val2text.hc b/lib/val2text.hc new file mode 100644 index 0000000..5cb2643 --- /dev/null +++ b/lib/val2text.hc @@ -0,0 +1,77 @@ +// $Id: val2text.hc 2651 2008-01-03 15:33:01Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include + +#define VAL2TEXT(TYPE,SHORT) \ + ssize_t \ + utilvserver_value2text_##SHORT(char const *str, size_t len, \ + struct Mapping_ ##SHORT const *map, \ + size_t map_len) \ + { \ + size_t i; \ + if (len==0) len=strlen(str); \ + \ + for (i=0; i +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_VIRTUAL_H +#define H_UTIL_VSERVER_LIB_VIRTUAL_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#endif // H_UTIL_VSERVER_LIB_VIRTUAL_H diff --git a/lib/vserver-internal.h b/lib/vserver-internal.h new file mode 100644 index 0000000..d7d70f9 --- /dev/null +++ b/lib/vserver-internal.h @@ -0,0 +1,296 @@ +// $Id: vserver-internal.h 2815 2008-10-31 04:07:18Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef H_VSERVER_SYSCALL_INTERNAL_H +# error vserver-internal.h must not be included more than once +#endif + +#ifndef H_VSERVER_SYSCALL_INTERNAL_H +#define H_VSERVER_SYSCALL_INTERNAL_H + +#include +#include +#include +#include + +#include "internal.h" +#include "syscall-wrap.h" + +#if !defined(__NR_vserver) && defined(ENSC_SYSCALL__NR_vserver) +# define __NR_vserver ENSC_SYSCALL__NR_vserver +#endif + +inline static ALWAYSINLINE void vc_noop0() {} + +#define VC_PREFIX 0) +#define VC_SUFFIX else (void)(vc_noop0() +#define CALL_VC_NOOP vc_noop0() +#define CALL_VC_GENERAL(ID, SUFFIX, FUNC, ...) \ + VC_PREFIX; VC_SELECT(ID) return FUNC ## _ ## SUFFIX(__VA_ARGS__); VC_SUFFIX +#define CALL_VC_GENERAL_CONFIG(BIT, SUFFIX, FUNC, ...) \ + VC_PREFIX; VC_CBIT(BIT) return FUNC ## _ ## SUFFIX(__VA_ARGS__); VC_SUFFIX + +#ifdef VC_MULTIVERSION_SYSCALL +# define VC_SELECT(ID) if (ver>=(ID)) +# define VC_CBIT(BIT) if ((conf&BIT) == BIT) +# define CALL_VC(...) \ + do { \ + int ver = utilvserver_checkCompatVersion(); \ + vc_vci_t UNUSED conf = utilvserver_checkCompatConfig(); \ + if (ver==-1) return -1; \ + VC_SUFFIX, __VA_ARGS__, VC_PREFIX; \ + errno = ENOSYS; \ + return -1; \ + } while (0) +#else +# define VC_SELECT(ID) if (1) +# define VC_CBIT(BIT) if (1) +# define CALL_VC(...) \ + do { \ + if (1) {} VC_SUFFIX, __VA_ARGS__, VC_PREFIX; \ + errno = ENOSYS; return -1; \ + } while (0) +#endif + +#ifdef VC_ENABLE_API_COMPAT +# define CALL_VC_COMPAT(F,...) CALL_VC_GENERAL(0x00010000, compat, F, __VA_ARGS__) +#else +# define CALL_VC_COMPAT(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_LEGACY +# define CALL_VC_LEGACY(F,...) CALL_VC_GENERAL(0x00000000, legacy, F, __VA_ARGS__) +#else +# define CALL_VC_LEGACY(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V11 +# define CALL_VC_V11(F,...) CALL_VC_GENERAL(0x00010000, v11, F, __VA_ARGS__) +#else +# define CALL_VC_V11(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V13 +# define CALL_VC_V13(F,...) CALL_VC_GENERAL(0x00010011, v13, F, __VA_ARGS__) +#else +# define CALL_VC_V13(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V13 +# define CALL_VC_V13A(F,...) CALL_VC_GENERAL(0x00010012, v13, F, __VA_ARGS__) +#else +# define CALL_VC_V13A(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V13 +# define CALL_VC_V13B(F,...) CALL_VC_GENERAL(0x00010021, v13b, F, __VA_ARGS__) +#else +# define CALL_VC_V13B(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V13OBS +# define CALL_VC_V13OBS(F,...) CALL_VC_GENERAL(0x00010011, v13obs, F, __VA_ARGS__) +#else +# define CALL_VC_V13OBS(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V21 +# define CALL_VC_V21(F,...) CALL_VC_GENERAL(0x00020100, v21, F, __VA_ARGS__) +#else +# define CALL_VC_V21(F,...) CALL_VC_NOOP +#endif + +#if defined(VC_ENABLE_API_V21) || defined(VC_ENABLE_API_V22) || defined(VC_ENABLE_API_V23) +# define CALL_VC_SPACES(F,...) CALL_VC_GENERAL_CONFIG(VC_VCI_SPACES, spaces, F, __VA_ARGS__) +#else +# define CALL_VC_SPACES(F,...) CALL_VC_NOOP +#endif + +#if defined(VC_ENABLE_API_V23) +# define CALL_VC_TAG(F,...) CALL_VC_GENERAL_CONFIG(VC_VCI_PPTAG, tag, F, __VA_ARGS__) +#else +# define CALL_VC_TAG(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V22 +# define CALL_VC_V22(F,...) CALL_VC_GENERAL(0x00020200, v22, F, __VA_ARGS__) +#else +# define CALL_VC_V22(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V23 +# define CALL_VC_V23(F,...) CALL_VC_GENERAL(0x00020300, v23, F, __VA_ARGS__) +#else +# define CALL_VC_V23(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_V23 +# define CALL_VC_V23P(F,...) CALL_VC_GENERAL(0x00020304, v23, F, __VA_ARGS__) +#else +# define CALL_VC_V23P(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_NET +# define CALL_VC_NET(F,...) CALL_VC_GENERAL(0x00010016, net, F, __VA_ARGS__) +#else +# define CALL_VC_NET(F,...) CALL_VC_NOOP +#endif + +#if defined(VC_ENABLE_API_NETV2) +# define CALL_VC_NETV2(F,...) CALL_VC_GENERAL_CONFIG(VC_VCI_NETV2, netv2, F, __VA_ARGS__) +#else +# define CALL_VC_NETV2(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_FSCOMPAT +# define CALL_VC_FSCOMPAT(F,...) CALL_VC_GENERAL(0x00010000, fscompat, F, __VA_ARGS__) +#else +# define CALL_VC_FSCOMPAT(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_OLDPROC +# define CALL_VC_OLDPROC(F,...) CALL_VC_GENERAL(0x00000000, oldproc, F, __VA_ARGS__) +#else +# define CALL_VC_OLDPROC(F,...) CALL_VC_NOOP +#endif + +#ifdef VC_ENABLE_API_OLDUTS +# define CALL_VC_OLDUTS(F,...) CALL_VC_GENERAL(0x00000000, olduts, F, __VA_ARGS__) +#else +# define CALL_VC_OLDUTS(F,...) CALL_VC_NOOP +#endif + + + // Some kernel <-> userspace wrappers; they should be noops in most cases + +#if 1 +# define CTX_KERNEL2USER(X) (((X)==(uint32_t)(-1)) ? VC_NOCTX : \ + ((X)==(uint32_t)(-2)) ? VC_SAMECTX : \ + (xid_t)(X)) + +# define CTX_USER2KERNEL(X) (((X)==VC_DYNAMIC_XID) ? (uint32_t)(-1) : \ + ((X)==VC_SAMECTX) ? (uint32_t)(-2) : \ + (uint32_t)(X)) +#else +# define CTX_USER2KERNEL(X) (X) +# define CTX_KERNEL2USER(X) (X) +#endif + +#if 1 +# define TAG_KERNEL2USER(X) (((X)==(uint32_t)(-1)) ? VC_NOCTX : \ + ((X)==(uint32_t)(-2)) ? VC_SAMECTX : \ + (tag_t)(X)) + +# define TAG_USER2KERNEL(X) (((X)==VC_DYNAMIC_XID) ? (uint32_t)(-1) : \ + ((X)==VC_SAMECTX) ? (uint32_t)(-2) : \ + (uint32_t)(X)) +#else +# define TAG_USER2KERNEL(X) (X) +# define TAG_KERNEL2USER(X) (X) +#endif + +#if 1 +# define EXT2FLAGS_USER2KERNEL(X) (((X) & ~(VC_IMMUTABLE_FILE_FL|VC_IMMUTABLE_LINK_FL)) | \ + ((X) & VC_IMMUTABLE_FILE_FL ? EXT2_IMMUTABLE_FILE_FL : 0) | \ + ((X) & VC_IMMUTABLE_LINK_FL ? EXT2_IMMUTABLE_LINK_FL : 0)) +# define EXT2FLAGS_KERNEL2USER(X) (((X) & ~(EXT2_IMMUTABLE_FILE_FL|EXT2_IMMUTABLE_LINK_FL)) | \ + ((X) & EXT2_IMMUTABLE_FILE_FL ? VC_IMMUTABLE_FILE_FL : 0) | \ + ((X) & EXT2_IMMUTABLE_LINK_FL ? VC_IMMUTABLE_LINK_FL : 0)) +#else +# define EXT2FLAGS_KERNEL2USER(X) (X) +# define EXT2FLAGS_USER2KERNEL(X) (X) +#endif + +#if 1 +# define VHI_USER2KERNEL(X) ((((X)==vcVHI_CONTEXT) ? VHIN_CONTEXT : \ + ((X)==vcVHI_SYSNAME) ? VHIN_SYSNAME : \ + ((X)==vcVHI_NODENAME) ? VHIN_NODENAME : \ + ((X)==vcVHI_RELEASE) ? VHIN_RELEASE : \ + ((X)==vcVHI_VERSION) ? VHIN_VERSION : \ + ((X)==vcVHI_MACHINE) ? VHIN_MACHINE : \ + ((X)==vcVHI_DOMAINNAME) ? VHIN_DOMAINNAME : \ + (X))) +# define VHI_KERNEL2USER(X) ((((X)==VHIN_CONTEXT) ? vcVHI_CONTEXT : \ + ((X)==VHIN_SYSNAME) ? vcVHI_SYSNAME : \ + ((X)==VHIN_NODENAME) ? vcVHI_NODENAME : \ + ((X)==VHIN_RELEASE) ? vcVHI_RELEASE : \ + ((X)==VHIN_VERSION) ? vcVHI_VERSION : \ + ((X)==VHIN_MACHINE) ? vcVHI_MACHINE : \ + ((X)==VHIN_DOMAINNAME) ? vcVHI_DOMAINNAME : \ + (X))) +#else +# define VHI_USER2KERNEL(X) (X) +# define VHI_KERNEL2USER(X) (X) +#endif + +#if 1 +# define NID_KERNEL2USER(X) (((X)==(uint32_t)(-1)) ? VC_NONID : \ + (xid_t)(X)) + +# define NID_USER2KERNEL(X) (((X)==VC_DYNAMIC_NID) ? (uint32_t)(-1) : \ + (uint32_t)(X)) +#else +# define NID_USER2KERNEL(X) (X) +# define NID_KERNEL2USER(X) (X) +#endif + +#define CDLIM_USER2KERNEL(X) ((X)==VC_CDLIM_UNSET ? CDLIM_UNSET : \ + (X)==VC_CDLIM_INFINITY ? CDLIM_INFINITY : \ + (X)==VC_CDLIM_KEEP ? CDLIM_KEEP : \ + (X)) + + /// the __typeof__ thing is a hack to deal with the kernel interface + /// using an unsigned long long value for a uint32_t type +#define CDLIM_KERNEL2USER(X) ((X)==(__typeof__(X))CDLIM_UNSET ? VC_CDLIM_UNSET : \ + (X)==(__typeof__(X))CDLIM_INFINITY ? VC_CDLIM_INFINITY : \ + (X)==(__typeof__(X))CDLIM_KEEP ? VC_CDLIM_KEEP : \ + (X)) + + +#define ENSC_STRUCT_IDX(STRUCT,ATTR) \ + ((char*)(&(STRUCT).ATTR) - (char*)(&(STRUCT))) +#define ENSC_SAME_STRUCT_IDX(LHS,RHS,ATTR) \ + (ENSC_STRUCT_IDX(LHS,ATTR) == ENSC_STRUCT_IDX(RHS,ATTR)) +#define ENSC_SAME_STRUCT_ITEM(LHS,RHS,ATTR) \ + (ENSC_SAME_STRUCT_IDX(LHS,RHS,ATTR) && \ + sizeof((LHS).ATTR)==sizeof((RHS).ATTR) && \ + sizeof(LHS)==sizeof(RHS)) + +#define EXT2_IOC_GETCONTEXT _IOR('x', 1, long) +#define EXT2_IOC_SETCONTEXT _IOW('x', 2, long) + +#if defined(__GNUC__) +# define VC_ATTR_HIDDEN __attribute__ ((hidden)) +#else +# define VC_ATTR_HIDDEN +#endif + +#ifndef HAVE_VSERVER +#ifdef ENSC_SYSCALL_TRADITIONAL +inline static UNUSED ALWAYSINLINE +int vserver(uint32_t cmd, uint32_t id, void *data) +{ + return syscall(__NR_vserver, cmd, id, data); +} +#else +inline static UNUSED ALWAYSINLINE +_syscall3(int, vserver, + uint32_t, cmd, uint32_t, id, void *, data) +#endif +#endif + +#endif // H_VSERVER_SYSCALL_INTERNAL_H diff --git a/lib/vserver.h b/lib/vserver.h new file mode 100644 index 0000000..6c6a763 --- /dev/null +++ b/lib/vserver.h @@ -0,0 +1,1080 @@ +/* $Id: vserver.h 2819 2008-10-31 15:41:04Z dhozac $ + +* Copyright (C) 2003 Enrico Scholz +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation; either version 2, or (at your option) +* any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +/** \file vserver.h + * \brief The public interface of the the libvserver library. + */ + +#ifndef H_VSERVER_SYSCALL_H +#define H_VSERVER_SYSCALL_H + +#include +#include +#include +#include +#include +#include + +#ifndef IS_DOXYGEN +#if defined(__GNUC__) +# define VC_ATTR_UNUSED __attribute__((__unused__)) +# define VC_ATTR_NORETURN __attribute__((__noreturn__)) +# define VC_ATTR_CONST __attribute__((__const__)) +# define VC_ATTR_DEPRECATED __attribute__((__deprecated__)) +# if __GNUC__*0x10000 + __GNUC_MINOR__*0x100 + __GNUC_PATCHLEVEL__ >= 0x30300 +# define VC_ATTR_NONNULL(ARGS) __attribute__((__nonnull__ ARGS)) +# define VC_ATTR_ALWAYSINLINE __attribute__((__always_inline__)) +# else +# define VC_ATTR_NONNULL(ARGS) +# define VC_ATTR_ALWAYSINLINE +# endif +# if __GNUC__*0x10000 + __GNUC_MINOR__*0x100 + __GNUC_PATCHLEVEL__ >= 0x30303 +# define VC_ATTR_PURE __attribute__((__pure__)) +# else +# define VC_ATTR_PURE +# endif +#else +# define VC_ATTR_NONNULL(ARGS) +# define VC_ATTR_UNUSED +# define VC_ATTR_NORETURN +# define VC_ATTR_ALWAYSINLINE +# define VC_ATTR_DEPRECATED +# define VC_ATTR_PURE +# define VC_ATTR_CONST +#endif +#endif // IS_DOXYGEN + +/** the value which is returned in error-case (no ctx found) */ +#define VC_NOCTX ((xid_t)(-1)) +#define VC_NOXID ((xid_t)(-1)) +/** the value which means a random (the next free) ctx */ +#define VC_DYNAMIC_XID ((xid_t)(-1)) +/** the value which means the current ctx */ +#define VC_SAMECTX ((xid_t)(-2)) + +#define VC_NONID ((nid_t)(-1)) +#define VC_DYNAMIC_NID ((nid_t)(-1)) + +#define VC_LIM_INFINITY (~0ULL) +#define VC_LIM_KEEP (~1ULL) + +#define VC_CDLIM_UNSET (0U) +#define VC_CDLIM_INFINITY (~0U) +#define VC_CDLIM_KEEP (~1U) + +#ifndef S_CTX_INFO_LOCK +# define S_CTX_INFO_LOCK 1 +#endif + +#ifndef S_CTX_INFO_SCHED +# define S_CTX_INFO_SCHED 2 +#endif + +#ifndef S_CTX_INFO_NPROC +# define S_CTX_INFO_NPROC 4 +#endif + +#ifndef S_CTX_INFO_PRIVATE +# define S_CTX_INFO_PRIVATE 8 +#endif + +#ifndef S_CTX_INFO_INIT +# define S_CTX_INFO_INIT 16 +#endif + +#ifndef S_CTX_INFO_HIDEINFO +# define S_CTX_INFO_HIDEINFO 32 +#endif + +#ifndef S_CTX_INFO_ULIMIT +# define S_CTX_INFO_ULIMIT 64 +#endif + +#ifndef S_CTX_INFO_NAMESPACE +# define S_CTX_INFO_NAMESPACE 128 +#endif + +#define VC_CAP_CHOWN 0 +#define VC_CAP_DAC_OVERRIDE 1 +#define VC_CAP_DAC_READ_SEARCH 2 +#define VC_CAP_FOWNER 3 +#define VC_CAP_FSETID 4 +#define VC_CAP_KILL 5 +#define VC_CAP_SETGID 6 +#define VC_CAP_SETUID 7 +#define VC_CAP_SETPCAP 8 +#define VC_CAP_LINUX_IMMUTABLE 9 +#define VC_CAP_NET_BIND_SERVICE 10 +#define VC_CAP_NET_BROADCAST 11 +#define VC_CAP_NET_ADMIN 12 +#define VC_CAP_NET_RAW 13 +#define VC_CAP_IPC_LOCK 14 +#define VC_CAP_IPC_OWNER 15 +#define VC_CAP_SYS_MODULE 16 +#define VC_CAP_SYS_RAWIO 17 +#define VC_CAP_SYS_CHROOT 18 +#define VC_CAP_SYS_PTRACE 19 +#define VC_CAP_SYS_PACCT 20 +#define VC_CAP_SYS_ADMIN 21 +#define VC_CAP_SYS_BOOT 22 +#define VC_CAP_SYS_NICE 23 +#define VC_CAP_SYS_RESOURCE 24 +#define VC_CAP_SYS_TIME 25 +#define VC_CAP_SYS_TTY_CONFIG 26 +#define VC_CAP_MKNOD 27 +#define VC_CAP_LEASE 28 +#define VC_CAP_AUDIT_WRITE 29 +#define VC_CAP_AUDIT_CONTROL 30 +#define VC_CAP_SETFCAP 31 +#define VC_CAP_MAC_OVERRIDE 32 +#define VC_CAP_MAC_ADMIN 33 + +#define VC_IMMUTABLE_FILE_FL 0x0000010lu +#define VC_IMMUTABLE_LINK_FL 0x0008000lu +#define VC_IMMUTABLE_ALL (VC_IMMUTABLE_LINK_FL|VC_IMMUTABLE_FILE_FL) + +#define VC_IATTR_XID 0x01000000u + +#define VC_IATTR_ADMIN 0x00000001u +#define VC_IATTR_WATCH 0x00000002u +#define VC_IATTR_HIDE 0x00000004u +#define VC_IATTR_WRITE 0x00000008u +#define VC_IATTR_FLAGS 0x0000000fu + +#define VC_IATTR_BARRIER 0x00010000u +#define VC_IATTR_IUNLINK 0x00020000u +#define VC_IATTR_IMMUTABLE 0x00040000u + + +// the flags +#define VC_VXF_INFO_LOCK 0x00000001ull +#define VC_VXF_INFO_NPROC 0x00000004ull +#define VC_VXF_INFO_PRIVATE 0x00000008ull +#define VC_VXF_INFO_INIT 0x00000010ull + +#define VC_VXF_INFO_HIDEINFO 0x00000020ull +#define VC_VXF_INFO_ULIMIT 0x00000040ull +#define VC_VXF_INFO_NAMESPACE 0x00000080ull + +#define VC_VXF_SCHED_HARD 0x00000100ull +#define VC_VXF_SCHED_PRIO 0x00000200ull +#define VC_VXF_SCHED_PAUSE 0x00000400ull + +#define VC_VXF_VIRT_MEM 0x00010000ull +#define VC_VXF_VIRT_UPTIME 0x00020000ull +#define VC_VXF_VIRT_CPU 0x00040000ull +#define VC_VXF_VIRT_LOAD 0x00080000ull +#define VC_VXF_VIRT_TIME 0x00100000ull + +#define VC_VXF_HIDE_MOUNT 0x01000000ull +#define VC_VXF_HIDE_NETIF 0x02000000ull +#define VC_VXF_HIDE_VINFO 0x04000000ull + +#define VC_VXF_STATE_SETUP (1ULL<<32) +#define VC_VXF_STATE_INIT (1ULL<<33) +#define VC_VXF_STATE_ADMIN (1ULL<<34) + +#define VC_VXF_SC_HELPER (1ULL<<36) +#define VC_VXF_REBOOT_KILL (1ULL<<37) +#define VC_VXF_PERSISTENT (1ULL<<38) + +#define VC_VXF_FORK_RSS (1ULL<<48) +#define VC_VXF_PROLIFIC (1ULL<<49) + +#define VC_VXF_IGNEG_NICE (1ULL<<52) +#define VC_VXF_IGNEG_IONICE (1ULL<<53) + + +// the ccapabilities +#define VC_VXC_SET_UTSNAME 0x00000001ull +#define VC_VXC_SET_RLIMIT 0x00000002ull + +#define VC_VXC_RAW_ICMP 0x00000100ull +#define VC_VXC_SYSLOG 0x00001000ull + +#define VC_VXC_SECURE_MOUNT 0x00010000ull +#define VC_VXC_SECURE_REMOUNT 0x00020000ull +#define VC_VXC_BINARY_MOUNT 0x00040000ull + +#define VC_VXC_QUOTA_CTL 0x00100000ull +#define VC_VXC_ADMIN_MAPPER 0x00200000ull +#define VC_VXC_ADMIN_CLOOP 0x00400000ull + +#define VC_VXC_KTHREAD 0x01000000ull + + +// the scheduler flags +#define VC_VXSM_FILL_RATE 0x0001 +#define VC_VXSM_INTERVAL 0x0002 +#define VC_VXSM_FILL_RATE2 0x0004 +#define VC_VXSM_INTERVAL2 0x0008 +#define VC_VXSM_TOKENS 0x0010 +#define VC_VXSM_TOKENS_MIN 0x0020 +#define VC_VXSM_TOKENS_MAX 0x0040 +#define VC_VXSM_PRIO_BIAS 0x0100 +#define VC_VXSM_CPU_ID 0x1000 +#define VC_VXSM_BUCKET_ID 0x2000 + +#define VC_VXSM_IDLE_TIME 0x0200 +#define VC_VXSM_FORCE 0x0400 +#define VC_VXSM_MSEC 0x4000 + +#define VC_VXSM_V3_MASK 0x0173 + + +// the network flags +#define VC_NXF_INFO_LOCK 0x00000001ull +#define VC_NXF_INFO_PRIVATE 0x00000008ull + +#define VC_NXF_SINGLE_IP 0x00000100ull +#define VC_NXF_LBACK_REMAP 0x00000200ull +#define VC_NXF_LBACK_ALLOW 0x00000400ull + +#define VC_NXF_HIDE_NETIF 0x02000000ull +#define VC_NXF_HIDE_LBACK 0x04000000ull + +#define VC_NXF_STATE_SETUP (1ULL<<32) +#define VC_NXF_STATE_ADMIN (1ULL<<34) + +#define VC_NXF_SC_HELPER (1ULL<<36) +#define VC_NXF_PERSISTENT (1ULL<<38) + + +// the network capabilities +#define VC_NXC_TUN_CREATE 0x00000001ull + +#define VC_NXC_RAW_ICMP 0x00000100ull + + +// the vserver specific limits +#define VC_VLIMIT_NSOCK 16 +#define VC_VLIMIT_OPENFD 17 +#define VC_VLIMIT_ANON 18 +#define VC_VLIMIT_SHMEM 19 +#define VC_VLIMIT_SEMARY 20 +#define VC_VLIMIT_NSEMS 21 +#define VC_VLIMIT_DENTRY 22 +#define VC_VLIMIT_MAPPED 23 + + +// the VCI bit values +#define VC_VCI_NO_DYNAMIC (1 << 0) +#define VC_VCI_SPACES (1 << 10) +#define VC_VCI_NETV2 (1 << 11) +#define VC_VCI_PPTAG (1 << 28) + + +// the device mapping flags +#define VC_DATTR_CREATE 0x00000001 +#define VC_DATTR_OPEN 0x00000002 + +#define VC_DATTR_REMAP 0x00000010 + + +// the process context migration flags +#define VC_VXM_SET_INIT 0x00000001 +#define VC_VXM_SET_REAPER 0x00000002 + + +// the network address flags +#define VC_NXA_TYPE_IPV4 0x0001 +#define VC_NXA_TYPE_IPV6 0x0002 + +#define VC_NXA_TYPE_NONE 0x0000 +#define VC_NXA_TYPE_ANY 0x00FF + +#define VC_NXA_TYPE_ADDR 0x0010 +#define VC_NXA_TYPE_MASK 0x0020 +#define VC_NXA_TYPE_RANGE 0x0040 + +#define VC_NXA_MOD_BCAST 0x0100 +#define VC_NXA_MOD_LBACK 0x0200 + + +#ifndef CLONE_NEWNS +# define CLONE_NEWNS 0x00020000 +#endif +#ifndef CLONE_NEWUTS +# define CLONE_NEWUTS 0x04000000 +#endif +#ifndef CLONE_NEWIPC +# define CLONE_NEWIPC 0x08000000 +#endif +#ifndef CLONE_NEWUSER +# define CLONE_NEWUSER 0x10000000 +#endif +#ifndef CLONE_NEWPID +# define CLONE_NEWPID 0x20000000 +#endif +#ifndef CLONE_NEWNET +# define CLONE_NEWNET 0x40000000 +#endif + + +#define VC_BAD_PERSONALITY ((uint_least32_t)(-1)) + + +/** \defgroup syscalls Syscall wrappers + * Functions which are calling the vserver syscall directly. */ + +/** \defgroup helper Helper functions + * Functions which are doing general helper tasks like parameter parsing. */ + +/** \typedef an_unsigned_integer_type xid_t + * The identifier of a context. */ + +#ifdef IS_DOXYGEN +typedef an_unsigned_integer_type xid_t; +typedef an_unsigned_integer_type nid_t; +typedef an_unsigned_integer_type tag_t; +#endif + +#ifdef __cplusplus +extern "C" { +#endif + + /** \brief The generic vserver syscall + * \ingroup syscalls + * + * This function executes the generic vserver syscall. It uses the + * correct syscallnumber (which may differ between the different + * architectures). + * + * \param cmd the command to be executed + * \param xid the xid on which the cmd shall be applied + * \param data additional arguments; depends on \c cmd + * \returns depends on \c cmd; usually, -1 stands for an error + */ + int vc_syscall(uint32_t cmd, xid_t xid, void *data); + + /** \brief Returns the version of the current kernel API. + * \ingroup syscalls + * \returns The versionnumber of the kernel API + */ + int vc_get_version(); + + typedef uint64_t vc_vci_t; + /** \brief Returns the kernel configuration bits + * \ingroup syscalls + * \returns The kernel configuration bits + */ + vc_vci_t vc_get_vci(); + + /** \brief Moves current process into a context + * \ingroup syscalls + * + * Puts current process into context \a ctx, removes the capabilities + * given in \a remove_cap and sets \a flags. + * + * \param ctx The new context; special values for are + * - VC_SAMECTX which means the current context (just for changing caps and flags) + * - VC_DYNAMIC_XID which means the next free context; this value can be used by + * ordinary users also + * \param remove_cap The linux capabilities which will be \b removed. + * \param flags Special flags which will be set. + * + * \returns The new context-id, or VC_NOCTX on errors; \c errno + * will be set appropriately + * + * See http://vserver.13thfloor.at/Stuff/Logic.txt for details */ + xid_t vc_new_s_context(xid_t ctx, unsigned int remove_cap, unsigned int flags); + + struct vc_ip_mask_pair { + uint32_t ip; + uint32_t mask; + }; + + /** \brief Sets the ipv4root information. + * \ingroup syscalls + * \pre \a nb < NB_IPV4ROOT && \a ips != 0 */ + int vc_set_ipv4root(uint32_t bcast, size_t nb, + struct vc_ip_mask_pair const *ips) VC_ATTR_NONNULL((3)); + + /** \brief Returns the value of NB_IPV4ROOT. + * \ingroup helper + * + * This function returns the value of NB_IPV4ROOT which was used when the + * library was built, but \b not the value which is used by the currently + * running kernel. */ + size_t vc_get_nb_ipv4root() VC_ATTR_CONST VC_ATTR_PURE; + + /* process context */ + /** \brief Flags of process-contexts + */ + struct vc_ctx_flags { + /** \brief Mask of set context flags */ + uint_least64_t flagword; + /** \brief Mask of set and unset context flags when used by set + * operations, or modifiable flags when used by get + * operations */ + uint_least64_t mask; + }; + + /** \brief Creates a context without starting it. + * \ingroup syscalls + * + * This functions initializes a new context. When already in a freshly + * created context, this old context will be discarded. + * + * \param xid The new context; special values are: + * - VC_DYNAMIC_XID which means to create a dynamic context + * + * \returns the xid of the created context, or VC_NOCTX on errors. \c errno + * will be set appropriately. */ + xid_t vc_ctx_create(xid_t xid, struct vc_ctx_flags *flags); + + /** \brief Moves the current process into the specified context. + * \ingroup syscalls + * + * \param xid The new context + * \param flags The flags, see VC_VXM_* + * \returns 0 on success, -1 on errors */ + int vc_ctx_migrate(xid_t xid, uint_least64_t flags); + + /** \brief Statistics about a context */ + struct vc_ctx_stat { + uint_least32_t usecnt; ///< number of uses + uint_least32_t tasks; ///< number of tasks + }; + + /** \brief Get some statistics about a context. + * \ingroup syscalls + * + * \param xid The context to get stats about + * \param stat Where to store the result + * + * \returns 0 on success, -1 on errors. */ + int vc_ctx_stat(xid_t xid, struct vc_ctx_stat /*@out@*/ *stat) VC_ATTR_NONNULL((2)); + + /** \brief Contains further statistics about a context. */ + struct vc_virt_stat { + uint_least64_t offset; + uint_least64_t uptime; + uint_least32_t nr_threads; + uint_least32_t nr_running; + uint_least32_t nr_uninterruptible; + uint_least32_t nr_onhold; + uint_least32_t nr_forks; + uint_least32_t load[3]; + }; + + /** \brief Get more statistics about a context. + * \ingroup syscalls + * + * \param xid The context to get stats about + * \param stat Where to store the result + * + * \returns 0 on success, -1 on errors. */ + int vc_virt_stat(xid_t xid, struct vc_virt_stat /*@out@*/ *stat) VC_ATTR_NONNULL((2)); + + /** \brief Sends a signal to a context/pid + * \ingroup syscalls + * + * Special values for \a pid are: + * - -1 which means every process in ctx except the init-process + * - 0 which means every process in ctx inclusive the init-process */ + int vc_ctx_kill(xid_t ctx, pid_t pid, int sig); + + int vc_get_cflags(xid_t xid, struct vc_ctx_flags /*@out@*/ *) VC_ATTR_NONNULL((2)); + int vc_set_cflags(xid_t xid, struct vc_ctx_flags /*@in@*/ const *) VC_ATTR_NONNULL((2)); + + /** \brief Capabilities of process-contexts */ + struct vc_ctx_caps { + /** \brief Mask of set common system capabilities */ + uint_least64_t bcaps; + /** \brief Mask of set and unset common system capabilities when used by + * set operations, or the modifiable capabilities when used by + * get operations */ + uint_least64_t bmask; + /** \brief Mask of set process context capabilities */ + uint_least64_t ccaps; + /** \brief Mask of set and unset process context capabilities when used + * by set operations, or the modifiable capabilities when used + * by get operations */ + uint_least64_t cmask; + }; + + int vc_get_ccaps(xid_t xid, struct vc_ctx_caps *); + int vc_set_ccaps(xid_t xid, struct vc_ctx_caps const *); + + struct vc_vx_info { + xid_t xid; + pid_t initpid; + }; + + int vc_get_vx_info(xid_t xid, struct vc_vx_info *info) VC_ATTR_NONNULL((2)); + + /** \brief Returns the context of the given process. + * \ingroup syscalls + * + * \param pid the process-id whose xid shall be determined; + * pid==0 means the current process. + * \returns the xid of process \c pid or -1 on errors + */ + xid_t vc_get_task_xid(pid_t pid); + + /** \brief Waits for the end of a context + * \ingroup syscalls + */ + int vc_wait_exit(xid_t xid); + + /* rlimit related functions */ + + /** \brief The type which is used for a single limit value. + * + * Special values are + * - VC_LIM_INFINITY ... which is the infinite value + * - VC_LIM_KEEP ... which is used to mark values which shall not be + * modified by the vc_set_rlimit() operation. + * + * Else, the interpretation of the value depends on the corresponding + * resource; it might be bytes, pages, seconds or litres of beer. */ + typedef uint_least64_t vc_limit_t; + + /** \brief Masks describing the supported limits. */ + struct vc_rlimit_mask { + uint_least32_t min; ///< masks the resources supporting a minimum limit + uint_least32_t soft; ///< masks the resources supporting a soft limit + uint_least32_t hard; ///< masks the resources supporting a hard limit + }; + + /** \brief Returns the limits supported by the kernel */ + int vc_get_rlimit_mask(xid_t xid, + struct vc_rlimit_mask /*@out@*/ *lim) VC_ATTR_NONNULL((2)); + + /** \brief The limits of a resources. + * + * This is a triple consisting of a minimum, soft and hardlimit. */ + struct vc_rlimit { + vc_limit_t min; ///< the guaranted minimum of a resources + vc_limit_t soft; ///< the softlimit of a resource + vc_limit_t hard; ///< the absolute hardlimit of a resource + }; + + /** \brief Returns the limits of \a resource. + * \ingroup syscalls + * + * \param xid The id of the context + * \param resource The resource which will be queried + * \param lim The result which will be filled with the limits + * + * \returns 0 on success, and -1 on errors. */ + int vc_get_rlimit(xid_t xid, int resource, + struct vc_rlimit /*@out@*/ *lim) VC_ATTR_NONNULL((3)); + /** \brief Sets the limits of \a resource. + * \ingroup syscalls + * + * \param xid The id of the context + * \param resource The resource which will be queried + * \param lim The new limits + * + * \returns 0 on success, and -1 on errors. */ + int vc_set_rlimit(xid_t xid, int resource, + struct vc_rlimit const /*@in@*/ *lim) VC_ATTR_NONNULL((3)); + + /** \brief Statistics for a resource limit. */ + struct vc_rlimit_stat { + uint_least32_t hits; ///< number of hits on the limit + vc_limit_t value; ///< current value + vc_limit_t minimum; ///< minimum value observed + vc_limit_t maximum; ///< maximum value observed + }; + + /** \brief Returns the current stats of \a resource. + * \ingroup syscalls + * + * \param xid The id of the context + * \param resource The resource which will be queried + * \param stat The result which will be filled with the stats + * + * \returns 0 on success, and -1 on errors. */ + int vc_rlimit_stat(xid_t xid, int resource, + struct vc_rlimit_stat /*@out@*/ *stat) VC_ATTR_NONNULL((3)); + + /** \brief Resets the minimum and maximum observed values of all resources. + * \ingroup syscalls + * + * \param xid The id of the context + * + * \returns 0 on success, and -1 on errors. */ + int vc_reset_minmax(xid_t xid); + + /** \brief Parses a string describing a limit + * \ingroup helper + * + * This function parses \a str and interprets special words like \p "inf" + * or suffixes. Valid suffixes are + * - \p k ... 1000 + * - \p m ... 1000000 + * - \p K ... 1024 + * - \p M ... 1048576 + * + * \param str The string which shall be parsed + * \param res Will be filled with the interpreted value; in errorcase, + * this value is undefined. + * + * \returns \a true, iff the string \a str could be parsed. \a res will + * be filled with the interpreted value in this case. + * + * \pre \a str!=0 && \a res!=0 + */ + bool vc_parseLimit(char const /*@in@*/ *str, vc_limit_t /*@out@*/ *res) VC_ATTR_NONNULL((1,2)); + + + /* network context */ + struct vc_nx_info { + nid_t nid; + }; + + nid_t vc_get_task_nid(pid_t pid); + int vc_get_nx_info(nid_t nid, struct vc_nx_info *) VC_ATTR_NONNULL((2)); + + struct vc_net_addr { + uint16_t vna_type; + uint16_t vna_flags; + uint16_t vna_prefix; + uint16_t vna_parent; + struct { + union { + struct in_addr v4; + struct in6_addr v6; + } ip; + union { + struct in_addr v4; + struct in6_addr v6; + } ip2; + union { + struct in_addr v4; + struct in6_addr v6; + } mask; + } s; +#define vna_v4_ip s.ip.v4 +#define vna_v4_ip2 s.ip2.v4 +#define vna_v4_mask s.mask.v4 +#define vna_v6_ip s.ip.v6 +#define vna_v6_ip2 s.ip2.v6 +#define vna_v6_mask s.mask.v6 + }; + + struct vc_net_flags { + uint_least64_t flagword; + uint_least64_t mask; + }; + + nid_t vc_net_create(nid_t nid); + int vc_net_migrate(nid_t nid); + + int vc_net_add(nid_t nid, struct vc_net_addr const *info); + int vc_net_remove(nid_t nid, struct vc_net_addr const *info); + + int vc_get_nflags(nid_t, struct vc_net_flags *); + int vc_set_nflags(nid_t, struct vc_net_flags const *); + + struct vc_net_caps { + uint_least64_t ncaps; + uint_least64_t cmask; + }; + + int vc_get_ncaps(nid_t, struct vc_net_caps *); + int vc_set_ncaps(nid_t, struct vc_net_caps const *); + + + /* iattr related functions */ + + int vc_set_iattr(char const *filename, xid_t xid, + uint_least32_t flags, uint_least32_t mask) VC_ATTR_NONNULL((1)); + + int vc_fset_iattr(int fd, xid_t xid, + uint_least32_t flags, uint_least32_t mask); + + /** \brief Returns information about attributes and assigned context of a file. + * \ingroup syscalls + * + * This function returns the VC_IATTR_XXX flags and about the assigned + * context of a file. To request an information, the appropriate bit in + * \c mask must be set and the corresponding parameter (\a xid or \a + * flags) must not be NULL. + * + * E.g. to receive the assigned context, the \c VC_IATTR_XID bit must be + * set in \a mask, and \a xid must point to valid memory. + * + * Possible flags are \c VC_IATTR_ADMIN, \c VC_IATTR_WATCH , \c VC_IATTR_HIDE, + * \c VC_IATTR_BARRIER, \c VC_IATTR_IUNLINK and \c VC_IATTR_IMMUTABLE. + * + * \param filename The name of the file whose attributes shall be determined. + + * \param xid When non-zero and the VC_IATTR_XID bit is set in \a mask, + * the assigned context of \a filename will be stored there. + * \param flags When non-zero, a bitmask of current attributes will be + * stored there. These attributes must be requested explicitly + * by setting the appropriate bit in \a mask + * \param mask Points to a bitmask which tells which attributes shall be + * determined. On return, it will masquerade the attributes + * which were determined. + * + * \pre mask!=0 && !((*mask&VC_IATTR_XID) && xid==0) && !((*mask&~VC_IATTR_XID) && flags==0) */ + int vc_get_iattr(char const *filename, xid_t * /*@null@*/ xid, + uint_least32_t * /*@null@*/ flags, + uint_least32_t * /*@null@*/ mask) VC_ATTR_NONNULL((1)); + + int vc_fget_iattr(int fd, xid_t * /*@null@*/ xid, + uint_least32_t * /*@null@*/ flags, + uint_least32_t * /*@null@*/ mask) VC_ATTR_NONNULL((4)); + + /** \brief Returns the context of \c filename + * \ingroup syscalls + * + * This function calls vc_get_iattr() with appropriate arguments to + * determine the context of \c filename. In error-case or when no context + * is assigned, \c VC_NOCTX will be returned. To differ between both cases, + * \c errno must be examined. + * + * \b WARNING: this function can modify \c errno although no error happened. + * + * \param filename The file to check + * \returns The assigned context, or VC_NOCTX when an error occured or no + * such assignment exists. \c errno will be 0 in the latter case */ + xid_t vc_getfilecontext(char const *filename) VC_ATTR_NONNULL((1)); + + + /* vhi related functions */ + typedef enum { vcVHI_CONTEXT, vcVHI_SYSNAME, vcVHI_NODENAME, + vcVHI_RELEASE, vcVHI_VERSION, vcVHI_MACHINE, + vcVHI_DOMAINNAME } vc_uts_type; + + int vc_set_vhi_name(xid_t xid, vc_uts_type type, + char const *val, size_t len) VC_ATTR_NONNULL((3)); + int vc_get_vhi_name(xid_t xid, vc_uts_type type, + char *val, size_t len) VC_ATTR_NONNULL((3)); + + /* namespace related functions */ + int vc_enter_namespace(xid_t xid, uint_least64_t mask, uint32_t index); + int vc_set_namespace(xid_t xid, uint_least64_t mask, uint32_t index); + int vc_cleanup_namespace(void); + uint_least64_t vc_get_space_mask(void); + uint_least64_t vc_get_space_default(void); + + + /* disk limit related things */ + struct vc_ctx_dlimit { + uint_least32_t space_used; + uint_least32_t space_total; + uint_least32_t inodes_used; + uint_least32_t inodes_total; + uint_least32_t reserved; + }; + + + /** Add a disk limit to a file system. */ + int vc_add_dlimit(char const *filename, xid_t xid, + uint_least32_t flags) VC_ATTR_NONNULL((1)); + /** Remove a disk limit from a file system. */ + int vc_rem_dlimit(char const *filename, xid_t xid, + uint_least32_t flags) VC_ATTR_NONNULL((1)); + + /** Set a disk limit. */ + int vc_set_dlimit(char const *filename, xid_t xid, + uint_least32_t flags, + struct vc_ctx_dlimit const *limits) VC_ATTR_NONNULL((1,4)); + /** Get a disk limit. */ + int vc_get_dlimit(char const *filename, xid_t xid, + uint_least32_t flags, + struct vc_ctx_dlimit *limits) VC_ATTR_NONNULL((1)); + + /** Get the filesystem tag for a process. */ + tag_t vc_get_task_tag(pid_t pid); + + /** Create a new filesystem tag space. */ + int vc_tag_create(tag_t tag); + + /** Migrate to an existing filesystem tag space. */ + int vc_tag_migrate(tag_t tag); + + /* scheduler related syscalls */ + struct vc_set_sched { + uint_least32_t set_mask; + int_least32_t fill_rate; + int_least32_t interval; + int_least32_t fill_rate2; + int_least32_t interval2; + int_least32_t tokens; + int_least32_t tokens_min; + int_least32_t tokens_max; + int_least32_t priority_bias; + int_least32_t cpu_id; + int_least32_t bucket_id; + }; + + int vc_set_sched(xid_t xid, struct vc_set_sched const *) VC_ATTR_NONNULL((2)); + int vc_get_sched(xid_t xid, struct vc_set_sched *) VC_ATTR_NONNULL((2)); + + struct vc_sched_info { + int_least32_t cpu_id; + int_least32_t bucket_id; + uint_least64_t user_msec; + uint_least64_t sys_msec; + uint_least64_t hold_msec; + uint_least32_t token_usec; + int_least32_t vavavoom; + }; + + int vc_sched_info(xid_t xid, struct vc_sched_info *info) VC_ATTR_NONNULL((2)); + + /* misc. syscalls */ + int vc_set_mapping(xid_t xid, const char *device, const char *target, uint32_t flags); + int vc_unset_mapping(xid_t xid, const char *device, const char *target, uint32_t flags); + + int vc_get_badness(xid_t xid, int64_t *badness); + int vc_set_badness(xid_t xid, int64_t badness); + + + /** \brief Information about parsing errors + * \ingroup helper + */ + struct vc_err_listparser { + char const *ptr; ///< Pointer to the first character of an erroneous string + size_t len; ///< Length of the erroneous string + }; + + /** \brief Converts a single string into bcapability + * \ingroup helper + * + * \param str The string to be parsed; + * both "CAP_xxx" and "xxx" will be accepted + * \param len The length of the string, or \c 0 for automatic detection + * + * \returns 0 on error; a bitmask on success + * \pre \a str != 0 + */ + uint_least64_t vc_text2bcap(char const *str, size_t len); + + /** \brief Converts the lowest bit of a bcapability or the entire value + * (when possible) to a textual representation + * \ingroup helper + * + * \param val The string to be converted; on success, the detected bit(s) + * will be unset, in errorcase only the lowest set bit + * + * \returns A textual representation of \a val resp. of its lowest set bit; + * or \c NULL in errorcase. + * \pre \a val!=0 + * \post \a *valold \c != 0 \c <--> + * \a *valold > \a *valnew + * \post \a *valold \c == 0 \c ---> \a result == 0 + */ + char const * vc_lobcap2text(uint_least64_t *val) VC_ATTR_NONNULL((1)); + + /** \brief Converts a string into a bcapability-bitmask + * \ingroup helper + * + * Syntax of \a str: \verbinclude list2xxx.syntax + * + * When the \c `~' prefix is used, the bits will be unset and a `~' after + * another `~' will cancel both ones. The \c `^' prefix specifies a + * bitnumber instead of a bitmask. + * + * "literal name" is everything which will be accepted by the + * vc_text2bcap() function. The special values for \c NAME will be + * recognized case insensitively + * + * \param str The string to be parsed + * \param len The length of the string, or \c 0 for automatic detection + * \param err Pointer to a structure for error-information, or \c NULL. + * \param cap Pointer to a vc_ctx_caps structure holding the results; + * only the \a bcaps and \a bmask fields will be changed and + * already set values will not be honored. When an error + * occured, \a cap will have the value of all processed valid + * \c BCAP parts. + * + * \returns 0 on success, -1 on error. In error case, \a err will hold + * position and length of the first not understood BCAP part + * \pre \a str != 0 && \a cap != 0; + * \a cap->bcaps and \a cap->bmask must be initialized + */ + int vc_list2bcap(char const *str, size_t len, + struct vc_err_listparser *err, + struct vc_ctx_caps *cap) VC_ATTR_NONNULL((1,4)); + + uint_least64_t vc_text2ccap(char const *, size_t len); + char const * vc_loccap2text(uint_least64_t *); + int vc_list2ccap(char const *, size_t len, + struct vc_err_listparser *err, + struct vc_ctx_caps *); + + int vc_list2cflag(char const *, size_t len, + struct vc_err_listparser *err, + struct vc_ctx_flags *flags); + uint_least64_t vc_text2cflag(char const *, size_t len); + char const * vc_locflag2text(uint_least64_t *); + + uint_least32_t vc_list2cflag_compat(char const *, size_t len, + struct vc_err_listparser *err); + uint_least32_t vc_text2cflag_compat(char const *, size_t len); + char const * vc_hicflag2text_compat(uint_least32_t); + + int vc_text2cap(char const *); + char const * vc_cap2text(unsigned int); + + + int vc_list2nflag(char const *, size_t len, + struct vc_err_listparser *err, + struct vc_net_flags *flags); + uint_least64_t vc_text2nflag(char const *, size_t len); + char const * vc_lonflag2text(uint_least64_t *); + + uint_least64_t vc_text2ncap(char const *, size_t len); + char const * vc_loncap2text(uint_least64_t *); + int vc_list2ncap(char const *, size_t len, + struct vc_err_listparser *err, + struct vc_net_caps *); + + uint_least64_t vc_get_insecurebcaps() VC_ATTR_CONST; + inline static uint_least64_t vc_get_insecureccaps() { + return ~(VC_VXC_SET_UTSNAME|VC_VXC_RAW_ICMP); + } + + inline static int vc_setfilecontext(char const *filename, xid_t xid) { + return vc_set_iattr(filename, xid, 0, VC_IATTR_XID); + } + + + uint_least32_t vc_text2personalityflag(char const *str, + size_t len) VC_ATTR_NONNULL((1)); + + char const * vc_lopersonality2text(uint_least32_t *) VC_ATTR_NONNULL((1)); + + int vc_list2personalityflag(char const /*@in@*/ *, + size_t len, + uint_least32_t /*@out@*/ *personality, + struct vc_err_listparser /*@out@*/ *err) VC_ATTR_NONNULL((1,3)); + + uint_least32_t vc_str2personalitytype(char const /*@in@*/*, + size_t len) VC_ATTR_NONNULL((1)); + + + typedef enum { vcFEATURE_VKILL, vcFEATURE_IATTR, vcFEATURE_RLIMIT, + vcFEATURE_COMPAT, vcFEATURE_MIGRATE, vcFEATURE_NAMESPACE, + vcFEATURE_SCHED, vcFEATURE_VINFO, vcFEATURE_VHI, + vcFEATURE_VSHELPER0, vcFEATURE_VSHELPER, vcFEATURE_VWAIT, + vcFEATURE_VNET, vcFEATURE_VSTAT, vcFEATURE_PPTAG, + vcFEATURE_PIDSPACE, vcFEATURE_SPACES, vcFEATURE_PERSISTENT, + vcFEATURE_PIVOT_ROOT, + } + vcFeatureSet; + + bool vc_isSupported(vcFeatureSet) VC_ATTR_CONST; + bool vc_isSupportedString(char const *); + + + typedef enum { vcTYPE_INVALID, vcTYPE_MAIN, vcTYPE_WATCH, + vcTYPE_STATIC, vcTYPE_DYNAMIC } + vcXidType; + + vcXidType vc_getXIDType(xid_t xid) VC_ATTR_CONST; + + /** Returns true iff \a xid is a dynamic xid */ + bool vc_is_dynamic_xid(xid_t xid); + + + /* The management part */ + +#define VC_LIMIT_VSERVER_NAME_LEN 1024 + + typedef enum { vcCFG_NONE, vcCFG_AUTO, + vcCFG_LEGACY, + vcCFG_RECENT_SHORT, + vcCFG_RECENT_FULL } vcCfgStyle; + + + /** Maps an xid given at '--xid' options to an xid_t */ + xid_t vc_xidopt2xid(char const *, bool honor_static, char const **err_info); + /** Maps a nid given at '--nid' options to a nid_t */ + nid_t vc_nidopt2nid(char const *, bool honor_static, char const **err_info); + /** Maps a tag given at '--tag' options to a tag_t */ + tag_t vc_tagopt2tag(char const *, bool honor_static, char const **err_info); + + vcCfgStyle vc_getVserverCfgStyle(char const *id); + + /** Resolves the name of the vserver. The result will be allocated and must + be freed by the caller. */ + char * vc_getVserverName(char const *id, vcCfgStyle style); + + /** Returns the path of the vserver configuration directory. When the given + * vserver does not exist, or when it does not have such a directory, NULL + * will be returned. Else, the result will be allocated and must be freed + * by the caller. */ + char * vc_getVserverCfgDir(char const *id, vcCfgStyle style); + + /** Returns the path of the configuration directory for the given + * application. The result will be allocated and must be freed by the + * caller. */ + char * vc_getVserverAppDir(char const *id, vcCfgStyle style, char const *app); + + /** Returns the path to the vserver root-directory. The result will be + * allocated and must be freed by the caller. */ + char * vc_getVserverVdir(char const *id, vcCfgStyle style, bool physical); + + typedef enum { vcCTX_XID = 1, + vcCTX_NID, + vcCTX_TAG, + } vcCtxType; + + /** Returns the ctx of the given vserver. When vserver is not running and + * 'honor_static' is false, VC_NOCTX will be returned. Else, when + * 'honor_static' is true and a static assignment exists, those value will + * be returned. Else, the result will be VC_NOCTX. + * + * When 'is_running' is not null, the status of the vserver will be + * assigned to this variable. */ + xid_t vc_getVserverCtx(char const *id, vcCfgStyle style, + bool honor_static, bool /*@null@*/ *is_running, + vcCtxType type); + + /** Resolves the cfg-path of the vserver owning the given ctx. 'revdir' will + be used as the directory holding the mapping-links; when NULL, the + default value will be assumed. The result will be allocated and must be + freed by the caller. */ + char * vc_getVserverByCtx(xid_t ctx, /*@null@*/vcCfgStyle *style, + /*@null@*/char const *revdir); + + int vc_compareVserverById(char const *lhs, vcCfgStyle lhs_style, + char const *rhs, vcCfgStyle rhs_style); + + void vc_exitLikeProcess(int pid, int ret) VC_ATTR_NORETURN; + +#define vcSKEL_INTERFACES 1u +#define vcSKEL_PKGMGMT 2u +#define vcSKEL_FILESYSTEM 4u + + /** Create a basic configuration skeleton for a vserver plus toplevel + * directories for pkgmanagemt and filesystem (when requested). */ + int vc_createSkeleton(char const *id, vcCfgStyle style, int flags); + + +#ifdef __cplusplus +} +#endif + +#undef VC_ATTR_PURE +#undef VC_ATTR_ALWAYSINLINE +#undef VC_ATTR_NORETURN +#undef VC_ATTR_UNUSED +#undef VC_ATTR_NONNULL + +#endif diff --git a/lib/xidopt2xid.c b/lib/xidopt2xid.c new file mode 100644 index 0000000..8760e0a --- /dev/null +++ b/lib/xidopt2xid.c @@ -0,0 +1,56 @@ +// $Id: xidopt2xid.c 2589 2007-08-16 03:06:50Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "vserver.h" +#include +#include + +static xid_t +getVserverXid(char const *id, bool honor_static, char const **err) +{ + *err = "vc_getVserverCtx"; + return vc_getVserverCtx(id, vcCFG_AUTO, honor_static, 0, vcCTX_XID); +} + +xid_t +vc_xidopt2xid(char const *str, bool honor_static, char const **err_info) +{ + char const * err; + xid_t res = VC_NOCTX; + + err = "vc_get_task_xid()"; + if (strcmp(str,"self")==0) res = vc_get_task_xid(0); + else if (str[0]==':') res = getVserverXid(str+1, honor_static, &err); + else { + char * endptr; + xid_t xid = strtol(str, &endptr, 10); + + if (endptr!=str && (*endptr=='\0' || *endptr=='\n')) + res = xid; + else + res = getVserverXid(str, honor_static, &err); + } + + if (res==VC_NOCTX && err_info) *err_info = err; + + return res; +} diff --git a/lib_internal/Makefile-files b/lib_internal/Makefile-files new file mode 100644 index 0000000..7c22007 --- /dev/null +++ b/lib_internal/Makefile-files @@ -0,0 +1,124 @@ +## $Id: Makefile-files 2739 2008-07-14 13:12:25Z dhozac $ -*- makefile -*- + +## Copyright (C) 2003,2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + + +LIBINTERNAL_GLIBC = lib_internal/libinternal-glibc.a +noinst_LIBRARIES += $(LIBINTERNAL_GLIBC) + +if USE_DIETLIBC +LIBINTERNAL_DIET = lib_internal/libinternal-diet.a +LIBINTERNAL = $(LIBINTERNAL_DIET) +noinst_LIBRARIES += $(LIBINTERNAL_DIET) +else +LIBINTERNAL_DIET = lib-dietlibc-not-enabled-error.a +LIBINTERNAL = $(LIBINTERNAL_GLIBC) +endif + + +command_SRCS = lib_internal/command-appendparameter.c \ + lib_internal/command-setparams.c \ + lib_internal/command-exec.c\ + lib_internal/command-free.c \ + lib_internal/command-init.c \ + lib_internal/command-reset.c \ + lib_internal/command-wait.c \ + lib_internal/command.h + +if ENSC_HAVE_C99_COMPILER +filecfg_SRCS = lib_internal/filecfg.h \ + lib_internal/filecfg-iteratemultiline.c \ + lib_internal/filecfg-readentryflag.c \ + lib_internal/filecfg-readentrystr.c \ + lib_internal/matchlist-initbyvserver.c \ + lib_internal/matchvserverinfo-init.c \ + lib_internal/unify-copy.c +endif + +noinst_HEADERS += \ + lib_internal/coreassert.h \ + lib_internal/crypto-wrapper.h \ + lib_internal/crypto-wrapper-nss.h \ + lib_internal/crypto-wrapper-beecrypt.h \ + lib_internal/errinfo.h \ + lib_internal/jail.h \ + lib_internal/matchlist.h \ + lib_internal/pathinfo.h \ + lib_internal/string.h \ + lib_internal/sys_clone.h \ + lib_internal/sys_personality.h \ + lib_internal/sys_unshare.h \ + lib_internal/unify.h \ + lib_internal/util.h \ + lib_internal/util-cast.h \ + lib_internal/util-commonstrings.h \ + lib_internal/util-debug.h \ + lib_internal/util-declarecmd.h \ + lib_internal/util-dimof.h \ + lib_internal/util-dotfile.h \ + lib_internal/util-io.h \ + lib_internal/util-lockfile.h \ + lib_internal/util-mem.h \ + lib_internal/util-perror.h \ + lib_internal/util-safechdir.h \ + lib_internal/util-unixsock.h \ + lib_internal/string.hc + +lib_internal_libinternal_common_SRCS = \ + lib_internal/errinfo-writeerrno.c \ + lib_internal/jailintotempdir.c \ + lib_internal/matchlist-appendfiles.c \ + lib_internal/matchlist-compare.c \ + lib_internal/matchlist-destroy.c \ + lib_internal/matchlist-init.c \ + lib_internal/matchlist-initmanually.c \ + lib_internal/matchlist-initrefserverlist.c \ + lib_internal/matchlist-printid.c \ + lib_internal/matchvserverinfo-free.c \ + lib_internal/pathinfo-append.c \ + lib_internal/pathinfo-test.c \ + lib_internal/switchtowatchxid.c \ + lib_internal/unify-deunify.c \ + lib_internal/unify-settime.c \ + lib_internal/unify-unify.c \ + lib_internal/unify-isiunlinkable.c \ + lib_internal/util-canonify.c \ + lib_internal/util-isnumber.hc \ + lib_internal/util-isnumber.c \ + lib_internal/util-isnumberunsigned.c \ + lib_internal/util-lockfile.c \ + lib_internal/util-safechdir.c \ + lib_internal/mkdir.c \ + $(command_SRCS) \ + $(filecfg_SRCS) + +lib_internal_libinternal_diet_a_SOURCES = \ + $(lib_internal_libinternal_common_SRCS) + +lib_internal_libinternal_glibc_a_SOURCES = \ + $(lib_internal_libinternal_common_SRCS) + +lib_internal_libinternal_diet_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) +lib_internal_libinternal_glibc_a_CPPFLAGS = $(AM_CPPFLAGS) $(LIB_DEBUG_CPPFLAGS) + +DIETPROGS += lib_internal/libinternal-diet.a + +CLEANFILES += lib_internal/libinternal-diet.a \ + lib_internal/libinternal-glibc.a + +include $(top_srcdir)/lib_internal/testsuite/Makefile-files diff --git a/lib_internal/command-appendparameter.c b/lib_internal/command-appendparameter.c new file mode 100644 index 0000000..15c3de2 --- /dev/null +++ b/lib_internal/command-appendparameter.c @@ -0,0 +1,44 @@ +// $Id: command-appendparameter.c 1665 2004-08-19 14:09:34Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "command.h" +#include "util.h" + +void +Command_appendParameter(struct Command *cmd, char const *param) +{ + switch (cmd->params_style_) { + case parNONE : + Vector_init(&cmd->params.v, 10); + cmd->params_style_ = parVEC; + /*@fallthrough@*/ + case parVEC : { + char const **p = Vector_pushback(&cmd->params.v); + *p = param; + break; + } + + default : + WRITE_MSG(2, "internal error: conflicting functions Command_appendParameter() and Command_setParams() used together; aborting...\n"); + abort(); + } +} diff --git a/lib_internal/command-exec.c b/lib_internal/command-exec.c new file mode 100644 index 0000000..727faaf --- /dev/null +++ b/lib_internal/command-exec.c @@ -0,0 +1,86 @@ +// $Id: command-exec.c 1957 2005-03-22 15:25:54Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "command.h" +#include "util.h" + +#include +#include +#include +#include + +static inline bool +initPipes(int p[2]) +{ + return (pipe(p)!=-1 && + fcntl(p[1], F_SETFD, FD_CLOEXEC)!=-1); +} + +bool +Command_exec(struct Command *cmd, bool do_fork) +{ + int p[2]; + + if (cmd->params_style_==parVEC) + Vector_zeroEnd(&cmd->params.v); + + if (!do_fork) + cmd->pid = 0; + else if (!initPipes(p) || + (cmd->pid = fork())==-1) { + cmd->err = errno; + return false; + } + + if (cmd->pid==0) { + char const ** argv = { 0 }; + + if (do_fork) close(p[0]); + + switch (cmd->params_style_) { + case parVEC : argv = cmd->params.v.data; break; + case parDATA : argv = cmd->params.d; break; + default : break; + } + + execv(cmd->filename ? cmd->filename : argv[0], + reinterpret_cast(char **const)(argv)); + cmd->err = errno; + assert(cmd->err != 0); + + if (do_fork) { + TEMP_FAILURE_RETRY(write(p[1], &cmd->err, sizeof(cmd->err))); + _exit(1); // implicates 'close(p[1])' + } + } + else { + close(p[1]); + if (read(p[0], &cmd->err, sizeof(cmd->err))==0) + cmd->err = 0; + else // cleanup zombies + while (wait4(cmd->pid, 0,0,0)==-1 && + (errno==EINTR || errno==EAGAIN)) {}; + close(p[0]); + } + + return cmd->err==0; +} diff --git a/lib_internal/command-free.c b/lib_internal/command-free.c new file mode 100644 index 0000000..88459c9 --- /dev/null +++ b/lib_internal/command-free.c @@ -0,0 +1,30 @@ +// $Id: command-free.c 1665 2004-08-19 14:09:34Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "command.h" + +void +Command_free(struct Command *cmd) +{ + if (cmd->params_style_==parVEC) + Vector_free(&cmd->params.v); +} diff --git a/lib_internal/command-init.c b/lib_internal/command-init.c new file mode 100644 index 0000000..4ef8644 --- /dev/null +++ b/lib_internal/command-init.c @@ -0,0 +1,33 @@ +// $Id: command-init.c 1665 2004-08-19 14:09:34Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "command.h" + +void +Command_init(struct Command *cmd) +{ + cmd->filename = 0; + cmd->pid = -1; + cmd->rc = -1; + cmd->err = 0; + cmd->params_style_ = parNONE; +} diff --git a/lib_internal/command-reset.c b/lib_internal/command-reset.c new file mode 100644 index 0000000..72c8bfe --- /dev/null +++ b/lib_internal/command-reset.c @@ -0,0 +1,31 @@ +// $Id: command-reset.c 1605 2004-06-27 14:40:17Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "command.h" + +void +Command_reset(struct Command *cmd) +{ + cmd->pid = -1; + cmd->rc = -1; + cmd->err = 0; +} diff --git a/lib_internal/command-setparams.c b/lib_internal/command-setparams.c new file mode 100644 index 0000000..79de5ac --- /dev/null +++ b/lib_internal/command-setparams.c @@ -0,0 +1,40 @@ +// $Id: command-setparams.c 1664 2004-08-19 14:08:17Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "command.h" +#include "util.h" + +void +Command_setParams(struct Command *cmd, char const **par) +{ + switch (cmd->params_style_) { + case parNONE : + cmd->params_style_ = parDATA; + /*@fallthrough@*/ + case parDATA : + cmd->params.d = par; + break; + default : + WRITE_MSG(2, "internal error: conflicting functions Command_appendParameter() and Command_setParams() used together; aborting...\n"); + abort(); + } +} diff --git a/lib_internal/command-wait.c b/lib_internal/command-wait.c new file mode 100644 index 0000000..5158203 --- /dev/null +++ b/lib_internal/command-wait.c @@ -0,0 +1,40 @@ +// $Id: command-wait.c 1618 2004-07-02 23:44:33Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "command.h" +#include + +bool +Command_wait(struct Command *cmd, bool do_block) +{ + int rc; + + if (cmd->rc!=-1) return true; + + switch (wait4(cmd->pid, &rc, (!do_block ? WNOHANG : 0), &cmd->rusage)) { + case 0 : break; + case -1 : cmd->err = errno; break; + default : cmd->rc = rc; return true; + } + + return false; +} diff --git a/lib_internal/command.h b/lib_internal/command.h new file mode 100644 index 0000000..124802d --- /dev/null +++ b/lib_internal/command.h @@ -0,0 +1,56 @@ +// $Id: command.h 1666 2004-08-19 14:09:49Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_COMMAND_H +#define H_UTIL_VSERVER_LIB_INTERNAL_COMMAND_H + +#include +#include +#include +#include + +struct Command +{ + char const * filename; + union { + struct Vector v; + char const ** d; + } params; + pid_t pid; + int rc; + int err; + struct rusage rusage; + + enum { parNONE, parVEC, parDATA } params_style_; +}; + +void Command_init(struct Command *); +void Command_free(struct Command *); +void Command_reset(struct Command *); +bool Command_exec(struct Command *, bool do_fork); +void Command_appendParameter(struct Command *, char const *); +void Command_setParams(struct Command *, char const **); +/** + * \args do_hang when true, do not return before command exited, or + * an error (e.g. signal) occured + * \returns \c true iff command/processes exited; in this case, + * exitcode is available in the \c rc member + */ +bool Command_wait(struct Command *, bool do_block); + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_COMMAND_H diff --git a/lib_internal/coreassert.h b/lib_internal/coreassert.h new file mode 100644 index 0000000..0b079ff --- /dev/null +++ b/lib_internal/coreassert.h @@ -0,0 +1,42 @@ +// $Id: coreassert.h 1954 2005-03-22 14:59:46Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTILVSERVER_LIB_INTERNAL_COREASSERT_H +#define H_UTILVSERVER_LIB_INTERNAL_COREASSERT_H + +#ifndef ENSC_TESTSUITE +# error Do not use outside of testenvironemnts! +#endif + +#include "lib_internal/util-io.h" + +#include +#include + +#undef assert +#define ASSERT_STRX(X) #X +#define ASSERT_STR(X) ASSERT_STRX(X) +#define ASSERT_WRITE(X) Vwrite(2, (X), sizeof(X)-1) +#define assert(X) \ + (!(X)) ? \ + ASSERT_WRITE(__FILE__ ":" ASSERT_STR(__LINE__) \ + " Assertion: '" #X "' failed\n"), \ + *(char *)(0)=0 : 0 + + +#endif // H_UTILVSERVER_LIB_INTERNAL_COREASSERT_H diff --git a/lib_internal/crypto-wrapper-beecrypt.h b/lib_internal/crypto-wrapper-beecrypt.h new file mode 100644 index 0000000..bfd455a --- /dev/null +++ b/lib_internal/crypto-wrapper-beecrypt.h @@ -0,0 +1,130 @@ +/* --*- c -*-- + * Copyright (C) 2008 Enrico Scholz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 and/or 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_BEECRYPT_H +#define H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_BEECRYPT_H + +#include +#include + +typedef hashFunction ensc_hash_method; +typedef hashFunctionContext ensc_hash_context; + +inline static void +ensc_crypto_init(void) +{ +} + +inline static ensc_hash_method const * +ensc_crypto_hash_get_default(void) +{ + return hashFunctionDefault(); +} + +inline static ensc_hash_method const * +ensc_crypto_hash_find(char const *id_c) +{ + char *id = strdupa(id_c); + char *ptr = id; + char const *name; + + while (*ptr) { + *ptr = tolower(*ptr); + ++ptr; + } + + ptr = id; + while ((ptr=strchr(ptr, '-'))!=NULL) + memmove(ptr, ptr+1, strlen(ptr)); + + if (strcmp(id, "md2")==0) + name = "MD2"; + else if (strcmp(id, "md5")==0) + name = "MD5"; + else if (strcmp(id, "sha1")==0) + name = "SHA-1"; + else if (strcasecmp(id, "sha256")==0) + name = "SHA-256"; +#if 0 + /* sha-384 in beecrypt seems to be broken; digestsize is reported as + * 64 there although 48 is the correct value */ + else if (strcasecmp(id, "sha384")==0) + name = "SHA-384"; +#endif + else if (strcasecmp(id, "sha512")==0) + name = "SHA-512"; + else + name = NULL; + + return hashFunctionFind(name); +} + +inline static char const * +ensc_crypto_hash_get_name(ensc_hash_method const *m) +{ + return m->name; +} + +inline static size_t +ensc_crypto_hash_get_digestsize(ensc_hash_method const *m) +{ + return m->digestsize; +} + + + +inline static size_t +ensc_crypto_hashctx_get_digestsize(ensc_hash_context const *ctx) +{ + return ensc_crypto_hash_get_digestsize(ctx->algo); +} + +inline static int +ensc_crypto_hashctx_get_digest(ensc_hash_context *ctx, void *result, + size_t *res_len, size_t UNUSED max_res_len) +{ + int rc = hashFunctionContextDigest(ctx, result); + if (res_len) + *res_len = ctx->algo->digestsize; + + return rc; +} + +inline static int +ensc_crypto_hashctx_update(ensc_hash_context *ctx, void const *src, size_t len) +{ + return hashFunctionContextUpdate(ctx, src, len); +} + +inline static int +ensc_crypto_hashctx_init(ensc_hash_context *ctx, ensc_hash_method const *m) +{ + return hashFunctionContextInit(ctx, m); +} + +inline static int +ensc_crypto_hashctx_reset(ensc_hash_context *ctx) +{ + return hashFunctionContextReset(ctx); +} + +inline static void +ensc_crypto_hashctx_free(ensc_hash_context *ctx) +{ + hashFunctionContextFree(ctx); +} + +#endif /* H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_BEECRYPT_H */ diff --git a/lib_internal/crypto-wrapper-nss.h b/lib_internal/crypto-wrapper-nss.h new file mode 100644 index 0000000..ae0128d --- /dev/null +++ b/lib_internal/crypto-wrapper-nss.h @@ -0,0 +1,176 @@ +/* --*- c -*-- + * Copyright (C) 2008 Enrico Scholz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_NSS_H +#define H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_NSS_H + +#include +#include +#include + +#include "util-cast.h" + +typedef struct SECHashObjectStr ensc_hash_method; +typedef struct HASHContextStr *ensc_hash_context; + +inline static int +ensc_crypto_init(void) +{ + NSS_NoDB_Init(NULL); + return 0; +} + +inline static ensc_hash_method const * +ensc_crypto_hash_get_default(void) +{ + return HASH_GetHashObject(SEC_OID_SHA1); +} + +inline static ensc_hash_method const * +ensc_crypto_hash_find(char const *id_c) +{ + SECOidTag oid; + +#if 1 + char *id = strdupa(id_c); + char *ptr = id; + + while (*ptr) { + *ptr = tolower(*ptr); + ++ptr; + } + + ptr = id; + while ((ptr=strchr(ptr, '-'))!=NULL) + memmove(ptr, ptr+1, strlen(ptr)); + + if (strcmp(id, "md2")==0) + oid = SEC_OID_MD2; + else if (strcmp(id, "md5")==0) + oid = SEC_OID_MD5; + else if (strcmp(id, "sha1")==0) + oid = SEC_OID_SHA1; + else if (strcasecmp(id, "sha256")==0) + oid = SEC_OID_SHA256; + else if (strcasecmp(id, "sha384")==0) + oid = SEC_OID_SHA384; + else if (strcasecmp(id, "sha512")==0) + oid = SEC_OID_SHA512; + else + oid = SEC_OID_UNKNOWN; + +#else + struct SECItemStr const item = { + .type = ???, + .data = const_cast(unsigned char *)(static_cast(unsigned char const *)(id)), + .len = strlen(id) + }; + SECOidTag oid; + + oid = SECOID_FindOIDTag(&item); +#endif + + return HASH_GetHashObjectByOidTag(oid); +} + +inline static char const * +ensc_crypto_hash_get_name(ensc_hash_method const *m) +{ + char const * const NAMES[] = { + [HASH_AlgNULL] = "null", + [HASH_AlgMD2] = "md2", + [HASH_AlgMD5] = "md5", + [HASH_AlgSHA1] = "sha1", + [HASH_AlgSHA256] = "sha256", + [HASH_AlgSHA384] = "sha384", + [HASH_AlgSHA512] = "sha512", + }; + size_t idx = static_cast(size_t)(m->type); + + if (idx >= sizeof(NAMES)/sizeof(NAMES[0])) + return NULL; + + return NAMES[idx]; + /* TODO: use SECOID_FindOIDTagDescription()? */ +} + +inline static size_t +ensc_crypto_hash_get_digestsize(ensc_hash_method const *m) +{ + size_t const SIZES[] = { + [HASH_AlgMD2] = MD2_LENGTH, + [HASH_AlgMD5] = MD5_LENGTH, + [HASH_AlgSHA1] = SHA1_LENGTH, + [HASH_AlgSHA256] = SHA256_LENGTH, + [HASH_AlgSHA384] = SHA384_LENGTH, + [HASH_AlgSHA512] = SHA512_LENGTH, + }; + size_t idx = static_cast(size_t)(m->type); + + if (idx >= sizeof(SIZES)/sizeof(SIZES[0])) + return 0; + + return SIZES[idx]; +} + +inline static size_t +ensc_crypto_hashctx_get_digestsize(ensc_hash_context const *ctx) +{ + return ensc_crypto_hash_get_digestsize((*ctx)->hashobj); +} + +inline static int +ensc_crypto_hashctx_get_digest(ensc_hash_context *ctx, void *result, + size_t UNUSED *res_len_a, size_t UNUSED max_res_len) +{ + unsigned int res_len; + + HASH_End(*ctx, result, &res_len, max_res_len); + if (res_len_a) + *res_len_a = res_len; + + return 0; +} + +inline static int +ensc_crypto_hashctx_init(ensc_hash_context *ctx, ensc_hash_method const *m) +{ + *ctx = HASH_Create(m->type); + return *ctx==NULL ? -1 : 0; +} + +inline static int +ensc_crypto_hashctx_update(ensc_hash_context *ctx, void const *src, size_t len) +{ + HASH_Update(*ctx, src, len); + return 0; +} + +inline static int +ensc_crypto_hashctx_reset(ensc_hash_context *ctx) +{ + HASH_Begin(*ctx); + return 0; +} + +inline static void +ensc_crypto_hashctx_free(ensc_hash_context *ctx) +{ + HASH_Destroy(*ctx); + *ctx = NULL; +} + +#endif /* H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_NSS_H */ diff --git a/lib_internal/crypto-wrapper.h b/lib_internal/crypto-wrapper.h new file mode 100644 index 0000000..2201bf2 --- /dev/null +++ b/lib_internal/crypto-wrapper.h @@ -0,0 +1,31 @@ +/* --*- c -*-- + * Copyright (C) 2008 Enrico Scholz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 and/or 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_H +#define H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_H + +#define ENSC_CRYPTO_API_NSS 1 +#define ENSC_CRYPTO_API_BEECRYPT 2 + +#if ENSC_CRYPTO_API == ENSC_CRYPTO_API_BEECRYPT +#include "crypto-wrapper-beecrypt.h" +#elif ENSC_CRYPTO_API == ENSC_CRYPTO_API_NSS +#include "crypto-wrapper-nss.h" +#else +#error undefined crypto API +#endif + +#endif /* H_UTIL_VSERVER_LIB_INTERNAL_CRYPTO_WRAPPER_H */ diff --git a/lib_internal/errinfo-writeerrno.c b/lib_internal/errinfo-writeerrno.c new file mode 100644 index 0000000..1a8c16a --- /dev/null +++ b/lib_internal/errinfo-writeerrno.c @@ -0,0 +1,44 @@ +// $Id: errinfo-writeerrno.c 1616 2004-07-02 23:34:52Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "errinfo.h" +#include "util.h" + +void +ErrInfo_writeErrno(struct ErrorInformation const *info) +{ + if (info->app) { + WRITE_STR(2, info->app); + WRITE_MSG(2, ": "); + } + + if (info->pos) { + WRITE_STR(2, info->pos); + if (info->id!=0) WRITE_MSG(2, ": "); + } + + if (info->id!=0) { + WRITE_STR(2, strerror(info->id)); + } + + WRITE_MSG(2, "\n"); +} diff --git a/lib_internal/errinfo.h b/lib_internal/errinfo.h new file mode 100644 index 0000000..4ed87b6 --- /dev/null +++ b/lib_internal/errinfo.h @@ -0,0 +1,31 @@ +// $Id: errinfo.h 1616 2004-07-02 23:34:52Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_ERRINFO_H +#define H_UTIL_VSERVER_LIB_INTERNAL_ERRINFO_H + +struct ErrorInformation +{ + char const * app; // the application-name + char const * pos; // the detailed position of the error + int id; // usually errno +}; + +void ErrInfo_writeErrno(struct ErrorInformation const *); + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_ERRINFO_H diff --git a/lib_internal/filecfg-iteratemultiline.c b/lib_internal/filecfg-iteratemultiline.c new file mode 100644 index 0000000..d454b0e --- /dev/null +++ b/lib_internal/filecfg-iteratemultiline.c @@ -0,0 +1,56 @@ +// $Id: filecfg-iteratemultiline.c 1763 2004-12-07 11:13:29Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "filecfg.h" +#include + +bool +FileCfg_iterateOverMultiLine(char const *str, + FileCfg_MultiLineHandler handler, + void *data) +{ + char const *ptr = str; + size_t line_nr = 1; + + while (*ptr!='\0') { + while (*ptr==' ' || *ptr=='\t') ++ptr; // left-trim line + + char const *eol = strchr(ptr, '\n'); + if (eol==0) eol=ptr+strlen(ptr); // handle unterminated lines + + if (*ptr!='#') { // skip commented lines + size_t len = eol-ptr; + while (len>0 && (ptr[len-1]==' ' || ptr[len-1]=='\t')) + --len; // right-trim line + + // handle only non-empty lines + if (len>0 && !(*handler)(data, ptr, len)) + return false; // some parsing-error occured... + } + + ++line_nr; + ptr = eol; + if (*ptr) ++ptr; + } + + return true; +} diff --git a/lib_internal/filecfg-readentryflag.c b/lib_internal/filecfg-readentryflag.c new file mode 100644 index 0000000..ea131dc --- /dev/null +++ b/lib_internal/filecfg-readentryflag.c @@ -0,0 +1,39 @@ +// $Id: filecfg-readentryflag.c 1616 2004-07-02 23:34:52Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "filecfg.h" + +#include +#include +#include + +bool +FileCfg_readEntryFlag(PathInfo const *base, char const *file, bool dflt) +{ + PathInfo filepath = { .d = file, .l = strlen(file) }; + PathInfo path = *base; + char path_buf[ENSC_PI_APPSZ(path, filepath)]; + struct stat st; + + PathInfo_append(&path, &filepath, path_buf); + return stat(path.d, &st)!=-1 || dflt; +} diff --git a/lib_internal/filecfg-readentrystr.c b/lib_internal/filecfg-readentrystr.c new file mode 100644 index 0000000..ee1909b --- /dev/null +++ b/lib_internal/filecfg-readentrystr.c @@ -0,0 +1,74 @@ +// $Id: filecfg-readentrystr.c 1616 2004-07-02 23:34:52Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "filecfg.h" +#include +#include +#include + +char * +FileCfg_readEntryStr (PathInfo const *base, char const *file, + bool allow_multiline, char const *dflt) +{ + PathInfo filepath = { .d = file, .l = strlen(file) }; + PathInfo path = *base; + char path_buf[ENSC_PI_APPSZ(path, filepath)]; + int fd = -1; + off_t sz; + char * res = 0; + + PathInfo_append(&path, &filepath, path_buf); + fd = open(path.d, O_RDONLY); + if (fd==-1) goto err; + + sz = lseek(fd, 0, SEEK_END); + if (sz==-1 || + lseek(fd, 0, SEEK_SET)==-1) goto err; + + + if (sz>0 && sz0 && buf[sz-1]=='\n') --sz; + buf[sz] = '\0'; + } + + res = strdup(buf); + } + + err: + if (res==0 && dflt) + res = strdup(dflt); + + if (fd!=-1) close(fd); + return res; +} diff --git a/lib_internal/filecfg.h b/lib_internal/filecfg.h new file mode 100644 index 0000000..db09ca2 --- /dev/null +++ b/lib_internal/filecfg.h @@ -0,0 +1,36 @@ +// $Id: filecfg.h 1736 2004-10-19 21:05:15Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_FILECFG_H +#define H_UTIL_VSERVER_LIB_INTERNAL_FILECFG_H + +#include "pathinfo.h" +#include + +// 1MiB should be enough for all applications +#define FILECFG_MAX_FILESIZE 0x100000 + +char * FileCfg_readEntryStr (PathInfo const *base, char const *file, bool allow_multiline, char const *dflt); +bool FileCfg_readEntryFlag(PathInfo const *base, char const *file, bool dflt); + +typedef bool (*FileCfg_MultiLineHandler)(void *res, char const *data, size_t len); + +bool FileCfg_iterateOverMultiLine(char const *str, FileCfg_MultiLineHandler handler, + void *data); + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_FILECFG_H diff --git a/lib_internal/jail.h b/lib_internal/jail.h new file mode 100644 index 0000000..a08dacb --- /dev/null +++ b/lib_internal/jail.h @@ -0,0 +1,26 @@ +// $Id: jail.h 1250 2004-03-15 21:37:06Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_JAIL_H +#define H_UTIL_VSERVER_LIB_INTERNAL_JAIL_H + +#include + +bool jailIntoTempDir(char const **err_pos); + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_JAIL_H diff --git a/lib_internal/jailintotempdir.c b/lib_internal/jailintotempdir.c new file mode 100644 index 0000000..fdb2b4e --- /dev/null +++ b/lib_internal/jailintotempdir.c @@ -0,0 +1,51 @@ +// $Id: jailintotempdir.c 1250 2004-03-15 21:37:06Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "jail.h" + +#include +#include +#include + +bool +jailIntoTempDir(char const **err_pos) +{ + gid_t const id = 1; + char buf[] = "/tmp/jaildir.XXXXXX"; + char const * d = mkdtemp(buf); + char const * err = "mkdtemp()"; + + if (d==0 || + (err="chdir()", chdir(d)==-1) || + (err="rmdir()", rmdir(d)==-1) || + (err="chroot()", chroot(".")==-1) || + (err="setgroups()",setgroups(1, &id)==-1) || + (err="setgid()", setgid(id)==-1) || + (err="setuid()", setuid(id)==-1) || + (err="getgid()", getgid()!=id) || + (err="getuid()", getuid()!=id)) { + if (err_pos!=0) *err_pos = err; + return false; + } + + return true; +} diff --git a/lib_internal/matchlist-appendfiles.c b/lib_internal/matchlist-appendfiles.c new file mode 100644 index 0000000..1eef1e1 --- /dev/null +++ b/lib_internal/matchlist-appendfiles.c @@ -0,0 +1,71 @@ +// $Id: matchlist-appendfiles.c 2608 2007-09-03 07:42:17Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" +#include +#include + +static int +fnmatchWrap(char const *a, char const *b) +{ + return fnmatch(a, b, 0); +} + +static MatchItemCompareFunc +determineCompareFunc(char const UNUSED *fname) +{ + return fnmatchWrap; +} + +void +MatchList_appendFiles(struct MatchList *list, size_t idx, + char const **files, size_t count, + bool auto_type) +{ + struct MatchItem *ptr = list->data + idx; + size_t i; + + assert(idx+count <= list->count); + + if (auto_type) { + for (i=0; itype = stINCLUDE; ++file; break; + case '~' : ptr->type = stSKIP; ++file; break; + case '-' : ++file; /*@fallthrough@*/ + default : ptr->type = stEXCLUDE; break; + } + ptr->cmp = determineCompareFunc(file); + ptr->name = file; + ++ptr; + } + } + else { + for (i=0; itype = stEXCLUDE; + ptr->name = files[i]; + ptr->cmp = 0; + ++ptr; + } + } +} diff --git a/lib_internal/matchlist-compare.c b/lib_internal/matchlist-compare.c new file mode 100644 index 0000000..2adc5cb --- /dev/null +++ b/lib_internal/matchlist-compare.c @@ -0,0 +1,41 @@ +// $Id: matchlist-compare.c 2569 2007-07-22 17:24:29Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" +#include + +MatchType +MatchList_compare(struct MatchList const *list, char const *path) +{ + struct MatchItem const * ptr = list->data; + struct MatchItem const * const end_ptr = list->data + list->count; + + //write(1, path, strlen(path)); + //write(1, "\n", 1); + for (; ptrcmp==0 && strcmp(ptr->name, path)==0) || + (ptr->cmp!=0 && (ptr->cmp)(ptr->name, path)==0)) + return ptr->type; + } + + return list->skip_depth > 0 ? stEXCLUDE : stINCLUDE; +} diff --git a/lib_internal/matchlist-destroy.c b/lib_internal/matchlist-destroy.c new file mode 100644 index 0000000..57ca5f4 --- /dev/null +++ b/lib_internal/matchlist-destroy.c @@ -0,0 +1,37 @@ +// $Id: matchlist-destroy.c 1911 2005-03-18 00:18:38Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" + +void +MatchList_destroy(struct MatchList *list) +{ + size_t i; + + String_free(&list->id); + free(list->data); + + for (i=0; ibuf_count; ++i) + free((void *)(list->buf[i])); + + free(list->buf); +} diff --git a/lib_internal/matchlist-init.c b/lib_internal/matchlist-init.c new file mode 100644 index 0000000..e9b0116 --- /dev/null +++ b/lib_internal/matchlist-init.c @@ -0,0 +1,41 @@ +// $Id: matchlist-init.c 910 2004-02-17 02:33:20Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" +#include +#include + +#define ENSC_WRAPPERS_STDLIB 1 +#include +void +MatchList_init(struct MatchList *list, char const *root, size_t count) +{ + list->skip_depth = 0; + list->root.d = root; + list->root.l = strlen(root); + list->data = Emalloc(sizeof(struct MatchItem) * count); + list->count = count; + list->buf = 0; + list->buf_count = 0; + + String_init(&list->id); +} diff --git a/lib_internal/matchlist-initbyvserver.c b/lib_internal/matchlist-initbyvserver.c new file mode 100644 index 0000000..d050714 --- /dev/null +++ b/lib_internal/matchlist-initbyvserver.c @@ -0,0 +1,52 @@ +// $Id: matchlist-initbyvserver.c 1912 2005-03-18 00:20:02Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif +#include "pathconfig.h" + +#include "matchlist.h" +#include "util-io.h" + +#include "vserver.h" + +#include + +bool +MatchList_initByVserver(struct MatchList *list, + struct MatchVserverInfo const *vserver) +{ + assert(vserver->appdir!=0 && vserver->vdir!=0); + + size_t const l = vserver->appdir.l; + char tmp[l + sizeof("/exclude")]; + char const * excl_list; + + memcpy(tmp, vserver->appdir.d, l); + memcpy(tmp+l, "/exclude", 9); + + excl_list = tmp; + if (access(excl_list, R_OK)==-1) excl_list = CONFDIR "/.defaults/apps/vunify/exclude"; + if (access(excl_list, R_OK)==-1) excl_list = PKGLIBDIR "/defaults/vunify-exclude"; + + MatchList_initManually(list, vserver, 0, excl_list); + + return true; +} + diff --git a/lib_internal/matchlist-initmanually.c b/lib_internal/matchlist-initmanually.c new file mode 100644 index 0000000..ecc52cb --- /dev/null +++ b/lib_internal/matchlist-initmanually.c @@ -0,0 +1,207 @@ +// $Id: matchlist-initmanually.c 2608 2007-09-03 07:42:17Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif +#include "pathconfig.h" + +#include "matchlist.h" +#include "util-io.h" + +#include +#include +#include +#include +#include +#include + +#define ENSC_WRAPPERS_UNISTD 1 +#define ENSC_WRAPPERS_STDLIB 1 +#define ENSC_WRAPPERS_IO 1 +#include + + +extern int Global_getVerbosity() PURE CONST; +extern bool Global_doRenew() PURE CONST; + +static void +readExcludeListFD(int fd, + char const ***files, size_t *size, + char **buf) +{ + off_t len; + size_t lines = 0; + char *ptr; + + if (fd==-1) return; // todo: message on verbose? + + len = Elseek(fd, 0, SEEK_END); + Elseek(fd, 0, SEEK_SET); + + *buf = Emalloc(sizeof(*buf) * (len+1)); + EreadAll(fd, *buf, len); + (*buf)[len] = '\0'; + + ptr = *buf; + while ((ptr=strchr(ptr, '\n'))) { + ++lines; + ++ptr; + } + + ++lines; + *files = Emalloc(sizeof(**files) * lines); + + *size = 0; + ptr = *buf; + while (*ptr) { + char *end_ptr = strchr(ptr, '\n'); + + assert(*sizeptr && *tmp==' '); + + if (tmp>ptr) (*files)[(*size)++] = ptr; + } + + ptr = end_ptr+1; + } +} + +static void +readExcludeList(char const *filename, + char const ***files, size_t *size, + char **buf) +{ + int fd = open(filename, O_RDONLY); + if (fd==-1) return; // todo: message on verbose? + + readExcludeListFD(fd, files, size, buf); + Eclose(fd); +} + +static void +getConfigfileList(char const *vserver, + char const ***files, size_t *size, + char **buf) +{ + char tmpname[] = "/tmp/vunify.XXXXXX"; + pid_t pid; + int fd = Emkstemp(tmpname); + + Eunlink(tmpname); + pid = Efork(); + + if (pid==0) { + char *args[10]; + char const **ptr = (char const **)(args)+0; + + Edup2(fd, 1); + //Eclose(0); + if (fd!=1) Eclose(fd); + + *ptr++ = VPKG_PROG; + *ptr++ = vserver; + *ptr++ = "get-conffiles"; + *ptr = 0; + + Eexecv(args[0], args); + } + else { + int status; + + if (TEMP_FAILURE_RETRY(wait4(pid, &status, 0,0))==-1) { + perror("wait4()"); + exit(1); + } + + if (!WIFEXITED(status) || WEXITSTATUS(status)!=0) { + WRITE_MSG(2, "failed to determine configfiles\n"); + exit(1); + } + + readExcludeListFD(fd, files, size, buf); + Eclose(fd); + } +} + +void +MatchList_initManually(struct MatchList *list, + struct MatchVserverInfo const *vserver, + char const *vdir, char const *exclude_file) +{ + char *buf[2] = { 0,0 }; + + char const **fixed_files = 0; + size_t fixed_count = 0; + + char const **expr_files = 0; + size_t expr_count = 0; + size_t len; + + assert((vdir==0 && vserver!=0) || (vdir!=0 && vserver==0)); + + if (vserver) { + vdir = vserver->vdir.d; + len = vserver->vdir.l; + } + else + len = strlen(vdir); + + if (Global_getVerbosity()>=1) { + WRITE_MSG(1, "Initializing exclude-list for "); + Vwrite(1, vdir, len); + if (vserver!=0) { + WRITE_MSG(1, " ("); + WRITE_STR(1, vserver->name); + WRITE_MSG(1, ")"); + } + WRITE_MSG(1, "\n"); + } + if (vserver && vserver->use_pkgmgmt && Global_doRenew()) { + if (Global_getVerbosity()>=2) + WRITE_MSG(1, " Fetching configuration-file list from packagemanagement\n"); + getConfigfileList(vserver->name, &fixed_files, &fixed_count, buf+0); + } + + // abuse special values (NULL, empty string) to skip the next step + if (exclude_file && *exclude_file) { + if (Global_getVerbosity()>=6) WRITE_MSG(1, " Reading exclude file\n"); + readExcludeList(exclude_file, + &expr_files, &expr_count, + buf+1); + } + + MatchList_init(list, strdup(vdir), fixed_count + expr_count); + list->buf = Emalloc(sizeof(void *) * 3); + list->buf[0] = buf[0]; + list->buf[1] = buf[1]; + list->buf[2] = list->root.d; + list->buf_count = 3; + + MatchList_appendFiles(list, 0, fixed_files, fixed_count, false); + MatchList_appendFiles(list, fixed_count, expr_files, expr_count, true); + + free(expr_files); + free(fixed_files); +} diff --git a/lib_internal/matchlist-initrefserverlist.c b/lib_internal/matchlist-initrefserverlist.c new file mode 100644 index 0000000..4310292 --- /dev/null +++ b/lib_internal/matchlist-initrefserverlist.c @@ -0,0 +1,92 @@ +// $Id: matchlist-initrefserverlist.c 1962 2005-03-23 02:05:23Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" +#include "util-io.h" + +#include +#include +#include + +#define ENSC_WRAPPERS_FCNTL 1 +#define ENSC_WRAPPERS_UNISTD 1 +#define ENSC_WRAPPERS_STDLIB 1 +#include + +static int +selectRefserver(struct dirent const *ent) +{ + return strncmp(ent->d_name, "refserver.", 10)==0; +} + +void +MatchList_initRefserverList(struct MatchList **lst, size_t *cnt, + char const *dir) +{ + int cur_dir = Eopen(".", O_RDONLY, 0); + struct dirent **entries; + int count,i; + + Echdir(dir); + count = scandir(".", &entries, selectRefserver, alphasort); + if (count==-1) { + perror("scandir()"); + exit(1); + } + + if (count==0) { + WRITE_MSG(2, "no reference vserver configured\n"); + exit(1); + } + + *lst = Emalloc(sizeof(struct MatchList) * count); + *cnt = count; + for (i=0; id_name; + size_t l = strlen(tmp); + char vname[sizeof("./") + l]; + struct MatchVserverInfo vserver = { + .name = vname, + .use_pkgmgmt = true + }; + + memcpy(vname, "./", 2); + memcpy(vname+2, tmp, l+1); + + if (!MatchVserverInfo_init(&vserver)) { + WRITE_MSG(2, "failed to initialize unification of reference vserver\n"); + exit(1); + } + + if (!MatchList_initByVserver((*lst)+i, &vserver)) { + WRITE_MSG(2, "unification for reference vserver not configured\n"); + exit(1); + } + + free(entries[i]); + MatchVserverInfo_free(&vserver); + } + free(entries); + + Efchdir(cur_dir); + Eclose(cur_dir); +} diff --git a/lib_internal/matchlist-printid.c b/lib_internal/matchlist-printid.c new file mode 100644 index 0000000..42fe28b --- /dev/null +++ b/lib_internal/matchlist-printid.c @@ -0,0 +1,39 @@ +// $Id: matchlist-printid.c 1954 2005-03-22 14:59:46Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" +#include "util-io.h" + +void +MatchList_printId(struct MatchList const *l, int fd) +{ + if (l->id.l>0) { + WRITE_MSG(fd, "'"); + Vwrite(fd, l->id.d, l->id.l); + WRITE_MSG(1, "'"); + } + else if (l->root.l>0) { + Vwrite(fd, l->root.d, l->root.l); + } + else + WRITE_MSG(fd, "???"); +} diff --git a/lib_internal/matchlist.h b/lib_internal/matchlist.h new file mode 100644 index 0000000..1dd3e9d --- /dev/null +++ b/lib_internal/matchlist.h @@ -0,0 +1,91 @@ +// $Id: matchlist.h 2608 2007-09-03 07:42:17Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_MATCHLIST_H +#define H_UTIL_VSERVER_LIB_INTERNAL_MATCHLIST_H + +#include "pathinfo.h" +#include "string.h" +#include "pathinfo.h" + +#include + +#include +#include + +typedef int (*MatchItemCompareFunc)(char const *, char const *); +typedef enum { stINCLUDE,stEXCLUDE,stSKIP } MatchType; + +struct MatchItem +{ + MatchType type; + char const * name; + MatchItemCompareFunc cmp; +}; + +struct MatchList +{ + size_t skip_depth; + PathInfo root; + String id; + struct MatchItem *data; + size_t count; + + void const **buf; + size_t buf_count; +}; + +struct MatchVserverInfo +{ + char const *name; + + vcCfgStyle style; + PathInfo vdir; + PathInfo appdir; + + bool use_pkgmgmt; +}; + +void MatchList_init(struct MatchList *, char const *root, + size_t count) NONNULL((1,2)); +bool MatchList_initByVserver(struct MatchList *, + struct MatchVserverInfo const *vserver) NONNULL((1,2)); +void MatchList_initManually(struct MatchList *list, + struct MatchVserverInfo const *vserver, + char const *vdir, + char const *exclude_file) NONNULL((1,4)); +void MatchList_initRefserverList(struct MatchList **, size_t *cnt, + char const *dir) NONNULL((1,2,3)); +void MatchList_destroy(struct MatchList *) NONNULL((1)); +void MatchList_appendFiles(struct MatchList *, size_t idx, + char const **files, size_t count, + bool auto_type) NONNULL((1,3)); + +MatchType MatchList_compare(struct MatchList const *, + char const *path) NONNULL((1,2)); +struct MatchItem +const * MatchList_find(struct MatchList const *, + char const *path) NONNULL((1,2)); + +void MatchList_printId(struct MatchList const *, int fd) NONNULL((1)); + + +bool MatchVserverInfo_init(struct MatchVserverInfo *); +void MatchVserverInfo_free(struct MatchVserverInfo *); + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_MATCHLIST_H diff --git a/lib_internal/matchvserverinfo-free.c b/lib_internal/matchvserverinfo-free.c new file mode 100644 index 0000000..ddc7962 --- /dev/null +++ b/lib_internal/matchvserverinfo-free.c @@ -0,0 +1,31 @@ +// $Id: matchvserverinfo-free.c 1909 2005-03-18 00:17:53Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" +#include "util.h" + +void +MatchVserverInfo_free(struct MatchVserverInfo *info) +{ + String_free(&info->vdir); + String_free(&info->appdir); +} diff --git a/lib_internal/matchvserverinfo-init.c b/lib_internal/matchvserverinfo-init.c new file mode 100644 index 0000000..81b72b2 --- /dev/null +++ b/lib_internal/matchvserverinfo-init.c @@ -0,0 +1,76 @@ +// $Id: matchvserverinfo-init.c 1970 2005-03-24 00:09:58Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "matchlist.h" +#include "util.h" + +#include + +#include +#include +#include +#include +#include + +static bool +exists(char *path, size_t len, char const *name) +{ + if (name) strcpy(path + len, name); + + return access(path, R_OK)!=-1; +} + +#define EXISTS(X) exists(X, sizeof(X)-1, 0) +#define DEFAULT_EXISTS(X) EXISTS(CONFDIR "/.defaults/apps/vunify/" X) + +bool +MatchVserverInfo_init(struct MatchVserverInfo *info) +{ + assert(info->name!=0); + assert(info->vdir.d==0 && info->appdir.d==0); + + info->style = vc_getVserverCfgStyle(info->name); + info->vdir.d = vc_getVserverVdir (info->name, info->style, true); + info->appdir.d = vc_getVserverAppDir (info->name, info->style, "vunify"); + + if (info->vdir.d==0 || info->appdir.d==0) { + free(const_cast(char *)(info->vdir.d)); + free(const_cast(char *)(info->appdir.d)); + + return false; + } + + info->vdir.l = strlen(info->vdir.d); + info->appdir.l = strlen(info->appdir.d); + + size_t const l = info->appdir.l; + char tmp[l + MAX(sizeof("/pkgmgmt-ignore"),sizeof("/pkgmgmt-force"))]; + + memcpy(tmp, info->appdir.d, l); + + if (exists(tmp, l, "/pkgmgmt-ignore")) info->use_pkgmgmt = false; + else if (exists(tmp, l, "/pkgmgmt-force")) info->use_pkgmgmt = true; + else if (DEFAULT_EXISTS ("pkgmgmt-ignore")) info->use_pkgmgmt = false; + else if (DEFAULT_EXISTS ("pkgmgmt-force")) info->use_pkgmgmt = true; + + return true; +} diff --git a/lib_internal/mkdir.c b/lib_internal/mkdir.c new file mode 100644 index 0000000..c7fc156 --- /dev/null +++ b/lib_internal/mkdir.c @@ -0,0 +1,84 @@ +// $Id: mkdir.c 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include + +static enum { mkdirFAIL, mkdirSUCCESS, mkdirSKIP } +mkdirSingle(char const *path, char *end_ptr, int good_err) +{ + *end_ptr = '\0'; + if (mkdir(path, 0700)!=-1 || errno==EEXIST) { + *end_ptr = '/'; + return mkdirSUCCESS; + } + else if (errno==good_err) { + *end_ptr = '/'; + return mkdirSKIP; + } + else + return mkdirFAIL; +} + +static char * +rstrchr(char *str, char c) +{ + while (*str!=c) --str; + return str; +} + +bool +mkdirRecursive(char const *path) +{ + char buf[strlen(path)+1]; + char * ptr = buf + sizeof(buf) - 2; + + if (path[0]!='/') return false; // only absolute paths + + strcpy(buf, path); + + while (ptr>buf && (ptr = rstrchr(ptr, '/'))!=0) { + switch (mkdirSingle(buf, ptr, ENOENT)) { + case mkdirSUCCESS : break; + case mkdirSKIP : --ptr; continue; + case mkdirFAIL : return false; + } + + break; // implied by mkdirSUCCESS + } + + assert(ptr!=0); + ++ptr; + + while ((ptr=strchr(ptr, '/'))!=0) { + switch (mkdirSingle(buf, ptr, 0)) { + case mkdirSKIP : + case mkdirFAIL : return false; + case mkdirSUCCESS : ++ptr; continue; + } + } + + return true; +} diff --git a/lib_internal/pathinfo-append.c b/lib_internal/pathinfo-append.c new file mode 100644 index 0000000..bef46e2 --- /dev/null +++ b/lib_internal/pathinfo-append.c @@ -0,0 +1,54 @@ +// $Id: pathinfo-append.c 910 2004-02-17 02:33:20Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "pathinfo.h" +#include "util-mem.h" + +void +PathInfo_append(PathInfo * restrict lhs, + PathInfo const * restrict rhs, + char *buf) +{ + char * ptr = buf; + char const * rhs_ptr = rhs->d; + size_t rhs_len = rhs->l; + + while (lhs->l>1 && lhs->d[lhs->l-1]=='/') --lhs->l; + + if (lhs->l>0) { + while (rhs->l>0 && *rhs_ptr=='/') { + ++rhs_ptr; + --rhs_len; + } + + ptr = Xmemcpy(ptr, lhs->d, lhs->l); + if (ptr[-1]!='/') + ptr = Xmemcpy(ptr, "/", 1); + } +// else if (*rhs_ptr!='/') +// ptr = Xmemcpy(ptr, "/", 1); + + ptr = Xmemcpy(ptr, rhs_ptr, rhs_len+1); + + lhs->d = buf; + lhs->l = ptr-buf-1; +} diff --git a/lib_internal/pathinfo-test.c b/lib_internal/pathinfo-test.c new file mode 100644 index 0000000..37db555 --- /dev/null +++ b/lib_internal/pathinfo-test.c @@ -0,0 +1,55 @@ +// $Id: pathinfo-test.c 910 2004-02-17 02:33:20Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "pathinfo.h" +#include +#include + +#define CHECK(LHS,RHS, EXP) \ + do { \ + PathInfo lhs = { LHS, sizeof(LHS)-1 }; \ + PathInfo rhs = { RHS, sizeof(RHS)-1 }; \ + char *buf = malloc(ENSC_PI_APPSZ(lhs,rhs)); \ + assert(ENSC_PI_APPSZ(lhs,rhs)>=sizeof(EXP)); \ + PathInfo_append(&lhs, &rhs, buf); \ + assert(memcmp(lhs.d, EXP, sizeof(EXP))==0); \ + assert(lhs.l == sizeof(EXP)-1); \ + free(buf); \ + } while (0) + + +void +PathInfo_test() +{ + CHECK("/var", "/tmp", "/var/tmp"); + CHECK("/var", "tmp", "/var/tmp"); + CHECK("/var/", "/tmp", "/var/tmp"); + CHECK("/var/", "tmp", "/var/tmp"); + + CHECK("/", "tmp", "/tmp"); + CHECK("/", "/tmp", "/tmp"); + + CHECK("", "/tmp", "/tmp"); + + CHECK("", "tmp", "tmp"); + CHECK("", "", ""); +} diff --git a/lib_internal/pathinfo.h b/lib_internal/pathinfo.h new file mode 100644 index 0000000..caba216 --- /dev/null +++ b/lib_internal/pathinfo.h @@ -0,0 +1,34 @@ +// $Id: pathinfo.h 2467 2007-01-21 18:26:45Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_PATHINFO_H +#define H_UTIL_VSERVER_LIB_INTERNAL_PATHINFO_H + +#include "string.h" + +#define ENSC_PI_DECLARE(VAR,VAL) PathInfo VAR={.d = VAL,.l = sizeof(VAL)-1} +#define ENSC_PI_APPSZ(P1,P2) ((P1).l + sizeof("/") + (P2).l) +#define ENSC_PI_SETSTR(VAR,VAL) do { VAR.d = VAL; VAR.l = strlen(VAL); } while (0) + +typedef String PathInfo; + +void PathInfo_append(PathInfo * restrict, + PathInfo const * restrict, + char *buf) NONNULL((1,2,3)); + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_PATHINFO_H diff --git a/lib_internal/string.h b/lib_internal/string.h new file mode 100644 index 0000000..bb54c0b --- /dev/null +++ b/lib_internal/string.h @@ -0,0 +1,39 @@ +// $Id: string.h 1914 2005-03-18 00:20:30Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_STRING_H +#define H_UTIL_VSERVER_LIB_INTERNAL_STRING_H + +#include + +typedef struct +{ + char const * d; + size_t l; +} String; + +static void String_init(String *); +static void String_free(String *); + +#define ENSC_STRING_FIXED(VAL) { .d = VAL, .l = (sizeof(VAL)-1) } +#define ENSC_STRING_ASSIGN_FIXED(DST,VAL) \ + { DST.d = (VAL); DST.l = (sizeof(VAL)-1); } + +#include "string.hc" + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_STRING_H diff --git a/lib_internal/string.hc b/lib_internal/string.hc new file mode 100644 index 0000000..aa85fb0 --- /dev/null +++ b/lib_internal/string.hc @@ -0,0 +1,42 @@ +// $Id: string.hc 1915 2005-03-18 00:20:42Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +static inline UNUSED void +String_init(String *str) +{ + str->d = 0; + str->l = 0; +} + +static inline UNUSED char const * +String_c_str(String const *str, char *buf) +{ + if (str->l==0) return ""; + + if (buf!=str->d) + abort(); // TODO: copy content + + buf[str->l] = '\0'; + return buf; +} + + +static inline UNUSED void +String_free(String *str) +{ + free((char *)(str->d)); +} diff --git a/lib_internal/switchtowatchxid.c b/lib_internal/switchtowatchxid.c new file mode 100644 index 0000000..e237fc4 --- /dev/null +++ b/lib_internal/switchtowatchxid.c @@ -0,0 +1,58 @@ +// $Id: switchtowatchxid.c 2501 2007-02-20 17:33:35Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include + + // try to switch into context 1 +bool +switchToWatchXid(char const **errptr) +{ +#if 0 +# warning Compiling in debug-code + return; +#endif + if (vc_get_task_xid(0)==1) return true; + + if (vc_isSupported(vcFEATURE_MIGRATE)) { + if (vc_ctx_migrate(1, 0)==-1) { + if (errptr) *errptr = "vc_migrate_context()"; + return false; + } + } + else { +#if VC_ENABLE_API_COMPAT + if (vc_new_s_context(1,0,0)==VC_NOCTX) { + if (errptr) *errptr = "vc_new_s_context()"; + return false; + } +#else + if (errptr) *errptr = "can not change context: migrate kernel feature missing and 'compat' API disabled"; + errno = ENOSYS; + return false; +#endif + } + + return true; +} + diff --git a/lib_internal/sys_clone.h b/lib_internal/sys_clone.h new file mode 100644 index 0000000..59066e6 --- /dev/null +++ b/lib_internal/sys_clone.h @@ -0,0 +1,66 @@ +// $Id: sys_clone.h 2446 2007-01-09 13:22:11Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_SRC_SYS_CLONE_H +#define H_UTIL_VSERVER_SRC_SYS_CLONE_H + +#include +#include "lib/syscall-wrap.h" +#define __NR__sys_clone __NR_clone + +#ifndef ENSC_SYSCALL_TRADITIONAL +# include + +# if defined(__s390__) +inline static UNUSED ALWAYSINLINE +_syscall2(int, _sys_clone, void *, child_stack, int, flags) +# else +inline static UNUSED ALWAYSINLINE +_syscall2(int, _sys_clone, int, flags, void *, child_stack) +# endif +#endif + +inline static UNUSED ALWAYSINLINE +int sys_clone(int flags, void *child_stack) +{ + int ret; +#ifdef __sparc__ + int parent = getpid(); +#endif + +#if defined(__s390__) && defined(ENSC_SYSCALL_TRADITIONAL) + ret = syscall(__NR__sys_clone, child_stack, flags); +#elif defined(__s390__) + ret = _sys_clone(child_stack, flags); +#elif defined(ENSC_SYSCALL_TRADITIONAL) + ret = syscall(__NR__sys_clone, flags, child_stack); +#else + ret = _sys_clone(flags, child_stack); +#endif +#ifdef __sparc__ + if (ret == parent) + ret = 0; +#endif + return ret; +} + +#undef __NR__sys_clone + +#define ENSC_HAVE_SYSCLONE 1 + +#endif // H_UTIL_VSERVER_SRC_SYS_CLONE_H diff --git a/lib_internal/sys_personality.h b/lib_internal/sys_personality.h new file mode 100644 index 0000000..c7bbe51 --- /dev/null +++ b/lib_internal/sys_personality.h @@ -0,0 +1,44 @@ +// $Id: sys_personality.h 2446 2007-01-09 13:22:11Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_SRC_SYS_PERSONALITY_H +#define H_UTIL_VSERVER_SRC_SYS_PERSONALITY_H + +#include "lib/syscall-wrap.h" +#define __NR_sys_personality __NR_personality + +#ifdef ENSC_SYSCALL_TRADITIONAL +#include + +inline static UNUSED ALWAYSINLINE +int sys_personality(int pers) +{ + return syscall(__NR_sys_personality, pers); +} +#else +#include + +inline static UNUSED ALWAYSINLINE +_syscall1(int, sys_personality, int, pers) +#endif + +#undef __NR_sys_personality + +#define ENSC_HAVE_SYSPERSONALITY 1 + +#endif // H_UTIL_VSERVER_SRC_SYS_PERSONALITY_H diff --git a/lib_internal/sys_unshare.h b/lib_internal/sys_unshare.h new file mode 100644 index 0000000..1d3bceb --- /dev/null +++ b/lib_internal/sys_unshare.h @@ -0,0 +1,92 @@ +// $Id: sys_unshare.h 2674 2008-01-27 07:55:13Z dhozac $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_SRC_SYS_UNSHARE_H +#define H_UTIL_VSERVER_SRC_SYS_UNSHARE_H + +#include +#include "lib/syscall-wrap.h" + +#ifndef __NR_unshare +# if defined(__alpha__) +# define __NR_unshare 465 +# elif defined(__arm__) +# define __NR_unshare 337 +# elif defined(__avr32__) +# define __NR_unshare 258 +# elif defined(__blackfin__) +# define __NR_unshare 310 +# elif defined(__frv__) +# define __NR_unshare 310 +# elif defined(__h8300__) +# define __NR_unshare 310 +# elif defined(__i386__) +# define __NR_unshare 310 +# elif defined(__ia64__) +# define __NR_unshare 1296 +# elif defined(__m68knommu__) +# define __NR_unshare 303 +# elif defined(__m68k__) +# define __NR_unshare 303 +# elif defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_ABI32) +# define __NR_unshare 303 +# elif defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_ABI64) +# define __NR_unshare 262 +# elif defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_NABI32) +# define __NR_unshare 266 +# elif defined(__parisc__) +# define __NR_unshare 288 +# elif defined(__powerpc__) +# define __NR_unshare 282 +# elif defined(__s390__) +# define __NR_unshare 303 +# elif defined(__sh64__) +# define __NR_unshare 338 +# elif defined(__sh__) +# define __NR_unshare 310 +# elif defined(__sparc64__) +# define __NR_unshare 299 +# elif defined(__sparc__) +# define __NR_unshare 299 +# elif defined(__x86_64__) +# define __NR_unshare 272 +# else +# error Sorry, don't know unshare's syscall number for this architecture. +# endif +#endif + +#define __NR_sys_unshare __NR_unshare + +#ifndef ENSC_SYSCALL_TRADITIONAL +# include + +inline static UNUSED ALWAYSINLINE +_syscall1(int, sys_unshare, int, flags) +#else +inline static UNUSED ALWAYSINLINE +int sys_unshare(int flags) +{ + return syscall(__NR_sys_unshare, flags); +} +#endif + +#undef __NR_sys_unshare + +#define ENSC_HAVE_SYSUNSHARE 1 + +#endif // H_UTIL_VSERVER_SRC_SYS_UNSHARE_H diff --git a/lib_internal/testsuite/Makefile-files b/lib_internal/testsuite/Makefile-files new file mode 100644 index 0000000..a6da5cd --- /dev/null +++ b/lib_internal/testsuite/Makefile-files @@ -0,0 +1,107 @@ +## $Id: Makefile-files 2685 2008-02-21 23:22:23Z ensc $ --*- makefile -*-- + +## Copyright (C) 2004 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +check_PROGRAMS += lib_internal/testsuite/command + +if ENSC_HAVE_C99_COMPILER +check_PROGRAMS += lib_internal/testsuite/filecfg-ml \ + lib_internal/testsuite/copy \ + lib_internal/testsuite/isnumber \ + lib_internal/testsuite/isnumber-gnu \ + lib_internal/testsuite/sigbus \ + lib_internal/testsuite/sigbus-gnu \ + lib_internal/testsuite/matchlist \ + lib_internal/testsuite/matchlist-gnu +TESTS += lib_internal/testsuite/filecfg-ml \ + lib_internal/testsuite/copy-check \ + lib_internal/testsuite/isnumber \ + lib_internal/testsuite/isnumber-gnu \ + lib_internal/testsuite/sigbus \ + lib_internal/testsuite/sigbus-gnu \ + lib_internal/testsuite/matchlist \ + lib_internal/testsuite/matchlist-gnu +endif + +if ENSC_HAVE_CRYPTO +check_PROGRAMS += lib_internal/testsuite/crypto \ + lib_internal/testsuite/crypto-speed +TESTS += lib_internal/testsuite/crypto +endif + +DIETPROGS += lib_internal/testsuite/isnumber \ + lib_internal/testsuite/sigbus \ + lib_internal/testsuite/matchlist + +if ENSC_CAN_CRYPTO_WITH_DIETLIBC +DIETPROGS += lib_internal/testsuite/crypto \ + lib_internal/testsuite/crypto-speed +endif + +EXTRA_DIST += lib_internal/testsuite/copy-check + +TESTS_ENVIRONMENT += libinternaltestsuitedir=$(top_builddir)/lib_internal/testsuite + + +# When building both a GNU and a dietlibc version, set target specific +# CPPFLAGS to enforce separate compilation for both variants + +lib_internal_testsuite_command_SOURCES = lib_internal/testsuite/command.c +lib_internal_testsuite_command_LDADD = $(LIBINTERNAL_GLIBC) \ + $(LIBENSCVECTOR_GLIBC) + +lib_internal_testsuite_filecfg_ml_SOURCES = lib_internal/testsuite/filecfg-ml.c +lib_internal_testsuite_filecfg_ml_LDADD = $(LIBINTERNAL_GLIBC) + +lib_internal_testsuite_copy_SOURCES = lib_internal/testsuite/copy.c +lib_internal_testsuite_copy_LDADD = $(LIBINTERNAL_GLIBC) + +lib_internal_testsuite_isnumber_SOURCES = lib_internal/testsuite/isnumber.c +lib_internal_testsuite_isnumber_LDADD = $(LIBINTERNAL) +lib_internal_testsuite_isnumber_CPPFLAGS = $(AM_CPPFLAGS) # see note above + +lib_internal_testsuite_isnumber_gnu_SOURCES = lib_internal/testsuite/isnumber.c +lib_internal_testsuite_isnumber_gnu_LDADD = $(LIBINTERNAL_GLIBC) +lib_internal_testsuite_isnumber_gnu_CPPFLAGS = $(AM_CPPFLAGS) # see note above + +lib_internal_testsuite_sigbus_SOURCES = lib_internal/testsuite/sigbus.c +lib_internal_testsuite_sigbus_CPPFLAGS = $(AM_CPPFLAGS) # see note above + +lib_internal_testsuite_sigbus_gnu_SOURCES = lib_internal/testsuite/sigbus.c +lib_internal_testsuite_sigbus_gnu_CPPFLAGS = $(AM_CPPFLAGS) # see note above + +lib_internal_testsuite_matchlist_SOURCES = lib_internal/testsuite/matchlist.c +lib_internal_testsuite_matchlist_LDADD = $(LIBINTERNAL) +lib_internal_testsuite_matchlist_CPPFLAGS = $(AM_CPPFLAGS) # see note above + +lib_internal_testsuite_matchlist_gnu_SOURCES = lib_internal/testsuite/matchlist.c +lib_internal_testsuite_matchlist_gnu_LDADD = $(LIBINTERNAL_GLIBC) +lib_internal_testsuite_matchlist_gnu_CPPFLAGS = $(AM_CPPFLAGS) # see note above + +if ENSC_HAVE_CRYPTO +lib_internal_testsuite_crypto_speed_SOURCES = lib_internal/testsuite/crypto-speed.c +lib_internal_testsuite_crypto_speed_CFLAGS = $(AM_CFLAGS) $(ENSC_CRYPTO_CFLAGS) +lib_internal_testsuite_crypto_speed_LDADD = $(ENSC_CRYPTO_LIB) -lrt + +lib_internal_testsuite_crypto_SOURCES = lib_internal/testsuite/crypto.c +lib_internal_testsuite_crypto_CFLAGS = $(AM_CFLAGS) $(ENSC_CRYPTO_CFLAGS) +lib_internal_testsuite_crypto_LDADD = $(ENSC_CRYPTO_LIB) + +if !ENSC_CAN_CRYPTO_WITH_DIETLIBC +lib_internal_testsuite_crypto_speed_LDFLAGS = -Wl,--as-needed +lib_internal_testsuite_crypto_LDFLAGS = -Wl,--as-needed +endif +endif diff --git a/lib_internal/testsuite/command.c b/lib_internal/testsuite/command.c new file mode 100644 index 0000000..7db946e --- /dev/null +++ b/lib_internal/testsuite/command.c @@ -0,0 +1,48 @@ +// $Id: command.c 1667 2004-08-19 14:10:06Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include + +int wrapper_exit_code = 255; + +int +main(int argc, char *argv[]) +{ + struct Command cmd; + ssize_t i; + + if (argc<3) { + WRITE_MSG(2, "Not enough parameters\n"); + return EXIT_FAILURE; + } + + Command_init(&cmd); + for (i=2; i +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +set -e + +dir=$(mktemp -d ${TMP:-/var/tmp}/copy-check.XXXXXX) +trap "rm -rf $dir" EXIT + +COPY=${libinternaltestsuitedir:-$(dirname "$0")}/copy + +test -x "$COPY" + +function execWrap() +{ + nr=$1 + msg=$2 + shift 2 + + "$@" || { + rc=$? + echo $"Test $nr '$msg' failed with code $rc" + return $rc + } + + return 0 +} + +function doit() +{ + execWrap "$nr" "copying" $COPY $dir/$nr-in $dir/$nr-out + execWrap "$nr" "comparing" cmp $dir/$nr-in $dir/$nr-out +} + +## Usage: execCheck [*] +function execCheck() +{ + local nr=$1 + shift + + dd if=/dev/urandom of=$dir/$nr-in "$@" &>/dev/null + + doit $nr +} + +LANG=C + +### Check 1: small file copy +execCheck 01 bs=10 count=1 + +### Check 2: PAGESIZEd file copy +execCheck 02 bs=4096 count=1 + +### Check 3: PAGESIZE+1 file copy +execCheck 03 bs=4097 count=1 + +### Check 3a: really large file copy +test x"$ensc_use_expensive_tests" != xyes || + execCheck 03a bs=$[ 64 * 1024*1024 + 23 ] count=1 + +### Check 4: small sparse file copy +execCheck 04 bs=10 count=1 seek=1 + +### Check 5: large sparse file copy +execCheck 05 bs=4097 count=1 seek=1 + +### Check 6: large sparse file copy +execCheck 06 bs=4098 count=1 seek=1 + +### Check 7: large sparse file copy +execCheck 07 bs=4099 count=1 seek=1 + +### Check 8: large sparse file copy +execCheck 08 bs=4100 count=1 seek=1 + +### Check 8a: really large sparse file copy +test x"$ensc_use_expensive_tests" != xyes || + execCheck 08a bs=$[ 64 * 1024*1024 + 23 ] count=1 seek=1 + +### Check 9: huge sparse file copy +test x"$ensc_use_expensive_tests" != xyes || + execCheck 09 bs=1024 count=1 seek=$[ 1024*1024 * 5 ] + +test x"$ensc_test_debug" != xyes || { + ls -l $dir/* + du $dir/* +} diff --git a/lib_internal/testsuite/copy.c b/lib_internal/testsuite/copy.c new file mode 100644 index 0000000..96e5064 --- /dev/null +++ b/lib_internal/testsuite/copy.c @@ -0,0 +1,41 @@ +// $Id: copy.c 1924 2005-03-18 03:33:34Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "lib_internal/unify.h" + +#include +#include +#include +#include + +int wrapper_exit_code = 1; + +int main(int argc, char *argv[]) +{ + struct stat st; + + if (argc<2) return EXIT_FAILURE; + if (lstat(argv[1],&st)==-1) return EXIT_FAILURE; + + unlink(argv[2]); + return Unify_copy(argv[1], &st, argv[2]) ? EXIT_SUCCESS : EXIT_FAILURE; +} diff --git a/lib_internal/testsuite/crypto-speed.c b/lib_internal/testsuite/crypto-speed.c new file mode 100644 index 0000000..0672a27 --- /dev/null +++ b/lib_internal/testsuite/crypto-speed.c @@ -0,0 +1,112 @@ +/* --*- c -*-- + * Copyright (C) 2008 Enrico Scholz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 and/or 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#define ENSC_TESTSUITE + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include + + +static void +do_benchmark(char const *meth_name) +{ + struct { + size_t block_size; + size_t blocks; + } const DATA_SIZES[] = { + { 0, 1 }, + { 0, 1024*1024 }, + { 16, 1 }, + { 16, 1024*1024 }, + { 1024, 16 }, + { 1024, 16*1024 }, + { 1024*1024, 16 }, + { 1024*1024, 100 }, + { 1024*1024, 1000 } + }; + + ensc_hash_method const *m = ensc_crypto_hash_find(meth_name); + ensc_hash_context ctx; + size_t d_len = m ? ensc_crypto_hash_get_digestsize(m) : 0; + char digest[d_len]; + char * buf; + size_t i; + + assert(m); + assert(ensc_crypto_hashctx_init(&ctx, m)==0); + + for (i=0; i %2lu.%09lus, %'15llu bytes/s\n", + meth_name, DATA_SIZES[i].blocks, bs, + delta.tv_sec, delta.tv_nsec, (unsigned long long)(bps)); + } + + ensc_crypto_hashctx_free(&ctx); +} + +int main() +{ + char const * const METHS[] = { + "md5", "sha1", "sha256", "sha512", NULL + }; + char const * const * meth; + + ensc_crypto_init(); + setlocale(LC_NUMERIC, ""); /* needed for the thousands grouping */ + + for (meth=METHS+0; *meth; ++meth) + do_benchmark(*meth); +} diff --git a/lib_internal/testsuite/crypto.c b/lib_internal/testsuite/crypto.c new file mode 100644 index 0000000..5b11f97 --- /dev/null +++ b/lib_internal/testsuite/crypto.c @@ -0,0 +1,164 @@ +/* --*- c -*-- + * Copyright (C) 2008 Enrico Scholz + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 and/or 3 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#define ENSC_TESTSUITE + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include + +static unsigned int +hex2digit(char c) +{ + if (c>='0' && c<='9') + return c-'0'; + c &= ~0x20; + if (c>='A' && c<='F') + return c-'A' + 10; + + assert(0); + return 0; +} + +static void +convert_digest_ascii2bin(void *dst_v, char const *digest, size_t d_len) +{ + unsigned char *dst = dst_v; + + while (d_len>0) { + *dst = hex2digit(*digest++)<<4; + *dst |= hex2digit(*digest++); + + ++dst; + --d_len; + } +} + +static void +test_digest(char const *name, size_t d_len, + void const *buf, size_t buf_len, + char const *digest) +{ + ensc_hash_method const *m = ensc_crypto_hash_find(name); + ensc_hash_context ctx; + unsigned char *exp_digest[d_len/8]; + unsigned char *bin_digest[d_len/8]; + size_t bin_digest_len; + size_t i; + + d_len /= 8; + convert_digest_ascii2bin(exp_digest, digest, d_len); + + assert(m); + assert(ensc_crypto_hash_get_digestsize(m)==d_len); + + { + char const *tmp_name = ensc_crypto_hash_get_name(m); + ensc_hash_method const *tmp_meth = tmp_name ? ensc_crypto_hash_find(tmp_name) : NULL; + + assert(tmp_name!=NULL); + assert(tmp_meth!=NULL); + assert(ensc_crypto_hash_get_digestsize(tmp_meth)==d_len); + } + + ensc_crypto_hashctx_init(&ctx, m); + assert(ensc_crypto_hashctx_get_digestsize(&ctx)==d_len); + + /* run it multiple times to test for correct reset/init behavior */ + for (i=0; i<3; ++i) { + assert(ensc_crypto_hashctx_reset(&ctx)==0); + assert(ensc_crypto_hashctx_update(&ctx, buf, buf_len)==0); + + switch (i) { + case 0: + case 2: + break; + + case 1: + assert(ensc_crypto_hashctx_update(&ctx, "gremlin", 7)==0); + break; + } + + assert(ensc_crypto_hashctx_get_digest(&ctx, bin_digest, &bin_digest_len, d_len)==0); + assert(bin_digest_len==d_len); + + + switch (i) { + case 0: + case 2: + assert(memcmp(exp_digest, bin_digest, d_len)==0); + break; + + case 1: + assert(memcmp(exp_digest, bin_digest, d_len)!=0); + break; + } + } + + ensc_crypto_hashctx_free(&ctx); +} + +int main() +{ + ensc_crypto_init(); + assert(ensc_crypto_hash_get_default()!=NULL); + + /* MD-5 */ + + test_digest("md5", 128, "", 0, "d41d8cd98f00b204e9800998ecf8427e"); + test_digest("md-5", 128, "", 0, "d41d8cd98f00b204e9800998ecf8427e"); + test_digest("MD5", 128, "", 0, "d41d8cd98f00b204e9800998ecf8427e"); + test_digest("MD-5", 128, "", 0, "d41d8cd98f00b204e9800998ecf8427e"); + + test_digest("md5", 128, "foo", 3, "acbd18db4cc2f85cedef654fccc4a4d8"); + + /* SHA-1 */ + test_digest("sha1", 160, "", 0, "da39a3ee5e6b4b0d3255bfef95601890afd80709"); + test_digest("sha-1", 160, "", 0, "da39a3ee5e6b4b0d3255bfef95601890afd80709"); + test_digest("SHA1", 160, "", 0, "da39a3ee5e6b4b0d3255bfef95601890afd80709"); + test_digest("SHA-1", 160, "", 0, "da39a3ee5e6b4b0d3255bfef95601890afd80709"); + + test_digest("sha1", 160, "foo", 3, "0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33"); + + /* SHA-256 */ + test_digest("sha256", 256, "", 0, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"); + test_digest("sha-256", 256, "", 0, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"); + test_digest("SHA256", 256, "", 0, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"); + test_digest("SHA-256", 256, "", 0, "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"); + + test_digest("sha256", 256, "foo", 3, "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"); + +#if ENSC_CRYPTO_API != ENSC_CRYPTO_API_BEECRYPT /* see comments in crypto-wrapper-beecrypt.h */ + /* SHA-384 */ + test_digest("sha384", 384, "", 0, "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"); + test_digest("sha-384", 384, "", 0, "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"); + test_digest("SHA384", 384, "", 0, "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"); + test_digest("SHA-384", 384, "", 0, "38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b"); + + test_digest("sha384", 384, "foo", 3, "98c11ffdfdd540676b1a137cb1a22b2a70350c9a44171d6b1180c6be5cbb2ee3f79d532c8a1dd9ef2e8e08e752a3babb"); +#endif + + /* SHA-512 */ + test_digest("sha512", 512, "", 0, "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"); + test_digest("sha-512", 512, "", 0, "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"); + test_digest("SHA512", 512, "", 0, "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"); + test_digest("SHA-512", 512, "", 0, "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"); + + test_digest("sha512", 512, "foo", 3, "f7fbba6e0636f890e56fbbf3283e524c6fa3204ae298382d624741d0dc6638326e282c41be5e4254d8820772c5518a2c5a8c0c7f7eda19594a7eb539453e1ed7"); +} diff --git a/lib_internal/testsuite/filecfg-ml.c b/lib_internal/testsuite/filecfg-ml.c new file mode 100644 index 0000000..3fd6e34 --- /dev/null +++ b/lib_internal/testsuite/filecfg-ml.c @@ -0,0 +1,55 @@ +// $Id: filecfg-ml.c 1796 2005-01-26 15:32:35Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +#include +#include + +char const data[] = "\ +line 1\n\ +#line 2\n\ +\n\ +line 4\n\ + \n\ +line 6\n\ + \tline 7\n\ +line 8\t \n\ +"; + +static bool +test(void *x_p, char const *str, size_t len) +{ + size_t *x = x_p; + + if (strncmp(str, "line ", 5)!=0) abort(); + if (!isdigit(str[len-1])) abort(); + ++*x; + return true; +} + +int main() +{ + size_t l = 1; + FileCfg_iterateOverMultiLine(data, test, &l); + if (l!=6) abort(); +} diff --git a/lib_internal/testsuite/isnumber.c b/lib_internal/testsuite/isnumber.c new file mode 100644 index 0000000..05026e9 --- /dev/null +++ b/lib_internal/testsuite/isnumber.c @@ -0,0 +1,80 @@ +// $Id: isnumber.c 2254 2006-01-22 11:19:47Z ensc $ --*- c -*-- + +// Copyright (C) 2006 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#define ENSC_TESTSUITE + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "lib_internal/util.h" +#include "lib_internal/coreassert.h" + +#define TEST_TMPL(FUNC, TYPE, STR, VAL, STRICT) \ + do { \ + TYPE exp = (TYPE)(VAL)!=(TYPE)BAD ? (VAL) : 0; \ + bool val = (TYPE)(VAL)==(TYPE)BAD ? false : true; \ + TYPE tmp; \ + bool rc = FUNC((STR), &tmp, (STRICT)); \ + char const * const UNUSED STR_FUNC = #FUNC; \ + char const * const UNUSED STR_VAL = #VAL; \ + char const * const UNUSED STR_STRICT = #STRICT; \ + assert(rc == val); \ + rc = FUNC((STR), 0, (STRICT)); \ + assert(val == rc); \ + if (val) assert(tmp == exp); \ + } while (0) + +#define TESTS(STR, VAL, STRICT) \ + TEST_TMPL(isNumber, signed long, STR, VAL, STRICT) + +#define TESTU(STR, VAL, STRICT) \ + TEST_TMPL(isNumberUnsigned, unsigned long, STR, VAL, STRICT) + +#define TEST(STR, VALS0, VALS1, VALU0, VALU1) \ + TESTS(STR, VALS0, true); \ + TESTS(STR, VALS1, false); \ + TESTU(STR, VALU0, true); \ + TESTU(STR, VALU1, false); + + +#define BAD 0xdeadbeaf + +int main() +{ + TEST( "0", 0, 0, 0, 0); + TEST( "1", 1, 1, 1, 1); + TEST("-1", -1, -1, BAD, BAD); + TEST( "1k", BAD, 1000, BAD, 1000); +//TEST("-1k", BAD, -1000, BAD, BAD); + TEST( "1K", BAD, 1024, BAD, 1024); +//TEST("-1K", BAD, -1024, BAD, BAD); + TEST( "1m", BAD, 1000000, BAD, 1000000); +//TEST("-1m", BAD, -1000000, BAD, BAD); + TEST( "1M", BAD, 1048576, BAD, 1048576); +//TEST("-1M", BAD, -1048576, BAD, BAD); + + TEST( "010", 8, 8, 8, 8); + TEST( "010k", BAD, 8000, BAD, 8000); + TEST("-010", -8, -8, BAD, BAD); +//TEST("-010k", BAD, 8000, BAD, BAD); + + TEST( "0x10", 16, 16, 16, 16); + TEST( "0x10k", BAD, 16000, BAD, 16000); + TEST("-0x10", -16, -16, BAD, BAD); +//TEST("-0x10k", BAD, -16000, BAD, BAD); +} diff --git a/lib_internal/testsuite/matchlist.c b/lib_internal/testsuite/matchlist.c new file mode 100644 index 0000000..979f712 --- /dev/null +++ b/lib_internal/testsuite/matchlist.c @@ -0,0 +1,73 @@ +// $Id: matchlist.c 2680 2008-02-21 22:33:21Z ensc $ --*- c -*-- + +// Copyright (C) 2007 Daniel Hokka Zakrisson +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include + +int wrapper_exit_code = 255; + +int main() +{ + struct MatchList list; + static const char *files[] = { + "/bin", + "+/bin/a", + }; + int test = 0; + uint32_t result = 0; + + MatchList_init(&list, "/", sizeof(files) / sizeof(*files)); + MatchList_appendFiles(&list, 0, files, sizeof(files) / sizeof(*files), true); + +#define DO_TEST(x) switch (MatchList_compare(&list, x)) { \ + case stINCLUDE: result |= 1 << test; break; \ + case stEXCLUDE: result |= 2 << test; break; \ + case stSKIP: result |= 4 << test; break; \ + } \ + test += 3; + DO_TEST("/bin"); + list.skip_depth++; + DO_TEST("/bin/a"); + DO_TEST("/bin/b"); + list.skip_depth--; + DO_TEST("/sbin"); + DO_TEST("/usr/lib/a"); + + MatchList_destroy(&list); + + if (result == 011212) + return 0; + else { + char buf[(sizeof(result) * 8) / 3 + 2], *ptr; + size_t i; + WRITE_MSG(1, "result = "); + buf[sizeof(buf) - 1] = '\0'; + for (i = 0, ptr = buf + sizeof(buf) - 2; i < (sizeof(result) * 8); i += 3, ptr--) + *ptr = '0' + ((result & (7 << i)) >> i); + WRITE_STR(1, buf); + WRITE_MSG(1, "\n"); + return 1; + } +} diff --git a/lib_internal/testsuite/sigbus.c b/lib_internal/testsuite/sigbus.c new file mode 100644 index 0000000..c2bb570 --- /dev/null +++ b/lib_internal/testsuite/sigbus.c @@ -0,0 +1,111 @@ +// $Id: sigbus.c 2484 2007-02-04 17:17:02Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include +#include + +#define ENSC_WRAPPERS_UNISTD 1 +#define ENSC_WRAPPERS_SOCKET 1 +#include + +int wrapper_exit_code = 1; + +#define TEST_BLOCKSIZE (sysconf(_SC_PAGESIZE)*2 + 0x10000) + +static bool is_gremlin = false; +static int sync_p[2]; + +static void +testit() +{ + if (!is_gremlin) return; + + char c; + + Esend(sync_p[1], ".", 1, 0); + Erecv(sync_p[1], &c, 1, 0); +} + +#define TESTSUITE_COPY_CODE testit() + +#include "../unify.h" +#include "../unify-copy.c" +#include "../unify-settime.c" + +static bool +checkTrunc(char const *src, + char const *dst, + struct stat const *st, + size_t pos) +{ + pid_t pid = Efork(); + + if (pid==0) { + char c; + + Erecv(sync_p[0], &c, 1, 0); + Etruncate(src, pos); + Esend(sync_p[0], &c, 1, 0); + exit(0); + } + + unlink(dst); + return !copyReg(src, st, dst); +} + +int main() +{ + char f_name0[] = "/tmp/sigbus.XXXXXX"; + char f_name1[] = "/tmp/sigbus.XXXXXX"; + int fd_src = mkstemp(f_name0); + int fd_dst = mkstemp(f_name1); + char buf[TEST_BLOCKSIZE]; + struct stat st; + bool res; + + memset(buf, 0, TEST_BLOCKSIZE); + write(fd_src, buf, TEST_BLOCKSIZE); + close(fd_src); + close(fd_dst); + + unlink(f_name1); + stat(f_name0, &st); + if (!copyReg(f_name0, &st, f_name1)) + return EXIT_FAILURE; + + + is_gremlin = true; + + Esocketpair(AF_LOCAL, SOCK_STREAM, 0, sync_p); + signal(SIGCHLD, SIG_IGN); + + res = (checkTrunc(f_name0, f_name1, &st, TEST_BLOCKSIZE/2) && + checkTrunc(f_name0, f_name1, &st, 0x2345)); + + unlink(f_name0); + unlink(f_name1); + return res ? EXIT_SUCCESS : EXIT_FAILURE; +} diff --git a/lib_internal/unify-copy.c b/lib_internal/unify-copy.c new file mode 100644 index 0000000..3931b0c --- /dev/null +++ b/lib_internal/unify-copy.c @@ -0,0 +1,239 @@ +// $Id: unify-copy.c 2718 2008-06-16 11:32:49Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "unify.h" +#include "util.h" + +#include +#include +#include +#include +#include +#include +#include + +#define ENSC_WRAPPERS_IO 1 +#include + +#define MMAP_BLOCKSIZE (16 * 1024*1024) + +#ifndef TESTSUITE_COPY_CODE +# define TESTSUITE_COPY_CODE do { } while (false) +#endif + +static inline bool +verifySource(int fd, struct stat const *exp_stat) +{ + struct stat st; + + return (fstat(fd, &st)!=-1 && + st.st_dev==exp_stat->st_dev && + st.st_ino==exp_stat->st_ino); +} + +static inline bool +copyLnk(char const *src, char const *dst) +{ + ssize_t len = 1024; + for (;;) { + char buf[len]; + ssize_t l; + l = readlink(src, buf, len-1); + if (l==-1) return false; + if (l>=len-1) { + len *= 2; + continue; + } + buf[l] = '\0'; + + return (symlink(buf, dst)!=-1); + } +} + +static sigjmp_buf bus_error_restore; +static volatile sig_atomic_t bus_error; + +static void +handlerSIGBUS(int UNUSED num) +{ + bus_error = 1; + siglongjmp(bus_error_restore, 1); +} + +static void +copyMem(void *dst_v, void const *src_v, size_t len_v) +{ +#if 1 + // Do not use memcpy because this would dirty pages consisting only of + // '\0' + int *dst = dst_v; + int const *src = src_v; + size_t len = len_v / sizeof(int); + size_t rest = len_v - sizeof(int)*len; + size_t i=0; + + for (; i0 && ftruncate(out_fd, in_len)==-1) // create sparse file + return false; + + bus_error = 0; + if (sigsetjmp(bus_error_restore, 1)==0) { + off_t offset = 0; + + while (offset < in_len) { + buf_size = in_len - offset; + if (buf_size > MMAP_BLOCKSIZE) buf_size = MMAP_BLOCKSIZE; + + if ((in_buf = mmap(0, buf_size, PROT_READ, MAP_SHARED, in_fd, offset))==MAP_FAILED || + (out_buf = mmap(0, buf_size, PROT_WRITE, MAP_SHARED, out_fd, offset))==MAP_FAILED) { + perror("mmap()"); + goto out; + } + + offset += buf_size; + madvise(const_cast(void *)(in_buf), buf_size, MADV_SEQUENTIAL); + madvise(out_buf, buf_size, MADV_SEQUENTIAL); + + TESTSUITE_COPY_CODE; + copyMem(out_buf, in_buf, buf_size); + + munmap(out_buf, buf_size); out_buf = 0; + munmap(const_cast(void *)(in_buf), buf_size); in_buf = 0; + } + + res = true; + } + + out: + if (out_buf!=0) munmap(out_buf, buf_size); + if (in_buf !=0) munmap(const_cast(void *)(in_buf), buf_size); + + return res; +} + +static inline bool +copyReg(char const *src, struct stat const *src_stat, + char const *dst) +{ + int in_fd = open(src, O_RDONLY|O_NOCTTY|O_NONBLOCK|O_NOFOLLOW|O_LARGEFILE); + int out_fd = in_fd==-1 ? -1 : open(dst, O_RDWR|O_CREAT|O_EXCL|O_NOCTTY, 0200); + bool res = false; + + if (in_fd==-1 || out_fd==-1 || + !verifySource(in_fd, src_stat)) goto err; + +#if 0 + for (;;) { + char buf[2048]; + ssize_t l = read(in_fd, buf, sizeof buf); + if (l==-1) goto err; + if (l==0) break; + if (!WwriteAll(out_fd, buf, l, 0)) goto err; + } + + res = true; +#else + void (*old_handler)(int) = signal(SIGBUS, handlerSIGBUS); + + res = copyMMap(in_fd, out_fd); + + signal(SIGBUS, old_handler); +#endif + + err: + if (out_fd!=-1 && close(out_fd)==-1) res=false; + if (in_fd!=-1 && close(in_fd)==-1) res=false; + return res; +} + +static inline bool +copyNode(char const UNUSED *src, struct stat const *src_stat, + char const *dst) +{ + return mknod(dst, src_stat->st_mode & (S_IFMT|S_IWUSR), + src_stat->st_rdev)!=-1; +} + +static inline bool +copyDir(char const UNUSED *src, struct stat const UNUSED *src_stat, + char const *dst) +{ + return mkdir(dst, 0700)!=-1; +} + +static inline bool +setModes(char const *path, struct stat const *st) +{ + return (lchown(path, st->st_uid, st->st_gid)!=-1 && + (S_ISLNK(st->st_mode) || chmod(path, st->st_mode)!=-1)); +} + + +bool +Unify_copy(char const *src, struct stat const *src_stat, + char const *dst) +{ + // skip sockets + // TODO: message + if (S_ISSOCK(src_stat->st_mode)) + return true; + + return + (((S_ISLNK (src_stat->st_mode) && copyLnk (src, dst)) || + (S_ISREG (src_stat->st_mode) && copyReg (src, src_stat, dst)) || + (S_ISDIR (src_stat->st_mode) && copyDir (src, src_stat, dst)) || + ((S_ISBLK (src_stat->st_mode) || + S_ISCHR (src_stat->st_mode) || + S_ISFIFO(src_stat->st_mode)) && copyNode(src, src_stat, dst)) + ) && + setModes(dst, src_stat) && + Unify_setTime(dst, src_stat)); +} diff --git a/lib_internal/unify-deunify.c b/lib_internal/unify-deunify.c new file mode 100644 index 0000000..96b76a6 --- /dev/null +++ b/lib_internal/unify-deunify.c @@ -0,0 +1,125 @@ +// $Id: unify-deunify.c 942 2004-02-18 04:48:24Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "unify.h" +#include +#include +#include +#include +#include +#include +#include +#include + +#define ENSC_WRAPPERS_IO 1 +#include + +bool +Unify_deUnify(char const *dst) +{ + size_t l = strlen(dst); + char tmpfile[l + sizeof(";XXXXXX")]; + int fd_src, fd_tmp; + struct stat st; + struct utimbuf utm; + + fd_src = open(dst, O_RDONLY); + if (fd_src==-1) { + perror("open()"); + return false; + } + + if (fstat(fd_src, &st)==-1) { + perror("fstat()"); + close(fd_src); + return false; + } + + memcpy(tmpfile, dst, l); + memcpy(tmpfile+l, ";XXXXXX", 8); + fd_tmp = mkstemp(tmpfile); + + if (fd_tmp==-1) { + perror("mkstemp()"); + tmpfile[0] = '\0'; + goto err; + } + + if (fchown(fd_tmp, st.st_uid, st.st_gid)==-1 || + fchmod(fd_tmp, st.st_mode)==-1) { + perror("fchown()/fchmod()"); + goto err; + } + + // todo: acl? + + for (;;) { + char buf[0x4000]; + ssize_t len = read(fd_src, buf, sizeof buf); + if (len==-1) { + perror("read()"); + goto err; + } + if (len==0) break; + + if (!WwriteAll(fd_tmp, buf, len, 0)) goto err; + } + + if (close(fd_src)==-1) { + perror("close()"); + goto err; + } + if (close(fd_tmp)==-1) { + perror("close()"); + goto err; + } + + utm.actime = st.st_atime; + utm.modtime = st.st_mtime; + + // ALERT: race !!! + if (utime(tmpfile, &utm)==-1) { + perror("utime()"); + goto err1; + } + + if (unlink(dst)==-1) { + perror("unlink()"); + goto err1; + } + + // ALERT: race !!! + if (rename(tmpfile, dst)==-1) { + perror("FATAL error in rename()"); + _exit(1); + } + + return true; + + err: + close(fd_src); + close(fd_tmp); + err1: + if (tmpfile[0]) unlink(tmpfile); + + return false; +} diff --git a/lib_internal/unify-isiunlinkable.c b/lib_internal/unify-isiunlinkable.c new file mode 100644 index 0000000..b221e61 --- /dev/null +++ b/lib_internal/unify-isiunlinkable.c @@ -0,0 +1,39 @@ +// $Id: unify-isiunlinkable.c 1917 2005-03-18 00:22:06Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "unify.h" +#include "vserver.h" + + +UnifyStatus +Unify_isIUnlinkable(char const *filename) +{ + uint_least32_t const V = VC_IATTR_IUNLINK|VC_IATTR_IMMUTABLE; + + uint_least32_t flags; + uint_least32_t mask = V; + + if (vc_get_iattr(filename, 0, &flags, &mask)==-1 || (mask & V) != V) + return unifyUNSUPPORTED; + + return (flags & V)==V ? unifyBUSY : unifyUINLINKABLE; +} diff --git a/lib_internal/unify-settime.c b/lib_internal/unify-settime.c new file mode 100644 index 0000000..de5d87f --- /dev/null +++ b/lib_internal/unify-settime.c @@ -0,0 +1,39 @@ +// $Id: unify-settime.c 1595 2004-06-27 13:03:58Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "unify.h" +#include +#include + +bool +Unify_setTime(char const *dst, struct stat const *st) +{ + struct utimbuf utm; + + // skip symlinks + if (S_ISLNK(st->st_mode)) return true; + + utm.actime = st->st_atime; + utm.modtime = st->st_mtime; + return utime(dst, &utm)!=-1; +} + diff --git a/lib_internal/unify-unify.c b/lib_internal/unify-unify.c new file mode 100644 index 0000000..55e84f0 --- /dev/null +++ b/lib_internal/unify-unify.c @@ -0,0 +1,121 @@ +// $Id: unify-unify.c 1973 2005-03-24 00:12:23Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "unify.h" +#include "vserver.h" + +#include +#include +#include +#include +#include +#include +#include + +bool +Unify_unify(char const *src, struct stat const UNUSED *src_stat, + char const *dst, bool ignore_zero) +{ + size_t l = strlen(dst); + char tmpfile[l + sizeof(";XXXXXX")]; + int fd; + bool res = false; + struct stat st; + bool lstat_succeeded; + sigset_t mask_new, mask_old; + int old_errno; + + // at first, set the ILI flags on 'src' + if (vc_set_iattr(src, + 0, + VC_IATTR_IUNLINK|VC_IATTR_IMMUTABLE, + VC_IATTR_IUNLINK|VC_IATTR_IMMUTABLE)==-1) { + perror("vc_set_iattr()"); + return false; + } + + lstat_succeeded = lstat(dst, &st)==0; + + sigfillset(&mask_new); + if (sigprocmask(SIG_SETMASK, &mask_new, &mask_old)==-1) { + perror("sigprocmask()"); + return false; + } + + + // check if 'dst' already exists + // when ignore_zero is true, do not make backups of empty destinations + if (lstat_succeeded && (st.st_size>0 || !ignore_zero)) { + // now, create a temporary filename + memcpy(tmpfile, dst, l); + memcpy(tmpfile+l, ";XXXXXX", 8); + fd = mkstemp(tmpfile); + close(fd); + + if (fd==-1) { + perror("mkstemp()"); + tmpfile[0] = '\0'; + goto err; + } + + // and rename the old file to this name + + // NOTE: this rename() is race-free; when an attacker makes 'tmpfile' a + // directory, the operation would fail; when making it a symlink to a file + // or directory, the symlink but not the file/directory would be overridden + if (rename(dst, tmpfile)==-1) { + perror("rename()"); + goto err; + } + } + else { + if (lstat_succeeded) unlink(dst); + tmpfile[0] = '\0'; + } + + // now, link the src-file to dst + if (link(src, dst)==-1) { + perror("link()"); + + unlink(dst); + if (tmpfile[0]!='\0' && + rename(tmpfile, dst)==-1) { + perror("FATAL error in rename()"); + _exit(1); + } + goto err; + } + + res = true; + + err: + old_errno = errno; + + if (tmpfile[0]!='\0') + unlink(tmpfile); + + if (sigprocmask(SIG_SETMASK, &mask_old, 0)==-1) + perror("sigprocmask()"); + + errno = old_errno; + return res; +} diff --git a/lib_internal/unify.h b/lib_internal/unify.h new file mode 100644 index 0000000..8384fab --- /dev/null +++ b/lib_internal/unify.h @@ -0,0 +1,68 @@ +// $Id: unify.h 2476 2007-01-27 10:05:58Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UNIFY_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UNIFY_H + +#include +#include + +bool +Unify_unify(char const *src, struct stat const *src_stat, + char const *dst, bool ignore_zero) NONNULL((1,2,3)); + +bool +Unify_copy(char const *src, struct stat const *src_stat, + char const *dst) NONNULL((1,2,3)); + +bool +Unify_deUnify(char const *dst) NONNULL((1)); + +bool +Unify_setTime(char const *dst, struct stat const *stat) NONNULL((1,2)); + + +typedef enum { unifyUNSUPPORTED, unifyUINLINKABLE, unifyBUSY } UnifyStatus; + +UnifyStatus +Unify_isIUnlinkable(char const *filename) NONNULL((1)); + +#define Unify_isUnified(LHS, RHS) \ + ((bool)((LHS)->st_dev ==(RHS)->st_dev && \ + (LHS)->st_ino ==(RHS)->st_ino)) + +#define _Unify_isUnifyable(LHS, RHS) \ + ((bool)((LHS)->st_dev ==(RHS)->st_dev && \ + (LHS)->st_ino !=(RHS)->st_ino && \ + (LHS)->st_mode ==(RHS)->st_mode && \ + (LHS)->st_uid ==(RHS)->st_uid && \ + (LHS)->st_gid ==(RHS)->st_gid && \ + (LHS)->st_size ==(RHS)->st_size)) +#ifdef UTIL_VSERVER_UNIFY_MTIME_OPTIONAL +# define Unify_isUnifyable(LHS, RHS) \ + ((bool)(_Unify_isUnifyable(LHS, RHS) && \ + (global_args->ignore_mtime || \ + (LHS)->st_mtime==(RHS)->st_mtime))) +#else +# define Unify_isUnifyable(LHS, RHS) \ + ((bool)(_Unify_isUnifyable(LHS, RHS) && \ + (LHS)->st_mtime==(RHS)->st_mtime)) +#endif + + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UNIFY_H diff --git a/lib_internal/util-canonify.c b/lib_internal/util-canonify.c new file mode 100644 index 0000000..49fdaf7 --- /dev/null +++ b/lib_internal/util-canonify.c @@ -0,0 +1,40 @@ +// $Id: util-canonify.c 1616 2004-07-02 23:34:52Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "util.h" + +size_t +canonifyVserverName(char *name) +{ + char *in = name; + char *out = name; + + while (*in) { + if ((*in>='a' && *in<='z') || + (*in>='A' && *in<='Z') || + (*in>='0' && *in<='9')) + *out++ = *in; + ++in; + } + *out = '\0'; + return out-name; +} diff --git a/lib_internal/util-cast.h b/lib_internal/util-cast.h new file mode 100644 index 0000000..ca8793e --- /dev/null +++ b/lib_internal/util-cast.h @@ -0,0 +1,33 @@ +// $Id: util-cast.h 1009 2004-02-26 13:07:15Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTILVSERVER_LIB_INTERNAL_UTIL_CAST_H +#define H_UTILVSERVER_LIB_INTERNAL_UTIL_CAST_H + +#ifndef __cplusplus +# define cAsT_(X) (X)) +# define reinterpret_cast(X) ((X) cAsT_ +# define static_cast(X) ((X) cAsT_ +# define const_cast(X) ((X) cAsT_ +#else /* __cplusplus */ +# define reinterpret_cast(X) reinterpret_cast +# define static_cast(X) static_cast +# define const_cast(X) const_cast +#endif + +#endif // H_UTILVSERVER_LIB_INTERNAL_UTIL_CAST_H diff --git a/lib_internal/util-commonstrings.h b/lib_internal/util-commonstrings.h new file mode 100644 index 0000000..f82da67 --- /dev/null +++ b/lib_internal/util-commonstrings.h @@ -0,0 +1,32 @@ +// $Id: util-commonstrings.h 1009 2004-02-26 13:07:15Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTILVSERVER_LIB_INTERNAL_UTIL_COMMONSTRINGS_H +#define H_UTILVSERVER_LIB_INTERNAL_UTIL_COMMONSTRINGS_H + +#ifndef PACKAGE_BUGREPORT +# define PACKAGE_BUGREPORT "???" +#endif + +#ifndef VERSION_COPYRIGHT_DISCLAIMER +# define VERSION_COPYRIGHT_DISCLAIMER \ + "This program is free software; you may redistribute it under the terms of\n" \ + "the GNU General Public License. This program has absolutely no warranty.\n" +#endif + +#endif // H_UTILVSERVER_LIB_INTERNAL_UTIL_COMMONSTRINGS_H diff --git a/lib_internal/util-debug.h b/lib_internal/util-debug.h new file mode 100644 index 0000000..9d145b0 --- /dev/null +++ b/lib_internal/util-debug.h @@ -0,0 +1,30 @@ +// $Id: util-debug.h 1452 2004-04-14 23:22:13Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_DEBUG_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_DEBUG_H + +#ifdef ENSC_ENABLE_DPRINTF +# include +# define DPRINTF(FMT,...) printf(FMT, __VA_ARGS__) +#else +# define DPRINTF(FMT,...) do {} while(0) +#endif + + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_DEBUG_H diff --git a/lib_internal/util-declarecmd.h b/lib_internal/util-declarecmd.h new file mode 100644 index 0000000..949ea7b --- /dev/null +++ b/lib_internal/util-declarecmd.h @@ -0,0 +1,27 @@ +// $Id: util-declarecmd.h 1009 2004-02-26 13:07:15Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTILVSERVER_LIB_INTERNAL_UTIL_DECLARECMD_H +#define H_UTILVSERVER_LIB_INTERNAL_UTIL_DECLARECMD_H + +#define VSERVER_DECLARE_CMD(CMD) \ + char buf[strlen(CMD)+1]; \ + memcpy(buf, (CMD), strlen(CMD)+1); \ + CMD = basename(buf); + +#endif // H_UTILVSERVER_LIB_INTERNAL_UTIL_DECLARECMD_H diff --git a/lib_internal/util-dimof.h b/lib_internal/util-dimof.h new file mode 100644 index 0000000..cb01d83 --- /dev/null +++ b/lib_internal/util-dimof.h @@ -0,0 +1,24 @@ +// $Id: util-dimof.h 1009 2004-02-26 13:07:15Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTILVSERVER_LIB_INTERNAL_UTIL_DIMOF_H +#define H_UTILVSERVER_LIB_INTERNAL_UTIL_DIMOF_H + +#define DIM_OF(X) (sizeof(X)/sizeof((X)[0])) + +#endif // H_UTILVSERVER_LIB_INTERNAL_UTIL_DIMOF_H diff --git a/lib_internal/util-dotfile.h b/lib_internal/util-dotfile.h new file mode 100644 index 0000000..0344a98 --- /dev/null +++ b/lib_internal/util-dotfile.h @@ -0,0 +1,30 @@ +// $Id: util-dotfile.h 1307 2004-03-18 06:06:07Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_DOTFILE_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_DOTFILE_H + +#include + +static inline UNUSED ALWAYSINLINE bool +isDotfile(char const *d) +{ + return d[0]=='.' && (d[1]=='\0' || (d[1]=='.' && d[2]=='\0')); +} + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_DOTFILE_H diff --git a/lib_internal/util-io.h b/lib_internal/util-io.h new file mode 100644 index 0000000..d70b9f5 --- /dev/null +++ b/lib_internal/util-io.h @@ -0,0 +1,53 @@ +// $Id: util-io.h 2650 2008-01-03 15:30:17Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_IO_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_IO_H + +#include +#include +#include "ensc_fmt/fmt.h" + +inline static void UNUSED +Vwrite(int fd, char const *buf, size_t len) +{ + if (write(fd,buf,len)==-1) { /**/ } +} + +inline static void UNUSED +writeStr(int fd, char const *cmd) +{ + Vwrite(fd, cmd, strlen(cmd)); +} + +inline static void UNUSED +WRITE_INT(int fd, int num) +{ + char buf[sizeof(num)*3+2]; + size_t l; + + l = utilvserver_fmt_long(buf,num); + + Vwrite(fd, buf, l); +} + +#define WRITE_MSG(FD,X) Vwrite(FD,X,sizeof(X)-1) +#define WRITE_STR(FD,X) writeStr(FD,X) + + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_IO_H diff --git a/lib_internal/util-isnumber.c b/lib_internal/util-isnumber.c new file mode 100644 index 0000000..66e01fe --- /dev/null +++ b/lib_internal/util-isnumber.c @@ -0,0 +1,35 @@ +// $Id: util-isnumber.c 2255 2006-01-22 11:23:47Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "util.h" +#include "util-isnumber.hc" +#include + +static inline bool +checkConstraints(signed long val, unsigned int fac) +{ + if (val>0 && (signed long)(LONG_MAX/fac) <= val) return false; + if (val<0 && (signed long)(LONG_MIN/fac) >= val) return false; + return true; +} + +ENSC_DECL_UTIL_ISNUMBER(isNumber, signed long, strtol) diff --git a/lib_internal/util-isnumber.hc b/lib_internal/util-isnumber.hc new file mode 100644 index 0000000..102e02d --- /dev/null +++ b/lib_internal/util-isnumber.hc @@ -0,0 +1,52 @@ +// $Id: util-isnumber.hc 2255 2006-01-22 11:23:47Z ensc $ --*- c -*-- + +// Copyright (C) 2006 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#include +#include +#include + +#define ENSC_DECL_UTIL_ISNUMBER(NAME,TYPE,FUNC) \ + bool \ + NAME(char const *str, TYPE *result, bool is_strict) \ + { \ + char * errptr; \ + TYPE val; \ + unsigned int fac = 1; \ + \ + errno = 0; \ + val = FUNC(str, &errptr, 0); \ + if (errno==ERANGE) \ + return false; \ + if (errptr!=str && !is_strict) { \ + switch (*errptr) { \ + case 'M' : fac *= 1024; /* fallthrough */ \ + case 'K' : fac *= 1024; ++errptr; break; \ + case 'm' : fac *= 1000; /* fallthrough */ \ + case 'k' : fac *= 1000; ++errptr; break; \ + default : break; \ + } \ + } \ + if (!checkConstraints(val,fac)) \ + return false; \ + \ + if (*errptr!='\0' || errptr==str) \ + return false; \ + else { \ + if (result) *result = val*fac; \ + return true; \ + } \ + } diff --git a/lib_internal/util-isnumberunsigned.c b/lib_internal/util-isnumberunsigned.c new file mode 100644 index 0000000..bdc034f --- /dev/null +++ b/lib_internal/util-isnumberunsigned.c @@ -0,0 +1,35 @@ +// $Id: util-isnumberunsigned.c 2255 2006-01-22 11:23:47Z ensc $ --*- c -*-- + +// Copyright (C) 2005 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "util.h" +#include "util-isnumber.hc" +#include + +static inline bool +checkConstraints(unsigned long val, unsigned int fac) +{ + if ((long)(val) < 0) return false; + if (ULONG_MAX/fac <= val) return false; + return true; +} + +ENSC_DECL_UTIL_ISNUMBER(isNumberUnsigned, unsigned long, strtoul) diff --git a/lib_internal/util-lockfile.c b/lib_internal/util-lockfile.c new file mode 100644 index 0000000..f270ec4 --- /dev/null +++ b/lib_internal/util-lockfile.c @@ -0,0 +1,86 @@ +// $Id: util-lockfile.c 2678 2008-02-16 22:09:30Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "util-lockfile.h" +#include "errinfo.h" + +#include +#include +#include +#include +#include +#include + +static volatile sig_atomic_t alarm_flag = 0; + +static void +alarmFunc(int UNUSED sig) +{ + alarm_flag = 1; + signal(SIGALRM, alarmFunc); +} + +bool +lockfile(int *fd, char const *filename, int op, long timeout, + struct ErrorInformation *err) +{ + char const *errstr = 0; + void (*old_sighandler)(int) = 0; + + errstr = "open()"; + *fd = open(filename, O_CREAT|O_RDONLY|O_NOFOLLOW|O_NONBLOCK, 0644); + if (*fd==-1) goto err; + + if (timeout!=-1) { + errstr = "siginterrupt()"; + if (siginterrupt(SIGALRM, 1)==-1) goto err; + + errstr = "signal()"; + old_sighandler = signal(SIGALRM, alarmFunc); + if (old_sighandler==SIG_ERR) goto err; + + alarm(timeout); + } + + errstr = "lockf()"; + while (lockf(*fd, op, 0)==-1) { + if ((errno!=EINTR && errno!=EINTR) || alarm_flag) goto err; + } + + if (timeout!=-1 && old_sighandler!=0) + signal(SIGALRM, old_sighandler); + + errstr = "fcntl()"; + if (fcntl(*fd, F_SETFD, FD_CLOEXEC)==-1) goto err; + + return true; + + err: + if (err) { + err->pos = errstr; + err->id = errno; + } + if (timeout!=-1 && old_sighandler!=0) + signal(SIGALRM, old_sighandler); + if (*fd!=-1) close(*fd); + return false; +} diff --git a/lib_internal/util-lockfile.h b/lib_internal/util-lockfile.h new file mode 100644 index 0000000..d828dec --- /dev/null +++ b/lib_internal/util-lockfile.h @@ -0,0 +1,30 @@ +// $Id: util-lockfile.h 1616 2004-07-02 23:34:52Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_LOCKFILE_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_LOCKFILE_H + +#include + +struct ErrorInformation; + +bool lockfile(int *fd, char const *filename, int op, + long timeout, + struct ErrorInformation *err); + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_LOCKFILE_H diff --git a/lib_internal/util-mem.h b/lib_internal/util-mem.h new file mode 100644 index 0000000..8b30d58 --- /dev/null +++ b/lib_internal/util-mem.h @@ -0,0 +1,31 @@ +// $Id: util-mem.h 1620 2004-07-02 23:45:09Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_MEM_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_MEM_H + +#include +#include + +inline static void * +Xmemcpy(void * restrict dst, void const * restrict src, size_t len) +{ + return (char *)(memcpy(dst, src, len))+len; +} + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_MEM_H diff --git a/lib_internal/util-perror.h b/lib_internal/util-perror.h new file mode 100644 index 0000000..cd1be79 --- /dev/null +++ b/lib_internal/util-perror.h @@ -0,0 +1,44 @@ +// $Id: util-perror.h 1324 2004-03-24 01:07:53Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_PERROR_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_PERROR_H + +#define PERROR_U(MSG, ARG0) do { \ + size_t pu_l1 = strlen(MSG); \ + size_t pu_l2 = strlen(ARG0); \ + char pu_buf[pu_l1 + pu_l2 + sizeof("()")]; \ + memcpy(pu_buf, MSG, pu_l1); \ + pu_buf[pu_l1] = '('; \ + memcpy(pu_buf+1+pu_l1, ARG0, pu_l2); \ + pu_buf[pu_l1+1+pu_l2] = ')'; \ + pu_buf[pu_l1+2+pu_l2] = '\0'; \ + perror(pu_buf); \ + } while (0) + +#define PERROR_Q(MSG, ARG0) do { \ + size_t pq_l = strlen(ARG0); \ + char pq_buf[pq_l + 3]; \ + pq_buf[0] = '"'; \ + memcpy(pq_buf+1, ARG0, pq_l); \ + pq_buf[pq_l+1] = '"'; \ + pq_buf[pq_l+2] = '\0'; \ + PERROR_U(MSG, pq_buf); \ + } while (0) + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_PERROR_H diff --git a/lib_internal/util-safechdir.c b/lib_internal/util-safechdir.c new file mode 100644 index 0000000..a0c1991 --- /dev/null +++ b/lib_internal/util-safechdir.c @@ -0,0 +1,50 @@ +// $Id: util-safechdir.c 956 2004-02-19 22:25:50Z ensc $ --*- c -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include + +int +safeChdir(char const *path, struct stat const *exp_stat) +{ + if (strchr(path, '/')!=0) { + errno = EINVAL; + return -1; + } + + { + struct stat now_stat; + if (chdir(path)==-1 || + stat(".", &now_stat)==-1) return -1; + if (exp_stat->st_dev != now_stat.st_dev || + exp_stat->st_ino != now_stat.st_ino) { + // TODO: warning/logging + errno = EINVAL; + return -1; + } + } + + return 0; +} diff --git a/lib_internal/util-safechdir.h b/lib_internal/util-safechdir.h new file mode 100644 index 0000000..36b786a --- /dev/null +++ b/lib_internal/util-safechdir.h @@ -0,0 +1,29 @@ +// $Id: util-safechdir.h 2608 2007-09-03 07:42:17Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_SAFECHDIR_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_SAFECHDIR_H + +#include + +int safeChdir(char const *, struct stat const *exp_stat) NONNULL((1,2)); + +#define EsafeChdir(PATH,EXP_STAT) \ + FatalErrnoError(safeChdir(PATH,EXP_STAT)==-1, "safeChdir()") + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_SAFECHDIR_H diff --git a/lib_internal/util-unixsock.h b/lib_internal/util-unixsock.h new file mode 100644 index 0000000..a458a05 --- /dev/null +++ b/lib_internal/util-unixsock.h @@ -0,0 +1,27 @@ +// $Id: util-unixsock.h 2241 2006-01-04 12:27:02Z ensc $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_LIB_INTERNAL_UTIL_UNIXSOCK_H +#define H_UTIL_VSERVER_LIB_INTERNAL_UTIL_UNIXSOCK_H + +#define ENSC_INIT_UNIX_SOCK(ADDR, FILENAME) \ + (ADDR).sun_family = AF_UNIX; \ + strncpy((ADDR).sun_path, FILENAME, sizeof((ADDR).sun_path)-1); \ + (ADDR).sun_path[sizeof((ADDR).sun_path)-1] = '\0'; + +#endif // H_UTIL_VSERVER_LIB_INTERNAL_UTIL_UNIXSOCK_H diff --git a/lib_internal/util.h b/lib_internal/util.h new file mode 100644 index 0000000..42318b9 --- /dev/null +++ b/lib_internal/util.h @@ -0,0 +1,41 @@ +// $Id: util.h 2739 2008-07-14 13:12:25Z dhozac $ --*- c -*-- + +// Copyright (C) 2004 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTILVSERVER_LIB_INTERNAL_UTIL_H +#define H_UTILVSERVER_LIB_INTERNAL_UTIL_H + +#include "util-cast.h" +#include "util-commonstrings.h" +#include "util-debug.h" +#include "util-declarecmd.h" +#include "util-dimof.h" +#include "util-dotfile.h" +#include "util-io.h" +#include "util-lockfile.h" +#include "util-mem.h" +#include "util-perror.h" +#include "util-safechdir.h" +#include "util-unixsock.h" + +bool switchToWatchXid(char const **); +size_t canonifyVserverName(char *); +bool isNumber(char const *, signed long *result, bool is_strict); +bool isNumberUnsigned(char const *, unsigned long *result, bool is_strict); +bool mkdirRecursive(char const *); + +#endif // H_UTILVSERVER_LIB_INTERNAL_UTIL_H diff --git a/ltmain.sh b/ltmain.sh new file mode 100644 index 0000000..8e5a930 --- /dev/null +++ b/ltmain.sh @@ -0,0 +1,6930 @@ +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, +# 2007 Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +basename="s,^.*/,,g" + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# The name of this program: +progname=`echo "$progpath" | $SED $basename` +modename="$progname" + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION=1.5.24 +TIMESTAMP=" (1.1220.2.456 2007/06/24 02:25:32)" + +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$progpath" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE +fi + +# Global variables. +mode=$default_mode +nonopt= +prev= +prevopt= +run= +show="$echo" +show_help= +execute_dlfiles= +duplicate_deps=no +preserve_args= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" +extracted_archives= +extracted_serial=0 + +##################################### +# Shell function definitions: +# This seems to be the best place for them + +# func_mktempdir [string] +# Make a temporary directory that won't clash with other running +# libtool processes, and avoids race conditions if possible. If +# given, STRING is the basename for that directory. +func_mktempdir () +{ + my_template="${TMPDIR-/tmp}/${1-$progname}" + + if test "$run" = ":"; then + # Return a directory name, but don't create it in dry-run mode + my_tmpdir="${my_template}-$$" + else + + # If mktemp works, use that first and foremost + my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` + + if test ! -d "$my_tmpdir"; then + # Failing that, at least try and use $RANDOM to avoid a race + my_tmpdir="${my_template}-${RANDOM-0}$$" + + save_mktempdir_umask=`umask` + umask 0077 + $mkdir "$my_tmpdir" + umask $save_mktempdir_umask + fi + + # If we're not in dry-run mode, bomb out on failure + test -d "$my_tmpdir" || { + $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 + exit $EXIT_FAILURE + } + fi + + $echo "X$my_tmpdir" | $Xsed +} + + +# func_win32_libid arg +# return the library type of file 'arg' +# +# Need a lot of goo to handle *both* DLLs and import libs +# Has to be a shell function in order to 'eat' the argument +# that is supplied when $file_magic_command is called. +func_win32_libid () +{ + win32_libid_type="unknown" + win32_fileres=`file -L $1 2>/dev/null` + case $win32_fileres in + *ar\ archive\ import\ library*) # definitely import + win32_libid_type="x86 archive import" + ;; + *ar\ archive*) # could be an import, or static + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | \ + $SED -n -e '1,100{ + / I /{ + s,.*,import, + p + q + } + }'` + case $win32_nmres in + import*) win32_libid_type="x86 archive import";; + *) win32_libid_type="x86 archive static";; + esac + fi + ;; + *DLL*) + win32_libid_type="x86 DLL" + ;; + *executable*) # but shell scripts are "executable" too... + case $win32_fileres in + *MS\ Windows\ PE\ Intel*) + win32_libid_type="x86 DLL" + ;; + esac + ;; + esac + $echo $win32_libid_type +} + + +# func_infer_tag arg +# Infer tagged configuration to use if any are available and +# if one wasn't chosen via the "--tag" command line option. +# Only attempt this if the compiler in the base compile +# command doesn't match the default compiler. +# arg is usually of the form 'gcc ...' +func_infer_tag () +{ + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case $@ in + # Blanks in the command may have been stripped by the calling shell, + # but not from the CC environment variable when configure was run. + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; + # Blanks at the start of $base_compile will cause this to fail + # if we don't check for them as well. + *) + for z in $available_tags; do + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" + CC_quoted= + for arg in $CC; do + # Double-quote args containing other shell metacharacters. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case "$@ " in + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) + # The compiler in the base compile command matches + # the one in the tagged configuration. + # Assume this is the tagged configuration we want. + tagname=$z + break + ;; + esac + fi + done + # If $tagname still isn't set, then no tagged configuration + # was found and let the user know that the "--tag" command + # line option must be used. + if test -z "$tagname"; then + $echo "$modename: unable to infer tagged configuration" + $echo "$modename: specify a tag with \`--tag'" 1>&2 + exit $EXIT_FAILURE +# else +# $echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi +} + + +# func_extract_an_archive dir oldlib +func_extract_an_archive () +{ + f_ex_an_ar_dir="$1"; shift + f_ex_an_ar_oldlib="$1" + + $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" + $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? + if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 + exit $EXIT_FAILURE + fi +} + +# func_extract_archives gentop oldlib ... +func_extract_archives () +{ + my_gentop="$1"; shift + my_oldlibs=${1+"$@"} + my_oldobjs="" + my_xlib="" + my_xabs="" + my_xdir="" + my_status="" + + $show "${rm}r $my_gentop" + $run ${rm}r "$my_gentop" + $show "$mkdir $my_gentop" + $run $mkdir "$my_gentop" + my_status=$? + if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then + exit $my_status + fi + + for my_xlib in $my_oldlibs; do + # Extract the objects. + case $my_xlib in + [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; + *) my_xabs=`pwd`"/$my_xlib" ;; + esac + my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` + my_xlib_u=$my_xlib + while :; do + case " $extracted_archives " in + *" $my_xlib_u "*) + extracted_serial=`expr $extracted_serial + 1` + my_xlib_u=lt$extracted_serial-$my_xlib ;; + *) break ;; + esac + done + extracted_archives="$extracted_archives $my_xlib_u" + my_xdir="$my_gentop/$my_xlib_u" + + $show "${rm}r $my_xdir" + $run ${rm}r "$my_xdir" + $show "$mkdir $my_xdir" + $run $mkdir "$my_xdir" + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then + exit $exit_status + fi + case $host in + *-darwin*) + $show "Extracting $my_xabs" + # Do not bother doing anything if just a dry run + if test -z "$run"; then + darwin_orig_dir=`pwd` + cd $my_xdir || exit $? + darwin_archive=$my_xabs + darwin_curdir=`pwd` + darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` + darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` + if test -n "$darwin_arches"; then + darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` + darwin_arch= + $show "$darwin_base_archive has multiple architectures $darwin_arches" + for darwin_arch in $darwin_arches ; do + mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" + lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" + cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" + func_extract_an_archive "`pwd`" "${darwin_base_archive}" + cd "$darwin_curdir" + $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" + done # $darwin_arches + ## Okay now we have a bunch of thin objects, gotta fatten them up :) + darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` + darwin_file= + darwin_files= + for darwin_file in $darwin_filelist; do + darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` + lipo -create -output "$darwin_file" $darwin_files + done # $darwin_filelist + ${rm}r unfat-$$ + cd "$darwin_orig_dir" + else + cd "$darwin_orig_dir" + func_extract_an_archive "$my_xdir" "$my_xabs" + fi # $darwin_arches + fi # $run + ;; + *) + func_extract_an_archive "$my_xdir" "$my_xabs" + ;; + esac + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + func_extract_archives_result="$my_oldobjs" +} +# End of Shell function definitions +##################################### + +# Darwin sucks +eval std_shrext=\"$shrext_cmds\" + +disable_libs=no + +# Parse our command line options once, thoroughly. +while test "$#" -gt 0 +do + arg="$1" + shift + + case $arg in + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + execute_dlfiles) + execute_dlfiles="$execute_dlfiles $arg" + ;; + tag) + tagname="$arg" + preserve_args="${preserve_args}=$arg" + + # Check whether tagname contains only valid characters + case $tagname in + *[!-_A-Za-z0-9,/]*) + $echo "$progname: invalid tag name: $tagname" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $tagname in + CC) + # Don't test for the "default" C tag, as we know, it's there, but + # not specially marked. + ;; + *) + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then + taglist="$taglist $tagname" + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" + else + $echo "$progname: ignoring unknown tag $tagname" 1>&2 + fi + ;; + esac + ;; + *) + eval "$prev=\$arg" + ;; + esac + + prev= + prevopt= + continue + fi + + # Have we seen a non-optional argument yet? + case $arg in + --help) + show_help=yes + ;; + + --version) + echo "\ +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP + +Copyright (C) 2007 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + exit $? + ;; + + --config) + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath + # Now print the configurations for the tags. + for tagname in $taglist; do + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" + done + exit $? + ;; + + --debug) + $echo "$progname: enabling shell trace mode" + set -x + preserve_args="$preserve_args $arg" + ;; + + --dry-run | -n) + run=: + ;; + + --features) + $echo "host: $host" + if test "$build_libtool_libs" = yes; then + $echo "enable shared libraries" + else + $echo "disable shared libraries" + fi + if test "$build_old_libs" = yes; then + $echo "enable static libraries" + else + $echo "disable static libraries" + fi + exit $? + ;; + + --finish) mode="finish" ;; + + --mode) prevopt="--mode" prev=mode ;; + --mode=*) mode="$optarg" ;; + + --preserve-dup-deps) duplicate_deps="yes" ;; + + --quiet | --silent) + show=: + preserve_args="$preserve_args $arg" + ;; + + --tag) + prevopt="--tag" + prev=tag + preserve_args="$preserve_args --tag" + ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift + prev=tag + preserve_args="$preserve_args --tag" + ;; + + -dlopen) + prevopt="-dlopen" + prev=execute_dlfiles + ;; + + -*) + $echo "$modename: unrecognized option \`$arg'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + + *) + nonopt="$arg" + break + ;; + esac +done + +if test -n "$prevopt"; then + $echo "$modename: option \`$prevopt' requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE +fi + +case $disable_libs in +no) + ;; +shared) + build_libtool_libs=no + build_old_libs=yes + ;; +static) + build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` + ;; +esac + +# If this variable is set in any of the actions, the command in it +# will be execed at the end. This prevents here-documents from being +# left over by shells. +exec_cmd= + +if test -z "$show_help"; then + + # Infer the operation mode. + if test -z "$mode"; then + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 + $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 + case $nonopt in + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) + mode=link + for arg + do + case $arg in + -c) + mode=compile + break + ;; + esac + done + ;; + *db | *dbx | *strace | *truss) + mode=execute + ;; + *install*|cp|mv) + mode=install + ;; + *rm) + mode=uninstall + ;; + *) + # If we have no mode, but dlfiles were specified, then do execute mode. + test -n "$execute_dlfiles" && mode=execute + + # Just use the default operation mode. + if test -z "$mode"; then + if test -n "$nonopt"; then + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 + else + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 + fi + fi + ;; + esac + fi + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + $echo "$modename: unrecognized option \`-dlopen'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$modename --help --mode=$mode' for more information." + + # These modes are in order of execution frequency so that they run quickly. + case $mode in + # libtool compile mode + compile) + modename="$modename: compile" + # Get the compilation command and the source file. + base_compile= + srcfile="$nonopt" # always keep a non-empty value in "srcfile" + suppress_opt=yes + suppress_output= + arg_mode=normal + libobj= + later= + + for arg + do + case $arg_mode in + arg ) + # do not "continue". Instead, add this to base_compile + lastarg="$arg" + arg_mode=normal + ;; + + target ) + libobj="$arg" + arg_mode=normal + continue + ;; + + normal ) + # Accept any command-line options. + case $arg in + -o) + if test -n "$libobj" ; then + $echo "$modename: you cannot specify \`-o' more than once" 1>&2 + exit $EXIT_FAILURE + fi + arg_mode=target + continue + ;; + + -static | -prefer-pic | -prefer-non-pic) + later="$later $arg" + continue + ;; + + -no-suppress) + suppress_opt=no + continue + ;; + + -Xcompiler) + arg_mode=arg # the next one goes into the "base_compile" arg list + continue # The current "srcfile" will either be retained or + ;; # replaced later. I would guess that would be a bug. + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + lastarg="$lastarg $arg" + done + IFS="$save_ifs" + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` + + # Add the arguments to base_compile. + base_compile="$base_compile $lastarg" + continue + ;; + + * ) + # Accept the current argument as the source file. + # The previous "srcfile" becomes the current argument. + # + lastarg="$srcfile" + srcfile="$arg" + ;; + esac # case $arg + ;; + esac # case $arg_mode + + # Aesthetically quote the previous argument. + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` + + case $lastarg in + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, and some SunOS ksh mistreat backslash-escaping + # in scan sets (worked around with variable expansion), + # and furthermore cannot handle '|' '&' '(' ')' in scan sets + # at all, so we specify them separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac + + base_compile="$base_compile $lastarg" + done # for arg + + case $arg_mode in + arg) + $echo "$modename: you must specify an argument for -Xcompile" + exit $EXIT_FAILURE + ;; + target) + $echo "$modename: you must specify a target with \`-o'" 1>&2 + exit $EXIT_FAILURE + ;; + *) + # Get the name of the library object. + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + xform='[cCFSifmso]' + case $libobj in + *.ada) xform=ada ;; + *.adb) xform=adb ;; + *.ads) xform=ads ;; + *.asm) xform=asm ;; + *.c++) xform=c++ ;; + *.cc) xform=cc ;; + *.ii) xform=ii ;; + *.class) xform=class ;; + *.cpp) xform=cpp ;; + *.cxx) xform=cxx ;; + *.[fF][09]?) xform=[fF][09]. ;; + *.for) xform=for ;; + *.java) xform=java ;; + *.obj) xform=obj ;; + esac + + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` + + case $libobj in + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; + *) + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -static) + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` + case $qlibobj in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qlibobj="\"$qlibobj\"" ;; + esac + test "X$libobj" != "X$qlibobj" \ + && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ + && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then + xdir= + else + xdir=$xdir/ + fi + lobj=${xdir}$objdir/$objname + + if test -z "$base_compile"; then + $echo "$modename: you must specify a compilation command" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Delete any leftover library objects. + if test "$build_old_libs" = yes; then + removelist="$obj $lobj $libobj ${libobj}T" + else + removelist="$lobj $libobj ${libobj}T" + fi + + $run $rm $removelist + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2*) + pic_mode=default + ;; + esac + if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then + # non-PIC code in shared libraries is not supported + pic_mode=default + fi + + # Calculate the filename of the output object if compiler does + # not support -o with -c + if test "$compiler_c_o" = no; then + output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + removelist="$removelist $output_obj $lockfile" + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + else + output_obj= + need_locks=no + lockfile= + fi + + # Lock this critical section if it is needed + # We use this script file to make the link, it avoids creating a new file + if test "$need_locks" = yes; then + until $run ln "$progpath" "$lockfile" 2>/dev/null; do + $show "Waiting for $lockfile to be removed" + sleep 2 + done + elif test "$need_locks" = warn; then + if test -f "$lockfile"; then + $echo "\ +*** ERROR, $lockfile exists and contains: +`cat $lockfile 2>/dev/null` + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + $echo "$srcfile" > "$lockfile" + fi + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` + case $qsrcfile in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qsrcfile="\"$qsrcfile\"" ;; + esac + + $run $rm "$libobj" "${libobj}T" + + # Create a libtool object file (analogous to a ".la" file), + # but don't create it if we're doing a dry run. + test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed, then go on to compile the next one + if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then + $show "$mv $output_obj $lobj" + if $run $mv $output_obj $lobj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the PIC object to the libtool object file. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then + $echo "\ +*** ERROR, $lockfile contains: +`cat $lockfile 2>/dev/null` + +but it should contain: +$srcfile + +This indicates that another process is trying to use the same +temporary object file, and libtool could not work around it because +your compiler does not support \`-c' and \`-o' together. If you +repeat this compilation, it may succeed, by chance, but you had better +avoid parallel builds (make -j) in this platform, or get a better +compiler." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + + # Just move the object if needed + if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then + $show "$mv $output_obj $obj" + if $run $mv $output_obj $obj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + -static) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=built + ;; + -static-libtool-libs) + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + prefer_static_libs=yes + ;; + esac + build_libtool_libs=no + build_old_libs=yes + break + ;; + esac + done + + # See if our shared archives depend on static archives. + test -n "$old_archive_from_new_cmds" && build_old_libs=yes + + # Go through the arguments, transforming them on the way. + while test "$#" -gt 0; do + arg="$1" + shift + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; + esac + libtool_args="$libtool_args $qarg" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + compile_command="$compile_command @SYMFILE@" + finalize_command="$finalize_command @SYMFILE@" + preload=yes + fi + case $arg in + *.la | *.lo) ;; # We handle these cases below. + force) + if test "$dlself" = no; then + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + self) + if test "$prev" = dlprefiles; then + dlself=yes + elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then + dlself=yes + else + dlself=needless + export_dynamic=yes + fi + prev= + continue + ;; + *) + if test "$prev" = dlfiles; then + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + if test ! -f "$arg"; then + $echo "$modename: symbol file \`$arg' does not exist" + exit $EXIT_FAILURE + fi + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat $save_arg` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + done + else + $echo "$modename: link input file \`$save_arg' does not exist" + exit $EXIT_FAILURE + fi + arg=$save_arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" + continue + ;; + xcclinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + continue + ;; + darwin_framework|darwin_framework_skip) + test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + prev= + continue + ;; + *) + eval "$prev=\"\$arg\"" + prev= + continue + ;; + esac + fi # test -n "$prev" + + prevarg="$arg" + + case $arg in + -all-static) + if test -n "$link_static_flag"; then + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 + continue + ;; + + -avoid-version) + avoid_version=yes + continue + ;; + + -dlopen) + prev=dlfiles + continue + ;; + + -dlpreopen) + prev=dlprefiles + continue + ;; + + -export-dynamic) + export_dynamic=yes + continue + ;; + + -export-symbols | -export-symbols-regex) + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: more than one -exported-symbols argument is not allowed" + exit $EXIT_FAILURE + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + continue + ;; + + -framework|-arch|-isysroot) + case " $CC " in + *" ${arg} ${1} "* | *" ${arg} ${1} "*) + prev=darwin_framework_skip ;; + *) compiler_flags="$compiler_flags $arg" + prev=darwin_framework ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + continue + ;; + + -inst-prefix-dir) + prev=inst_prefix + continue + ;; + + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* + # so, if we see these flags be careful not to treat them like -L + -L[A-Z][A-Z]*:*) + case $with_gcc/$host in + no/*-*-irix* | /*-*-irix*) + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + ;; + esac + continue + ;; + + -L*) + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + notinst_path="$notinst_path $dir" + fi + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + *) dllsearchpath="$dllsearchpath:$testbindir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C and math libraries are in the System framework + deplibs="$deplibs -framework System" + continue + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + test "X$arg" = "X-lc" && continue + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + test "X$arg" = "X-lc" && continue + ;; + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + # Tru64 UNIX uses -model [arg] to determine the layout of C++ + # classes, name mangling, and exception handling. + -model) + compile_command="$compile_command $arg" + compiler_flags="$compiler_flags $arg" + finalize_command="$finalize_command $arg" + prev=xcompiler + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # -64, -mips[0-9] enable 64-bit mode on the SGI compiler + # -r[0-9][0-9]* specifies the processor on the SGI compiler + # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler + # +DA*, +DD* enable 64-bit mode on the HP compiler + # -q* pass through compiler args for the IBM compiler + # -m* pass through architecture-specific compiler args for GCC + # -m*, -t[45]*, -txscale* pass through architecture-specific + # compiler args for GCC + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC + # -F/path gives path to uninstalled frameworks, gcc on darwin + # @file GCC response files + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) + + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + compiler_flags="$compiler_flags $arg" + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*) + # The PATH hackery in wrapper scripts is required on Windows + # and Darwin in order for the loader to find any dlls it needs. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 + fast_install=no + ;; + *) no_install=yes ;; + esac + continue + ;; + + -no-undefined) + allow_undefined=no + continue + ;; + + -objectlist) + prev=objectlist + continue + ;; + + -o) prev=output ;; + + -precious-files-regex) + prev=precious_regex + continue + ;; + + -release) + prev=release + continue + ;; + + -rpath) + prev=rpath + continue + ;; + + -R) + prev=xrpath + continue + ;; + + -R*) + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -static | -static-libtool-libs) + # The effects of -static are defined in a previous loop. + # We used to do the same as -all-static on platforms that + # didn't have a PIC flag, but the assumption that the effects + # would be equivalent was wrong. It would break on at least + # Digital Unix and AIX. + continue + ;; + + -thread-safe) + thread_safe=yes + continue + ;; + + -version-info) + prev=vinfo + continue + ;; + -version-number) + prev=vinfo + vinfo_number=yes + continue + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $wl$flag" + linker_flags="$linker_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + if test "$pic_object" != none; then + # Prepend the subdirectory the object is found in. + pic_object="$xdir$pic_object" + + if test "$prev" = dlfiles; then + if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then + dlfiles="$dlfiles $pic_object" + prev= + continue + else + # If libtool objects are unsupported, then we need to preload. + prev=dlprefiles + fi + fi + + # CHECK ME: I think I busted this. -Ossama + if test "$prev" = dlprefiles; then + # Preload the old-style object. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$libobjs $pic_object" + arg="$pic_object" + fi + + # Non-PIC object. + if test "$non_pic_object" != none; then + # Prepend the subdirectory the object is found in. + non_pic_object="$xdir$non_pic_object" + + # A standard non-PIC object + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + else + # If the PIC object exists, use it instead. + # $xdir was prepended to $pic_object above. + non_pic_object="$pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + fi + continue + ;; + + # Some other compiler argument. + *) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + done # argument parsing loop + + if test -n "$prev"; then + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` + else + shlib_search_path= + fi + eval sys_lib_search_path=\"$sys_lib_search_path_spec\" + eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" + + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` + if test "X$output_objdir" = "X$output"; then + output_objdir="$objdir" + else + output_objdir="$output_objdir/$objdir" + fi + # Create the object directory. + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then + exit $exit_status + fi + fi + + # Determine the type of output + case $output in + "") + $echo "$modename: you must specify an output file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + case $host in + *cygwin* | *mingw* | *pw32*) + # don't eliminate duplications in $postdeps and $predeps + duplicate_compiler_generated_deps=yes + ;; + *) + duplicate_compiler_generated_deps=$duplicate_deps + ;; + esac + specialdeplibs= + + libs= + # Find all interdependent deplibs by searching for libraries + # that are linked more than once (e.g. -la -lb -la) + for deplib in $deplibs; do + if test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$libs $deplib" + done + + if test "$linkmode" = lib; then + libs="$predeps $libs $compiler_lib_search_path $postdeps" + + # Compute libraries that are listed more than once in $predeps + # $postdeps and mark them as special (i.e., whose duplicates are + # not to be eliminated). + pre_post_deps= + if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$pre_post_deps $pre_post_dep" + done + fi + pre_post_deps= + fi + + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no # whether we're linking any uninstalled libtool libraries + notinst_deplibs= # not-installed libtool libraries + case $linkmode in + lib) + passes="conv link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + prog) + compile_deplibs= + finalize_deplibs= + alldeplibs=no + newdlfiles= + newdlprefiles= + passes="conv scan dlopen dlpreopen link" + ;; + *) passes="conv" + ;; + esac + for pass in $passes; do + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan"; then + libs="$deplibs" + deplibs= + fi + if test "$linkmode" = prog; then + case $pass in + dlopen) libs="$dlfiles" ;; + dlpreopen) libs="$dlprefiles" ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; + esac + fi + if test "$pass" = dlopen; then + # Collect dlpreopened libraries + save_deplibs="$deplibs" + deplibs= + fi + for deplib in $libs; do + lib= + found=no + case $deplib in + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + compiler_flags="$compiler_flags $deplib" + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 + continue + fi + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do + for search_ext in .la $std_shrext .so .a; do + # Search the libtool library + lib="$searchdir/lib${name}${search_ext}" + if test -f "$lib"; then + if test "$search_ext" = ".la"; then + found=yes + else + found=no + fi + break 2 + fi + done + done + if test "$found" != yes; then + # deplib doesn't seem to be a libtool library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + else # deplib is a libtool library + # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, + # We need to do some special things here, and not later. + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $deplib "*) + if (${SED} -e '2q' $lib | + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + library_names= + old_library= + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + for l in $old_library $library_names; do + ll="$l" + done + if test "X$ll" = "X$old_library" ; then # only static version available + found=no + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + lib=$ladir/$old_library + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" + fi + continue + fi + fi + ;; + *) ;; + esac + fi + fi + ;; # -l + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + prog) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + if test "$pass" = scan; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + *) + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + valid_a_lib=no + case $deplibs_check_method in + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + if eval $echo \"$deplib\" 2>/dev/null \ + | $SED 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + valid_a_lib=yes + fi + ;; + pass_all) + valid_a_lib=yes + ;; + esac + if test "$valid_a_lib" != yes; then + $echo + $echo "*** Warning: Trying to link with static lib archive $deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because the file extensions .$libext of this argument makes me believe" + $echo "*** that it is just a static archive that I should not used here." + else + $echo + $echo "*** Warning: Linking the shared library $output against the" + $echo "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + continue + ;; + prog) + if test "$pass" != link; then + deplibs="$deplib $deplibs" + else + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + fi + continue + ;; + esac # linkmode + ;; # *.$libext + *.lo | *.$objext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + elif test "$linkmode" = prog; then + if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then + # If there is no dlopen support or we're linking statically, + # we need to preload. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else + $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 + exit $EXIT_FAILURE + fi + + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + avoidtemprpath= + + + # Read the .la file + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" + fi + + if test "$pass" = conv; then + # Only check for convenience libraries + deplibs="$lib $deplibs" + if test -z "$libdir"; then + if test -z "$old_library"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + elif test "$linkmode" != prog && test "$linkmode" != lib; then + $echo "$modename: \`$lib' is not a convenience library" 1>&2 + exit $EXIT_FAILURE + fi + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + if test -z "$dlname" || + test "$dlopen_support" != yes || + test "$build_libtool_libs" = no; then + # If there is no dlname, no dlopen support or we're linking + # statically, we need to preload. We also need to preload any + # dependent libraries so libltdl's deplib preloader doesn't + # bomb out in the load deplibs phase. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$newdlfiles $lib" + fi + continue + fi # $pass = dlopen + + # We need an absolute path. + case $ladir in + [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; + *) + abs_ladir=`cd "$ladir" && pwd` + if test -z "$abs_ladir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + abs_ladir="$ladir" + fi + ;; + esac + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + $echo "$modename: warning: library \`$lib' was moved." 1>&2 + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes + else + if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then + dir="$ladir" + absdir="$abs_ladir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi + fi # $installed = yes + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + fi # $pass = dlpreopen + + if test -z "$libdir"; then + # Link the convenience library + if test "$linkmode" = lib; then + deplibs="$dir/$old_library $deplibs" + elif test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$dir/$old_library $compile_deplibs" + finalize_deplibs="$dir/$old_library $finalize_deplibs" + else + deplibs="$lib $deplibs" # used for prog,scan pass + fi + continue + fi + + + if test "$linkmode" = prog && test "$pass" != link; then + newlib_search_path="$newlib_search_path $ladir" + deplibs="$lib $deplibs" + + linkalldeplibs=no + if test "$link_all_deplibs" != no || test -z "$library_names" || + test "$build_libtool_libs" = no; then + linkalldeplibs=yes + fi + + tmp_libs= + for deplib in $dependency_libs; do + case $deplib in + -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test + esac + # Need to link against all dependency_libs? + if test "$linkalldeplibs" = yes; then + deplibs="$deplib $deplibs" + else + # Need to hardcode shared library paths + # or/and link against static libraries + newdependency_libs="$deplib $newdependency_libs" + fi + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done # for deplib + continue + fi # $linkmode = prog... + + if test "$linkmode,$pass" = "prog,link"; then + if test -n "$library_names" && + { { test "$prefer_static_libs" = no || + test "$prefer_static_libs,$installed" = "built,yes"; } || + test -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; + *) temp_rpath="$temp_rpath $absdir" ;; + esac + fi + + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi # $linkmode,$pass = prog,link... + + if test "$alldeplibs" = yes && + { test "$deplibs_check_method" = pass_all || + { test "$build_libtool_libs" = yes && + test -n "$library_names"; }; }; then + # We only need to search for static libraries + continue + fi + fi + + link_static=no # Whether the deplib will be linked statically + use_static_libs=$prefer_static_libs + if test "$use_static_libs" = built && test "$installed" = yes ; then + use_static_libs=no + fi + if test -n "$library_names" && + { test "$use_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + # This is a shared library + + # Warn about portability, can't link against -module's on + # some systems (darwin) + if test "$shouldnotlink" = yes && test "$pass" = link ; then + $echo + if test "$linkmode" = prog; then + $echo "*** Warning: Linking the executable $output against the loadable module" + else + $echo "*** Warning: Linking the shared library $output against the loadable module" + fi + $echo "*** $linklib is not portable!" + fi + if test "$linkmode" = lib && + test "$hardcode_into_libs" = yes; then + # Hardcode the library path. + # Skip directories that are in the system default run-time + # search path. + case " $sys_lib_dlsearch_path " in + *" $absdir "*) ;; + *) + case "$compile_rpath " in + *" $absdir "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + realname="$2" + shift; shift + libname=`eval \\$echo \"$libname_spec\"` + # use dlname if we got it. it's perfectly good, no? + if test -n "$dlname"; then + soname="$dlname" + elif test -n "$soname_spec"; then + # bleh windows + case $host in + *cygwin* | mingw*) + major=`expr $current - $age` + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + soname=`$echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + $show "extracting exported symbol list from \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$extract_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + $show "generating import library for \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$old_archive_from_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + # make sure the library variables are pointing to the new library + dir=$output_objdir + linklib=$newlib + fi # test -n "$old_archive_from_expsyms_cmds" + + if test "$linkmode" = prog || test "$mode" != relink; then + add_shlibpath= + add_dir= + add= + lib_linked=yes + case $hardcode_action in + immediate | unsupported) + if test "$hardcode_direct" = no; then + add="$dir/$linklib" + case $host in + *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; + *-*-sysv4*uw2*) add_dir="-L$dir" ;; + *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ + *-*-unixware7*) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a module then we can not link against + # it, someone is ignoring the new warnings I added + if /usr/bin/file -L $add 2> /dev/null | + $EGREP ": [^:]* bundle" >/dev/null ; then + $echo "** Warning, lib $linklib is a module, not a shared library" + if test -z "$old_library" ; then + $echo + $echo "** And there doesn't seem to be a static archive available" + $echo "** The link will probably fail, sorry" + else + add="$dir/$old_library" + fi + fi + esac + elif test "$hardcode_minus_L" = no; then + case $host in + *-*-sunos*) add_shlibpath="$dir" ;; + esac + add_dir="-L$dir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = no; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + relink) + if test "$hardcode_direct" = yes; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + add_shlibpath="$dir" + add="-l$name" + else + lib_linked=no + fi + ;; + *) lib_linked=no ;; + esac + + if test "$lib_linked" != yes; then + $echo "$modename: configuration error: unsupported hardcode properties" + exit $EXIT_FAILURE + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; + esac + fi + if test "$linkmode" = prog; then + test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" + test -n "$add" && compile_deplibs="$add $compile_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + if test "$hardcode_direct" != yes && \ + test "$hardcode_minus_L" != yes && \ + test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes; then + add="$libdir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$libdir" + add="-l$name" + elif test "$hardcode_shlibpath_var" = yes; then + case :$finalize_shlibpath: in + *":$libdir:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + add="-l$name" + elif test "$hardcode_automatic" = yes; then + if test -n "$inst_prefix_dir" && + test -f "$inst_prefix_dir$libdir/$linklib" ; then + add="$inst_prefix_dir$libdir/$linklib" + else + add="$libdir/$linklib" + fi + else + # We cannot seem to hardcode it, guess we'll fake it. + add_dir="-L$libdir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case $libdir in + [\\/]*) + add_dir="$add_dir -L$inst_prefix_dir$libdir" + ;; + esac + fi + add="-l$name" + fi + + if test "$linkmode" = prog; then + test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" + test -n "$add" && finalize_deplibs="$add $finalize_deplibs" + else + test -n "$add_dir" && deplibs="$add_dir $deplibs" + test -n "$add" && deplibs="$add $deplibs" + fi + fi + elif test "$linkmode" = prog; then + # Here we assume that one of hardcode_direct or hardcode_minus_L + # is not unsupported. This is valid on all known static and + # shared platforms. + if test "$hardcode_direct" != unsupported; then + test -n "$old_library" && linklib="$old_library" + compile_deplibs="$dir/$linklib $compile_deplibs" + finalize_deplibs="$dir/$linklib $finalize_deplibs" + else + compile_deplibs="-l$name -L$dir $compile_deplibs" + finalize_deplibs="-l$name -L$dir $finalize_deplibs" + fi + elif test "$build_libtool_libs" = yes; then + # Not a shared library + if test "$deplibs_check_method" != pass_all; then + # We're trying link a shared library against a static one + # but the system doesn't support it. + + # Just print a warning and add the library to dependency_libs so + # that the program can be linked against the static library. + $echo + $echo "*** Warning: This system can not link to static lib archive $lib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have." + if test "$module" = yes; then + $echo "*** But as you try to build a module library, libtool will still create " + $echo "*** a static module, that should work as long as the dlopening application" + $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + else + deplibs="$dir/$old_library $deplibs" + link_static=yes + fi + fi # link shared/static library? + + if test "$linkmode" = lib; then + if test -n "$dependency_libs" && + { test "$hardcode_into_libs" != yes || + test "$build_old_libs" = yes || + test "$link_static" = yes; }; then + # Extract -R from dependency_libs + temp_deplibs= + for libdir in $dependency_libs; do + case $libdir in + -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) temp_deplibs="$temp_deplibs $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + newlib_search_path="$newlib_search_path $absdir" + # Link against this library + test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" + # ... and its dependency_libs + tmp_libs= + for deplib in $dependency_libs; do + newdependency_libs="$deplib $newdependency_libs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + case $deplib in + -L*) path="$deplib" ;; + *.la) + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$deplib" && dir="." + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + fi + ;; + esac + if grep "^installed=no" $deplib > /dev/null; then + path="$absdir/$objdir" + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + if test "$absdir" != "$libdir"; then + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 + fi + path="$absdir" + fi + depdepl= + case $host in + *-*-darwin*) + # we do not want to link against static libs, + # but need to link against shared + eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` + if test -n "$deplibrary_names" ; then + for tmp in $deplibrary_names ; do + depdepl=$tmp + done + if test -f "$path/$depdepl" ; then + depdepl="$path/$depdepl" + fi + # do not add paths which are already there + case " $newlib_search_path " in + *" $path "*) ;; + *) newlib_search_path="$newlib_search_path $path";; + esac + fi + path="" + ;; + *) + path="-L$path" + ;; + esac + ;; + -l*) + case $host in + *-*-darwin*) + # Again, we only want to link against shared libraries + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` + for tmp in $newlib_search_path ; do + if test -f "$tmp/lib$tmp_libs.dylib" ; then + eval depdepl="$tmp/lib$tmp_libs.dylib" + break + fi + done + path="" + ;; + *) continue ;; + esac + ;; + *) continue ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$path $deplibs" ;; + esac + case " $deplibs " in + *" $depdepl "*) ;; + *) deplibs="$depdepl $deplibs" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + dependency_libs="$newdependency_libs" + if test "$pass" = dlpreopen; then + # Link the dlpreopened libraries before other libraries + for deplib in $save_deplibs; do + deplibs="$deplib $deplibs" + done + fi + if test "$pass" != dlopen; then + if test "$pass" != conv; then + # Make sure lib_search_path contains only unique directories. + lib_search_path= + for dir in $newlib_search_path; do + case "$lib_search_path " in + *" $dir "*) ;; + *) lib_search_path="$lib_search_path $dir" ;; + esac + done + newlib_search_path= + fi + + if test "$linkmode,$pass" != "prog,link"; then + vars="deplibs" + else + vars="compile_deplibs finalize_deplibs" + fi + for var in $vars dependency_libs; do + # Add libraries to $var in reverse order + eval tmp_libs=\"\$$var\" + new_libs= + for deplib in $tmp_libs; do + # FIXME: Pedantically, this is the right thing to do, so + # that some nasty dependency loop isn't accidentally + # broken: + #new_libs="$deplib $new_libs" + # Pragmatically, this seems to cause very few problems in + # practice: + case $deplib in + -L*) new_libs="$deplib $new_libs" ;; + -R*) ;; + *) + # And here is the reason: when a library appears more + # than once as an explicit dependence of a library, or + # is implicitly linked in more than once by the + # compiler, it is considered special, and multiple + # occurrences thereof are not removed. Compare this + # with having the same library being listed as a + # dependency of multiple other libraries: in this case, + # we know (pedantically, we assume) the library does not + # need to be listed more than once, so we keep only the + # last copy. This is not always right, but it is rare + # enough that we require users that really mean to play + # such unportable linking tricks to link the library + # using -Wl,-lname, so that libtool does not consider it + # for duplicate removal. + case " $specialdeplibs " in + *" $deplib "*) new_libs="$deplib $new_libs" ;; + *) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$deplib $new_libs" ;; + esac + ;; + esac + ;; + esac + done + tmp_libs= + for deplib in $new_libs; do + case $deplib in + -L*) + case " $tmp_libs " in + *" $deplib "*) ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + done + eval $var=\"$tmp_libs\" + done # for var + fi + # Last step: remove runtime libs from dependency_libs + # (they stay in deplibs) + tmp_libs= + for i in $dependency_libs ; do + case " $predeps $postdeps $compiler_lib_search_path " in + *" $i "*) + i="" + ;; + esac + if test -n "$i" ; then + tmp_libs="$tmp_libs $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 + fi + + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 + fi + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + objs="$objs$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + if test "$module" = no; then + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 + exit $EXIT_FAILURE + else + $echo + $echo "*** Warning: Linking the shared library $output against the non-libtool" + $echo "*** objects $objs is not portable!" + libobjs="$libobjs $objs" + fi + fi + + if test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 + fi + + set dummy $rpath + if test "$#" -gt 2; then + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 + fi + install_libdir="$2" + + oldlibs= + if test -z "$rpath"; then + if test "$build_libtool_libs" = yes; then + # Building a libtool convenience library. + # Some compilers have problems with a `.al' extension so + # convenience libraries should have the same extension an + # archive normally would. + oldlibs="$output_objdir/$libname.$libext $oldlibs" + build_libtool_libs=convenience + build_old_libs=yes + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 + fi + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + IFS="$save_ifs" + + if test -n "$8"; then + $echo "$modename: too many parameters to \`-version-info'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # convert absolute version numbers to libtool ages + # this retains compatibility with .la files and attempts + # to make the code below a bit more comprehensible + + case $vinfo_number in + yes) + number_major="$2" + number_minor="$3" + number_revision="$4" + # + # There are really only two kinds -- those that + # use the current revision as the major version + # and those that subtract age and use age as + # a minor version. But, then there is irix + # which has an extra 1 added just for fun + # + case $version_type in + darwin|linux|osf|windows|none) + current=`expr $number_major + $number_minor` + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + current=`expr $number_major + $number_minor` + age="$number_minor" + revision="$number_minor" + lt_irix_increment=no + ;; + esac + ;; + no) + current="$2" + revision="$3" + age="$4" + ;; + esac + + # Check that each of the things are valid numbers. + case $current in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $revision in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $age in + 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; + *) + $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test "$age" -gt "$current"; then + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + fi + + # Calculate the version variables. + major= + versuffix= + verstring= + case $version_type in + none) ;; + + darwin) + # Like Linux, but with the current version available in + # verstring for coding it into the library header + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + minor_current=`expr $current + 1` + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" + ;; + + freebsd-aout) + major=".$current" + versuffix=".$current.$revision"; + ;; + + freebsd-elf) + major=".$current" + versuffix=".$current"; + ;; + + irix | nonstopux) + if test "X$lt_irix_increment" = "Xno"; then + major=`expr $current - $age` + else + major=`expr $current - $age + 1` + fi + case $version_type in + nonstopux) verstring_prefix=nonstopux ;; + *) verstring_prefix=sgi ;; + esac + verstring="$verstring_prefix$major.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$revision + while test "$loop" -ne 0; do + iface=`expr $revision - $loop` + loop=`expr $loop - 1` + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + ;; + + osf) + major=.`expr $current - $age` + versuffix=".$current.$age.$revision" + verstring="$current.$age.$revision" + + # Add in all the interfaces that we are compatible with. + loop=$age + while test "$loop" -ne 0; do + iface=`expr $current - $loop` + loop=`expr $loop - 1` + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + verstring="$verstring:${current}.0" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + major=`expr $current - $age` + versuffix="-$major" + ;; + + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Clear the version info if we defaulted, and they specified a release. + if test -z "$vinfo" && test -n "$release"; then + major= + case $version_type in + darwin) + # we can't check for "0.0" in archive_cmds due to quoting + # problems, so we reset it completely + verstring= + ;; + *) + verstring="0.0" + ;; + esac + if test "$need_version" = no; then + versuffix= + else + versuffix=".0.0" + fi + fi + + # Remove version info from name if versioning should be avoided + if test "$avoid_version" = yes && test "$need_version" = no; then + major= + versuffix= + verstring="" + fi + + # Check to see if the archive will have undefined symbols. + if test "$allow_undefined" = yes; then + if test "$allow_undefined_flag" = unsupported; then + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + fi + + if test "$mode" != relink; then + # Remove our outputs, but don't remove object files since they + # may have been created when compiling PIC objects. + removelist= + tempremovelist=`$echo "$output_objdir/*"` + for p in $tempremovelist; do + case $p in + *.$objext) + ;; + $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) + if test "X$precious_files_regex" != "X"; then + if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 + then + continue + fi + fi + removelist="$removelist $p" + ;; + *) ;; + esac + done + if test -n "$removelist"; then + $show "${rm}r $removelist" + $run ${rm}r $removelist + fi + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + oldlibs="$oldlibs $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + #for path in $notinst_path; do + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` + #done + + if test -n "$xrpath"; then + # If the user specified any rpath flags, then add them. + temp_xrpath= + for libdir in $xrpath; do + temp_xrpath="$temp_xrpath -R$libdir" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then + dependency_libs="$temp_xrpath $dependency_libs" + fi + fi + + # Make sure dlfiles contains only unique files that won't be dlpreopened + old_dlfiles="$dlfiles" + dlfiles= + for lib in $old_dlfiles; do + case " $dlprefiles $dlfiles " in + *" $lib "*) ;; + *) dlfiles="$dlfiles $lib" ;; + esac + done + + # Make sure dlprefiles contains only unique files + old_dlprefiles="$dlprefiles" + dlprefiles= + for lib in $old_dlprefiles; do + case "$dlprefiles " in + *" $lib "*) ;; + *) dlprefiles="$dlprefiles $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + deplibs="$deplibs -framework System" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) + # Do not include libc due to us having libc/libc_r. + ;; + *-*-sco3.2v5* | *-*-sco5v6*) + # Causes problems with __ctype + ;; + *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) + # Compiler inserts libc in the correct place for threads to work + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + deplibs="$deplibs -lc" + fi + ;; + esac + fi + + # Transform deplibs into only deplibs that can be linked in shared. + name_save=$name + libname_save=$libname + release_save=$release + versuffix_save=$versuffix + major_save=$major + # I'm not sure if I'm treating the release correctly. I think + # release should show up in the -l (ie -lgmp5) so we don't want to + # add it in twice. Is that correct? + release="" + versuffix="" + major="" + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + pass_all) + # Don't check for shared/static. Everything works. + # This might be a little naive. We might want to check + # whether the library exists or not. But this is on + # osf3 & osf4 and I'm not really sure... Just + # implementing what was already the behavior. + newdeplibs=$deplibs + ;; + test_compile) + # This code stresses the "libraries are programs" paradigm to its + # limits. Maybe even breaks it. We compile a program, linking it + # against the deplibs as a proxy for the library. Then we can check + # whether they linked in statically or dynamically with ldd. + $rm conftest.c + cat > conftest.c </dev/null` + for potent_lib in $potential_libs; do + # Follow soft links. + if ls -lLd "$potent_lib" 2>/dev/null \ + | grep " -> " >/dev/null; then + continue + fi + # The statement above tries to avoid entering an + # endless loop below, in case of cyclic links. + # We might still enter an endless loop, since a link + # loop can be closed while we follow links, + # but so what? + potlib="$potent_lib" + while test -h "$potlib" 2>/dev/null; do + potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` + case $potliblink in + [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; + *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$file_magic_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for file magic test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a file magic. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do + name=`expr $a_deplib : '-l\(.*\)'` + # If $name is empty we are operating on a -L argument. + if test -n "$name" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + ;; + esac + fi + if test -n "$a_deplib" ; then + libname=`eval \\$echo \"$libname_spec\"` + for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do + potential_libs=`ls $i/$libname[.-]* 2>/dev/null` + for potent_lib in $potential_libs; do + potlib="$potent_lib" # see symlink-check above in file_magic test + if eval $echo \"$potent_lib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$match_pattern_regex" > /dev/null; then + newdeplibs="$newdeplibs $a_deplib" + a_deplib="" + break 2 + fi + done + done + fi + if test -n "$a_deplib" ; then + droppeddeps=yes + $echo + $echo "*** Warning: linker path does not have real file for library $a_deplib." + $echo "*** I have the capability to make that library automatically link in when" + $echo "*** you link to this library. But I can only do this if you have a" + $echo "*** shared version of the library, which you do not appear to have" + $echo "*** because I did check the linker path looking for a file starting" + if test -z "$potlib" ; then + $echo "*** with $libname but no candidates were found. (...for regex pattern test)" + else + $echo "*** with $libname and none of the candidates passed a file format test" + $echo "*** using a regex pattern. Last file checked: $potlib" + fi + fi + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ + -e 's/ -[LR][^ ]*//g'` + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + for i in $predeps $postdeps ; do + # can't use Xsed below, because $i might contain '/' + tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` + done + fi + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ + | grep . >/dev/null; then + $echo + if test "X$deplibs_check_method" = "Xnone"; then + $echo "*** Warning: inter-library dependencies are not supported in this platform." + else + $echo "*** Warning: inter-library dependencies are not known to be supported." + fi + $echo "*** All declared inter-library dependencies are being dropped." + droppeddeps=yes + fi + ;; + esac + versuffix=$versuffix_save + major=$major_save + release=$release_save + libname=$libname_save + name=$name_save + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + if test "$droppeddeps" = yes; then + if test "$module" = yes; then + $echo + $echo "*** Warning: libtool could not satisfy all declared inter-library" + $echo "*** dependencies of module $libname. Therefore, libtool will create" + $echo "*** a static module, that should work as long as the dlopening" + $echo "*** application is linked with the -dlopen flag." + if test -z "$global_symbol_pipe"; then + $echo + $echo "*** However, this would only work if libtool was able to extract symbol" + $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" + $echo "*** not find such a program. So, this module is probably useless." + $echo "*** \`nm' from GNU binutils and a full rebuild may help." + fi + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + else + $echo "*** The inter-library dependencies that have been dropped here will be" + $echo "*** automatically added whenever a program is linked with this library" + $echo "*** or is declared to -dlopen it." + + if test "$allow_undefined" = no; then + $echo + $echo "*** Since this library must not contain undefined symbols," + $echo "*** because either the platform does not support them or" + $echo "*** it was explicitly requested with -no-undefined," + $echo "*** libtool will only create a static version of it." + if test "$build_old_libs" = no; then + oldlibs="$output_objdir/$libname.$libext" + build_libtool_libs=module + build_old_libs=yes + else + build_libtool_libs=no + fi + fi + fi + fi + # Done checking deplibs! + deplibs=$newdeplibs + fi + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $deplibs " in + *" -L$path/$objdir "*) + new_libs="$new_libs -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$new_libs $deplib" ;; + esac + ;; + *) new_libs="$new_libs $deplib" ;; + esac + done + deplibs="$new_libs" + + + # All the library-specific variables (install_libdir is set above). + library_names= + old_library= + dlname= + + # Test again, we may have decided not to build it any more + if test "$build_libtool_libs" = yes; then + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$mode" != relink && rpath="$compile_rpath$rpath" + for libdir in $rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + dep_rpath="$dep_rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + if test -n "$hardcode_libdir_flag_spec_ld"; then + case $archive_cmds in + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;; + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;; + esac + else + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" + fi + test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" + fi + + shlibpath="$finalize_shlibpath" + test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" + if test -n "$shlibpath"; then + eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" + fi + + # Get the real and link names of the library. + eval shared_ext=\"$shrext_cmds\" + eval library_names=\"$library_names_spec\" + set dummy $library_names + realname="$2" + shift; shift + + if test -n "$soname_spec"; then + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + if test -z "$dlname"; then + dlname=$soname + fi + + lib="$output_objdir/$realname" + linknames= + for link + do + linknames="$linknames $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + if len=`expr "X$cmd" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + $show "$cmd" + $run eval "$cmd" || exit $? + skipped_export=false + else + # The command line is too long to execute in one step. + $show "using reloadable object file for export list..." + skipped_export=: + # Break out early, otherwise skipped_export may be + # set to false by a later but shorter cmd. + break + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex"; then + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + $show "$mv \"${export_symbols}T\" \"$export_symbols\"" + $run eval '$mv "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + tmp_deplibs="$tmp_deplibs $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $convenience + libobjs="$libobjs $func_extract_archives_result" + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linker_flags="$linker_flags $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? + fi + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + eval test_cmds=\"$module_expsym_cmds\" + cmds=$module_expsym_cmds + else + eval test_cmds=\"$module_cmds\" + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + eval test_cmds=\"$archive_expsym_cmds\" + cmds=$archive_expsym_cmds + else + eval test_cmds=\"$archive_cmds\" + cmds=$archive_cmds + fi + fi + + if test "X$skipped_export" != "X:" && + len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise. + $echo "creating reloadable object files..." + + # Save the value of $output and $libobjs because we want to + # use them later. If we have whole_archive_flag_spec, we + # want to use save_libobjs as it was before + # whole_archive_flag_spec was expanded, because we can't + # assume the linker understands whole_archive_flag_spec. + # This may have to be revisited, in case too many + # convenience libraries get linked in and end up exceeding + # the spec. + if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + fi + save_output=$output + output_la=`$echo "X$output" | $Xsed -e "$basename"` + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + delfiles= + last_robj= + k=1 + output=$output_objdir/$output_la-${k}.$objext + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + eval test_cmds=\"$reload_cmds $objlist $last_robj\" + if test "X$objlist" = X || + { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len"; }; then + objlist="$objlist $obj" + else + # The command $test_cmds is almost too long, add a + # command to the queue. + if test "$k" -eq 1 ; then + # The first file doesn't have a previous command to add. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + else + # All subsequent reloadable object files will link in + # the last one created. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" + fi + last_robj=$output_objdir/$output_la-${k}.$objext + k=`expr $k + 1` + output=$output_objdir/$output_la-${k}.$objext + objlist=$obj + len=1 + fi + done + # Handle the remaining objects by creating one last + # reloadable object file. All subsequent reloadable object + # files will link in the last one created. + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + + if ${skipped_export-false}; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + libobjs=$output + # Append the command to create the export file. + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" + fi + + # Set up a command to remove the reloadable object files + # after they are used. + i=0 + while test "$i" -lt "$k" + do + i=`expr $i + 1` + delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" + done + + $echo "creating a temporary reloadable object file: $output" + + # Loop through the commands generated above and execute them. + save_ifs="$IFS"; IFS='~' + for cmd in $concat_cmds; do + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + libobjs=$output + # Restore the value of output. + output=$save_output + + if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + fi + # Expand the library linking commands again to reset the + # value of $libobjs for piecewise linking. + + # Do each of the archive commands. + if test "$module" = yes && test -n "$module_cmds" ; then + if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then + cmds=$module_expsym_cmds + else + cmds=$module_cmds + fi + else + if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then + cmds=$archive_expsym_cmds + else + cmds=$archive_cmds + fi + fi + + # Append the command to remove the reloadable object files + # to the just-reset $cmds. + eval cmds=\"\$cmds~\$rm $delfiles\" + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? + + if test -n "$convenience"; then + if test -z "$whole_archive_flag_spec"; then + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + fi + fi + + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? + fi + done + + # If -module or -export-dynamic was specified, set the dlname. + if test "$module" = yes || test "$export_dynamic" = yes; then + # On all known operating systems, these are identical. + dlname="$soname" + fi + fi + ;; + + obj) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 + fi + + case $output in + *.lo) + if test -n "$objs$old_deplibs"; then + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 + exit $EXIT_FAILURE + fi + libobj="$output" + obj=`$echo "X$output" | $Xsed -e "$lo2o"` + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $run $rm $obj $libobj + + # Objects from convenience libraries. This assumes + # single-version convenience libraries. Whenever we create + # different ones for PIC/non-PIC, this we'll have to duplicate + # the extraction. + reload_conv_objs= + gentop= + # reload_cmds runs $LD directly, so let us get rid of + # -Wl from whole_archive_flag_spec and hope we can get by with + # turning comma into space.. + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'` + else + gentop="$output_objdir/${obj}x" + generated="$generated $gentop" + + func_extract_archives $gentop $convenience + reload_conv_objs="$reload_objs $func_extract_archives_result" + fi + fi + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + # Create an invalid libtool object if no PIC, so that we don't + # accidentally link it into a program. + # $show "echo timestamp > $libobj" + # $run eval "echo timestamp > $libobj" || exit $? + exit $EXIT_SUCCESS + fi + + if test -n "$pic_flag" || test "$pic_mode" != default; then + # Only do commands if we really have different PIC objects. + reload_objs="$libobjs $reload_conv_objs" + output="$libobj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; + esac + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 + fi + + if test "$preload" = yes; then + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && + test "$dlopen_self_static" = unknown; then + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." + fi + fi + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + case $host in + *darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + if test "$tagname" = CXX ; then + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" + fi + ;; + esac + + + # move library search paths that coincide with paths to not yet + # installed libraries to the beginning of the library search list + new_libs= + for path in $notinst_path; do + case " $new_libs " in + *" -L$path/$objdir "*) ;; + *) + case " $compile_deplibs " in + *" -L$path/$objdir "*) + new_libs="$new_libs -L$path/$objdir" ;; + esac + ;; + esac + done + for deplib in $compile_deplibs; do + case $deplib in + -L*) + case " $new_libs " in + *" $deplib "*) ;; + *) new_libs="$new_libs $deplib" ;; + esac + ;; + *) new_libs="$new_libs $deplib" ;; + esac + done + compile_deplibs="$new_libs" + + + compile_command="$compile_command $compile_deplibs" + finalize_command="$finalize_command $finalize_deplibs" + + if test -n "$rpath$xrpath"; then + # If the user specified any rpath flags, then add them. + for libdir in $rpath $xrpath; do + # This is the magic to use -rpath. + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" ;; + esac + done + fi + + # Now hardcode the library paths + rpath= + hardcode_libdirs= + for libdir in $compile_rpath $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` + case :$dllsearchpath: in + *":$libdir:"*) ;; + *) dllsearchpath="$dllsearchpath:$libdir";; + esac + case :$dllsearchpath: in + *":$testbindir:"*) ;; + *) dllsearchpath="$dllsearchpath:$testbindir";; + esac + ;; + esac + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + compile_rpath="$rpath" + + rpath= + hardcode_libdirs= + for libdir in $finalize_rpath; do + if test -n "$hardcode_libdir_flag_spec"; then + if test -n "$hardcode_libdir_separator"; then + if test -z "$hardcode_libdirs"; then + hardcode_libdirs="$libdir" + else + # Just accumulate the unique libdirs. + case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in + *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; + esac + fi + done + # Substitute the hardcoded libdirs into the rpath. + if test -n "$hardcode_libdir_separator" && + test -n "$hardcode_libdirs"; then + libdir="$hardcode_libdirs" + eval rpath=\" $hardcode_libdir_flag_spec\" + fi + finalize_rpath="$rpath" + + if test -n "$libobjs" && test "$build_old_libs" = yes; then + # Transform all the library objects into standard objects. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + fi + + dlsyms= + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + dlsyms="${outputname}S.c" + else + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 + fi + fi + + if test -n "$dlsyms"; then + case $dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${outputname}.nm" + + $show "$rm $nlist ${nlist}S ${nlist}T" + $run $rm "$nlist" "${nlist}S" "${nlist}T" + + # Parse the name list into a source file. + $show "creating $output_objdir/$dlsyms" + + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +/* Prevent the only kind of declaration conflicts we can make. */ +#define lt_preloaded_symbols some_other_symbol + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + $show "generating symbol list for \`$output'" + + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + for arg in $progfiles; do + $show "extracting global C symbols from \`$arg'" + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + if test -n "$export_symbols_regex"; then + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$outputname.exp" + $run $rm $export_symbols + $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + case $host in + *cygwin* | *mingw* ) + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' + ;; + esac + else + $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' + $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' + $run eval 'mv "$nlist"T "$nlist"' + case $host in + *cygwin* | *mingw* ) + $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' + $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' + ;; + esac + fi + fi + + for arg in $dlprefiles; do + $show "extracting global C symbols from \`$arg'" + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` + $run eval '$echo ": $name " >> "$nlist"' + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -z "$run"; then + # Make sure we have at least an empty file. + test -f "$nlist" || : > "$nlist" + + if test -n "$exclude_expsyms"; then + $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T + $mv "$nlist"T "$nlist" + fi + + # Try sorting and uniquifying the output. + if grep -v "^: " < "$nlist" | + if sort -k 3 /dev/null 2>&1; then + sort -k 3 + else + sort +2 + fi | + uniq > "$nlist"S; then + : + else + grep -v "^: " < "$nlist" > "$nlist"S + fi + + if test -f "$nlist"S; then + eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' + else + $echo '/* NONE */' >> "$output_objdir/$dlsyms" + fi + + $echo >> "$output_objdir/$dlsyms" "\ + +#undef lt_preloaded_symbols + +#if defined (__STDC__) && __STDC__ +# define lt_ptr void * +#else +# define lt_ptr char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +" + + case $host in + *cygwin* | *mingw* ) + $echo >> "$output_objdir/$dlsyms" "\ +/* DATA imports from DLLs on WIN32 can't be const, because + runtime relocations are performed -- see ld's documentation + on pseudo-relocs */ +struct { +" + ;; + * ) + $echo >> "$output_objdir/$dlsyms" "\ +const struct { +" + ;; + esac + + + $echo >> "$output_objdir/$dlsyms" "\ + const char *name; + lt_ptr address; +} +lt_preloaded_symbols[] = +{\ +" + + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" + + $echo >> "$output_objdir/$dlsyms" "\ + {0, (lt_ptr) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + fi + + pic_flag_for_symtable= + case $host in + # compiling the symbol table file with pic_flag works around + # a FreeBSD bug that causes programs to crash when -lm is + # linked before any other PIC object. But we must not use + # pic_flag when linking with -static. The problem exists in + # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. + *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; + esac;; + *-*-hpux*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag";; + esac + esac + + # Now compile the dynamic symbol file. + $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" + $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? + + # Clean up the generated files. + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" + + # Transform the symbol file into the correct name. + case $host in + *cygwin* | *mingw* ) + if test -f "$output_objdir/${outputname}.def" ; then + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP` + else + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + fi + ;; + * ) + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP` + ;; + esac + ;; + *) + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + else + # We keep going just in case the user didn't refer to + # lt_preloaded_symbols. The linker will fail if global_symbol_pipe + # really was required. + + # Nullify the symbol file. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP` + fi + + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + # Replace the output file specification. + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + $show "$link_command" + $run eval "$link_command" + exit_status=$? + + # Delete the generated files. + if test -n "$dlsyms"; then + $show "$rm $output_objdir/${outputname}S.${objext}" + $run $rm "$output_objdir/${outputname}S.${objext}" + fi + + exit $exit_status + fi + + if test -n "$shlibpath_var"; then + # We should set the shlibpath_var + rpath= + for dir in $temp_rpath; do + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) + # Absolute path. + rpath="$rpath$dir:" + ;; + *) + # Relative path: add a thisdir entry. + rpath="$rpath\$thisdir/$dir:" + ;; + esac + done + temp_rpath="$rpath" + fi + + if test -n "$compile_shlibpath$finalize_shlibpath"; then + compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" + fi + if test -n "$finalize_shlibpath"; then + finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" + fi + + compile_var= + finalize_var= + if test -n "$runpath_var"; then + if test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$rpath$dir:" + done + compile_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + if test -n "$finalize_perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $finalize_perm_rpath; do + rpath="$rpath$dir:" + done + finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " + fi + fi + + if test "$no_install" = yes; then + # We don't need to create a wrapper script. + link_command="$compile_var$compile_command$compile_rpath" + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $run $rm $output + # Link the executable and exit + $show "$link_command" + $run eval "$link_command" || exit $? + exit $EXIT_SUCCESS + fi + + if test "$hardcode_action" = relink; then + # Fast installation is not supported + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 + $echo "$modename: \`$output' will be relinked during installation" 1>&2 + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP` + else + # fast_install is set to needless + relink_command= + fi + else + link_command="$compile_var$compile_command$compile_rpath" + relink_command="$finalize_var$finalize_command$finalize_rpath" + fi + fi + + # Replace the output file specification. + link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname + + $show "$link_command" + $run eval "$link_command" || exit $? + + # Now create the wrapper script. + $show "creating $output" + + # Quote the relink command for shipping. + if test -n "$relink_command"; then + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + fi + + # Quote $echo for shipping. + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then + case $progpath in + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; + esac + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` + else + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` + fi + + # Only actually do things if our run command is non-null. + if test -z "$run"; then + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + output_name=`basename $output` + output_path=`dirname $output` + cwrappersource="$output_path/$objdir/lt-$output_name.c" + cwrapper="$output_path/$output_name.exe" + $rm $cwrappersource $cwrapper + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + cat > $cwrappersource <> $cwrappersource<<"EOF" +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +# define PATH_SEPARATOR ':' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +# ifndef PATH_SEPARATOR_2 +# define PATH_SEPARATOR_2 ';' +# endif +#endif + +#ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +#else /* DIR_SEPARATOR_2 */ +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +#endif /* DIR_SEPARATOR_2 */ + +#ifndef PATH_SEPARATOR_2 +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) +#else /* PATH_SEPARATOR_2 */ +# define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) +#endif /* PATH_SEPARATOR_2 */ + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +/* -DDEBUG is fairly common in CFLAGS. */ +#undef DEBUG +#if defined DEBUGWRAPPER +# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) +#else +# define DEBUG(format, ...) +#endif + +const char *program_name = NULL; + +void * xmalloc (size_t num); +char * xstrdup (const char *string); +const char * base_name (const char *name); +char * find_executable(const char *wrapper); +int check_executable(const char *path); +char * strendzap(char *str, const char *pat); +void lt_fatal (const char *message, ...); + +int +main (int argc, char *argv[]) +{ + char **newargz; + int i; + + program_name = (char *) xstrdup (base_name (argv[0])); + DEBUG("(main) argv[0] : %s\n",argv[0]); + DEBUG("(main) program_name : %s\n",program_name); + newargz = XMALLOC(char *, argc+2); +EOF + + cat >> $cwrappersource <> $cwrappersource <<"EOF" + newargz[1] = find_executable(argv[0]); + if (newargz[1] == NULL) + lt_fatal("Couldn't find %s", argv[0]); + DEBUG("(main) found exe at : %s\n",newargz[1]); + /* we know the script has the same name, without the .exe */ + /* so make sure newargz[1] doesn't end in .exe */ + strendzap(newargz[1],".exe"); + for (i = 1; i < argc; i++) + newargz[i+1] = xstrdup(argv[i]); + newargz[argc+1] = NULL; + + for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" + return 127; +} + +void * +xmalloc (size_t num) +{ + void * p = (void *) malloc (num); + if (!p) + lt_fatal ("Memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL +; +} + +const char * +base_name (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha ((unsigned char)name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return base; +} + +int +check_executable(const char * path) +{ + struct stat st; + + DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); + if ((!path) || (!*path)) + return 0; + + if ((stat (path, &st) >= 0) && + ( + /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ +#if defined (S_IXOTH) + ((st.st_mode & S_IXOTH) == S_IXOTH) || +#endif +#if defined (S_IXGRP) + ((st.st_mode & S_IXGRP) == S_IXGRP) || +#endif + ((st.st_mode & S_IXUSR) == S_IXUSR)) + ) + return 1; + else + return 0; +} + +/* Searches for the full path of the wrapper. Returns + newly allocated full path name if found, NULL otherwise */ +char * +find_executable (const char* wrapper) +{ + int has_slash = 0; + const char* p; + const char* p_next; + /* static buffer for getcwd */ + char tmp[LT_PATHMAX + 1]; + int tmp_len; + char* concat_name; + + DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); + + if ((wrapper == NULL) || (*wrapper == '\0')) + return NULL; + + /* Absolute path? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') + { + concat_name = xstrdup (wrapper); + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + } + else + { +#endif + if (IS_DIR_SEPARATOR (wrapper[0])) + { + concat_name = xstrdup (wrapper); + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + } +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + } +#endif + + for (p = wrapper; *p; p++) + if (*p == '/') + { + has_slash = 1; + break; + } + if (!has_slash) + { + /* no slashes; search PATH */ + const char* path = getenv ("PATH"); + if (path != NULL) + { + for (p = path; *p; p = p_next) + { + const char* q; + size_t p_len; + for (q = p; *q; q++) + if (IS_PATH_SEPARATOR(*q)) + break; + p_len = q - p; + p_next = (*q == '\0' ? q : q + 1); + if (p_len == 0) + { + /* empty path: current directory */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + tmp_len = strlen(tmp); + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + } + else + { + concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); + memcpy (concat_name, p, p_len); + concat_name[p_len] = '/'; + strcpy (concat_name + p_len + 1, wrapper); + } + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + } + } + /* not found in PATH; assume curdir */ + } + /* Relative path | not found in path: prepend cwd */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + tmp_len = strlen(tmp); + concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); + memcpy (concat_name, tmp, tmp_len); + concat_name[tmp_len] = '/'; + strcpy (concat_name + tmp_len + 1, wrapper); + + if (check_executable(concat_name)) + return concat_name; + XFREE(concat_name); + return NULL; +} + +char * +strendzap(char *str, const char *pat) +{ + size_t len, patlen; + + assert(str != NULL); + assert(pat != NULL); + + len = strlen(str); + patlen = strlen(pat); + + if (patlen <= len) + { + str += len - patlen; + if (strcmp(str, pat) == 0) + *str = '\0'; + } + return str; +} + +static void +lt_error_core (int exit_status, const char * mode, + const char * message, va_list ap) +{ + fprintf (stderr, "%s: %s: ", program_name, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + va_end (ap); +} +EOF + # we should really use a build-platform specific compiler + # here, but OTOH, the wrappers (shell script and this C one) + # are only useful if you want to execute the "real" binary. + # Since the "real" binary is built for $host, then this + # wrapper might as well be built for $host, too. + $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource + ;; + esac + $rm $output + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 + + $echo > $output "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# The $output program cannot be directly executed until all the libtool +# libraries that it depends on are installed. +# +# This wrapper script should never be moved out of the build directory. +# If it is, it will not operate correctly. + +# Sed substitution that helps us do robust quoting. It backslashifies +# metacharacters that are still active within double-quoted strings. +Xsed='${SED} -e 1s/^X//' +sed_quote_subst='$sed_quote_subst' + +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE). +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac +fi +BIN_SH=xpg4; export BIN_SH # for Tru64 +DUALCASE=1; export DUALCASE # for MKS sh + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variable: + notinst_deplibs='$notinst_deplibs' +else + # When we are sourced in execute mode, \$file and \$echo are already set. + if test \"\$libtool_execute_magic\" != \"$magic\"; then + echo=\"$qecho\" + file=\"\$0\" + # Make sure echo works. + if test \"X\$1\" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then + # Yippee, \$echo works! + : + else + # Restart under the correct shell, and then maybe \$echo will work. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} + fi + fi\ +" + $echo >> $output "\ + + # Find the directory that this script lives in. + thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` + test \"x\$thisdir\" = \"x\$file\" && thisdir=. + + # Follow symbolic links until we get to the real thisdir. + file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` + while test -n \"\$file\"; do + destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` + + # If there was a directory component, then change thisdir. + if test \"x\$destdir\" != \"x\$file\"; then + case \"\$destdir\" in + [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; + *) thisdir=\"\$thisdir/\$destdir\" ;; + esac + fi + + file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + done + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $echo >> $output "\ + program=lt-'$outputname'$exeext + progdir=\"\$thisdir/$objdir\" + + if test ! -f \"\$progdir/\$program\" || \\ + { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ + test \"X\$file\" != \"X\$progdir/\$program\"; }; then + + file=\"\$\$-\$program\" + + if test ! -d \"\$progdir\"; then + $mkdir \"\$progdir\" + else + $rm \"\$progdir/\$file\" + fi" + + $echo >> $output "\ + + # relink executable if necessary + if test -n \"\$relink_command\"; then + if relink_command_output=\`eval \$relink_command 2>&1\`; then : + else + $echo \"\$relink_command_output\" >&2 + $rm \"\$progdir/\$file\" + exit $EXIT_FAILURE + fi + fi + + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $rm \"\$progdir/\$program\"; + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $rm \"\$progdir/\$file\" + fi" + else + $echo >> $output "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $echo >> $output "\ + + if test -f \"\$progdir/\$program\"; then" + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $echo >> $output "\ + # Add our own library path to $shlibpath_var + $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" + + # Some systems cannot cope with colon-terminated $shlibpath_var + # The second colon is a workaround for a bug in BeOS R4 sed + $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + + export $shlibpath_var +" + fi + + # fixup the dll searchpath if we need to. + if test -n "$dllsearchpath"; then + $echo >> $output "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + $echo >> $output "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2*) + $echo >> $output "\ + exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} +" + ;; + + *) + $echo >> $output "\ + exec \"\$progdir/\$program\" \${1+\"\$@\"} +" + ;; + esac + $echo >> $output "\ + \$echo \"\$0: cannot exec \$program \$*\" + exit $EXIT_FAILURE + fi + else + # The program doesn't exist. + \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 + \$echo \"This script is just a wrapper for \$program.\" 1>&2 + $echo \"See the $PACKAGE documentation for more information.\" 1>&2 + exit $EXIT_FAILURE + fi +fi\ +" + chmod +x $output + fi + exit $EXIT_SUCCESS + ;; + esac + + # See if we need to build an old-fashioned archive. + for oldlib in $oldlibs; do + + if test "$build_libtool_libs" = convenience; then + oldobjs="$libobjs_save" + addlibs="$convenience" + build_libtool_libs=no + else + if test "$build_libtool_libs" = module; then + oldobjs="$libobjs_save" + build_libtool_libs=no + else + oldobjs="$old_deplibs $non_pic_objects" + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + func_extract_archives $gentop $addlibs + oldobjs="$oldobjs $func_extract_archives_result" + fi + + # Do each command in the archive commands. + if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then + cmds=$old_archive_from_new_cmds + else + # POSIX demands no paths to be encoded in archives. We have + # to avoid creating archives with duplicate basenames if we + # might have to extract them afterwards, e.g., when creating a + # static archive out of a convenience library, or when linking + # the entirety of a libtool archive into another (currently + # not supported by libtool). + if (for obj in $oldobjs + do + $echo "X$obj" | $Xsed -e 's%^.*/%%' + done | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "copying selected object files to avoid basename conflicts..." + + if test -z "$gentop"; then + gentop="$output_objdir/${outputname}x" + generated="$generated $gentop" + + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + exit_status=$? + if test "$exit_status" -ne 0 && test ! -d "$gentop"; then + exit $exit_status + fi + fi + + save_oldobjs=$oldobjs + oldobjs= + counter=1 + for obj in $save_oldobjs + do + objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + case " $oldobjs " in + " ") oldobjs=$obj ;; + *[\ /]"$objbase "*) + while :; do + # Make sure we don't pick an alternate name that also + # overlaps. + newobj=lt$counter-$objbase + counter=`expr $counter + 1` + case " $oldobjs " in + *[\ /]"$newobj "*) ;; + *) if test ! -f "$gentop/$newobj"; then break; fi ;; + esac + done + $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" + $run ln "$obj" "$gentop/$newobj" || + $run cp "$obj" "$gentop/$newobj" + oldobjs="$oldobjs $gentop/$newobj" + ;; + *) oldobjs="$oldobjs $obj" ;; + esac + done + fi + + eval cmds=\"$old_archive_cmds\" + + if len=`expr "X$cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + $echo "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + for obj in $save_oldobjs + do + oldobjs="$objlist $obj" + objlist="$objlist $obj" + eval test_cmds=\"$old_archive_cmds\" + if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && + test "$len" -le "$max_cmd_len"; then + : + else + # the above command should be used before it gets too long + oldobjs=$objlist + if test "$obj" = "$last_oldobj" ; then + RANLIB=$save_RANLIB + fi + test -z "$concat_cmds" || concat_cmds=$concat_cmds~ + eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" + objlist= + fi + done + RANLIB=$save_RANLIB + oldobjs=$objlist + if test "X$oldobjs" = "X" ; then + eval cmds=\"\$concat_cmds\" + else + eval cmds=\"\$concat_cmds~\$old_archive_cmds\" + fi + fi + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + eval cmd=\"$cmd\" + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$generated"; then + $show "${rm}r$generated" + $run ${rm}r$generated + fi + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + $show "creating $output" + + # Preserve any variables that may affect compiler behavior + for var in $variables_saved_for_relink; do + if eval test -z \"\${$var+set}\"; then + relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" + elif eval var_value=\$$var; test -z "$var_value"; then + relink_command="$var=; export $var; $relink_command" + else + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + # Quote the link command for shipping. + relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + + # Only create the output if not a dry run. + if test -z "$run"; then + for installed in no yes; do + if test "$installed" = yes; then + if test -z "$install_libdir"; then + break + fi + output="$output_objdir/$outputname"i + # Replace all uninstalled libtool libraries with the installed ones + newdependency_libs= + for deplib in $dependency_libs; do + case $deplib in + *.la) + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdependency_libs="$newdependency_libs $libdir/$name" + ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + for lib in $dlfiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlfiles="$newdlfiles $libdir/$name" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlprefiles="$newdlprefiles $libdir/$name" + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlfiles="$newdlfiles $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlprefiles="$newdlprefiles $abs" + done + dlprefiles="$newdlprefiles" + fi + $rm $output + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + esac + $echo > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='$tdlname' + +# Names of this library. +library_names='$library_names' + +# The name of the static archive. +old_library='$old_library' + +# Libraries that this one depends upon. +dependency_libs='$dependency_libs' + +# Version information for $libname. +current=$current +age=$age +revision=$revision + +# Is this an already installed library? +installed=$installed + +# Should we warn about portability when linking against -modules? +shouldnotlink=$module + +# Files to dlopen/dlpreopen +dlopen='$dlfiles' +dlpreopen='$dlprefiles' + +# Directory that this library needs to be installed in: +libdir='$install_libdir'" + if test "$installed" = no && test "$need_relink" = yes; then + $echo >> $output "\ +relink_command=\"$relink_command\"" + fi + done + fi + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? + ;; + esac + exit $EXIT_SUCCESS + ;; + + # libtool install mode + install) + modename="$modename: install" + + # There may be an optional sh(1) argument at the beginning of + # install_prog (especially on Windows NT). + if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || + # Allow the use of GNU shtool's install command. + $echo "X$nonopt" | grep shtool > /dev/null; then + # Aesthetically quote it. + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + install_prog="$arg " + arg="$1" + shift + else + install_prog= + arg=$nonopt + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog$arg" + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + for arg + do + if test -n "$dest"; then + files="$files $dest" + dest=$arg + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) + case " $install_prog " in + *[\\\ /]cp\ *) ;; + *) prev=$arg ;; + esac + ;; + -g | -m | -o) prev=$arg ;; + -s) + stripme=" -s" + continue + ;; + -*) + ;; + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else + dest=$arg + continue + fi + ;; + esac + + # Aesthetically quote the argument. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog $arg" + done + + if test -z "$install_prog"; then + $echo "$modename: you must specify an install program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$prev"; then + $echo "$modename: the \`$prev' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -z "$files"; then + if test -z "$dest"; then + $echo "$modename: no file or destination specified" 1>&2 + else + $echo "$modename: you must specify a destination" 1>&2 + fi + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Strip any trailing slash from the destination. + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` + test "X$destdir" = "X$dest" && destdir=. + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` + + # Not a directory, so check to see that there is only one file specified. + set dummy $files + if test "$#" -gt 2; then + $echo "$modename: \`$dest' is not a directory" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + done + ;; + esac + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + staticlibs= + future_libdirs= + current_libdirs= + for file in $files; do + + # Do each installation. + case $file in + *.$libext) + # Do the static libraries later. + staticlibs="$staticlibs $file" + ;; + + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + library_names= + old_library= + relink_command= + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) current_libdirs="$current_libdirs $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) future_libdirs="$future_libdirs $libdir" ;; + esac + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ + test "X$dir" = "X$file/" && dir= + dir="$dir$objdir" + + if test -n "$relink_command"; then + # Determine the prefix the user has applied to our future dir. + inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` + + # Don't allow the user to place us outside of our expected + # location b/c this prevents finding dependent libraries that + # are installed to the same prefix. + # At present, this check doesn't affect windows .dll's that + # are installed into $libdir/../bin (currently, that works fine) + # but it's something to keep an eye on. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$inst_prefix_dir"; then + # Stick the inst_prefix_dir data into the link command. + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP` + else + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP` + fi + + $echo "$modename: warning: relinking \`$file'" 1>&2 + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + exit $EXIT_FAILURE + fi + fi + + # See the names of the shared library. + set dummy $library_names + if test -n "$2"; then + realname="$2" + shift + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + $show "$install_prog $dir/$srcname $destdir/$realname" + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? + if test -n "$stripme" && test -n "$striplib"; then + $show "$striplib $destdir/$realname" + $run eval "$striplib $destdir/$realname" || exit $? + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + # Try `ln -sf' first, because the `ln' binary might depend on + # the symlink we replace! Solaris /bin/ln does not understand -f, + # so we also need to try rm && ln -s. + for linkname + do + if test "$linkname" != "$realname"; then + $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" + $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" + fi + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + cmds=$postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || { + lt_exit=$? + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' + fi + + exit $lt_exit + } + done + IFS="$save_ifs" + fi + + # Install the pseudo-library for information purposes. + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" + ;; + + *.lo) + # Install (i.e. copy) a libtool object. + + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Install the libtool object if requested. + if test -n "$destfile"; then + $show "$install_prog $file $destfile" + $run eval "$install_prog $file $destfile" || exit $? + fi + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` + + $show "$install_prog $staticobj $staticdest" + $run eval "$install_prog \$staticobj \$staticdest" || exit $? + fi + exit $EXIT_SUCCESS + ;; + + *) + # Figure out destination file name, if it wasn't already specified. + if test -n "$destname"; then + destfile="$destdir/$destname" + else + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # If the file is missing, and there is a .exe on the end, strip it + # because it is most likely a libtool script we actually want to + # install + stripped_ext="" + case $file in + *.exe) + if test ! -f "$file"; then + file=`$echo $file|${SED} 's,.exe$,,'` + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin*|*mingw*) + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` + ;; + *) + wrapper=$file + ;; + esac + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then + notinst_deplibs= + relink_command= + + # Note that it is not necessary on cygwin/mingw to append a dot to + # foo even if both foo and FILE.exe exist: automatic-append-.exe + # behavior happens only for exec(3), not for open(2)! Also, sourcing + # `FILE.' does not work on cygwin managed mounts. + # + # If there is no directory component, then add one. + case $wrapper in + */* | *\\*) . ${wrapper} ;; + *) . ./${wrapper} ;; + esac + + # Check the variables that should have been set. + if test -z "$notinst_deplibs"; then + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 + exit $EXIT_FAILURE + fi + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + # If there is no directory component, then add one. + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + fi + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + done + + relink_command= + # Note that it is not necessary on cygwin/mingw to append a dot to + # foo even if both foo and FILE.exe exist: automatic-append-.exe + # behavior happens only for exec(3), not for open(2)! Also, sourcing + # `FILE.' does not work on cygwin managed mounts. + # + # If there is no directory component, then add one. + case $wrapper in + */* | *\\*) . ${wrapper} ;; + *) . ./${wrapper} ;; + esac + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + if test "$finalize" = yes && test -z "$run"; then + tmpdir=`func_mktempdir` + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP` + + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + ${rm}r "$tmpdir" + continue + fi + file="$outputname" + else + $echo "$modename: warning: cannot relink \`$file'" 1>&2 + fi + else + # Install the binary that we compiled earlier. + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyway + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` + ;; + esac + ;; + esac + $show "$install_prog$stripme $file $destfile" + $run eval "$install_prog\$stripme \$file \$destfile" || exit $? + test -n "$outputname" && ${rm}r "$tmpdir" + ;; + esac + done + + for file in $staticlibs; do + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + + $show "$install_prog $file $oldlib" + $run eval "$install_prog \$file \$oldlib" || exit $? + + if test -n "$stripme" && test -n "$old_striplib"; then + $show "$old_striplib $oldlib" + $run eval "$old_striplib $oldlib" || exit $? + fi + + # Do each command in the postinstall commands. + cmds=$old_postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$future_libdirs"; then + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 + fi + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + test -n "$run" && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi + ;; + + # libtool finish mode + finish) + modename="$modename: finish" + libdirs="$nonopt" + admincmds= + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for dir + do + libdirs="$libdirs $dir" + done + + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + cmds=$finish_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || admincmds="$admincmds + $cmd" + done + IFS="$save_ifs" + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $run eval "$cmds" || admincmds="$admincmds + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + test "$show" = : && exit $EXIT_SUCCESS + + $echo "X----------------------------------------------------------------------" | $Xsed + $echo "Libraries have been installed in:" + for libdir in $libdirs; do + $echo " $libdir" + done + $echo + $echo "If you ever happen to want to link against installed libraries" + $echo "in a given directory, LIBDIR, you must either use libtool, and" + $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" + $echo "flag during linking and do at least one of the following:" + if test -n "$shlibpath_var"; then + $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" + $echo " during execution" + fi + if test -n "$runpath_var"; then + $echo " - add LIBDIR to the \`$runpath_var' environment variable" + $echo " during linking" + fi + if test -n "$hardcode_libdir_flag_spec"; then + libdir=LIBDIR + eval flag=\"$hardcode_libdir_flag_spec\" + + $echo " - use the \`$flag' linker flag" + fi + if test -n "$admincmds"; then + $echo " - have your system administrator run these commands:$admincmds" + fi + if test -f /etc/ld.so.conf; then + $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" + fi + $echo + $echo "See any operating system documentation about shared libraries for" + $echo "more information, such as the ld(1) and ld.so(8) manual pages." + $echo "X----------------------------------------------------------------------" | $Xsed + exit $EXIT_SUCCESS + ;; + + # libtool execute mode + execute) + modename="$modename: execute" + + # The first argument is the command name. + cmd="$nonopt" + if test -z "$cmd"; then + $echo "$modename: you must specify a COMMAND" 1>&2 + $echo "$help" + exit $EXIT_FAILURE + fi + + # Handle -dlopen flags immediately. + for file in $execute_dlfiles; do + if test ! -f "$file"; then + $echo "$modename: \`$file' is not a file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + dir= + case $file in + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Read the libtool library. + dlname= + library_names= + + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" + continue + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + + if test -f "$dir/$objdir/$dlname"; then + dir="$dir/$objdir" + else + if test ! -f "$dir/$dlname"; then + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 + exit $EXIT_FAILURE + fi + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + ;; + + *) + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 + continue + ;; + esac + + # Get the absolute pathname. + absdir=`cd "$dir" && pwd` + test -n "$absdir" && dir="$absdir" + + # Now add the directory to shlibpath_var. + if eval "test -z \"\$$shlibpath_var\""; then + eval "$shlibpath_var=\"\$dir\"" + else + eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" + fi + done + + # This variable tells wrapper scripts just to set shlibpath_var + # rather than running their programs. + libtool_execute_magic="$magic" + + # Check if any of the arguments is a wrapper script. + args= + for file + do + case $file in + -*) ;; + *) + # Do a test to see if this is really a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` + args="$args \"$file\"" + done + + if test -z "$run"; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + for lt_var in LANG LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES + do + eval "if test \"\${save_$lt_var+set}\" = set; then + $lt_var=\$save_$lt_var; export $lt_var + fi" + done + + # Now prepare to actually exec the command. + exec_cmd="\$cmd$args" + else + # Display what would be done. + if test -n "$shlibpath_var"; then + eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" + $echo "export $shlibpath_var" + fi + $echo "$cmd$args" + exit $EXIT_SUCCESS + fi + ;; + + # libtool clean and uninstall mode + clean | uninstall) + modename="$modename: $mode" + rm="$nonopt" + files= + rmforce= + exit_status=0 + + # This variable tells wrapper scripts just to set variables rather + # than running their programs. + libtool_install_magic="$magic" + + for arg + do + case $arg in + -f) rm="$rm $arg"; rmforce=yes ;; + -*) rm="$rm $arg" ;; + *) files="$files $arg" ;; + esac + done + + if test -z "$rm"; then + $echo "$modename: you must specify an RM program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + rmdirs= + + origobjdir="$objdir" + for file in $files; do + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + if test "X$dir" = "X$file"; then + dir=. + objdir="$origobjdir" + else + objdir="$dir/$origobjdir" + fi + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + test "$mode" = uninstall && objdir="$dir" + + # Remember objdir for removal later, being careful to avoid duplicates + if test "$mode" = clean; then + case " $rmdirs " in + *" $objdir "*) ;; + *) rmdirs="$rmdirs $objdir" ;; + esac + fi + + # Don't error if the file doesn't exist and rm -f was used. + if (test -L "$file") >/dev/null 2>&1 \ + || (test -h "$file") >/dev/null 2>&1 \ + || test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then + continue + fi + + rmfiles="$file" + + case $name in + *.la) + # Possibly a libtool archive, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + . $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + + case "$mode" in + clean) + case " $library_names " in + # " " in the beginning catches empty $dlname + *" $dlname "*) ;; + *) rmfiles="$rmfiles $objdir/$dlname" ;; + esac + test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + ;; + uninstall) + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + cmds=$postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + cmds=$old_postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + # FIXME: should reinstall the best remaining shared library. + ;; + esac + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + + # Read the .lo file + . $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" \ + && test "$pic_object" != none; then + rmfiles="$rmfiles $dir/$pic_object" + fi + + # Add non-PIC object to the list of files to remove. + if test -n "$non_pic_object" \ + && test "$non_pic_object" != none; then + rmfiles="$rmfiles $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$mode" = clean ; then + noexename=$name + case $file in + *.exe) + file=`$echo $file|${SED} 's,.exe$,,'` + noexename=`$echo $name|${SED} 's,.exe$,,'` + # $file with .exe has already been added to rmfiles, + # add $file without .exe + rmfiles="$rmfiles $file" + ;; + esac + # Do a test to see if this is a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + relink_command= + . $dir/$noexename + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + rmfiles="$rmfiles $objdir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + rmfiles="$rmfiles $objdir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + $show "$rm $rmfiles" + $run $rm $rmfiles || exit_status=1 + done + objdir="$origobjdir" + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + $show "rmdir $dir" + $run rmdir $dir >/dev/null 2>&1 + fi + done + + exit $exit_status + ;; + + "") + $echo "$modename: you must specify a MODE" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test -z "$exec_cmd"; then + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + fi +fi # test -z "$show_help" + +if test -n "$exec_cmd"; then + eval exec $exec_cmd + exit $EXIT_FAILURE +fi + +# We need to display help for each of the modes. +case $mode in +"") $echo \ +"Usage: $modename [OPTION]... [MODE-ARG]... + +Provide generalized library-building support services. + + --config show all configuration variables + --debug enable verbose shell tracing +-n, --dry-run display commands without modifying any files + --features display basic configuration information and exit + --finish same as \`--mode=finish' + --help display this help message and exit + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] + --quiet same as \`--silent' + --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + --version print version information + +MODE must be one of the following: + + clean remove files from the build directory + compile compile a source file into a libtool object + execute automatically set library path, then run a program + finish complete the installation of libtool libraries + install install libraries or executables + link create a library or an executable + uninstall remove libraries from an installed directory + +MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for +a more detailed description of MODE. + +Report bugs to ." + exit $EXIT_SUCCESS + ;; + +clean) + $echo \ +"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... + +Remove files from the build directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, object or program, all the files associated +with it are deleted. Otherwise, only FILE itself is deleted using RM." + ;; + +compile) + $echo \ +"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE + +Compile a source file into a libtool library object. + +This mode accepts the following additional options: + + -o OUTPUT-FILE set the output file name to OUTPUT-FILE + -prefer-pic try to building PIC objects only + -prefer-non-pic try to building non-PIC objects only + -static always build a \`.o' file suitable for static linking + +COMPILE-COMMAND is a command to be used in creating a \`standard' object file +from the given SOURCEFILE. + +The output file name is determined by removing the directory component from +SOURCEFILE, then substituting the C source code suffix \`.c' with the +library object suffix, \`.lo'." + ;; + +execute) + $echo \ +"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... + +Automatically set library path, then run a program. + +This mode accepts the following additional options: + + -dlopen FILE add the directory containing FILE to the library path + +This mode sets the library path environment variable according to \`-dlopen' +flags. + +If any of the ARGS are libtool executable wrappers, then they are translated +into their corresponding uninstalled binary, and any of their required library +directories are added to the library path. + +Then, COMMAND is executed, with ARGS as arguments." + ;; + +finish) + $echo \ +"Usage: $modename [OPTION]... --mode=finish [LIBDIR]... + +Complete the installation of libtool libraries. + +Each LIBDIR is a directory that contains libtool libraries. + +The commands that this mode executes may require superuser privileges. Use +the \`--dry-run' option if you just want to see what would be executed." + ;; + +install) + $echo \ +"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... + +Install executables or libraries. + +INSTALL-COMMAND is the installation command. The first component should be +either the \`install' or \`cp' program. + +The rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + +link) + $echo \ +"Usage: $modename [OPTION]... --mode=link LINK-COMMAND... + +Link object files or libraries together to form another library, or to +create an executable program. + +LINK-COMMAND is a command using the C compiler that you would use to create +a program from several object files. + +The following components of LINK-COMMAND are treated specially: + + -all-static do not do any dynamic linking at all + -avoid-version do not add a version suffix if possible + -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime + -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols + -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) + -export-symbols SYMFILE + try to export only the symbols listed in SYMFILE + -export-symbols-regex REGEX + try to export only the symbols matching REGEX + -LLIBDIR search LIBDIR for required installed libraries + -lNAME OUTPUT-FILE requires the installed library libNAME + -module build a library that can dlopened + -no-fast-install disable the fast-install mode + -no-install link a not-installable executable + -no-undefined declare that a library does not refer to external symbols + -o OUTPUT-FILE create OUTPUT-FILE from the specified objects + -objectlist FILE Use a list of object files found in FILE to specify objects + -precious-files-regex REGEX + don't remove output files matching REGEX + -release RELEASE specify package release information + -rpath LIBDIR the created library will eventually be installed in LIBDIR + -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries + -static do not do any dynamic linking of uninstalled libtool libraries + -static-libtool-libs + do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + +All other options (arguments beginning with \`-') are ignored. + +Every other argument is treated as a filename. Files ending in \`.la' are +treated as uninstalled libtool libraries, other files are standard or library +object files. + +If the OUTPUT-FILE ends in \`.la', then a libtool library is created, +only library objects (\`.lo' files) may be specified, and \`-rpath' is +required, except when creating a convenience library. + +If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created +using \`ar' and \`ranlib', or on Windows using \`lib'. + +If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file +is created, otherwise an executable program is created." + ;; + +uninstall) + $echo \ +"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... + +Remove libraries from an installation directory. + +RM is the name of the program to use to delete files associated with each FILE +(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed +to RM. + +If FILE is a libtool library, all the files associated with it are deleted. +Otherwise, only FILE itself is deleted using RM." + ;; + +*) + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; +esac + +$echo +$echo "Try \`$modename --help' for more information about other modes." + +exit $? + +# The TAGs below are defined such that we never get into a situation +# in which we disable both kinds of libraries. Given conflicting +# choices, we go for a static library, that is the most portable, +# since we can't tell whether shared libraries were disabled because +# the user asked for that or because the platform doesn't support +# them. This is particularly important on AIX, because we don't +# support having both static and shared libraries enabled at the same +# time on that platform, so we default to a shared-only configuration. +# If a disable-shared tag is given, we'll fallback to a static-only +# configuration. But we'll never go from static-only to shared-only. + +# ### BEGIN LIBTOOL TAG CONFIG: disable-shared +disable_libs=shared +# ### END LIBTOOL TAG CONFIG: disable-shared + +# ### BEGIN LIBTOOL TAG CONFIG: disable-static +disable_libs=static +# ### END LIBTOOL TAG CONFIG: disable-static + +# Local Variables: +# mode:shell-script +# sh-indentation:2 +# End: diff --git a/m4/changelog.am b/m4/changelog.am new file mode 100644 index 0000000..310de84 --- /dev/null +++ b/m4/changelog.am @@ -0,0 +1,29 @@ +## $Id: changelog.am 2333 2006-09-28 15:06:59Z dhozac $ ---*- makefile -*--- + +## Copyright (C) 2002 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +ChangeLog.sed: + test "$(srcdir)" != "." + +if HAVE_SVN2CL +ChangeLog: Makefile + if test "$(srcdir)" = "." -a -d .svn; then \ + $(SVN2CL) $(SVN2CL_ALLFLAGS) -o $@; \ + fi +endif + +.PHONY: ChangeLog diff --git a/m4/ensc_cflags.m4 b/m4/ensc_cflags.m4 new file mode 100644 index 0000000..926de9f --- /dev/null +++ b/m4/ensc_cflags.m4 @@ -0,0 +1,112 @@ +dnl $Id: ensc_cflags.m4 1052 2004-03-04 03:00:42Z ensc $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +AC_DEFUN([__ENSC_CHECK_WARNFLAGS], +[ + warn_flags="-Werror -W" + AC_MSG_CHECKING([whether the $1-compiler accepts ${warn_flags}]) + AC_LANG_PUSH($1) + __ensc_check_warnflags_old_CFLAGS="${$3}" + $3="$warn_flags" + AC_TRY_COMPILE([inline static void f(){}], + [], + [ensc_sys_compilerwarnflags_$2=${warn_flags}], + [ensc_sys_compilerwarnflags_$2=]) + AC_LANG_POP($1) + $3="$__ensc_check_warnflags_old_CFLAGS" + + if test x"${ensc_sys_compilerwarnflags_$2}" = x; then + AC_MSG_RESULT([no]) + else + AC_MSG_RESULT([yes]) + fi +]) + +AC_DEFUN([__ENSC_CHECK_WARNFLAGS_C], +[ + __ENSC_CHECK_WARNFLAGS(C, C, CFLAGS) +]) + +AC_DEFUN([__ENSC_CHECK_WARNFLAGS_CXX], +[ + __ENSC_CHECK_WARNFLAGS(C++, CXX, CXXFLAGS) +]) + + +# -------------------------------------------------------------------------- +# Check whether the C++ compiler accepts a certain flag +# If it does it adds the flag to CXXFLAGS +# If it does not then it returns an error to lf_ok +# Usage: +# ENSC_CHECK_CXX_FLAG(-flag1 -flag2 -flag3 ...) +# ------------------------------------------------------------------------- + +AC_DEFUN([ENSC_CHECK_CXX_FLAG], +[ + AC_REQUIRE([__ENSC_CHECK_WARNFLAGS_CXX]) + + echo 'void f(){}' > conftest.cc + for i in $1 + do + AC_MSG_CHECKING([whether $CXX accepts $i]) + if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`" + then + CXXFLAGS="${CXXFLAGS} $i" + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi + done + rm -f conftest.cc conftest.o +]) + +# -------------------------------------------------------------------------- +# Check whether the C compiler accepts a certain flag +# If it does it adds the flag to CFLAGS +# If it does not then it returns an error to lf_ok +# Usage: +# ENSC_CHECK_CC_FLAG(-flag1 -flag2 -flag3 ...) +# ------------------------------------------------------------------------- + +AC_DEFUN([ENSC_CHECK_CC_FLAG], +[ + AC_REQUIRE([__ENSC_CHECK_WARNFLAGS_C]) + +echo 'void f(){}' > conftest.c + for i in $1 + do + AC_MSG_CHECKING([whether $CC accepts $i]) + if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`" + then + CFLAGS="${CFLAGS} $i" + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi + done + rm -f conftest.c conftest.o +]) + +AC_DEFUN([ENSC_CHECK_DEFAULT_FLAG], +[ + if test x"${ensc_sys_default_flag}" = x; then + ENSC_CHECK_CC_FLAG([-fmessage-length=0]) + ENSC_CHECK_CXX_FLAG([-fmessage-length=0]) + + ensc_sys_default_flag=set + fi +]) diff --git a/m4/ensc_changelog.m4 b/m4/ensc_changelog.m4 new file mode 100644 index 0000000..4269788 --- /dev/null +++ b/m4/ensc_changelog.m4 @@ -0,0 +1,24 @@ +dnl $Id: ensc_changelog.m4 2313 2006-09-15 08:31:53Z hollow $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_CHANGELOG() + +AC_DEFUN([ENSC_CHANGELOG], +[ + AC_CHECK_PROGS(SVN2CL, [svn2cl]) + AM_CONDITIONAL(HAVE_SVN2CL, [test x"$SVN2CL" != x]) +]) diff --git a/m4/ensc_cxxcompiler.m4 b/m4/ensc_cxxcompiler.m4 new file mode 100644 index 0000000..51c7a78 --- /dev/null +++ b/m4/ensc_cxxcompiler.m4 @@ -0,0 +1,66 @@ +dnl $Id: ensc_cxxcompiler.m4 2007 2005-04-10 00:52:57Z ensc $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +AC_DEFUN([ENSC_CXXCOMPILER], +[ + AC_REQUIRE([AC_PROG_CXX]) + + AC_CACHE_CHECK([whether $CXX is a C++ compiler], [ensc_cv_cxx_cxxcompiler], + [ + AC_LANG_PUSH(C++) + AC_COMPILE_IFELSE([ + #include + ], + [ensc_cv_cxx_cxxcompiler=yes], + [ensc_cv_cxx_cxxcompiler=no]) + AC_LANG_POP(C++) + ]) + + AM_CONDITIONAL(ENSC_HAVE_CXX_COMPILER, + [test x"$ensc_cv_cxx_cxxcompiler" = xyes]) + + if test x"$ensc_cv_cxx_cxxcompiler" = xno; then + AC_MSG_WARN([*** some programs will not be built because a C++ compiler is lacking]) + fi +]) + +AC_DEFUN([ENSC_C99COMPILER], +[ + AC_REQUIRE([AC_PROG_CC]) + + AC_CACHE_CHECK([whether $CC is a C99 compiler], [ensc_cv_c99_c99compiler], + [ + AC_LANG_PUSH(C) + AC_COMPILE_IFELSE([ +int main(int argc, char *argv[]) { + struct { int x; } a = { .x = argc }; + if (0) return 0; + int b; +} + ], + [ensc_cv_c99_c99compiler=yes], + [ensc_cv_c99_c99compiler=no]) + AC_LANG_POP(C) + ]) + + AM_CONDITIONAL(ENSC_HAVE_C99_COMPILER, + [test x"$ensc_cv_c99_c99compiler" = xyes]) + + if test x"$ensc_cv_c99_c99compiler" = xno; then + AC_MSG_WARN([*** some programs will not be built because system is lacking a C99 compiler]) + fi +]) diff --git a/m4/ensc_dietlibc.m4 b/m4/ensc_dietlibc.m4 new file mode 100644 index 0000000..38da079 --- /dev/null +++ b/m4/ensc_dietlibc.m4 @@ -0,0 +1,165 @@ +dnl $Id: ensc_dietlibc.m4 2830 2009-02-14 10:07:54Z ensc $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +AC_DEFUN([_ENSC_DIETLIBC_C99], +[ + AH_TEMPLATE([ENSC_DIETLIBC_C99], [Define to 1 if dietlibc supports C99]) + + AC_CACHE_CHECK([whether dietlibc supports C99], [ensc_cv_c_dietlibc_c99], + [ + _ensc_dietlibc_c99_old_CFLAGS=$CFLAGS + _ensc_dietlibc_c99_old_CC=$CC + + CFLAGS="-std=c99" + CC="${DIET:-diet} $CC" + + AC_LANG_PUSH(C) + AC_COMPILE_IFELSE([/* */],[ + AC_COMPILE_IFELSE([ + #include + #include + #if defined(inline) + # error 'inline' badly defined + #endif + volatile uint64_t a; + ], + [ensc_cv_c_dietlibc_c99=yes], + [ensc_cv_c_dietlibc_c99=no])], + [ensc_cv_c_dietlibc_c99='skipped (compiler does not support C99)']) + AC_LANG_POP + + CC=$_ensc_dietlibc_c99_old_CC + CFLAGS=$_ensc_dietlibc_c99_old_CFLAGS + ]) + + if test x"$ensc_cv_c_dietlibc_c99" = xyes; then + AC_DEFINE(ENSC_DIETLIBC_C99,1) + fi +]) + +AC_DEFUN([_ENSC_DIETLIBC_SYSCALL], +[ + AH_TEMPLATE([ENSC_DIETLIBC_HAS_SYSCALL], [Define to 1 if dietlibc declares syscall]) + + AC_CACHE_CHECK([whether dietlibc declares syscall], [ensc_cv_c_dietlibc_syscall], + [ + _ensc_dietlibc_syscall_old_CC="$CC" + CC="${DIET:-diet} $CC" + + AC_LANG_PUSH(C) + AC_COMPILE_IFELSE([ + #include + long int syscall(long int __sysno, ...); + ], + [ensc_cv_c_dietlibc_syscall=no], + [ensc_cv_c_dietlibc_syscall=yes]) + AC_LANG_POP + + CC="$_ensc_dietlibc_syscall_old_CC" + ]) + + if test x"$ensc_cv_c_dietlibc_syscall" = xyes; then + AC_DEFINE(ENSC_DIETLIBC_HAS_SYSCALL,1) + fi +]) + +dnl Usage: ENSC_ENABLE_DIETLIBC([,]) +dnl ... automake-conditional which will be set when +dnl dietlibc shall be enabled +dnl provides: +dnl * $ENSC_VERSION_DIETLIBC_NUM and +dnl * $ENSC_VERSION_DIETLIBC + +AC_DEFUN([ENSC_ENABLE_DIETLIBC], +[ + AC_MSG_CHECKING([whether to enable dietlibc]) + + AC_ARG_VAR(DIET, [The 'diet' wrapper (default: diet)]) + AC_ARG_VAR(DIETFLAGS, [Flags passed to the 'diet' wrapper (default: -O)]) + + : ${DIET:=diet} + : ${DIETFLAGS=-Os} + + AC_ARG_ENABLE([dietlibc], + [AS_HELP_STRING([--disable-dietlibc], + [do not use dietlibc resp. enforce its usage + (with --enable-dietlibc) (default: autodetect dietlibc)])], + [case "$enableval" in + (yes) use_dietlibc=forced;; + (no) use_dietlibc=forced_no;; + (*) AC_MSG_ERROR(['$enableval' is not a valid value for --enable-dietlibc]);; + esac], + [which "$DIET" >/dev/null 2>/dev/null && use_dietlibc=detected || use_dietlibc=detected_no]) + + if test "$use_dietlibc" = detected -a "$2"; then + _dietlibc_ver=$($DIET -v 2>&1 | sed '1p;d') + _dietlibc_ver=${_dietlibc_ver##*diet version } + _dietlibc_ver=${_dietlibc_ver##*dietlibc-} + _dietlibc_ver_maj=${_dietlibc_ver%%.*} + _dietlibc_ver_min=${_dietlibc_ver#*.} + _dietlibc_ver_min=${_dietlibc_ver_min%%[[!0-9]]*} + _dietlibc_cmp="$2" + _dietlibc_cmp_maj=${_dietlibc_cmp%%.*} + _dietlibc_cmp_min=${_dietlibc_cmp#*.} + + ENSC_VERSION_DIETLIBC=$_dietlibc_ver_maj.$_dietlibc_ver_min + + let _dietlibc_ver=_dietlibc_ver_maj*1000+_dietlibc_ver_min 2>/dev/null || _dietlibc_ver=0 + let _dietlibc_cmp=_dietlibc_cmp_maj*1000+_dietlibc_cmp_min + + test $_dietlibc_ver -ge $_dietlibc_cmp || use_dietlibc=detected_old + else + ENSC_VERSION_DIETLIBC= + _dietlibc_ver=-1 + fi + + ENSC_VERSION_DIETLIBC_NUM=$_dietlibc_ver + ensc_have_dietlibc=no + + case x"$use_dietlibc" in + xdetected) + AM_CONDITIONAL($1, true) + AC_MSG_RESULT([yes (autodetected, $ENSC_VERSION_DIETLIBC)]) + ensc_have_dietlibc=yes + ;; + xforced) + AM_CONDITIONAL($1, true) + AC_MSG_RESULT([yes (forced)]) + ensc_have_dietlibc=yes + ;; + xdetected_no) + AM_CONDITIONAL($1, false) + AC_MSG_RESULT([no (detected)]) + ;; + xdetected_old) + AM_CONDITIONAL($1, false) + AC_MSG_RESULT([no (too old; $2+ required, $ENSC_VERSION_DIETLIBC found)]) + ;; + xforced_no) + AM_CONDITIONAL($1, false) + AC_MSG_RESULT([no (forced)]) + ;; + *) + AC_MSG_ERROR([internal error, use_dietlibc was "$use_dietlibc"]) + ;; + esac + + if test x"$ensc_have_dietlibc" != xno; then + _ENSC_DIETLIBC_C99 + _ENSC_DIETLIBC_SYSCALL + fi +]) diff --git a/m4/ensc_dietlibc_compat.m4 b/m4/ensc_dietlibc_compat.m4 new file mode 100644 index 0000000..e33d464 --- /dev/null +++ b/m4/ensc_dietlibc_compat.m4 @@ -0,0 +1,55 @@ +dnl $Id: ensc_dietlibc_compat.m4 2042 2005-04-24 20:28:23Z ensc $ + +dnl Copyright (C) 2004 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +AC_DEFUN([ENSC_DIETLIBC_NEED_COMPAT], +[ + AC_REQUIRE([ENSC_ENABLE_DIETLIBC]) + AC_REQUIRE([ENSC_SYSCALL_ALTERNATIVE]) + AC_CACHE_CHECK([whether dietlibc needs '-lcompat'], [ensc_cv_c_dietlibc_compat], + [ + AC_LANG_PUSH(C) + ensc_dietlibc_need_compat_old_CC=$CC + CC="${DIET:-diet} $CC" + AC_LINK_IFELSE([ + AC_LANG_PROGRAM([ +#include "$srcdir/lib/syscall-wrap.h" +#include + +#define __NR_foo0 42 +#define __NR_foo1 42 +#define __NR_foo2 42 +#define __NR_foo3 42 +#define __NR_foo4 42 +#define __NR_foo5 42 +inline static _syscall0(int, foo0) +inline static _syscall1(int, foo1, int, a) +inline static _syscall2(int, foo2, int, a, int, b) +inline static _syscall3(int, foo3, int, a, int, b, int, c) +inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d) +inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e) +], + [foo0(); foo1(0); foo2(0,0); foo3(0,0,0); foo4(0,0,0,0); foo5(0,0,0,0,0);])], + [ensc_cv_c_dietlibc_compat=no], + [ensc_cv_c_dietlibc_compat=yes]) + CC=$ensc_dietlibc_need_compat_old_CC + AC_LANG_POP + ]) + + if test x"$1" != x; then + AM_CONDITIONAL($1, test x"$ensc_cv_c_dietlibc_compat" = xyes) + fi +]) diff --git a/m4/ensc_e2fscheck.m4 b/m4/ensc_e2fscheck.m4 new file mode 100644 index 0000000..7fe2f5f --- /dev/null +++ b/m4/ensc_e2fscheck.m4 @@ -0,0 +1,72 @@ +dnl $Id: ensc_e2fscheck.m4 2411 2006-12-01 18:41:01Z dhozac $ + +dnl Copyright (C) 2004 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +AC_DEFUN([ENSC_CHECK_EXT2FS_HEADER], +[ + AC_LANG_PUSH(C++) + AC_CACHE_CHECK([for ext2fs-headers], [ensc_cv_test_ext2fs_header],[ + AC_COMPILE_IFELSE(AC_LANG_SOURCE([#include + int main() { return 0; }]), + [ensc_cv_test_ext2fs_header=e2fsprogs],[ + AC_COMPILE_IFELSE(AC_LANG_SOURCE([#include + int main() { return 0; }]), + [ensc_cv_test_ext2fs_header=kernel],[ + ensc_cv_test_ext2fs_header=none])])]) + + case x"$ensc_cv_test_ext2fs_header" in + (xe2fsprogs) + AC_CHECK_HEADER([ext2fs/ext2_fs.h], + [AC_DEFINE(ENSC_HAVE_EXT2FS_EXT2_FS_H, 1, [define when is usable])], + [AC_MSG_FAILURE([unexpected error while checkin for ])]) + ;; + (xkernel) + AC_CHECK_HEADER([linux/ext2_fs.h], + [AC_DEFINE(ENSC_HAVE_LINUX_EXT2_FS_H, 1, [define when is usable])], + [AC_MSG_FAILURE([unexpected error while checkin for ])]) + ;; + (*) + AC_MSG_FAILURE([ +ext2fs headers were not found, or they are not usable. This can have +the following reasons: + +* you have neither the e2fsprogs nor the kernel headers installed + +* kernel headers are broken (e.g. these of linux 2.6 are known to be) + and you do not have e2fsprogs headers installed; please try to install + - e2fsprogs-devel (for Red Hat), or + - lib*ext2fs2-devel (for Mandriva), or + - e2fslibs-dev (for Debian) + in this case. + +* kernel headers are broken and your e2fsprogs headers are too old; + until version 1.27 (inclusive), they are using reserved C++ keywords + +* kernel headers are broken and your e2fsprogs headers are too new; + recent (January 2004) BK snapshots of e2fsprogs are unusable for + C++, for details and a solution see + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448 + + +In the latter two cases you have the following options: +* fix the headers manually, or +* install a stable version of e2fsprogs (e.g. 1.34), or +* use good kernel headers (from linux 2.4.x) +]) + ;; + esac + AC_LANG_POP +]) diff --git a/m4/ensc_initrddir.m4 b/m4/ensc_initrddir.m4 new file mode 100644 index 0000000..909b9b1 --- /dev/null +++ b/m4/ensc_initrddir.m4 @@ -0,0 +1,39 @@ +dnl $Id: ensc_initrddir.m4 1887 2005-03-09 14:42:39Z ensc $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_INITRDDIR() + +AC_DEFUN([ENSC_INITRDDIR], +[ + AC_MSG_CHECKING([for initrddir]) + AC_ARG_WITH([initrddir], + [AC_HELP_STRING([--with-initrddir ], + [use as directory for SysV init-files (default: $sysconfdir/init.d)])], + [case "$withval" in + yes|no) AC_MSG_ERROR(['$withval' is not a valid value for '--with-initrddir']);; + *) ensc_initrddir=$withval;; + esac], + [ensc_initrddir='$(sysconfdir)/init.d']) + + if test "$1"; then + $1=$ensc_initrddir + AC_SUBST($1) + fi + + AC_MSG_RESULT($ensc_initrddir) +]) + diff --git a/m4/ensc_pathprog.m4 b/m4/ensc_pathprog.m4 new file mode 100644 index 0000000..e95c041 --- /dev/null +++ b/m4/ensc_pathprog.m4 @@ -0,0 +1,105 @@ +dnl $Id: ensc_pathprog.m4 2772 2008-08-24 23:37:51Z dhozac $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_SET_SEARCHPATH() +AC_DEFUN([ENSC_SET_SEARCHPATH], +[ + ensc_searchpath="$1" +]) + +dnl Usage: ENSC_PATHPROG_INIT +AC_DEFUN([ENSC_PATHPROG_INIT], +[ + ENSC_PATHPROG_SED= + AC_SUBST([ENSC_PATHPROG_SED]) +]) + + +dnl Usage: ENSC_PATHPROG(, [, , , ]) +AC_DEFUN([ENSC_PATHPROG], +[ + AC_REQUIRE([ENSC_SET_SEARCHPATH]) + AC_REQUIRE([ENSC_PATHPROG_INIT]) + + if test -z "$3"; then + rq=true + else + rq=false + fi + + if $rq; then + ensc_dflt= + else + ensc_dflt="$3" + fi + + AC_PATH_PROGS($1, [$2], [$ensc_dflt], [$ensc_searchpath]) + + if test -z "${$1}" && $rq; then + if test -z "$4"; then + AC_MSG_ERROR([Can not find the '$2' tool within '${ensc_searchpath:-$PATH}'.]) + else + AC_MSG_ERROR([ +Can not find the '$2' tool within '${ensc_searchpath:-$PATH}'. +$4]) + fi + fi + + if test "x$5" = x; then + if test -h "${$1}"; then + $1=`readlink -f "${$1}"` + fi + fi + + test "${$1}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'$1'@!${$1}!g;" + + test "${$1}"]) + + + +dnl Usage: ENSC_PATHPROG_STANDARD_TOOLS) +AC_DEFUN([ENSC_PATHPROG_STANDARD_TOOLS], +[ + ENSC_PATHPROG(AWK, awk) + ENSC_PATHPROG(CAT, cat) + ENSC_PATHPROG(CHOWN, chown) + ENSC_PATHPROG(CMP, cmp) + ENSC_PATHPROG(CP, cp) + ENSC_PATHPROG(DIRNAME, dirname) + ENSC_PATHPROG(EGREP, egrep, [], [], no-deref) + ENSC_PATHPROG(ENV, env) + ENSC_PATHPROG(GREP, grep) + ENSC_PATHPROG(LN, ln) + ENSC_PATHPROG(MKDIR, mkdir) + ENSC_PATHPROG(MKFIFO, mkfifo) + ENSC_PATHPROG(MKTEMP, mktemp) + ENSC_PATHPROG(MOUNT, mount) + ENSC_PATHPROG(MV, mv) + ENSC_PATHPROG(NICE, nice) + ENSC_PATHPROG(PS, ps) + ENSC_PATHPROG(RM, rm) + ENSC_PATHPROG(RMDIR, rmdir) + ENSC_PATHPROG(SED, sed) + ENSC_PATHPROG(SH, sh) + ENSC_PATHPROG(TAC, tac) + ENSC_PATHPROG(TAR, tar) + ENSC_PATHPROG(TOUCH, touch) + ENSC_PATHPROG(TTY, tty) + ENSC_PATHPROG(UMOUNT, umount) + ENSC_PATHPROG(WC, wc) +]) + diff --git a/m4/ensc_personality.m4 b/m4/ensc_personality.m4 new file mode 100644 index 0000000..dd4528f --- /dev/null +++ b/m4/ensc_personality.m4 @@ -0,0 +1,44 @@ +dnl $Id: ensc_personality.m4 2159 2005-07-15 19:40:15Z ensc $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_CHECK_PERSONALITY_FLAGS +AC_DEFUN([ENSC_CHECK_PERSONALITY_FLAGS], +[ + AC_MSG_CHECKING([for declarations in ]) + AC_MSG_RESULT([]) + + AC_LANG_PUSH(C) + AC_CHECK_DECLS([MMAP_PAGE_ZERO, ADDR_LIMIT_32BIT, SHORT_INODE, + WHOLE_SECONDS, STICKY_TIMEOUTS, ADDR_LIMIT_3GB], + [],[], + [ +#include + ]) + + AC_CHECK_DECLS([PER_LINUX, PER_LINUX_32BIT, PER_SVR4, PER_SVR3, + PER_SCOSVR3, PER_OSR5, PER_WYSEV386, PER_ISCR4, + PER_BSD, PER_SUNOS, PER_XENIX, PER_LINUX32, + PER_LINUX32_3GB, PER_IRIX32, PER_IRIXN32, + PER_IRIX64, PER_RISCOS, PER_SOLARIS, PER_UW7, + PER_HPUX, PER_OSF4], + [], [], + [ +#include + ]) + AC_LANG_POP +]) + diff --git a/m4/ensc_release.m4 b/m4/ensc_release.m4 new file mode 100644 index 0000000..e42c1bf --- /dev/null +++ b/m4/ensc_release.m4 @@ -0,0 +1,43 @@ +dnl $Id: ensc_release.m4 476 2003-12-26 00:22:49Z uid68581 $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_RELEASE() +dnl ... name of variable which will get the preprocessor +dnl flags and which will be AC_SUBST'ed + +AC_DEFUN([ENSC_RELEASE], +[ + AC_MSG_CHECKING([whether to enable release-mode]) + AC_ARG_ENABLE([release], + [AC_HELP_STRING([--enable-release], + [enable release mode (default: no)])], + [case "$enableval" in + yes) ensc_release_mode=yes;; + no) ensc_release_mode=no;; + *) AC_MSG_ERROR(['$enableval' is not a valid value for '--enable-release']);; + esac], + [ ensc_release_mode=no ]) + + if test x"$ensc_release_mode" = xno; then + $1= + else + $1='-DNDEBUG' + fi + + AC_SUBST($1) + AC_MSG_RESULT($ensc_release_mode) +]) diff --git a/m4/ensc_syscall.m4 b/m4/ensc_syscall.m4 new file mode 100644 index 0000000..66d9912 --- /dev/null +++ b/m4/ensc_syscall.m4 @@ -0,0 +1,109 @@ +dnl $Id: ensc_syscall.m4 2194 2005-10-28 17:51:48Z ensc $ + +dnl Copyright (C) 2004 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_SYSCALL + +AC_DEFUN([ENSC_SYSCALL_ALTERNATIVE], +[ + AC_MSG_CHECKING([whether to use alternative _syscallX macros]) + AC_ARG_ENABLE([alternative-syscalls], + [AC_HELP_STRING([--disable-alternative-syscalls], + [do not use the alternative _syscallX macros + provided by Herbert Poetzl (default: use them)])], + [case $enableval in + (yes|no) ensc_use_alternative_syscall_macros=$enableval;; + (*) AC_MSG_ERROR(['$enableval' is not a valid value for '--disable-alternative-syscalls']);; + esac], + [ensc_use_alternative_syscall_macros=yes]) + + case $ensc_use_alternative_syscall_macros in + (yes) AC_DEFINE(ENSC_USE_ALTERNATIVE_SYSCALL_MACROS, 1, [Use alternative _syscallX macros]);; + esac + + AC_MSG_RESULT([$ensc_use_alternative_syscall_macros]) +]) + +AC_DEFUN([ENSC_SYSCALL], +[ + AC_REQUIRE([ENSC_SYSCALL_ALTERNATIVE]) + + AC_MSG_CHECKING([for syscall(2) invocation method]) + AC_ARG_WITH([syscall], + [AC_HELP_STRING([--with-syscall=METHOD], + [call syscall(2) with the specified METHOD; valid values are 'fast', 'traditional' and 'auto' (default: auto)])], + [], + [with_syscall=auto]) + AC_MSG_RESULT([$with_syscall]) + + case x"$with_syscall" in + (xauto) + AC_CACHE_CHECK([which syscall(2) invocation works], [ensc_cv_test_syscall], + [ + AC_LANG_PUSH(C) + AC_COMPILE_IFELSE(AC_LANG_SOURCE([ +#include "$srcdir/lib/syscall-wrap.h" +#include + +#define __NR_foo0 300 +#define __NR_foo1 301 +#define __NR_foo2 302 +#define __NR_foo3 303 +#define __NR_foo4 304 +#define __NR_foo5 305 +inline static _syscall0(int, foo0) +inline static _syscall1(int, foo1, int, a) +inline static _syscall2(int, foo2, int, a, int, b) +inline static _syscall3(int, foo3, int, a, int, b, int, c) +inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d) +inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e) + +int main() { + return foo0() || \ + foo1(1) || \ + foo2(1,2) || \ + foo3(1,2,3) || \ + foo4(1,2,3,4) || \ + foo5(1,2,3,4,5); +} + ]), + [ensc_cv_test_syscall=fast], + [ensc_cv_test_syscall=traditional]) + + AC_LANG_POP + ]) + with_syscall=$ensc_cv_test_syscall + ;; + (xfast|xtraditional) + ;; + *) + AC_MSG_ERROR(['$with_syscall' is not a valid value for '--with-syscall']) + ;; + esac + + if test x"$with_syscall $ensc_use_alternative_syscall_macros" = 'xfast yes'; then + with_syscall='alternative' + fi + + if test x"$with_syscall" = xtraditional; then + AC_DEFINE(ENSC_SYSCALL_TRADITIONAL, 1, [Define to 1 when the fast syscall(2) invocation does not work]) + fi + + AH_BOTTOM([ +#if defined(__pic__) && defined(__i386) && !defined(ENSC_SYSCALL_TRADITIONAL) && !defined(ENSC_USE_ALTERNATIVE_SYSCALL_MACROS) +# define ENSC_SYSCALL_TRADITIONAL 1 +#endif]) +]) diff --git a/m4/ensc_syscallnr.m4 b/m4/ensc_syscallnr.m4 new file mode 100644 index 0000000..db6efb3 --- /dev/null +++ b/m4/ensc_syscallnr.m4 @@ -0,0 +1,65 @@ +dnl $Id: ensc_syscallnr.m4 2187 2005-10-28 16:01:19Z ensc $ + +dnl Copyright (C) 2004 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_SYSCALLNR(,[,]) + +AC_DEFUN([ENSC_SYSCALLNR], +[ + AC_REQUIRE([AC_PROG_CPP]) + AC_REQUIRE([AC_PROG_EGREP]) + + AC_CACHE_CHECK([for number of syscall '$1'], [ensc_cv_value_syscall_$1], + [ + AC_LANG_PUSH(C) + AC_LANG_CONFTEST([ +#ifdef ENSC_SYSCALL_FALLBACK +# include ENSC_SYSCALL_FALLBACK +#else +# include +#endif +#ifdef __NR_$1 +ensc_syscall_tmp_nr=__NR_$1; +ensc_syscall_tmp_src=ENSC_MARK +#endif +]) + ensc_syscall_tmp_nr= + ensc_syscall_tmp_src= + test x"$ensc_syscall_tmp_nr" != x || \ + eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[[1-9]][[0-9]]*;|src=.*)$') + test x"$ensc_syscall_tmp_nr" != x -o x'$3' = x || \ + eval $($CPP $CPPFLAGS -D ENSC_MARK='fallback' -D ENSC_SYSCALL_FALLBACK='"$3"' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[[1-9]][[0-9]]*;|src=.*)$') + test "$ensc_syscall_tmp_nr" || { + ensc_syscall_tmp_nr=$2 + ensc_syscall_tmp_src=default + } + + if test x"$ensc_syscall_tmp_nr" = x; then + AC_MSG_ERROR( +[Can not determine value of __NR_$1; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_$1=' environment when calling configure.]) + fi + AC_LANG_POP + + ensc_cv_value_syscall_$1="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src" + ]) + + ensc_syscall_tmp_nr=${ensc_cv_value_syscall_$1%/*} + ensc_syscall_tmp_src=${ensc_cv_value_syscall_$1#*/} + + if test x"$ensc_syscall_tmp_src" != x'glibc'; then + AC_DEFINE_UNQUOTED(ENSC_SYSCALL__NR_$1, $ensc_syscall_tmp_nr, [The number of the $1 syscall]) + fi +]) diff --git a/m4/ensc_uv_vrootdir.m4 b/m4/ensc_uv_vrootdir.m4 new file mode 100644 index 0000000..f452ea5 --- /dev/null +++ b/m4/ensc_uv_vrootdir.m4 @@ -0,0 +1,39 @@ +dnl $Id: ensc_uv_vrootdir.m4 476 2003-12-26 00:22:49Z uid68581 $ + +dnl Copyright (C) 2002 Enrico Scholz +dnl +dnl This program is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; version 2 of the License. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program; if not, write to the Free Software +dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +dnl Usage: ENSC_UV_VROOTDIR[()] +dnl ... name of variable which will get assigned +dnl the dirname of the vserver-topdir + +AC_DEFUN([ENSC_UV_VROOTDIR], +[ + AC_MSG_CHECKING([which vserver-rootdir is to use]) + AC_ARG_WITH([vrootdir], + [AC_HELP_STRING([--with-vrootdir=DIR], + [place vservers under DIR (default: /vservers)])], + [case "$withval" in + yes|no) AC_MSG_ERROR(['$withval' is not a valid value for vrootdir]);; + *) ensc_uv_path_vrootdir=$withval;; + esac], + [ensc_uv_path_vrootdir=/vservers]) + AC_MSG_RESULT([$ensc_uv_path_vrootdir]) + + if test x"$1" != x; then + $1=$ensc_uv_path_vrootdir + AC_SUBST($1) + fi +]) diff --git a/m4/gpgsig.am b/m4/gpgsig.am new file mode 100644 index 0000000..15de828 --- /dev/null +++ b/m4/gpgsig.am @@ -0,0 +1,20 @@ +## $Id: gpgsig.am 1572 2004-05-21 15:46:40Z ensc $ + +## Copyright (C) 2002 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +gpgsig: + gpgkey=$(GPG_KEY); \ + gpg $${gpgkey:+--default-key "$$gpgkey"} --armor --detach-sign $(distdir).tar.bz2 diff --git a/m4/install-notify.am b/m4/install-notify.am new file mode 100644 index 0000000..8cd426e --- /dev/null +++ b/m4/install-notify.am @@ -0,0 +1,36 @@ +## $Id: install-notify.am 2083 2005-05-05 09:17:41Z ensc $ + +## Copyright (C) 2005 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +install-exec-hook install-data-hook: install-notify-xtra + + +install-notify-xtra: + @echo + @echo + @echo '***************************' + @echo '*' + @echo '* NOTE: a plain "make install" installs only the files under $$(prefix)' + @echo '* which might be insufficient. To complete the installation,' + @echo '* "make install-distribution" should be executed. See README,' + @echo '* "Notes for distributors" for details.' + @echo '*' + @echo '***************************' + @echo + @echo + + +.PHONY: install-notify-xtra diff --git a/m4/libsel.am b/m4/libsel.am new file mode 100644 index 0000000..697516d --- /dev/null +++ b/m4/libsel.am @@ -0,0 +1,43 @@ +## $Id: libsel.am 2009 2005-04-10 00:53:56Z ensc $ + +## Copyright (C) 2002,2003 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + + +if !ENSC_USE_DIETLIBC +nodist_lib_dietlibc_not_enabled_error_a_SOURCES = \ + lib-dietlibc-not-enabled-error.c +endif + +if !ENSC_USE_GLIBC +nodist_lib_glibc_not_enabled_error_a_SOURCES = \ + lib-glibc-not-enabled-error.c +endif + +# if !ENSC_USE_DIETLIBC +# if !ENSC_USE_GLIBC +# nodist_lib_nolib_enabled_error_a_SOURCES = \ +# lib-nolib-enabled-error.c +# endif +# endif + + +.PHONY: lib-glibc-not-enabled-error.a \ + lib-glibc-not-enabled-error.c \ + lib-dietlibc-not-enabled-error.a \ + lib-dietlibc-not-enabled-error.c \ + lib-nolib-enabled-error.a \ + lib-nolib-enabled-error.c diff --git a/m4/pkgconfig.am b/m4/pkgconfig.am new file mode 100644 index 0000000..8e96fdf --- /dev/null +++ b/m4/pkgconfig.am @@ -0,0 +1,56 @@ +## $Id: pkgconfig.am 2188 2005-10-28 16:03:28Z ensc $ ---*- makefile -*--- + +## Copyright (C) 2002 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +BAD_INC_PATHS = /usr/include|/usr/local/include +BAD_LIB_PATHS = /usr/lib + +pkgconfdir = $(libdir)/pkgconfig +pkgconf_DATA = $(addsuffix .pc, $(PKGCONFIG_FILES)) + +CLEANFILES += $(addsuffix .pc, $(PKGCONFIG_FILES)) +EXTRA_DIST += $(addsuffix .pc.subst, $(PKGCONFIG_FILES)) + +pkgconf_SUBST = s!@'PACKAGE'@!$(PACKAGE)!g; \ + s!@'VERSION'@!$(VERSION)!g; \ + s!@'prefix'@!$(prefix)!g; \ + s!@'exec_prefix'@!$(exec_prefix)!g; \ + s!@'libdir'@!$(libdir)!g; \ + s!@'includedir'@!$(includedir)!g; \ + s!@'libflags"@!$${libflags}$(pkgconf_LIBFLAGS)!g;"' \ + s!@'incflags"@!$${incflags}$(pkgconf_INCFLAGS)!g;"' \ + s!@'pkgincflags"@!$${pkgincflags}$(pkgconf_PKGINCFLAGS)!g;"' \ + s!@'pkgincludedir'@!$(pkgincludedir)!g + + +%.pc: %.pc.subst Makefile + rm -f $@ + @case '$(libdir)' in \ + $(BAD_LIB_PATHS)) libflags=;; \ + *) libflags='-L$${libdir} ';; \ + esac; \ + case '$(pkgincludedir)' in \ + $(BAD_INC_PATHS)) pkgincflags=;; \ + *) pkgincflags='-I$${pkgincludedir} ';; \ + esac; \ + case '$(includedir)' in \ + $(BAD_INC_PATHS)) incflags=;; \ + *) incflags='-I$${includedir} ';; \ + esac; \ + sed -e '$(pkgconf_SUBST)' $< >$@ + test -z "$(CHMOD_REFERENCE)" || $(CHMOD_REFERENCE) '$<' '$@' + chmod a-w $@ diff --git a/m4/validate.am b/m4/validate.am new file mode 100644 index 0000000..fd9fe3e --- /dev/null +++ b/m4/validate.am @@ -0,0 +1,30 @@ +## $Id: validate.am 592 2004-01-14 00:01:15Z ensc $ ---*- makefile -*--- + +## Copyright (C) 2002 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; version 2 of the License. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +$(BUILT_SOURCES) config.h: .X$(subst /,_,$(sysconfdir))-up-to-date + +distclean-local: distclean-uptodate + +distclean-uptodate: + @rm -f .*-up-to-date + +.%-up-to-date: + @rm -f .*-up-to-date + @$(MAKE) -s clean + @touch -t 197001020000 '$@' + @$(MAKE) -s $(BUILT_SOURCES) diff --git a/man/Makefile-files b/man/Makefile-files new file mode 100644 index 0000000..6fea6b0 --- /dev/null +++ b/man/Makefile-files @@ -0,0 +1,40 @@ +## $Id: Makefile-files 2631 2007-10-27 19:34:50Z dhozac $ -*- makefile -*- + +## Copyright (C) 2003 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +man_pages = man/chbind.8 \ + man/chcontext.8 \ + man/distrib-info.8 \ + man/rebootmgr.8 \ + man/reducecap.8 \ + man/vps.8 \ + man/vpstree.8 \ + man/vserver-copy.8 \ + man/vserver-stat.8 \ + man/vserver.8 \ + man/vtop.8 +man_susbt_SRCS = man/vserver-build.8.pathsubst +man_gen_DTA = man/vserver-build.8 + +man_MANS += $(man_pages) \ + $(man_gen_DTA) +EXTRA_DIST += $(man_pages) \ + $(man_susbt_SRCS) +CLEANFILES += $(man_gen_DTA) + +man/vserver-build.8: man/.vserver-build.8.pathsubst.stamp diff --git a/man/chbind.8 b/man/chbind.8 new file mode 100644 index 0000000..ca7783a --- /dev/null +++ b/man/chbind.8 @@ -0,0 +1,43 @@ +.TH "chbind" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +chbind \- The chbind utility is used to lock a process and its children into using a specific IP number/Interface. +.SH "SYNTAX" +.LP +chbind [\fI\-\-silent\fP] [\fI\-\-ip ip_number/interface\fP] <\fIcommand arguments\fP> +.SH "DESCRIPTION" +.LP +The chbind utility executes a command, and locks the resulting process and its children into using a specific IP number/Interface, no matter what it is told in it's configuration. This applies to services and client connection as well. +.SH "OPTIONS" +.LP +.TP +\fB\-\-ip\fR ip_number/interface +Binds the process to the given IP number or Interface. If an interface +is supplied (for example eth0), both the IP number and broadcast address +are extracted. +.TP +\fB\-\-bcast\fR broadcast address +Binds the process to the given broadcast IP number. +.TP +\fB\-\-silent\fR +Do not complain. + +.SH "FILES" +.LP +\fI/usr/sbin/chbind\fP + + +.SH "EXAMPLES" +.LP +If I wanted to ensure my httpd listened only on my eth0 interface, I could do: +chbind \-\-ip eth0 /etc/rc.d/init.d/httpd start +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chcontext(8) rebootmgr(8) reducecap(8) +vps(8) vpstree(8) vrpm(8) vserver(8) +vserver\-stat(8) vtop(8) diff --git a/man/chcontext.8 b/man/chcontext.8 new file mode 100644 index 0000000..190542a --- /dev/null +++ b/man/chcontext.8 @@ -0,0 +1,103 @@ +.TH "chcontext" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +chcontext \- chcontext allocates a new security context and executes a command in that context. +.SH "SYNTAX" +.LP +chcontext [\fIoptions\fP] <\fIcommand arguments\fP> +.SH "DESCRIPTION" +.LP +chcontext allocates a new security context and executes a command in that context. +By default, a new/unused context is allocated +.SH "OPTIONS" +.LP +.TP +\fB\-\-cap\fR CAP_NAME +Add a capability from the command. This option may be repeated several time. See /usr/include/linux/capability.h In general, this option is used with the \-\-secure option. \-\-secure removes most critical capabilities and \-\-cap adds specific ones. +.TP +\fB\-\-cap\fR !CAP_NAME +Remove a capability from the command. This option may be repeated several time. See /usr/include/linux/capability.h +.TP +\fB\-\-ctx\fR num +Select the context. Only root in context 0 is allowed to select a specific context. +Context number 1 is special. It can see all processes in any contexts, but can't kill them though. +.TP +\fB\-\-disconnect\fR +Start the command in background and make the process a child of process 1. +.TP +\fB\-\-domainname\fR new_domainname +Set the domainname (NIS) in the new security context. +Use "none" to unset the domainname. +.TP +\fB\-\-flag\fR +Set one flag in the new or current security context. The following flags are supported. The option may be used several time. + lock: The new process is trapped and can't use + chcontext anymore. + sched: The new process and its children will + share a common execution priority. + nproc: Limit the number of process in the + vserver according to ulimit setting. + Normally, ulimit is a per user thing. + With this flag, it becomes a per vserver + thing. + private: No one can join this security context + once created. +.TP +\fB\-\-hostname\fR new_hostname +Set the hostname in the new security context. +This is needed because if you create a less privileged security context, it may be unable to change its hostname. +.TP +\fB\-\-secure\fR +Remove all the capabilities to make a virtual server trustable. +.TP +\fB\-\-silent\fR +Do not print the allocated context number. +.LP +Information about context is found in /proc/self/status +.SH "FILES" +.LP +\fI/usr/sbin/chcontext\fP + + +.SH "EXAMPLES" +.LP +# You must be root, running X. +# We start an xterm in another security context +/usr/sbin/chcontext xterm & + +# We check, there is no xterm running, yet we can +# see it. +ps ax | grep xterm + +# Are we running in security context 0 +# We check the s_context line in /proc/self/status +cat /proc/self/status + +# Ok we in security context 0 +# Try the security context 1 +/usr/sbin/chcontext \-\-ctx 1 ps ax | grep xterm + +# Ok, we see the xterm, we try to kill it +/usr/sbin/chcontext \-\-ctx 1 killall xterm + +# No, security context 1 can see, but can't kill +# let's find out in which security context this +# xterm is running +/usr/sbin/chcontext \-\-ctx 1 ps ax | grep xterm + +# Ok, this is PID XX. We need the security context +/usr/sbin/chcontext \-\-ctx 1 cat /proc/XX/status + +# We see the s_context, this is SS. +# We want to kill this process +/usr/sbin/chcontext \-\-ctx SS killall xterm +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chbind(8) rebootmgr(8) reducecap(8) +vps(8) vpstree(8) vrpm(8) vserver(8) +vserver\-stat(8) vtop(8) diff --git a/man/distrib-info.8 b/man/distrib-info.8 new file mode 100644 index 0000000..5a7d867 --- /dev/null +++ b/man/distrib-info.8 @@ -0,0 +1,50 @@ +.TH "distrib-info" "8" "0.1.0" "Jacques Gelinas " "System Administration" +.SH "NAME" +.LP +distrib-info \- A distribution independant utility to retrieve package information. +.SH "SYNTAX" +.LP +distrib-info vserver-name command [options] + +.SH "DESCRIPTION" +.LP +distrib-info \- This utility provides a solution to hide some differences +between Linux distributions. The various utilities (vunify, vbuild, ...) +need package information to perform their task. They call distrib-info +to retrieve this information. distrib-info is the only one understanding +the various distribution out there. +.TP +This utility is only used as a back-end for other utilities such as +vunify and vbuild. +.SH "OPTIONS" +.LP +.TP +\fBdumpfiles\fR reports all files owned by a package. +.TP +\fBpkgversion\fR reports all packages and version. +.TP +\fBunifiles\fR reports the files of a package which may be shared by +several virtual servers. Generally, this excludes all configuration files. + +.SH "EXAMPLES" +.LP +The following command will report all packages in the vserver ref80. +The package will be presented with the version/release. + + distrib-info ref80 pkgversion + +To get the list of unify-able (sharable) file in package sendmail +of the vserver ref80, we do + + distrib-info ref80 unifiles sendmail +.SH "FILES" +.LP + /usr/lib/vservers/distrib-info +.SH "AUTHORS" +.LP +This Man page was written by Jacques Gelinas . +.SH "SEE ALSO" +.LP +vbuild(8) vfiles(8) vunify(8) +newvserver(8) + diff --git a/man/rebootmgr.8 b/man/rebootmgr.8 new file mode 100644 index 0000000..4ccfe5b --- /dev/null +++ b/man/rebootmgr.8 @@ -0,0 +1,38 @@ +.TH "rebootmgr" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +rebootmgr \- rebootmgr stops and starts one or more vservers at your command. +.SH "SYNTAX" +.LP +rebootmgr \fIvserver\-name\fP [\fIvserver\-name\fP ...] \fICommand\fP +.SH "DESCRIPTION" +.LP +The chbind utility executes a command, and locks the resulting process and its children into using a specific IP number/Interface, no matter what it is told in it's configuration. This applies to services and client connection as well. +.SH "OPTIONS" +.LP +.TP +\fB\-\-ip\fR ip_number/interface +Binds the process to the given IP number or Interface. +.TP +\fB\-\-silent\fR +Do not complain. + +.SH "FILES" +.LP +\fI/usr/sbin/rebootmgr\fP + + +.SH "EXAMPLES" +.LP +If I wanted to ensure my httpd listened only on my eth0 interface, I could do: +chbind \-\-ip eth0 /etc/rc.d/init.d/httpd start +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chcontext(8) chbind(8) reducecap(8) +vps(8) vpstree(8) vrpm(8) vserver(8) +vserver\-stat(8) vtop(8) diff --git a/man/reducecap.8 b/man/reducecap.8 new file mode 100644 index 0000000..bb16a4d --- /dev/null +++ b/man/reducecap.8 @@ -0,0 +1,124 @@ +.TH "reducecap" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +reducecap \- The reducecap utility is used to lower the capability ceiling of a process and child process. +.SH "SYNTAX" +.LP +reducecap [\fIoptions\fP] <\fIcommand arguments\fP> +.SH "DESCRIPTION" +.LP +The reducecap utility is used to lower the capability ceiling of a process and child process. Even setuid program won't be able to grab more capabilities. +.SH "OPTIONS" +.LP +.TP +\fB\-\-secure\fR Removes all dangerous capabilities from the process executed.Specificly it removes: +CAP_LINUX_IMMUTABLE CAP_NET_BROADCAST CAP_NET_ADMIN, CAP_NET_RAW CAP_IPC_LOCK CAP_IPC_OWNER CAP_SYS_MODULE CAP_SYS_RAWIO CAP_SYS_PACCT CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_NICE CAP_SYS_RESOURCE CAP_SYS_TIME CAP_MKNOD. + +Leaving the following capabilities: +CAP_CHOWN CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER CAP_FSETID CAP_KILL CAP_SETGID CAP_SETUID CAP_NET_BIND_SERVICE CAP_SYS_CHROOT CAP_SYS_PTRACE CAP_SYS_TTY_CONFIG CAP_LEASE CAP_QUOTACTL +.TP +\fB\-\-show\fR Shows the current process capabilities. +.TP +\fB\-\-flag\fR +sets the security context flags. The option may be repeated +several times. Here are the values: + +lock: The security context can't be changed. The process is trapped + in this context. This is generally used for vservers because yoy + do not want them to hide in new security context. + +sched: Each process in a security context contribute (lower) to the general + priority of every processes in the context. Mostly, all processes + in a security context take as much CPU together as one process + not bound to this flag. Said again differently, a vserver having + 100 active processes won't get more CPU than another vserver + with a single active process. + + +nproc: The "ulimit -u N" setting becomes global to the security context. It means + the security context is not allowed to have more than N processes. + +private: No other processes, even root in security context 0, is allowed to + enter this security context. Once a security context is setup + with this flag, it is on its own. This also means that root + in security context 0 won't be able to kill or interact with those + processes. + +hideinfo: Hides various information in /proc. + +.TP +\fB--LINUX_IMMUTABLE\fR +.TP +\fB--NET_BIND_SERVICE\fR +.TP +\fB--NET_BROADCAST\fR +.TP +\fB--NET_ADMIN\fR +.TP +\fB--NET_RAW\fR +.TP +\fB--IPC_LOCK\fR +.TP +\fB--IPC_OWNER\fR +.TP +\fB--SYS_MODULE\fR +.TP +\fB--SYS_RAWIO\fR +.TP +\fB--SYS_PACCT\fR +.TP +\fB--SYS_ADMIN\fR +.TP +\fB--SYS_BOOT\fR +.TP +\fB--SYS_NICE\fR +.TP +\fB--SYS_RESOURCE\fR +.TP +\fB--SYS_TIME\fR +.TP +\fB--MKNOD\fR + +All these options remove one capability. These options may be used +after the +\fB--secure\fR +option to remove more capabilities. + + +.SH "FILES" +.LP +\fI/usr/sbin/reducecap\fP + + +.SH "EXAMPLES" +.LP +# You are not root now +# What is the current capability ceiling +cat /proc/self/status +# The capBset line presents mostly 1s. +/usr/sbin/reducecap \-\-secure /bin/sh +cat /proc/self/status +# The capBset now shows many more 0s. +# The capEff shows all 0s, you have no privilege now +# We su to root +su +cat /proc/self/status +# capEff is much better now, but there are still many 0s +# Now we try to see if we are really root +tail /var/log/messages +# So far so good, we see the content +/sbin/ifconfig eth0 +/sbin/ifconfig eth0 down +# No way, we can't configure the interface. In fact +# we have lost most privilege normally assigned to root +exit +.LP +Please contribute some more, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chcontext(8) rebootmgr(8) chbind(8) +vps(8) vpstree(8) vrpm(8) vserver(8) +vserver\-stat(8) vtop(8) diff --git a/man/vps.8 b/man/vps.8 new file mode 100644 index 0000000..4b653f0 --- /dev/null +++ b/man/vps.8 @@ -0,0 +1,31 @@ +.TH "vps" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +vps \- The vps utility is simply a wrapper for the ps program. +.SH "SYNTAX" +.LP +vps [\fIoptions\fP] + +.SH "DESCRIPTION" +.LP +vps \- The vps utility is simply a wrapper for the ps program, that enables ps to show you the all the processes on the system, instead of only the ones in the current s_context (see cat /proc/self/status). +.SH "OPTIONS" +.LP +.TP +See man ps. +.SH "FILES" +.LP +\fI/usr/sbin/vps\fP + + +.SH "EXAMPLES" +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chcontext(8) rebootmgr(8) reducecap(8) +chbind(8) vpstree(8) vrpm(8) vserver(8) +vserver\-stat(8) vtop(8) diff --git a/man/vpstree.8 b/man/vpstree.8 new file mode 100644 index 0000000..27c1b24 --- /dev/null +++ b/man/vpstree.8 @@ -0,0 +1,31 @@ +.TH "vpstree" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +vpstree \- The vpstree utility is simply a wrapper for the pstree program. +.SH "SYNTAX" +.LP +vpstree [\fIoptions\fP] + +.SH "DESCRIPTION" +.LP +vpstree \- The vpstree utility is simply a wrapper for the pstree program, that enables pstree to show you the all the processes on the system, instead of only the ones in the current s_context (see cat /proc/self/status). +.SH "OPTIONS" +.LP +.TP +See man pstree. +.SH "FILES" +.LP +\fI/usr/sbin/vpstree\fP + + +.SH "EXAMPLES" +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chcontext(8) rebootmgr(8) reducecap(8) +chbind(8) vps(8) vrpm(8) vserver(8) +vserver\-stat(8) vtop(8) diff --git a/man/vserver-build.8.pathsubst b/man/vserver-build.8.pathsubst new file mode 100644 index 0000000..e989d06 --- /dev/null +++ b/man/vserver-build.8.pathsubst @@ -0,0 +1,173 @@ +.TH VSERVER-BUILD "8" "October 27, 2007" "vserver-build" "System Administration" +.SH "NAME" +vserver-build \- initializes a vserver +.SH SYNTAX +.B vserver-build +\fB\-m\fR \fImethod\fR \fB\-n\fR \fIname\fR [\fB\-\-force\fR] [\fB\-\-keep\fR] +[\fB\-\-rootdir\fR \fIdir\fR] [\fB\-\-pkgbase\fR \fIdir\fR] +\fIconfig options*\fR [\fB\-\-\fR] \fImethod arguments*\fR +.TP +\fB\-m\fR \fImethod\fR +Use build \fImethod\fR; see below for possible values. +.TP +\fB\-n\fR \fIname\fR +Name of vserver you are building. +.TP +\fB\-\-force\fR +Remove/rename already existing vservers with the same name. +.TP +\fB\-\-keep\fR +Do not delete generated files and directories if vserver build fails. +.TP +\fB\-\-rootdir\fR \fIdir\fR +Root vserver directory [default: @SYSCONFDIR@/vservers/.defaults/vdirbase]. +.TP +\fB\-\-pkgbase\fR \fIdir\fR +Package base directory [default: @VSERVERDIR@/.pkg]. +.SH "CONFIG OPTIONS" +.TP +\fB\-\-context\fR \fInum\fR +.IP +\&The static context of the vserver [default: none; one will be generated for you]. +The valid range is 2 through 49151. +.TP +\fB\-\-confdir\fR \fIdir\fR +.IP +\&The vserver configuration directory to use [default: @SYSCONFDIR@/vservers/]. +.TP +\fB\-\-lockfile\fR \fIfilename\fR +.IP +\&The lockfile to use [default: /var/run/vservers/]. +.TP +\fB\-\-hostname\fR \fIhostname\fR +.IP +\&Hostname of the vserver. +.TP +\fB\-\-netdev\fR \fIdevice\fR +.IP +\&The default interface to use for \fB--interface\fR. +.TP +\fB\-\-netbcast\fR \fIbroadcast\fR +.IP +\&Broadcast address to associate with the vserver. +.TP +\fB\-\-netmask\fR \fInetmask\fR|\fB\-\-netprefix\fR \fIprefixlen\fR +.IP +\&Sets the default netmask (a.b.c.d quadruple) or prefixlen (length of the +network). +.TP +\fB\-\-interface\fR [\fIname\-suffix\fR=][\fIdevice\fR:]\fIip\fR[/\fImask|prefixlen\fR] +.IP +\&Declares a network\-interface name and associated IP/netmask; this option can +be specified multiple times. +.TP +\fB\-\-flags\fR \fIflags+\fR +.IP +\&Sets comma\-separated list of flags; see lib/cflags-v13.c for a list. +.TP +\fB\-\-cpuset\fR \fIname\fR +.IP +\&Declares the CPUSET this vserver will run in [default: none] +.TP +\fB\-\-cpusetcpus\fR \fInumber[\-number][:exclusive]\fR +.IP +\&Sets which CPUs belong to the CPUSET, \fI:exclusive\fR is a flag (0|1) +prohibiting any other cpuset from using those CPUs. +.TP +\fB\-\-cpusetmems\fR \fInumber[\-number][:exclusive]\fR +.IP +\&Sets which memory pools belong to the CPUSET, \fI:exclusive\fR is a flag +(0|1) prohibiting any other cpuset from using those memory pools. +.TP +\fB\-\-cpusetvirt\fR +.IP +\&Virtualize the cpuset (the vserver will see only CPUs defined in the cpuset). +Requires kernel patch from http://www.bullopensource.org/cpuset/ +.TP +\fB\-\-initstyle\fR \fIstyle\fR +.IP +\&Configures the initstyle (e.g. minit, sysv, plain, gentoo) +.SH "METHODS" +.TP +\fBapt\-rpm\fR +.IP +\& \fB\-\-\fR \fB\-d\fR \fIdistribution\fR + +\&Installs the base\-packages of the given distribution with the help of +'\fBvapt\-get\fR' +.TP +\fByum\fR +.IP +\&\fB\-\-\fR \fB\-d\fR \fIdistribution\fR + +\&Installs the base\-packages of the given distribution with help of +'\fBvyum\fR' +.TP +\fBrpm\fR +.IP +\&\fB\-\-\fR [\fB\-d\fR \fIdistribution\fR] \fB\-\-empty\fR|([\fB\-\-force\fR] [\fB\-\-nodeps\fR] \fImanifest\fR)+ + +\&Installs lists of rpm\-packages +.TP +\fBskeleton\fR +.IP +\&\fB\-\-\fR [\fIcmd args*\fR] + +\&Installs a minimal skeleton filesystem, creates the configuration file +and calls an optional command +.TP +\fBdebootstrap\fR +.IP +\fB\-\-\fR \fB\-d\fR \fIdistribution\fR [\fB\-m\fR \fImirror\fR] [\fB\-s\fR \fIscript\fR] [\fB\-\-\fR \fIdebootstrap\-options*\fR] + +\&Bootstraps the vserver with Debian's 'debootstrap' package +.TP +\fBtemplate\fR +.IP +\&\fB\-\-\fR (\fB\-t\fR \fItarball\fR)+ [\fB\-d\fR \fIdistribution\fR] + +\&Installs a vserver using tarball(s) +.TP +\fBfai\fR +.IP +\&\fB\-\-\fR [\fB\-f\fR \fIfai_vserver\fR] [\fB\-n\fR \fInfsroot\fR] [\fB\-d\fR \fIfai_dir\fR] [\fB\-a\fR] + +\&Bootstraps the vserver with the Debian Fully Automatic Installation + +\fB\-f\fR means use the nfsroot and profile in the vserver \fIfai_vserver\fR + +\fB\-n\fR \fInfsroot\fR specifies the 'NFS' root explicitly + +\fB\-d\fR \fIfai_dir\fR specifies the location of the FAI profile + +the \fB\-f\fR option implies \fB\-n\fR and \fB\-d\fR are relative to the \fIfai_vserver\fR +.TP +\fBrsync\fR +.IP +\&\fB\-\-\fR [\fB\-d\fR \fIdistribution\fR] \fB\-\-source\fR \fIsource\fR [\fB\-o\fR \fIrsync option\fR]* + +\&Installs a vserver by rsyncing from \fIsource\fR to the guest root +.TP +\fBclone\fR +.IP +\&\fB\-\-\fR [\fB\-d\fR \fIdistribution\fR] \fB\-\-source\fR \fIsource\fR + +\&Clones a vserver by linking unified files and copying the rest +.SH "EXAMPLES" +.LP +# vserver kea build -m debootstrap --context 10 --hostname kea --interface eth0:192.168.0.44/32 -- -d etch +.SH "BUGS" +.LP +Please report bugs to vserver@list.linux\-vserver.org +.SH "AUTHORS" +.LP +This man page was written by Micah Anderson and based upon the helpful output from the program itself. +.SH "SEE ALSO" +.PP + chbind(8) chcontext(8) + rebootmgr(8) reducecap(8) + vps(8) vpstree(8) + vrpm(8) + vserver\-stat(8) + vtop(8) + diff --git a/man/vserver-copy.8 b/man/vserver-copy.8 new file mode 100644 index 0000000..9481c49 --- /dev/null +++ b/man/vserver-copy.8 @@ -0,0 +1,93 @@ +.TH "vserver-copy" "8" "0.3" "Mark Lawrence " "System Administration" +.SH "NAME" +.LP +vserver-copy \- copy/move a virtual server. +.SH "SYNTAX" +.LP +vserver-copy [\fIoptions\fP] \fIvserver\fP \fInewname\fP +.LP +vserver-copy [\fIoptions\fP] \fIvserver\fP \fIhost\fP:[\fInewname\fP] +.SH "DESCRIPTION" +.LP +vserver-copy makes a copy of a virtual server using rsync. It will +rewrite the vserver.conf configuration file with the new hostname and +IP information when given. If the destination name contains a host +specification then ssh/rsh will be used for the data transfer. + +vserver-copy can used on a running vserver, although naturally the +consistency of open database files and the like cannot be guaranteed. +A running vserver can however be safely moved from one root host to another +using the \-s flag. + +If downtime is an issue when moving a virtual server across hosts you +should first run vserver without the \-s flag. This will pre\-populate the +destination filesystem requiring only updates to be made on the next +invocation. +.SH "OPTIONS" +.LP +.TP +\fB\-h\fR,\fB-\-help\fR +output usage information and exit +.TP +\fB\-V\fR,\fB-\-version\fR +output version information and exit +.TP +\fB\-v\fR,\fB-\-verbose\fR +show all output (normally only informational messages and warnings) +.TP +\fB\-q\fR,\fB-\-quiet\fR +suppress all output +.TP +\fB\-d\fR,\fB-\-domain\fR domain +the new DNS domain when changing name. Overwrites /etc/hosts. Must be +used with \-i +.TP +\fB\-i\fR,\fB-\-ip\fR address +the new IP address when changing name. Overwrites /etc/hosts. Must be +used with \-d +.TP +\fB\-r\fR,\fB-\-vsroot\fR +directory containing virtual servers. Defaults to "/vserver" +.TP +\fB\-R\fR,\fB-\-rsh\fR +use rsh instead of the default ssh for network transfer +.TP +\fB\-s\fR,\fB-\-stopstart\fR +stop the virtual server before copying and start the new vserver afterwards. +This really only makes sense if you are copying across root hosts and not +changing names or IP addresses. +.SH "FILES" +.LP +\fI/etc/vservers/vserver.conf\fP +.SH "EXAMPLES" +.LP +# Copy a template vserver (same IP addresses etc) + +/usr/sbin/vserver-copy template web01 + +# Copy webserver with change in configuration + +/usr/sbin/vserver-copy -i 192.168.5.62 -d example.com template web62 + +# Move a running vserver to another roothost + +/usr/sbin/vserver-copy -s web62 roothost02: + +.SH "BUGS" +.LP +If a virtual server is moved from one root host to another a gratuitious +ping should be sent to inform other devices on the local area network +of the change in MAC address. + +Without this ping the devices will continue to attempt to reach the old +MAC address for the length of their arp-cache timeout (10 minute default +on Suns!). + +This functionality should probably be implmemented during the +"vserver start" process. +.SH "AUTHOR" +.LP +Mark Lawrence +.SH "SEE ALSO" +.LP +vserver(8) diff --git a/man/vserver-stat.8 b/man/vserver-stat.8 new file mode 100644 index 0000000..4c1ac2d --- /dev/null +++ b/man/vserver-stat.8 @@ -0,0 +1,40 @@ +.TH "vserver-stat" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +vserver\-stat +.SH "SYNTAX" +.LP +vserver\-stat + +.SH "DESCRIPTION" +.LP +vserver\-stat \- The vserver\-stat utility shows informations about all the active contexts. + + CTX# Context number + #0 = root context + #1 = monitoring context + PROC QTY Quantity of processes in each + context + VSZ Number of pages of virtual + memory + RSS Resident set size + utime User\-mode CPU time + accumulated + ctime Kernel\-mode CPU time + accumulated +.SH "FILES" +.LP +\fI/usr/sbin/vserver\-stat\fP + + +.SH "EXAMPLES" +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chcontext(8) rebootmgr(8) reducecap(8) +chbind(8) vps(8) vrpm(8) vserver(8) +vtop(8) vpstree(8) diff --git a/man/vserver.8 b/man/vserver.8 new file mode 100644 index 0000000..c1c6702 --- /dev/null +++ b/man/vserver.8 @@ -0,0 +1,134 @@ +.TH VSERVER 8 "October 24, 2007" "util-vserver" "System Administration" +.SH "NAME" +.LP +vserver \- The vserver utility enables you to manage the state of vservers, including building, starting, stopping, etc. +.SH SYNTAX +.B vserver +[\fB-s|--sync\fR] [\fB-v|--verbose\fR] [\fB--silent\fR] [\-\-] \fIvserver\fR \fIcommand\fR [\fB--help\fR] \fIargs*\fR +.TP +\fB\-\-sync\fR - Perform synchronization with vshelper to ensure that the guest has been stopped +.TP +\fB\-\-verbose\fR - Makes things a lot louder. +.TP +\fB\-\-silent\fR - Removes most informative messages. +.TP +\fIvserver\fR - The name of a vserver. +.TP +\fIcommand\fR - One of the commands listed below. +.TP +\fB\-\-help\fR +.IP +provides additional help for provided \fIcommand\fR, for example: vserver - build --help +\fIargs\fR are the arguments that are possible for the different commands, see the +arguments for each \fIcommand\fR listed below +.SH "COMMANDS" +.TP +\fBstart\fR [\fB\-\-rescue\fR [\fB\-\-rescue\-init\fR] \fIprogram args\fR] +.IP +\&Starts the specified vserver. The optional argument \fB--rescue\fR starts the +vserver in rescue mode, which runs \fIprogram args*\fR to start the vserver +instead of whatever is configured. The optional argument \fB--rescue-init\fR +makes the command appear as PID 1 in the vserver. This can be used to start +/bin/bash to investigate why a vserver is not able to start correctly. +.TP +\fBstop\fR [\fB\-\-rescue\-init\fR] +.IP +\&Stops the specified vserver, and kills the remaining processes. The optional +argument \fB--rescue-init\fR can be used to stop a vserver that was started +with the option of the same name. +.TP +\fBrestart\fR +.IP +\&Restarts the specified vserver. This is the subsequent execution of a +synchronized 'stop' and a 'start'. +.TP +\fBcondrestart\fR +.IP +\&Restarts a running vserver. +.TP +\fBsuexec\fR \fIuser\fR \fIprogram args*\fR +.IP +\&Executes \fIprogram args*\fR as the specified \fIuser\fR in the vserver. +.TP +\fBexec\fR \fIprogram args*\fR +.IP +\&Executes \fIprogram args*\fR as the root user in the vserver. +.TP +\fBenter\fR +.IP +\&Executes the configured shell (default: /bin/bash if it exists) in the +vserver and allocates a pty. +.TP +\fBchkconfig\fR \fIchkconfig\-options*\fR +.IP +\&Modifies the init\-system; currently, only Red Hat's \fBchkconfig\fR is +supported. +.TP +\fBrunning\fR +.IP +\&Returns an exit code of 0 iff the vserver is running, 1 if not. +.TP +\fBstatus\fR +.IP +\&Provides some human readable status information about the vserver, and +succeeds iff the vserver is running. +.TP +\fBbuild\fR \fIbuildopts*\fR +.IP +\&Create a vserver from scratch, where the \fIbuildopts*\fR are a set of +options and a build method. As this option calls vserver-build, please see +vserver-build(8) for a complete listing of possible options and methods. +.TP +\fBdelete\fR +.IP +\&Remove a vserver. +.TP +\fBunify\fR [\fB\-R\fR] [\fIvunify\-opts*\fR] +.IP +\&Unify or de-unify the vserver with its reference vserver(s). +.TP +\fBpkg install\fR \fIpkg*\fR +.IP +\&Installs package(s) \fIpkg\fR in the vserver. +.TP +\fBapt\-get,apt\-config,apt\-cache\fR \fIapt\-opts*\fR +.IP +\&Execute the apt\-* command for the given vserver +.TP +\fBrpm\fR \fIrpm\-opts*\fR +.IP +\&Execute the \fBrpm\fR command for the given vserver. +.TP +\fBpkgmgmt\fR \fBexternalize\fR|\fBinternalize\fR [\fB\-y\fR] +.IP +\&Externalize or internalize the package\-management for the given vserver. +\'Externalize' means that package metadata and management tools (apt\-get,rpm) +are living in the host, while 'internalize' means that data and programs from +the vserver will be used. +.TP +\fBhashify\fR +.IP +\&Hashify the vserver. +.SH "FILES" +.LP +\fI/usr/sbin/vserver\fP +.P +\fI/etc/vservers/*\fP +.P +.P +\fI/var/lib/vservers/*\fP +.SH "EXAMPLES" +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This man page was written by Micah Anderson and based upon the helpful output from the program itself. +.SH "SEE ALSO" +.LP +chbind(8) chcontext(8) +rebootmgr(8) reducecap(8) +vps(8) vpstree(8) +vrpm(8) +vserver\-build(8) +vserver\-stat(8) +vtop(8) diff --git a/man/vtop.8 b/man/vtop.8 new file mode 100644 index 0000000..440bc27 --- /dev/null +++ b/man/vtop.8 @@ -0,0 +1,31 @@ +.TH "vtop" "8" "0.1.0" "Klavs Klavsen " "System Administration" +.SH "NAME" +.LP +vtop \- The vtop utility is simply a wrapper for the top program. +.SH "SYNTAX" +.LP +vtop [\fIoptions\fP] + +.SH "DESCRIPTION" +.LP +vtop \- The vtop utility is simply a wrapper for the top program, that enables top to show you the all the processes on the system, instead of only the ones in the current s_context (see cat /proc/self/status). +.SH "OPTIONS" +.LP +.TP +See man top. +.SH "FILES" +.LP +\fI/usr/sbin/vtop\fP + + +.SH "EXAMPLES" +.LP +Please contribute some, if you feel it's important. +.SH "AUTHORS" +.LP +This Man page was written by Klavs Klavsen and based upon the helpful output from the program itself and the documentation on the Virtual Server site +.SH "SEE ALSO" +.LP +chcontext(8) rebootmgr(8) reducecap(8) +chbind(8) vps(8) vrpm(8) vserver(8) +vserver\-stat(8) vpstree(8) diff --git a/missing b/missing new file mode 100755 index 0000000..1c8ff70 --- /dev/null +++ b/missing @@ -0,0 +1,367 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2006-05-10.23 + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 +# Free Software Foundation, Inc. +# Originally by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Send bug reports to ." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + +esac + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). +case $1 in + lex|yacc) + # Not GNU programs, they don't have --version. + ;; + + tar) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $1 in + aclocal*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te) + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison|yacc) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex|flex) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit 1 + fi + ;; + + makeinfo) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + tar) + shift + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case $firstarg in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case $firstarg in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/pathconfig.h.pathsubst b/pathconfig.h.pathsubst new file mode 100644 index 0000000..59a6f3b --- /dev/null +++ b/pathconfig.h.pathsubst @@ -0,0 +1,53 @@ +// $Id: pathconfig.h.pathsubst 2558 2007-07-10 20:34:48Z dhozac $ --*- c++ -*-- + +// Copyright (C) 2003 Enrico Scholz +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef H_UTIL_VSERVER_PATHCONFIG_H +#define H_UTIL_VSERVER_PATHCONFIG_H + +#define PKGLIBDIR "@PKGLIBDIR@" +#define SBINDIR "@SBINDIR@" +#define CONFDIR "@CONFDIR@" +#define SYSCONFDIR "@SYSCONFDIR@" +#define LOCKDIR "/var/lock" +#define PKGLIBDEFAULTDIR PKGLIBDIR "/defaults" + +#define DEFAULT_VSERVERDIR "@VSERVERDIR@" +#define DEFAULT_VSERVERPKGDIR "@VSERVERPKGDIR@" +#define DEFAULT_PKGSTATEDIR "@PKGSTATEDIR@" +#define DEFAULT_PKGSTATEREVDIR "@PKGSTATEREVDIR@" + +#define MOUNT_PROG "@MOUNT@" +#define UMOUNT_PROG "@UMOUNT@" +#define PS_PROG "@PS@" + +#define VPKG_PROG PKGLIBDIR "/vpkg" +#define RESOLVER_PROG PKGLIBDIR "/rpm-fake-resolver" + +#define PROG_IP "@IP@" +#define PROG_MODPROBE "@MODPROBE@" +#define PROG_NAMEIF "@NAMEIF@" +#define PROG_VCONFIG "@VCONFIG@" + +#define PROG_SECURE_MOUNT PKGLIBDIR "/secure-mount" +#define PROG_H2EXT_WORKER PKGLIBDIR "/h2ext-worker" + +#define PATH_VSERVER_START PKGLIBDIR "/vserver.start" +#define PATH_FUNCTIONS PKGLIBDIR "/functions" +#define PATH_UTILVSERVER_VARS PKGLIBDIR "/util-vserver-vars" + +#endif // H_UTIL_VSERVER_PATHCONFIG_H diff --git a/python/Makefile-files b/python/Makefile-files new file mode 100644 index 0000000..ce2eda2 --- /dev/null +++ b/python/Makefile-files @@ -0,0 +1,35 @@ +## $Id: Makefile-files 2809 2008-10-30 02:33:25Z dhozac $ + +## Copyright (C) 2008 Daniel Hokka Zakrisson +## +## This program is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License +## as published by the Free Software Foundation; either version 2 +## of the License, or (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +## + +pyexec_LTLIBRARIES += python/_libvserver.la +python__libvserver_la_SOURCES = python/_libvserver.c +python__libvserver_la_CFLAGS = $(AM_CFLAGS) $(PYTHON_CFLAGS) \ + -I$(top_builddir)/python +python__libvserver_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) +python__libvserver_la_LIBADD = $(LIBVSERVER_GLIBC) + +EXTRA_DIST += python/ctags-constants.awk + +# FIXME: Dude, this is ugly. +python/_libvserver.c: $(top_builddir)/python/_libvserver-constants.c +$(top_builddir)/python/_libvserver-constants.c: lib/vserver.h \ + $(top_srcdir)/python/ctags-constants.awk + $(CTAGS) -x $(top_srcdir)/lib/vserver.h | \ + $(AWK) -f $(top_srcdir)/python/ctags-constants.awk \ + > $(top_builddir)/python/_libvserver-constants.c diff --git a/python/_libvserver.c b/python/_libvserver.c new file mode 100644 index 0000000..93d5064 --- /dev/null +++ b/python/_libvserver.c @@ -0,0 +1,1145 @@ +/* $Id: _libvserver.c 2822 2008-11-06 02:00:45Z dhozac $ + * Copyright (C) 2008 Daniel Hokka Zakrisson + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * vim:set ts=2 sw=2 expandtab: + */ + +#include +#include +#include +#include +#include +#include +#include + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#include "compat.h" +#include "vserver.h" + +static inline PyObject *NONE(void) +{ + Py_INCREF(Py_None); + return Py_None; +} + +static PyObject * +pyvserver_get_version(PyObject UNUSED *self, PyObject UNUSED *args) +{ + int ver = vc_get_version(); + if (ver == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("i", ver); +} + +static PyObject * +pyvserver_get_vci(PyObject UNUSED *self, PyObject UNUSED *args) +{ + vc_vci_t vci = vc_get_vci(); + if (vci == (vc_vci_t)-1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("K", vci); +} + +static PyObject * +pyvserver_ctx_create(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid, ret; + struct vc_ctx_flags flags = { .mask = 0 }; + + if (!PyArg_ParseTuple(args, "I|KK", &xid, &flags.flagword, &flags.mask)) + return NULL; + + if (flags.flagword && !flags.mask) + flags.mask = flags.flagword; + + ret = vc_ctx_create(xid, &flags); + if (ret == VC_NOXID) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("I", ret); +} + +static PyObject * +pyvserver_ctx_migrate(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + uint_least64_t flags; + + if (!PyArg_ParseTuple(args, "IK", &xid, &flags)) + return NULL; + + if (vc_ctx_migrate(xid, flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_ctx_stat(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_ctx_stat stats; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_ctx_stat(xid, &stats) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(II)", stats.usecnt, stats.tasks); +} + +static PyObject * +pyvserver_virt_stat(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_virt_stat stats; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_virt_stat(xid, &stats) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(KKIIIIIIII)", stats.offset, stats.uptime, + stats.nr_threads, stats.nr_running, + stats.nr_uninterruptible, stats.nr_onhold, + stats.nr_forks, stats.load[0], stats.load[1], + stats.load[2]); +} + +static PyObject * +pyvserver_ctx_kill(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + pid_t pid; + int signal; + + if (!PyArg_ParseTuple(args, "Iii", &xid, &pid, &signal)) + return NULL; + + if (vc_ctx_kill(xid, pid, signal) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_cflags(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_ctx_flags flags; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_get_cflags(xid, &flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(KK)", flags.flagword, flags.mask); +} + +static PyObject * +pyvserver_set_cflags(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_ctx_flags flags; + + if (!PyArg_ParseTuple(args, "I(KK)", &xid, flags.flagword, flags.mask)) + return NULL; + + if (vc_set_cflags(xid, &flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_ccaps(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_ctx_caps caps; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_get_ccaps(xid, &caps) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(KKKK)", caps.bcaps, caps.bmask, caps.ccaps, + caps.cmask); +} + +static PyObject * +pyvserver_set_ccaps(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_ctx_caps caps; + + if (!PyArg_ParseTuple(args, "I(KKKK)", &xid, &caps.bcaps, &caps.bmask, + &caps.ccaps, &caps.cmask)) + return NULL; + + if (vc_set_ccaps(xid, &caps) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_vx_info(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_vx_info info; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_get_vx_info(xid, &info) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(Ii)", info.xid, info.initpid); +} + +static PyObject * +pyvserver_get_task_xid(PyObject UNUSED *self, PyObject *args) +{ + pid_t pid; + xid_t xid; + + if (!PyArg_ParseTuple(args, "i", &pid)) + return NULL; + + xid = vc_get_task_xid(pid); + if (xid == VC_NOXID) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("I", xid); +} + +static PyObject * +pyvserver_wait_exit(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_wait_exit(xid) == -1) + Py_RETURN_FALSE; + else + Py_RETURN_TRUE; +} + +static PyObject * +pyvserver_get_rlimit_mask(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_rlimit_mask mask; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_get_rlimit_mask(xid, &mask) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(III)", mask.min, mask.soft, mask.hard); +} + +static PyObject * +pyvserver_get_rlimit(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + int resource; + struct vc_rlimit limit = { .min = 0 }; + + if (!PyArg_ParseTuple(args, "Ii", &xid, &resource)) + return NULL; + + if (vc_get_rlimit(xid, resource, &limit) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(LLL)", limit.min, limit.soft, limit.hard); +} + +static PyObject * +pyvserver_set_rlimit(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + int resource; + struct vc_rlimit limit = { + .min = VC_LIM_KEEP, + .soft = VC_LIM_KEEP, + .hard = VC_LIM_KEEP + }; + + if (!PyArg_ParseTuple(args, "Ii(KKK)", &xid, &resource, &limit.min, + &limit.soft, &limit.hard)) + return NULL; + + if (vc_set_rlimit(xid, resource, &limit) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_rlimit_stat(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + int resource; + struct vc_rlimit_stat stats; + + if (!PyArg_ParseTuple(args, "Ii", &xid, &resource)) + return NULL; + + if (vc_rlimit_stat(xid, resource, &stats) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(IKKK)", stats.hits, stats.value, stats.minimum, + stats.maximum); +} + +static PyObject * +pyvserver_reset_minmax(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_reset_minmax(xid) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_task_nid(PyObject UNUSED *self, PyObject *args) +{ + pid_t pid; + nid_t nid; + + if (!PyArg_ParseTuple(args, "i", &pid)) + return NULL; + + nid = vc_get_task_nid(pid); + if (nid == VC_NONID) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("I", nid); +} + +static PyObject * +pyvserver_get_nx_info(PyObject UNUSED *self, PyObject *args) +{ + nid_t nid; + struct vc_nx_info info; + + if (!PyArg_ParseTuple(args, "I", &nid)) + return NULL; + + if (vc_get_nx_info(nid, &info) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(I)", info.nid); +} + +static PyObject * +pyvserver_net_create(PyObject UNUSED *self, PyObject *args) +{ + nid_t nid, ret; + + if (!PyArg_ParseTuple(args, "I", &nid)) + return NULL; + + ret = vc_net_create(nid); + if (ret == VC_NONID) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("I", ret); +} + +static PyObject * +pyvserver_net_migrate(PyObject UNUSED *self, PyObject *args) +{ + nid_t nid; + + if (!PyArg_ParseTuple(args, "I", &nid)) + return NULL; + + if (vc_net_migrate(nid) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_net_handle(PyObject UNUSED *self, PyObject *args, + int (*func)(nid_t nid, struct vc_net_addr const *addr)) +{ + nid_t nid; + struct vc_net_addr addr; + char *ip1, *ip2, *mask; + + if (!PyArg_ParseTuple(args, "I(HHHHsss)", &nid, &addr.vna_type, + &addr.vna_flags, &addr.vna_prefix, &addr.vna_parent, + &ip1, &ip2, &mask)) + return NULL; + + if (addr.vna_type & VC_NXA_TYPE_IPV6) { + if (inet_pton(AF_INET6, ip1, &addr.vna_v6_ip) <= 0 || + inet_pton(AF_INET6, ip2, &addr.vna_v6_ip2) <= 0 || + inet_pton(AF_INET6, mask, &addr.vna_v6_mask) <= 0) { + PyErr_SetString(PyExc_ValueError, "invalid IPv6 addresses"); + return NULL; + } + } + else if (addr.vna_type & VC_NXA_TYPE_IPV4) { + if (inet_pton(AF_INET, ip1, &addr.vna_v4_ip) <= 0 || + inet_pton(AF_INET, ip2, &addr.vna_v4_ip2) <= 0 || + inet_pton(AF_INET, mask, &addr.vna_v4_mask) <= 0) { + PyErr_SetString(PyExc_ValueError, "invalid IPv4 addresses"); + return NULL; + } + } + else if (addr.vna_type != VC_NXA_TYPE_ANY) { + PyErr_SetString(PyExc_ValueError, "type"); + return NULL; + } + + if (func(nid, &addr) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_net_add(PyObject UNUSED *self, PyObject *args) +{ + return pyvserver_net_handle(self, args, vc_net_add); +} + +static PyObject * +pyvserver_net_remove(PyObject UNUSED *self, PyObject *args) +{ + return pyvserver_net_handle(self, args, vc_net_remove); +} + +static PyObject * +pyvserver_get_nflags(PyObject UNUSED *self, PyObject *args) +{ + nid_t nid; + struct vc_net_flags flags; + + if (!PyArg_ParseTuple(args, "I", &nid)) + return NULL; + + if (vc_get_nflags(nid, &flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(KK)", flags.flagword, flags.mask); +} + +static PyObject * +pyvserver_set_nflags(PyObject UNUSED *self, PyObject *args) +{ + nid_t nid; + struct vc_net_flags flags; + + if (!PyArg_ParseTuple(args, "I(KK)", &nid, &flags.flagword, &flags.mask)) + return NULL; + + if (vc_set_nflags(nid, &flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_ncaps(PyObject UNUSED *self, PyObject *args) +{ + nid_t nid; + struct vc_net_caps caps; + + if (!PyArg_ParseTuple(args, "I", &nid)) + return NULL; + + if (vc_get_ncaps(nid, &caps) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(KK)", caps.ncaps, caps.cmask); +} + +static PyObject * +pyvserver_set_ncaps(PyObject UNUSED *self, PyObject *args) +{ + nid_t nid; + struct vc_net_caps caps; + + if (!PyArg_ParseTuple(args, "I(KK)", &nid, &caps.ncaps, &caps.cmask)) + return NULL; + + if (vc_set_ncaps(nid, &caps) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_set_iattr(PyObject UNUSED *self, PyObject *args) +{ + char const *filename; + tag_t tag; + uint_least32_t flags, mask; + + if (!PyArg_ParseTuple(args, "sIII", &filename, &tag, &flags, &mask)) + return NULL; + + if (vc_set_iattr(filename, tag, flags, mask) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_fset_iattr(PyObject UNUSED *self, PyObject *args) +{ + int fd; + tag_t tag; + uint_least32_t flags, mask; + + if (!PyArg_ParseTuple(args, "iIII", &fd, &tag, &flags, &mask)) + return NULL; + + if (vc_fset_iattr(fd, tag, flags, mask) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_iattr(PyObject UNUSED *self, PyObject *args) +{ + char const *filename; + tag_t tag; + uint_least32_t flags, mask; + + if (!PyArg_ParseTuple(args, "sI", &filename, &mask)) + return NULL; + + if (vc_get_iattr(filename, &tag, &flags, &mask) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(III)", tag, flags, mask); +} + +static PyObject * +pyvserver_fget_iattr(PyObject UNUSED *self, PyObject *args) +{ + int fd; + tag_t tag; + uint_least32_t flags, mask; + + if (!PyArg_ParseTuple(args, "iI", &fd, &mask)) + return NULL; + + if (vc_fget_iattr(fd, &tag, &flags, &mask) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(III)", tag, flags, mask); +} + +static PyObject * +pyvserver_set_vhi_name(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + vc_uts_type type; + char const *val; + int len; + + if (!PyArg_ParseTuple(args, "Iis#", &xid, &type, &val, &len)) + return NULL; + + if (vc_set_vhi_name(xid, type, val, len) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_vhi_name(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + vc_uts_type type; + char val[65]; + + if (!PyArg_ParseTuple(args, "Ii", &xid, &type)) + return NULL; + + if (vc_get_vhi_name(xid, type, val, sizeof(val)) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("s#", val, sizeof(val)); +} + +static PyObject * +pyvserver_enter_namespace(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + uint_least64_t mask; + uint32_t index; + + if (!PyArg_ParseTuple(args, "IKI", &xid, &mask, &index)) + return NULL; + + if (vc_enter_namespace(xid, mask, index) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_set_namespace(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + uint_least64_t mask; + uint32_t index; + + if (!PyArg_ParseTuple(args, "IKI", &xid, &mask, &index)) + return NULL; + + if (vc_set_namespace(xid, mask, index) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_space_mask(PyObject UNUSED *self, PyObject UNUSED *args) +{ + uint_least64_t mask = vc_get_space_mask(); + return Py_BuildValue("K", mask); +} + +static PyObject * +pyvserver_get_space_default(PyObject UNUSED *self, PyObject UNUSED *args) +{ + uint_least64_t mask = vc_get_space_default(); + return Py_BuildValue("K", mask); +} + +static PyObject * +pyvserver_add_dlimit(PyObject UNUSED *self, PyObject *args) +{ + char const *filename; + tag_t tag; + uint_least32_t flags; + + if (!PyArg_ParseTuple(args, "sII", &filename, &tag, &flags)) + return NULL; + + if (vc_add_dlimit(filename, tag, flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_rem_dlimit(PyObject UNUSED *self, PyObject *args) +{ + char const *filename; + tag_t tag; + uint_least32_t flags; + + if (!PyArg_ParseTuple(args, "sII", &filename, &tag, &flags)) + return NULL; + + if (vc_rem_dlimit(filename, tag, flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_set_dlimit(PyObject UNUSED *self, PyObject *args) +{ + char const *filename; + tag_t tag; + uint_least32_t flags; + struct vc_ctx_dlimit limit; + + if (!PyArg_ParseTuple(args, "sII(IIIII)", &filename, &tag, &flags, + &limit.space_used, &limit.space_total, + &limit.inodes_used, &limit.inodes_total, + &limit.reserved)) + return NULL; + + if (vc_set_dlimit(filename, tag, flags, &limit) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_dlimit(PyObject UNUSED *self, PyObject *args) +{ + char const *filename; + tag_t tag; + uint_least32_t flags; + struct vc_ctx_dlimit limit; + + if (!PyArg_ParseTuple(args, "sII", &filename, &tag, &flags)) + return NULL; + + if (vc_get_dlimit(filename, tag, flags, &limit) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(IIIII)", limit.space_used, limit.space_total, + limit.inodes_used, limit.inodes_total, limit.reserved); +} + +static PyObject * +pyvserver_get_task_tag(PyObject UNUSED *self, PyObject *args) +{ + pid_t pid; + tag_t tag; + + if (!PyArg_ParseTuple(args, "i", &pid)) + return NULL; + + tag = vc_get_task_tag(pid); + if (tag == (tag_t) -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("I", tag); +} + +static PyObject * +pyvserver_tag_create(PyObject UNUSED *self, PyObject *args) +{ + tag_t tag; + + if (!PyArg_ParseTuple(args, "I", &tag)) + return NULL; + + if (vc_tag_create(tag) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_tag_migrate(PyObject UNUSED *self, PyObject *args) +{ + tag_t tag; + + if (!PyArg_ParseTuple(args, "I", &tag)) + return NULL; + + if (vc_tag_migrate(tag) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_set_sched(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_set_sched sched; + + if (!PyArg_ParseTuple(args, "I(Iiiiiiiiiii)", &xid, &sched.set_mask, + &sched.fill_rate, &sched.interval, &sched.fill_rate2, + &sched.interval2, &sched.tokens, &sched.tokens_min, + &sched.tokens_max, &sched.priority_bias, &sched.cpu_id, + &sched.bucket_id)) + return NULL; + + if (vc_set_sched(xid, &sched) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_sched(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_set_sched sched; + + if (!PyArg_ParseTuple(args, "Iii", &xid, &sched.cpu_id, &sched.bucket_id)) + return NULL; + + if (vc_get_sched(xid, &sched) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(Iiiiiiiiiii)", sched.set_mask, sched.fill_rate, + sched.interval, sched.fill_rate2, sched.interval2, + sched.tokens, sched.tokens_min, sched.tokens_max, + sched.priority_bias, sched.cpu_id, sched.bucket_id); +} + +static PyObject * +pyvserver_sched_info(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + struct vc_sched_info info; + + if (!PyArg_ParseTuple(args, "Iii", &xid, &info.cpu_id, &info.bucket_id)) + return NULL; + + if (vc_sched_info(xid, &info) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("(iiKKKIi)", info.cpu_id, info.bucket_id, + info.user_msec, info.sys_msec, info.hold_msec, + info.token_usec, info.vavavoom); +} + +static PyObject * +pyvserver_set_mapping(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + const char *device, *target; + uint32_t flags; + + if (!PyArg_ParseTuple(args, "IssI", &xid, &device, &target, &flags)) + return NULL; + + if (vc_set_mapping(xid, device, target, flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_unset_mapping(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + const char *device, *target; + uint32_t flags; + + if (!PyArg_ParseTuple(args, "IssI", &xid, &device, &target, &flags)) + return NULL; + + if (vc_unset_mapping(xid, device, target, flags) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_badness(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + int64_t badness; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + if (vc_get_badness(xid, &badness) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return Py_BuildValue("L", badness); +} + +static PyObject * +pyvserver_set_badness(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + int64_t badness; + + if (!PyArg_ParseTuple(args, "IL", &xid, &badness)) + return NULL; + + if (vc_set_badness(xid, badness) == -1) + return PyErr_SetFromErrno(PyExc_OSError); + + return NONE(); +} + +static PyObject * +pyvserver_get_insecurebcaps(PyObject UNUSED *self, PyObject UNUSED *args) +{ + uint_least64_t bcaps = vc_get_insecurebcaps(); + return Py_BuildValue("K", bcaps); +} + +static PyObject * +pyvserver_get_insecureccaps(PyObject UNUSED *self, PyObject UNUSED *args) +{ + uint_least64_t ccaps = vc_get_insecureccaps(); + return Py_BuildValue("K", ccaps); +} + +static PyObject * +pyvserver_isSupported(PyObject UNUSED *self, PyObject *args) +{ + int feature; + + if (!PyArg_ParseTuple(args, "i", &feature)) + return NULL; + + if (vc_isSupported(feature)) + Py_RETURN_TRUE; + else + Py_RETURN_FALSE; +} + +static PyObject * +pyvserver_isSupportedString(PyObject UNUSED *self, PyObject *args) +{ + char const *feature; + + if (!PyArg_ParseTuple(args, "s", &feature)) + return NULL; + + if (vc_isSupportedString(feature)) + Py_RETURN_TRUE; + else + Py_RETURN_FALSE; +} + +static PyObject * +pyvserver_getXIDType(PyObject UNUSED *self, PyObject *args) +{ + xid_t xid; + + if (!PyArg_ParseTuple(args, "I", &xid)) + return NULL; + + return Py_BuildValue("i", vc_getXIDType(xid)); +} + +static PyObject * +pyvserver_xidopt2xid(PyObject UNUSED *self, PyObject *args) +{ + char const *xidopt; + PyObject *honor_static; + xid_t xid; + char const *err_info; + + if (!PyArg_ParseTuple(args, "sO", &xidopt, &honor_static)) + return NULL; + + xid = vc_xidopt2xid(xidopt, honor_static != Py_False, &err_info); + if (xid == VC_NOXID) { + PyErr_SetString(PyExc_OSError, err_info); + return NULL; + } + + return Py_BuildValue("I", xid); +} + +static PyObject * +pyvserver_nidopt2nid(PyObject UNUSED *self, PyObject *args) +{ + char const *nidopt; + PyObject *honor_static; + nid_t nid; + char const *err_info; + + if (!PyArg_ParseTuple(args, "sO", &nidopt, &honor_static)) + return NULL; + + nid = vc_nidopt2nid(nidopt, honor_static != Py_False, &err_info); + if (nid == VC_NONID) { + PyErr_SetString(PyExc_OSError, err_info); + return NULL; + } + + return Py_BuildValue("I", nid); +} + +static PyObject * +pyvserver_tagopt2tag(PyObject UNUSED *self, PyObject *args) +{ + char const *tagopt; + PyObject *honor_static; + tag_t tag; + char const *err_info; + + if (!PyArg_ParseTuple(args, "sO", &tagopt, &honor_static)) + return NULL; + + tag = vc_tagopt2tag(tagopt, honor_static != Py_False, &err_info); + if (tag == (tag_t) -1) { + PyErr_SetString(PyExc_OSError, err_info); + return NULL; + } + + return Py_BuildValue("I", tag); +} + +#define pyvserver_handle_list(name, list_type, flag_member, mask_member) \ +static PyObject * \ +pyvserver_text2 ## name(PyObject UNUSED *self, PyObject *args) \ +{ \ + char const *str; \ + int len; \ + uint_least64_t val; \ +\ + if (!PyArg_ParseTuple(args, "s#", &str, &len)) \ + return NULL; \ +\ + val = vc_text2 ## name(str, len); \ + return Py_BuildValue("K", val); \ +} \ +\ +static PyObject * \ +pyvserver_lo ## name ## 2text(PyObject UNUSED *self, PyObject *args) \ +{ \ + uint_least64_t val; \ + char const *ret; \ +\ + if (!PyArg_ParseTuple(args, "K", &val)) \ + return NULL; \ +\ + ret = vc_lo ## name ## 2text(&val); \ + return Py_BuildValue("(Kz)", val, ret); \ +} \ +\ +static PyObject * \ +pyvserver_list2 ## name(PyObject UNUSED *self, PyObject *args) \ +{ \ + char const *str; \ + int len; \ + struct vc_err_listparser err; \ + list_type val = { .mask_member = 0 }; \ +\ + if (!PyArg_ParseTuple(args, "s#", &str, &len)) \ + return NULL; \ +\ + if (vc_list2 ## name(str, len, &err, &val) == -1) { \ + char *error; \ + if (asprintf(&error, "unknown value '%.*s'", (int)err.len, err.ptr) == -1) \ + return PyErr_SetFromErrno(PyExc_MemoryError); \ + PyErr_SetString(PyExc_ValueError, error); \ + free(error); \ + return NULL; \ + } \ +\ + return Py_BuildValue("(KK)", val.flag_member, val.mask_member); \ +} + +pyvserver_handle_list(bcap, struct vc_ctx_caps, bcaps, bmask) +pyvserver_handle_list(ccap, struct vc_ctx_caps, ccaps, cmask) +pyvserver_handle_list(cflag, struct vc_ctx_flags, flagword, mask) +pyvserver_handle_list(nflag, struct vc_net_flags, flagword, mask) +pyvserver_handle_list(ncap, struct vc_net_caps, ncaps, cmask) + +static PyMethodDef methods[] = { + { "vc_get_version", pyvserver_get_version, METH_NOARGS, "FIXME" }, + { "vc_get_vci", pyvserver_get_vci, METH_NOARGS, "FIXME" }, + { "vc_ctx_create", pyvserver_ctx_create, METH_VARARGS, "FIXME" }, + { "vc_ctx_migrate", pyvserver_ctx_migrate, METH_VARARGS, "FIXME" }, + { "vc_ctx_stat", pyvserver_ctx_stat, METH_VARARGS, "FIXME" }, + { "vc_virt_stat", pyvserver_virt_stat, METH_VARARGS, "FIXME" }, + { "vc_ctx_kill", pyvserver_ctx_kill, METH_VARARGS, "FIXME" }, + { "vc_get_cflags", pyvserver_get_cflags, METH_VARARGS, "FIXME" }, + { "vc_set_cflags", pyvserver_set_cflags, METH_VARARGS, "FIXME" }, + { "vc_get_ccaps", pyvserver_get_ccaps, METH_VARARGS, "FIXME" }, + { "vc_set_ccaps", pyvserver_set_ccaps, METH_VARARGS, "FIXME" }, + { "vc_get_vx_info", pyvserver_get_vx_info, METH_VARARGS, "FIXME" }, + { "vc_get_task_xid", pyvserver_get_task_xid, METH_VARARGS, "FIXME" }, + { "vc_wait_exit", pyvserver_wait_exit, METH_VARARGS, "FIXME" }, + { "vc_get_rlimit_mask", pyvserver_get_rlimit_mask, METH_VARARGS, "FIXME" }, + { "vc_get_rlimit", pyvserver_get_rlimit, METH_VARARGS, "FIXME" }, + { "vc_set_rlimit", pyvserver_set_rlimit, METH_VARARGS, "FIXME" }, + { "vc_rlimit_stat", pyvserver_rlimit_stat, METH_VARARGS, "FIXME" }, + { "vc_reset_minmax", pyvserver_reset_minmax, METH_VARARGS, "FIXME" }, + { "vc_get_task_nid", pyvserver_get_task_nid, METH_VARARGS, "FIXME" }, + { "vc_get_nx_info", pyvserver_get_nx_info, METH_VARARGS, "FIXME" }, + { "vc_net_create", pyvserver_net_create, METH_VARARGS, "FIXME" }, + { "vc_net_migrate", pyvserver_net_migrate, METH_VARARGS, "FIXME" }, + { "vc_net_add", pyvserver_net_add, METH_VARARGS, "FIXME" }, + { "vc_net_remove", pyvserver_net_remove, METH_VARARGS, "FIXME" }, + { "vc_get_nflags", pyvserver_get_nflags, METH_VARARGS, "FIXME" }, + { "vc_set_nflags", pyvserver_set_nflags, METH_VARARGS, "FIXME" }, + { "vc_get_ncaps", pyvserver_get_ncaps, METH_VARARGS, "FIXME" }, + { "vc_set_ncaps", pyvserver_set_ncaps, METH_VARARGS, "FIXME" }, + { "vc_set_iattr", pyvserver_set_iattr, METH_VARARGS, "FIXME" }, + { "vc_fset_iattr", pyvserver_fset_iattr, METH_VARARGS, "FIXME" }, + { "vc_get_iattr", pyvserver_get_iattr, METH_VARARGS, "FIXME" }, + { "vc_fget_iattr", pyvserver_fget_iattr, METH_VARARGS, "FIXME" }, + { "vc_set_vhi_name", pyvserver_set_vhi_name, METH_VARARGS, "FIXME" }, + { "vc_get_vhi_name", pyvserver_get_vhi_name, METH_VARARGS, "FIXME" }, + { "vc_enter_namespace", pyvserver_enter_namespace, METH_VARARGS, "FIXME" }, + { "vc_set_namespace", pyvserver_set_namespace, METH_VARARGS, "FIXME" }, + { "vc_get_space_mask", pyvserver_get_space_mask, METH_NOARGS, "FIXME" }, + { "vc_get_space_default", pyvserver_get_space_default, METH_NOARGS, "FIXME" }, + { "vc_add_dlimit", pyvserver_add_dlimit, METH_VARARGS, "FIXME" }, + { "vc_rem_dlimit", pyvserver_rem_dlimit, METH_VARARGS, "FIXME" }, + { "vc_set_dlimit", pyvserver_set_dlimit, METH_VARARGS, "FIXME" }, + { "vc_get_dlimit", pyvserver_get_dlimit, METH_VARARGS, "FIXME" }, + { "vc_get_task_tag", pyvserver_get_task_tag, METH_VARARGS, "FIXME" }, + { "vc_tag_create", pyvserver_tag_create, METH_VARARGS, "FIXME" }, + { "vc_tag_migrate", pyvserver_tag_migrate, METH_VARARGS, "FIXME" }, + { "vc_set_sched", pyvserver_set_sched, METH_VARARGS, "FIXME" }, + { "vc_get_sched", pyvserver_get_sched, METH_VARARGS, "FIXME" }, + { "vc_sched_info", pyvserver_sched_info, METH_VARARGS, "FIXME" }, + { "vc_set_mapping", pyvserver_set_mapping, METH_VARARGS, "FIXME" }, + { "vc_unset_mapping", pyvserver_unset_mapping, METH_VARARGS, "FIXME" }, + { "vc_get_badness", pyvserver_get_badness, METH_VARARGS, "FIXME" }, + { "vc_set_badness", pyvserver_set_badness, METH_VARARGS, "FIXME" }, + { "vc_get_insecurebcaps", pyvserver_get_insecurebcaps, METH_NOARGS, "FIXME" }, + { "vc_get_insecureccaps", pyvserver_get_insecureccaps, METH_NOARGS, "FIXME" }, + { "vc_isSupported", pyvserver_isSupported, METH_VARARGS, "FIXME" }, + { "vc_isSupportedString", pyvserver_isSupportedString, METH_VARARGS, "FIXME" }, + { "vc_getXIDType", pyvserver_getXIDType, METH_VARARGS, "FIXME" }, + { "vc_xidopt2xid", pyvserver_xidopt2xid, METH_VARARGS, "FIXME" }, + { "vc_nidopt2nid", pyvserver_nidopt2nid, METH_VARARGS, "FIXME" }, + { "vc_tagopt2tag", pyvserver_tagopt2tag, METH_VARARGS, "FIXME" }, + { "vc_text2bcap", pyvserver_text2bcap, METH_VARARGS, "FIXME" }, + { "vc_lobcap2text", pyvserver_lobcap2text, METH_VARARGS, "FIXME" }, + { "vc_list2bcap", pyvserver_list2bcap, METH_VARARGS, "FIXME" }, + { "vc_text2ccap", pyvserver_text2ccap, METH_VARARGS, "FIXME" }, + { "vc_loccap2text", pyvserver_loccap2text, METH_VARARGS, "FIXME" }, + { "vc_list2ccap", pyvserver_list2ccap, METH_VARARGS, "FIXME" }, + { "vc_text2cflag", pyvserver_text2cflag, METH_VARARGS, "FIXME" }, + { "vc_locflag2text", pyvserver_locflag2text, METH_VARARGS, "FIXME" }, + { "vc_list2cflag", pyvserver_list2cflag, METH_VARARGS, "FIXME" }, + { "vc_text2nflag", pyvserver_text2nflag, METH_VARARGS, "FIXME" }, + { "vc_lonflag2text", pyvserver_lonflag2text, METH_VARARGS, "FIXME" }, + { "vc_list2nflag", pyvserver_list2nflag, METH_VARARGS, "FIXME" }, + { "vc_text2ncap", pyvserver_text2ncap, METH_VARARGS, "FIXME" }, + { "vc_loncap2text", pyvserver_loncap2text, METH_VARARGS, "FIXME" }, + { "vc_list2ncap", pyvserver_list2ncap, METH_VARARGS, "FIXME" }, + { NULL, NULL, 0, NULL } +}; + +static void +PyModule_AddLongLongConstant(PyObject *mod, const char *str, long long val) +{ + PyObject *o = PyLong_FromLongLong(val); + if (!o || PyModule_AddObject(mod, str, o) == -1) + /* This ought to be reported somehow... */ + return; +} + +PyMODINIT_FUNC init_libvserver(void) +{ + PyObject *mod; + + mod = Py_InitModule("_libvserver", methods); +#include "_libvserver-constants.c" +} diff --git a/python/ctags-constants.awk b/python/ctags-constants.awk new file mode 100644 index 0000000..02486aa --- /dev/null +++ b/python/ctags-constants.awk @@ -0,0 +1,4 @@ +(($2 == "macro" || $2 == "enumerator") && $1 ~ /^(vc|VC|CLONE)/ && + $1 !~ /^VC_ATTR_/) { + printf " PyModule_AddLongLongConstant(mod, \"%s\", %s);\n", $1, $1 +} diff --git a/scripts/Makefile-files b/scripts/Makefile-files new file mode 100644 index 0000000..8dc0584 --- /dev/null +++ b/scripts/Makefile-files @@ -0,0 +1,133 @@ +## $Id: Makefile-files 2816 2008-10-31 04:21:52Z dhozac $ -*- makefile -*- + +## Copyright (C) 2003 Enrico Scholz +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +## + +AM_INSTALLCHECK_STD_OPTIONS_EXEMPT += \ + scripts/vapt-get-worker \ + scripts/vrpm-worker \ + scripts/vyum-worker \ + scripts/vrpm-preload \ + scripts/save_s_context \ + scripts/vservers.grabinfo.sh \ + scripts/vpstree \ + scripts/vserver-wrapper \ + scripts/vsysvwrapper \ + scripts/vtop \ + scripts/h2ext-worker \ + scripts/legacy/distrib-info \ + scripts/legacy/vps \ + scripts/legacy/save_s_context \ + scripts/legacy/vserver \ + scripts/legacy/rootshell \ + scripts/legacy/vserver-copy \ + scripts/legacy/vserverkillall + + +scripts_pkglib_src_DTA = scripts/functions \ + scripts/vserver-build.apt-rpm \ + scripts/vserver-build.skeleton \ + scripts/vserver-build.debootstrap \ + scripts/vserver-build.fai \ + scripts/vserver-build.rpm \ + scripts/vserver-build.yum \ + scripts/vserver-build.template \ + scripts/vserver-build.rsync \ + scripts/vserver-build.clone \ + scripts/vserver-build.functions \ + scripts/vserver-build.functions.apt \ + scripts/vserver-build.functions.rpm \ + scripts/vserver-build.functions.pkgmgmt \ + scripts/vserver-build.functions.yum \ + scripts/vserver-setup.functions \ + scripts/vserver.functions \ + scripts/vserver.start \ + scripts/vserver.stop \ + scripts/vserver.suexec \ + scripts/vserver.delete \ + scripts/vserver-init.functions + +scripts_pkglib_gen_DTA = scripts/util-vserver-vars + +scripts_pkglib_src_SCRPTS = scripts/pkgmgmt \ + scripts/vapt-get-worker \ + scripts/vpkg \ + scripts/vrpm-worker \ + scripts/vrpm-preload \ + scripts/start-vservers \ + scripts/vprocunhide \ + scripts/vserver-build \ + scripts/vserver-wrapper \ + scripts/vservers.grabinfo.sh \ + scripts/vshelper \ + scripts/vsysvwrapper \ + scripts/vyum-worker \ + scripts/h2ext-worker + +scripts_legacy_src_SCRPTS = scripts/legacy/save_s_context \ + scripts/legacy/vserver \ + scripts/legacy/rootshell \ + scripts/legacy/distrib-info \ + scripts/legacy/vserverkillall +scripts_legacy_gen_SCRPTS = scripts/legacy/vps +scripts_legacy_src_PRGS = scripts/legacy/vserver-copy + +scripts_sbin_src_PRGS = scripts/chbind \ + scripts/chcontext \ + scripts/vapt-get \ + scripts/vdispatch-conf \ + scripts/vemerge \ + scripts/vesync \ + scripts/vmount \ + scripts/vnamespace \ + scripts/vpstree \ + scripts/vrpm \ + scripts/vserver \ + scripts/vsomething \ + scripts/vtop \ + scripts/vupdateworld \ + scripts/vyum + +scripts_sbin_gen_PRGS = +scripts_sbincfg_gen_DTA = + +scripts_subst_SRCS = scripts/util-vserver-vars.pathsubst \ + scripts/legacy/vps.pathsubst + + + +sbin_SCRIPTS += $(scripts_sbin_src_PRGS) $(scripts_sbin_gen_PRGS) \ + $(scripts_legacy_src_PRGS) +scripts_sbincfg_DTA = $(scripts_sbincfg_gen_DTA) +pkglib_SCRIPTS += $(scripts_pkglib_src_SCRPTS) +legacy_SCRIPTS += $(scripts_legacy_src_SCRPTS) $(scripts_legacy_gen_SCRPTS) +pkglib_DATA += $(scripts_pkglib_src_DTA) $(scripts_pkglib_gen_DTA) + +CLEANFILES += $(scripts_pkglib_gen_DTA) \ + $(scripts_sbin_gen_PRGS) \ + $(scripts_sbincfg_gen_DTA) \ + $(scripts_legacy_gen_SCRPTS) + +EXTRA_DIST += $(scripts_pkglib_src_DTA) \ + $(scripts_pkglib_src_SCRPTS) \ + $(scripts_legacy_src_SCRPTS) \ + $(scripts_legacy_src_PRGS) \ + $(scripts_sbin_src_PRGS) \ + $(scripts_subst_SRCS) + +scripts/util-vserver-vars: scripts/.util-vserver-vars.pathsubst.stamp +scripts/legacy/vps: scripts/legacy/.vps.pathsubst.stamp diff --git a/scripts/chbind b/scripts/chbind new file mode 100755 index 0000000..098c7bd --- /dev/null +++ b/scripts/chbind @@ -0,0 +1,138 @@ +#! /bin/bash +# $Id: chbind 2599 2007-08-26 21:30:50Z dhozac $ + +# Copyright (C) 2004 Enrico Scholz +# Copyright (C) 2006 Daniel Hokka Zakrisson +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} +test -e "$UTIL_VSERVER_VARS" || { + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 + exit 1 +} +. "$UTIL_VSERVER_VARS" +. "$_LIB_FUNCTIONS" + +function showHelp() +{ + echo \ +$"Usage: $1 [--silent] [--nid ] [--ip [/]] + [--lback ] [--bcast ] + [--] * + +--silent + Do not print the addresses assigned. +--nid + Network context id to use. +--ip [/] + IP address to bind to. +--lback + Loopback address for the network context. +--bcast + Broadcast address for the network context. + +Report bugs to <$PACKAGE_BUGREPORT>." + exit $2 +} + +function showVersion() +{ + echo \ +$"chbind $PACKAGE_VERSION -- bind to IP addresses and execute a program +This program is part of $PACKAGE_STRING + +Copyright (C) 2004 Enrico Scholz +Copyright (C) 2006 Daniel Hokka Zakrisson +This program is free software; you may redistribute it under the terms of +the GNU General Public License. This program has absolutely no warranty." + exit $1 +} + +tmp=$(getopt -o + --long ncap:,nid:,ip:,bcast:,lback:,disconnect,flag:,secure,silent,help,version -n "$0" -- "$@") || exit 1 +eval set -- "$tmp" + +OPT_CAPS=() +OPT_NID= +OPT_DISCONNECT= +OPT_FLAGS=() +OPT_SECURE= +OPT_SILENT= +OPT_BCAST= +OPT_LBACK= +OPT_IPS=() + +while true; do + case "$1" in + --help) showHelp $0 0;; + --version) showVersion 0;; + --ncap) OPT_CAPS=( "${OPT_CAPS[@]}" "$2" ); shift;; + --nid) OPT_NID=$2; shift;; + --disconnect) OPT_DISCONNECT=1;; + --flag) OPT_FLAGS=( "${OPT_FLAGS[@]}" "$2" ); shift;; + --secure) OPT_SECURE=1;; + --silent) OPT_SILENT=1;; + --ip) OPT_IPS=( "${OPT_IPS[@]}" --ip "$2" ); shift;; + --bcast) OPT_BCAST=$2; shift;; + --lback) OPT_LBACK=$2; shift;; + --) shift; break;; + *) echo $"chbind: internal error; arg=='$1'" >&2; exit 1;; + esac + shift +done + +$_VSERVER_INFO - FEATURE vnet || exec $_CHBIND_COMPAT \ + ${OPT_NID:+--nid "$OPT_NID"} \ + ${OPT_SILENT:+--silent} \ + ${OPT_BCAST:+--bcast "$OPT_BCAST"} \ + "${OPT_IPS[@]}" \ + -- "$@" + +create_cmd=( $_NCONTEXT --create --silentexist + ${OPT_SILENT:+--silent} + ${OPT_NID:+--nid "$OPT_NID"} ) + +chain_cmd=() + +old_IFS=$IFS +IFS=,$IFS + +chain_cmd=( "${chain_cmd[@]}" + -- + $_NATTRIBUTE --set + ${OPT_SECURE:+--secure} + ${OPT_CAPS:+--ncap "${OPT_CAPS[*]}"} + ${OPT_FLAGS:+--flag "${OPT_FLAGS[*]}"} + -- + $_NADDRESS --add + ${OPT_SILENT:+--silent} + ${OPT_BCAST:+--bcast "$OPT_BCAST"} + ${OPT_LBACK:+--lback "$OPT_LBACK"} + "${OPT_IPS[@]}" ) + +migrate_cmd=( $_NCONTEXT + ${OPT_SILENT:+--silent} + ${OPT_DISCONNECT:+--disconnect} ) + +IFS=$old_IFS + +if test -z "$OPT_NID" || $_VSERVER_INFO -q "$OPT_NID" XIDTYPE static; then + "${create_cmd[@]}" "${chain_cmd[@]}" -- "$@" + rc=$? +else + rc=254 +fi + +test "$rc" -ne 254 || exec "${migrate_cmd[@]}" --nid "$OPT_NID" --migrate -- "$@" +exit $rc diff --git a/scripts/chcontext b/scripts/chcontext new file mode 100755 index 0000000..0045146 --- /dev/null +++ b/scripts/chcontext @@ -0,0 +1,197 @@ +#! /bin/bash +# $Id: chcontext 2821 2008-11-03 19:52:53Z dhozac $ + +# Copyright (C) 2004 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars} +test -e "$UTIL_VSERVER_VARS" || { + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 + exit 1 +} +. "$UTIL_VSERVER_VARS" +. "$_LIB_FUNCTIONS" + +function showHelp() +{ + echo \ +$"Usage: $1 [--cap [!]] [--secure] [--xid ] [--disconnect] + [--domainname ] [--hostname ] [--flag +] + [--silent] [--] command arguments ... + +chcontext allocate a new security context and executes +a command in that context. +By default, a new/unused context is allocated + +--cap CAP_NAME + Add a capability from the command. This option may be + repeated several time. + See /usr/include/linux/capability.h + In general, this option is used with the --secure option + --secure removes most critical capabilities and --cap + adds specific ones. + +--cap !CAP_NAME + Remove a capability from the command. This option may be + repeated several time. + See /usr/include/linux/capability.h + +--xid num + Select the context. On root in context 0 is allowed to + select a specific context. + Context number 1 is special. It can see all processes + in any contexts, but can't kill them though. + Option --xid may be repeated several times to specify up to 16 contexts. +--disconnect + Start the command in background and make the process + a child of process 1. +--domainname new_domainname + Set the domainname (NIS) in the new security context. + Use "none" to unset the domain name. +--flag + Set one flag in the new or current security context. The following + flags are supported. The option may be used several time. + + fakeinit: The new process will believe it is process number 1. + Useful to run a real /sbin/init in a vserver. + lock: The new process is trapped and can't use chcontext anymore. + sched: The new process and its children will share a common + execution priority. + nproc: Limit the number of process in the vserver according to + ulimit setting. Normally, ulimit is a per user thing. + With this flag, it becomes a per vserver thing. + private: No one can join this security context once created. + ulimit: Apply the current ulimit to the whole context +--hostname new_hostname + Set the hostname in the new security context + This is need because if you create a less privileged + security context, it may be unable to change its hostname +--secure + Remove all the capabilities to make a virtual server trustable +--silent + Do not print the allocated context number. + +Report bugs to <$PACKAGE_BUGREPORT>." + exit $2 +} + +function showVersion() +{ + echo \ +$"chcontext $PACKAGE_VERSION -- allocates/enters a security context +This program is part of $PACKAGE_STRING + +Copyright (C) 2004 Enrico Scholz +This program is free software; you may redistribute it under the terms of +the GNU General Public License. This program has absolutely no warranty." + exit $1 +} + +$_VSERVER_INFO - FEATURE migrate || exec $_CHCONTEXT_COMPAT "$@" + +tmp=$(getopt -o + --long cap:,ctx:,xid:,disconnect,domainname:,flag:,hostname:,secure,silent,help,version,spaces: -n "$0" -- "$@") || exit 1 +eval set -- "$tmp" + +OPT_CAPS=() +OPT_CTX= +OPT_DISCONNECT= +OPT_FLAGS=() +OPT_SECURE= +OPT_SILENT= +OPT_INITPID= +OPT_SPACES=--default + +while true; do + case "$1" in + --help) showHelp $0 0;; + --version) showVersion 0;; + --cap) OPT_CAPS=( "${OPT_CAPS[@]}" "$2" ); shift;; + --ctx|--xid) OPT_CTX=$2; shift;; + --disconnect) OPT_DISCONNECT=1;; + --domainname) OPT_DOMAINNAME=$2; shift;; + --hostname) OPT_HOSTNAME=$2; shift;; + --flag) + test "$2" != "fakeinit" || OPT_INITPID=--initpid + OPT_FLAGS=( "${OPT_FLAGS[@]}" "$2" ) + shift + ;; + --secure) OPT_SECURE=1;; + --silent) OPT_SILENT=1;; + --spaces) OPT_SPACES=$2; shift;; + --) shift; break;; + *) echo $"chcontext: internal error; arg=='$1'" >&2; exit 1;; + esac + shift +done + +create_cmd=( ${OPT_CTX:+$_VTAG --create --tag "$OPT_CTX" --silentexist --silent --} + $_VSPACE --new $OPT_SPACES -- + $_VCONTEXT --create --silentexist + ${OPT_SILENT:+--silent} + ${OPT_CTX:+--xid "$OPT_CTX"} ) + +chain_cmd=() + +old_IFS=$IFS +IFS=,$IFS + +chain_cmd=( "${chain_cmd[@]}" + -- + $_VSPACE --set $OPT_SPACES ) + +test -z "$OPT_DOMAINNAME$OPT_HOSTNAME" || \ + chain_cmd=( "${chain_cmd[@]}" + -- + $_VUNAME --set --xid self + ${OPT_DOMAINNAME:+-t domainname="$OPT_DOMAINNAME"} + ${OPT_HOSTNAME:+ -t nodename="$OPT_HOSTNAME"} ) + +chain_cmd=( "${chain_cmd[@]}" + -- + $_VATTRIBUTE --set + ${OPT_SECURE:+--secure} + ${OPT_CAPS:+--bcap "${OPT_CAPS[*]}"} + ${OPT_FLAGS:+--flag "${OPT_FLAGS[*]}"} ) + +migrate_cmd=( $_VCONTEXT + ${OPT_SILENT:+--silent} + ${OPT_DISCONNECT:+--disconnect} + $OPT_INITPID ) + +IFS=$old_IFS + +$_VSERVER_INFO -q "$OPT_CTX" XIDTYPE static +is_static=$? +test -z "$OPT_CTX" +is_dynamic=$? + +if test "$is_dynamic" -eq 0 || test "$is_static" -eq 0; then + "${create_cmd[@]}" "${chain_cmd[@]}" -- \ + "${migrate_cmd[@]}" --endsetup --migrate-self -- "$@" + rc=$? +else + rc=254 +fi + +if test "$is_static" -eq 0; then + migrate_cmd=( $_VTAG --migrate --tag "$OPT_CTX" --silent -- \ + $_VSPACE --enter "$OPT_CTX" $OPT_SPACES -- \ + "${migrate_cmd[@]}" ) +fi + + +test "$rc" -ne 254 || exec "${migrate_cmd[@]}" --xid "$OPT_CTX" --migrate -- \ + "$@" +exit $rc diff --git a/scripts/functions b/scripts/functions new file mode 100644 index 0000000..e364245 --- /dev/null +++ b/scripts/functions @@ -0,0 +1,1141 @@ +# $Id: functions 2770 2008-08-24 20:09:08Z dhozac $ --*- sh -*-- + +# Copyright (C) 2003,2004,2005,2006 Enrico Scholz +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +_VS_LOGFILE= +_VS_ERRFILE= + +_VS_NEWLINE=' +' +declare -r _VS_NEWLINE=${_VS_NEWLINE:0-1} +declare -r VS_ALLVSERVERS_ARGS=all,marked,unmarked,stopped,running + +function findObject +{ + local _fo_mod=$1 + local _fo_var=$2 + local _fo_file= + local _fo_i=X + shift 2 + + for _fo_i; do + test -n "$_fo_i" || continue + test ! $_fo_mod "$_fo_i" || { _fo_file=$_fo_i; break; } + done + + test -z "$_fo_i" -o -n "$_fo_file" || { + echo "Can not find file for '$_fo_var'; aborting" + exit 1 + } >&2 + + eval "$_fo_var=\"$_fo_file\"" +} + +function findFile +{ + findObject -f "$@" +} + +function findDir +{ + findObject -d "$@" +} + +function findAndCopy +{ + local dst=$1 + test ! -s "$dst" || return 0 + + local tmp + shift + findFile tmp "$@" + + test -n "$tmp" -a -s "$tmp" || return 0 + $_CP -af "$tmp" "$dst" +} + +## Usage: isRegularFile [] +function isRegularFile +{ + test ${2:--f} "$1" || return 1 + + case $1 in + (*.rpmsave|*.rpmnew|*.rpmorig|*.cfsaved*|*.~*~) return 1;; + esac + + return 0 +} + +function getPhysicalDir +{ + ( set -P && cd "$1" && pwd ) +} + +## Usage:: isDirectoryEmpty [] +function isDirectoryEmpty +{ + ( + shopt -s dotglob || * + shopt -s nullglob || * + + ignore_lostfound=1 + test -z "$2" -o "$2" = 0 || ignore_lostfound= + + for i in "$1"/*; do + case "$i" in + ($1/lost+found) + test "$ignore_lostfound" || exit 1 + ;; + (*) echo "$i"; exit 1 + esac + done + + exit 0 + ) +} + +## Usage: logging +function logging +{ + if test -n "$_VS_LOGFILE"; then + echo "$@" >>"$_VS_LOGFILE" + else + echo "$@" + fi +} + +## Usage: warning +function warning +{ + if test -n "$_VS_ERRFILE"; then + echo "$@" >>"$_VS_ERRFILE" + else + echo "$@" >&2 + fi +} + +## Usage: panic +function panic +{ + if test -n "$_VS_ERRFILE"; then + echo "$@" >>"$_VS_ERRFILE" + else + echo "$@" >&2 + fi + + exit 1 +} + +## Usage: execute +function execute +{ + test -z "${DEBUG_EXEC:-}" || echo "$@" + test "${DEBUG_EXEC:-}" = noexec || exec "$@" + exit 0 +} + + +## Usage: spawn +function spawn +{ + test -z "${DEBUG_EXEC:-}" || echo "$@" + test "${DEBUG_EXEC:-}" = noexec || "$@" +} + +## Usage: isNumber +function isNumber +{ + local tmp + let tmp=$1+0 2>/dev/null || test -z "${1//0/}" -a -n "$1" || return 1 + return 0 +} + +## Usage: hasSubstring + +function hasSubstring +{ + local pat=$1 + local i + + shift + + for i; do + test x"${pat/*$i*/$i}" = x"$i" || continue + return 0 + done + + return 1 +} + +## Usage: colorize