[haiku-commits] haiku: hrev46925 - in src/bin/findutils: gnulib/lib find . lib locate

  • From: korli@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 25 Feb 2014 17:59:06 +0100 (CET)

hrev46925 adds 1 changeset to branch 'master'
old head: 99d23e5198ab0b70d47d384ade80bca3c3658a7a
new head: 8b804bc17b2fe8e85fbdca88c0f8c27bed3648a2
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=8b804bc+%5E99d23e5

----------------------------------------------------------------------------

8b804bc: findutils: use the HaikuPorts package.
  
  * removed in-tree version.
  * added as bootstrap package.
  * note: HaikuPorts package has no rdef for binaries.

                                   [ Jérôme Duval <jerome.duval@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev46925
Commit:      8b804bc17b2fe8e85fbdca88c0f8c27bed3648a2
URL:         http://cgit.haiku-os.org/haiku/commit/?id=8b804bc
Author:      Jérôme Duval <jerome.duval@xxxxxxxxx>
Date:        Tue Feb 25 16:36:13 2014 UTC

----------------------------------------------------------------------------

247 files changed, 7 insertions(+), 59869 deletions(-)
Jamfile                                          |    2 +-
build/jam/DefaultBuildProfiles                   |    1 +
build/jam/images/HaikuImage                      |   10 +-
src/bin/Jamfile                                  |    1 -
src/bin/findutils/COPYING                        |  676 ---
src/bin/findutils/Jamfile                        |    7 -
src/bin/findutils/README                         |   59 -
src/bin/findutils/config.h                       | 1047 -----
src/bin/findutils/find/Jamfile                   |   26 -
src/bin/findutils/find/defs.h                    |  611 ---
src/bin/findutils/find/find.1                    | 1261 -----
src/bin/findutils/find/find.c                    | 2080 ---------
src/bin/findutils/find/fstype.c                  |  312 --
src/bin/findutils/find/parser.c                  | 2566 ----------
src/bin/findutils/find/pred.c                    | 1951 --------
src/bin/findutils/find/tree.c                    |  495 --
src/bin/findutils/find/util.c                    |  199 -
src/bin/findutils/find/version.c                 |    3 -
src/bin/findutils/findutils.rdef                 |   11 -
src/bin/findutils/gnulib/Jamfile                 |    3 -
src/bin/findutils/gnulib/lib/Jamfile             |   59 -
src/bin/findutils/gnulib/lib/alloca.c            |  489 --
src/bin/findutils/gnulib/lib/alloca.h            |   55 -
src/bin/findutils/gnulib/lib/alloca.in.h         |   54 -
.../findutils/gnulib/lib/areadlink-with-size.c   |  108 -
src/bin/findutils/gnulib/lib/areadlink.h         |   23 -
src/bin/findutils/gnulib/lib/argmatch.c          |  277 --
src/bin/findutils/gnulib/lib/argmatch.h          |  102 -
src/bin/findutils/gnulib/lib/at-func.c           |   85 -
src/bin/findutils/gnulib/lib/basename.c          |  128 -
src/bin/findutils/gnulib/lib/binary-io.h         |   63 -
src/bin/findutils/gnulib/lib/canonicalize-lgpl.c |  362 --
src/bin/findutils/gnulib/lib/canonicalize.c      |  337 --
src/bin/findutils/gnulib/lib/canonicalize.h      |   52 -
src/bin/findutils/gnulib/lib/chdir-long.c        |  264 --
src/bin/findutils/gnulib/lib/chdir-long.h        |   34 -
src/bin/findutils/gnulib/lib/chown.c             |  103 -
src/bin/findutils/gnulib/lib/close-stream.c      |   75 -
src/bin/findutils/gnulib/lib/close-stream.h      |    2 -
src/bin/findutils/gnulib/lib/closein.c           |  111 -
src/bin/findutils/gnulib/lib/closein.h           |   32 -
src/bin/findutils/gnulib/lib/closeout.c          |   85 -
src/bin/findutils/gnulib/lib/closeout.h          |   32 -
src/bin/findutils/gnulib/lib/configmake.h        |   25 -
src/bin/findutils/gnulib/lib/creat-safer.c       |   31 -
src/bin/findutils/gnulib/lib/dirent.in.h         |   45 -
src/bin/findutils/gnulib/lib/dirfd.c             |   28 -
src/bin/findutils/gnulib/lib/dirfd.h             |   28 -
src/bin/findutils/gnulib/lib/dirname.c           |   84 -
src/bin/findutils/gnulib/lib/dirname.h           |   69 -
src/bin/findutils/gnulib/lib/dup-safer.c         |   44 -
src/bin/findutils/gnulib/lib/dup2.c              |   57 -
src/bin/findutils/gnulib/lib/error.c             |  338 --
src/bin/findutils/gnulib/lib/error.h             |   65 -
src/bin/findutils/gnulib/lib/exitfail.c          |   24 -
src/bin/findutils/gnulib/lib/exitfail.h          |   18 -
src/bin/findutils/gnulib/lib/fchdir.c            |  282 --
src/bin/findutils/gnulib/lib/fchmodat.c          |   49 -
src/bin/findutils/gnulib/lib/fchown-stub.c       |   16 -
src/bin/findutils/gnulib/lib/fchownat.c          |   48 -
src/bin/findutils/gnulib/lib/fcntl--.h           |   27 -
src/bin/findutils/gnulib/lib/fcntl-safer.h       |   23 -
src/bin/findutils/gnulib/lib/fcntl.h             |  121 -
src/bin/findutils/gnulib/lib/fcntl.in.h          |  120 -
src/bin/findutils/gnulib/lib/fd-safer.c          |   56 -
src/bin/findutils/gnulib/lib/fflush.c            |  109 -
src/bin/findutils/gnulib/lib/file-set.c          |   74 -
src/bin/findutils/gnulib/lib/file-set.h          |   12 -
src/bin/findutils/gnulib/lib/fileblocks.c        |   74 -
src/bin/findutils/gnulib/lib/filemode.c          |  180 -
src/bin/findutils/gnulib/lib/filemode.h          |   32 -
src/bin/findutils/gnulib/lib/filenamecat.c       |  102 -
src/bin/findutils/gnulib/lib/filenamecat.h       |   24 -
src/bin/findutils/gnulib/lib/fnmatch.c           |  354 --
src/bin/findutils/gnulib/lib/fnmatch.h           |   66 -
src/bin/findutils/gnulib/lib/fnmatch.in.h        |   65 -
src/bin/findutils/gnulib/lib/fnmatch_loop.c      | 1210 -----
src/bin/findutils/gnulib/lib/fopen-safer.c       |   67 -
src/bin/findutils/gnulib/lib/fpending.c          |   29 -
src/bin/findutils/gnulib/lib/fpending.h          |   33 -
src/bin/findutils/gnulib/lib/fpurge.c            |  121 -
src/bin/findutils/gnulib/lib/fpurge.h            |   38 -
src/bin/findutils/gnulib/lib/freadahead.c        |   66 -
src/bin/findutils/gnulib/lib/freadahead.h        |   36 -
src/bin/findutils/gnulib/lib/freading.c          |   50 -
src/bin/findutils/gnulib/lib/freading.h          |   53 -
src/bin/findutils/gnulib/lib/fseeko.c            |  120 -
src/bin/findutils/gnulib/lib/fstatat.c           |   56 -
src/bin/findutils/gnulib/lib/ftello.c            |   54 -
src/bin/findutils/gnulib/lib/getcwd.c            |  427 --
src/bin/findutils/gnulib/lib/getdelim.c          |  133 -
src/bin/findutils/gnulib/lib/getline.c           |   29 -
src/bin/findutils/gnulib/lib/getopt.c            | 1190 -----
src/bin/findutils/gnulib/lib/getopt.in.h         |  225 -
src/bin/findutils/gnulib/lib/getopt1.c           |  170 -
src/bin/findutils/gnulib/lib/getopt_int.h        |  130 -
src/bin/findutils/gnulib/lib/gettext.h           |  270 --
src/bin/findutils/gnulib/lib/hash-pjw.c          |   40 -
src/bin/findutils/gnulib/lib/hash-pjw.h          |   23 -
[ *** stats truncated: 148 lines dropped *** ]

----------------------------------------------------------------------------

diff --git a/Jamfile b/Jamfile
index c343711..b646406 100644
--- a/Jamfile
+++ b/Jamfile
@@ -15,7 +15,7 @@ for architectureObject in [ MultiArchSubDirSetup ] {
 if ! $(HAIKU_BOOTSTRAP_BUILD) {
        # primary architecture
        AddHaikuImagePackages
-               bzip2 ctags grep sed tar which zlib
+               bzip2 ctags findutils grep sed tar which zlib
                ffmpeg freetype icu jpeg libpng libsolv
                mesa mesa_devel mesa_swrast glu
                ;
diff --git a/build/jam/DefaultBuildProfiles b/build/jam/DefaultBuildProfiles
index 5a03fc5..3e5de17 100644
--- a/build/jam/DefaultBuildProfiles
+++ b/build/jam/DefaultBuildProfiles
@@ -125,6 +125,7 @@ rule DefineDefaultBuildProfiles
                                bison
                                curl
                                curl_devel
+                               findutils
                                flex
                                freetype
                                freetype_devel
diff --git a/build/jam/images/HaikuImage b/build/jam/images/HaikuImage
index 03744f9..bf75bba 100644
--- a/build/jam/images/HaikuImage
+++ b/build/jam/images/HaikuImage
@@ -12,15 +12,15 @@ SYSTEM_BIN = [ FFilterByBuildFeatures
        csplit cut date dc dd desklink df diff diff3 dircolors dirname
        diskimage draggers driveinfo dstcheck du dumpcatalog
        echo eject env error expand expr
-       factor false fdinfo ffm filepanel find finddir findpaths 
FirstBootPrompt fmt
-       fold fortune frcode fstrim ftp ftpd funzip fwcontrol@x86
+       factor false fdinfo ffm filepanel finddir findpaths FirstBootPrompt fmt
+       fold fortune fstrim ftp ftpd funzip fwcontrol@x86
        gawk gdb@x86 getarch getlimits groupadd groupdel groupmod groups gzip 
gzexe
        hd head hey hostname
        id ident ifconfig <bin>install installsound iroster isvolume
        ideinfo@ide idestatus@ide
        join kernel_debugger keymap keystore kill
        less lessecho lesskey link linkcatkeys listarea listattr listimage 
listdev
-       listport listres listsem listusb ln locale locate logger login logname 
ls
+       listport listres listsem listusb ln locale logger login logname ls
        lsindex
        mail2mbox makebootable mbox2mail md5sum merge message mimeset mkdos 
mkdir
        mkfifo mkfs mkindex mktemp modifiers mount mount_nfs mountvolume mv
@@ -37,9 +37,9 @@ SYSTEM_BIN = [ FFilterByBuildFeatures
        tac tail tcpdump tcptester tee telnet telnetd test timeout top touch
        tr traceroute translate trash true truncate tsort tty
        uname unchop unexpand unmount uniq unlink unshar unzip unzipsfx
-       <bin>updatedb uptime urlwrapper useradd userdel uudecode uuencode
+       uptime urlwrapper useradd userdel uudecode uuencode
        vdir version vmstat
-       waitfor watch wc wget whoami writembr@x86,x86_64 xargs xres
+       waitfor watch wc wget whoami writembr@x86,x86_64 xres
        yes
        zdiff zforce zgrep zip zipcloak <bin>zipgrep zipnote zipsplit zmore znew
 ] ;
diff --git a/src/bin/Jamfile b/src/bin/Jamfile
index 0870e77..ab52522 100644
--- a/src/bin/Jamfile
+++ b/src/bin/Jamfile
@@ -261,7 +261,6 @@ SubInclude HAIKU_TOP src bin consoled ;
 SubInclude HAIKU_TOP src bin coreutils ;
 SubInclude HAIKU_TOP src bin desklink ;
 SubInclude HAIKU_TOP src bin diffutils ;
-SubInclude HAIKU_TOP src bin findutils ;
 SubInclude HAIKU_TOP src bin fwcontrol ;
 SubInclude HAIKU_TOP src bin gawk ;
 SubInclude HAIKU_TOP src bin gdb ;
diff --git a/src/bin/findutils/COPYING b/src/bin/findutils/COPYING
deleted file mode 100644
index 4432540..0000000
--- a/src/bin/findutils/COPYING
+++ /dev/null
@@ -1,676 +0,0 @@
-
-                   GNU GENERAL PUBLIC LICENSE
-                      Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                           Preamble
-
-  The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
-  The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works.  By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users.  We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors.  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
-them 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 prevent others from denying you
-these rights or asking you to surrender the rights.  Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received.  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.
-
-  Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
-  For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software.  For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
-  Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so.  This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software.  The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable.  Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products.  If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
-  Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary.  To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-                      TERMS AND CONDITIONS
-
-  0. Definitions.
-
-  "This License" refers to version 3 of the GNU General Public License.
-
-  "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
- 
-  "The Program" refers to any copyrightable work licensed under this
-License.  Each licensee is addressed as "you".  "Licensees" and
-"recipients" may be individuals or organizations.
-
-  To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy.  The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
-  A "covered work" means either the unmodified Program or a work based
-on the Program.
-
-  To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy.  Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
-  To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies.  Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
-  An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License.  If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
-  1. Source Code.
-
-  The "source code" for a work means the preferred form of the work
-for making modifications to it.  "Object code" means any non-source
-form of a work.
-
-  A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
-  The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form.  A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
-  The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities.  However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work.  For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
-  The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
-  The Corresponding Source for a work in source code form is that
-same work.
-
-  2. Basic Permissions.
-
-  All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met.  This License explicitly affirms your unlimited
-permission to run the unmodified Program.  The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work.  This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
-  You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force.  You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright.  Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
-  Conveying under any other circumstances is permitted solely under
-the conditions stated below.  Sublicensing is not allowed; section 10
-makes it unnecessary.
-
-  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
-  No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
-  When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
-  4. Conveying Verbatim Copies.
-
-  You may convey 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;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
-  You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
-  5. Conveying Modified Source Versions.
-
-  You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
-    a) The work must carry prominent notices stating that you modified
-    it, and giving a relevant date.
-
-    b) The work must carry prominent notices stating that it is
-    released under this License and any conditions added under section
-    7.  This requirement modifies the requirement in section 4 to
-    "keep intact all notices".
-
-    c) You must license the entire work, as a whole, under this
-    License to anyone who comes into possession of a copy.  This
-    License will therefore apply, along with any applicable section 7
-    additional terms, to the whole of the work, and all its parts,
-    regardless of how they are packaged.  This License gives no
-    permission to license the work in any other way, but it does not
-    invalidate such permission if you have separately received it.
-
-    d) If the work has interactive user interfaces, each must display
-    Appropriate Legal Notices; however, if the Program has interactive
-    interfaces that do not display Appropriate Legal Notices, your
-    work need not make them do so.
-
-  A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit.  Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
-  6. Conveying Non-Source Forms.
-
-  You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
-    a) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by the
-    Corresponding Source fixed on a durable physical medium
-    customarily used for software interchange.
-
-    b) Convey the object code in, or embodied in, a physical product
-    (including a physical distribution medium), accompanied by a
-    written offer, valid for at least three years and valid for as
-    long as you offer spare parts or customer support for that product
-    model, to give anyone who possesses the object code either (1) a
-    copy of the Corresponding Source for all the software in the
-    product that is covered by this License, on a durable physical
-    medium customarily used for software interchange, for a price no
-    more than your reasonable cost of physically performing this
-    conveying of source, or (2) access to copy the
-    Corresponding Source from a network server at no charge.
-
-    c) Convey individual copies of the object code with a copy of the
-    written offer to provide the Corresponding Source.  This
-    alternative is allowed only occasionally and noncommercially, and
-    only if you received the object code with such an offer, in accord
-    with subsection 6b.
-
-    d) Convey the object code by offering access from a designated
-    place (gratis or for a charge), and offer equivalent access to the
-    Corresponding Source in the same way through the same place at no
-    further charge.  You need not require recipients to copy the
-    Corresponding Source along with the object code.  If the place to
-    copy the object code is a network server, the Corresponding Source
-    may be on a different server (operated by you or a third party)
-    that supports equivalent copying facilities, provided you maintain
-    clear directions next to the object code saying where to find the
-    Corresponding Source.  Regardless of what server hosts the
-    Corresponding Source, you remain obligated to ensure that it is
-    available for as long as needed to satisfy these requirements.
-
-    e) Convey the object code using peer-to-peer transmission, provided
-    you inform other peers where the object code and Corresponding
-    Source of the work are being offered to the general public at no
-    charge under subsection 6d.
-
-  A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
-  A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling.  In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage.  For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product.  A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
-  "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source.  The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
-  If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information.  But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
-  The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed.  Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
-  Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
-  7. Additional Terms.
-
-  "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law.  If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
-  When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it.  (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.)  You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
-  Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
-    a) Disclaiming warranty or limiting liability differently from the
-    terms of sections 15 and 16 of this License; or
-
-    b) Requiring preservation of specified reasonable legal notices or
-    author attributions in that material or in the Appropriate Legal
-    Notices displayed by works containing it; or
-
-    c) Prohibiting misrepresentation of the origin of that material, or
-    requiring that modified versions of such material be marked in
-    reasonable ways as different from the original version; or
-
-    d) Limiting the use for publicity purposes of names of licensors or
-    authors of the material; or
-
-    e) Declining to grant rights under trademark law for use of some
-    trade names, trademarks, or service marks; or
-
-    f) Requiring indemnification of licensors and authors of that
-    material by anyone who conveys the material (or modified versions of
-    it) with contractual assumptions of liability to the recipient, for
-    any liability that these contractual assumptions directly impose on
-    those licensors and authors.
-
-  All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10.  If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term.  If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
-  If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
-  Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
-  8. Termination.
-
-  You may not propagate or modify a covered work except as expressly
-provided under this License.  Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
-  However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
-  Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
-  Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License.  If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
-  9. Acceptance Not Required for Having Copies.
-
-  You are not required to accept this License in order to receive or
-run a copy of the Program.  Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance.  However,
-nothing other than this License grants you permission to propagate or
-modify any covered work.  These actions infringe copyright if you do
-not accept this License.  Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
-  10. Automatic Licensing of Downstream Recipients.
-
-  Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License.  You are not responsible
-for enforcing compliance by third parties with this License.
-
-  An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations.  If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
-  You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License.  For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
-  11. Patents.
-
-  A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based.  The
-work thus licensed is called the contributor's "contributor version".
-
-  A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version.  For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
-  Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
-  In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement).  To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
-  If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients.  "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-  
-  If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
-  A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License.  You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
-  Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
-  12. No Surrender of Others' Freedom.
-
-  If 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 convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all.  For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
-  13. Use with the GNU Affero General Public License.
-
-  Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work.  The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
-  14. Revised Versions of this License.
-
-  The Free Software Foundation may publish revised and/or new versions of
-the GNU 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 that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation.  If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
-  If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
-  Later license versions may give you additional or different
-permissions.  However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
-  15. Disclaimer of Warranty.
-
-  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.
-
-  16. Limitation of Liability.
-
-  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-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.
-
-  17. Interpretation of Sections 15 and 16.
-
-  If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
-                    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
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This program is free software: 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 3 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, see <http://www.gnu.org/licenses/>.
-
-Also add information on how to contact you by electronic and paper mail.
-
-  If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
-    <program>  Copyright (C) <year>  <name of author>
-    This program 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, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
-  You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-<http://www.gnu.org/licenses/>.
-
-  The GNU 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 Lesser General
-Public License instead of this License.  But first, please read
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
-
diff --git a/src/bin/findutils/Jamfile b/src/bin/findutils/Jamfile
deleted file mode 100644
index 9ceab27..0000000
--- a/src/bin/findutils/Jamfile
+++ /dev/null
@@ -1,7 +0,0 @@
-SubDir HAIKU_TOP src bin findutils ;
-
-SubInclude HAIKU_TOP src bin findutils gnulib ;
-SubInclude HAIKU_TOP src bin findutils lib ;
-SubInclude HAIKU_TOP src bin findutils find ;
-SubInclude HAIKU_TOP src bin findutils locate ;
-SubInclude HAIKU_TOP src bin findutils xargs ;
diff --git a/src/bin/findutils/README b/src/bin/findutils/README
deleted file mode 100644
index be967a2..0000000
--- a/src/bin/findutils/README
+++ /dev/null
@@ -1,59 +0,0 @@
-This package contains the GNU find, xargs, and locate programs.  find
-and xargs comply with POSIX 1003.2, as far as I know (with the
-exception of the "+" modifier for the "-exec" action, which isn't
-implemented yet).  They also support a large number of additional
-options, some borrowed from Unix and some unique to GNU.
-
-See the file NEWS for a list of major changes in the current release.
-
-See the file INSTALL for compilation and installation instructions.
-
-To verify the GPG signature of the release, you will need the public
-key of the findutils maintainer.  You can download this from
-ftp://ftp.gnu.org/gnu/gnu-keyring.gpg.  Alternatively, you could query
-a PGP keyserver, but you will need to use one that can cope with
-subkeys containing photos.  Many older key servers cannot do this.  I
-use subkeys.pgp.net.  I think that one works.  See also the
-"Downloading" section of http://www.gnu.org/software/findutils/.
-
-Special configure options:
-
---with-afs
-  Make find support "-fstype afs".  Requires /afs, /usr/afsws/lib, and
-/usr/afsws/include.  configure doesn't add AFS support
-automatically because it adds considerably to find's size, and the
-AFS libraries need -lucb on Solaris, which breaks find.
-
---enable-id-cache
-  Make tables of used UIDs and GIDs at startup instead of using
-getpwuid or getgrgid when needed.  Speeds up -nouser and -nogroup
-unless you are running NIS or Hesiod, which make password and group
-calls very expensive.
-
---enable-debug
-  Produce output on the standard error output indicating what find is
-doing.  This information includes details about how the command line
-has been parsed and what files have been stat()ed.  This output is
-normally interesting only to the maintainer, and so is off by default.
-
-
-To gain speed, GNU find avoids statting files whenever possible.
-It does this by:
-1. Checking the number of links to directories and not statting files
-that it knows aren't directories until it encounters a test or action
-that needs the stat info.
-2.  Rearranging the command line, where possible, so that it can do tests
-that don't require a stat before tests that do, in hopes that the
-latter will be skipped because of an OR or AND.  (But it only does
-this where it will leave the output unchanged.)
-
-The locate program and its helper programs are derived (heavily
-modified) from James Woods' public domain fast-find code, which is
-also distributed with the 4.3BSD find.  Because POSIX.2 requires `find
-foo' to have the same effect as `find foo -print', the fast-find
-searching has been moved to a separate program, `locate'; the same
-thing has been done in 4.4BSD.  If you use locate, you should run the
-included `updatedb' script from cron periodically (typically nightly).
-
-Mail suggestions and bug reports for these programs to
-bug-findutils@xxxxxxx.
diff --git a/src/bin/findutils/config.h b/src/bin/findutils/config.h
deleted file mode 100644
index aabf16e..0000000
--- a/src/bin/findutils/config.h
+++ /dev/null
@@ -1,1047 +0,0 @@
-/* config.h.  Generated from config.h.in by configure.  */
-/* config.h.in.  Generated from configure.in by autoheader.  */
-
-/* Define to the number of bits in type 'ptrdiff_t'. */
-#define BITSIZEOF_PTRDIFF_T 32
-
-/* Define to the number of bits in type 'sig_atomic_t'. */
-#define BITSIZEOF_SIG_ATOMIC_T 32
-
-/* Define to the number of bits in type 'size_t'. */
-#define BITSIZEOF_SIZE_T 32
-
-/* Define to the number of bits in type 'wchar_t'. */
-#define BITSIZEOF_WCHAR_T 32
-
-/* Define to the number of bits in type 'wint_t'. */
-#define BITSIZEOF_WINT_T 32
-
-/* Define if you want find -nouser and -nogroup to make tables of used UIDs
-   and GIDs at startup instead of using getpwuid or getgrgid when needed.
-   Speeds up -nouser and -nogroup unless you are running NIS or Hesiod, which
-   make password and group calls very expensive. */
-/* #undef CACHE_IDS */
-
-/* Define if chown is not POSIX compliant regarding IDs of -1. */
-#define CHOWN_FAILS_TO_HONOR_ID_OF_NEGATIVE_ONE 1
-
-/* Define if chown modifies symlinks. */
-/* #undef CHOWN_MODIFIES_SYMLINK */
-
-/* Define to 1 if the `closedir' function returns void instead of `int'. */
-/* #undef CLOSEDIR_VOID */
-
-/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
-   systems. This function is required for `alloca.c' support on those systems.
-   */
-/* #undef CRAY_STACKSEG_END */
-
-/* Define to 1 if using `alloca.c'. */
-/* #undef C_ALLOCA */
-
-/* Define if you want to see find's innards */
-/* #undef DEBUG */
-
-/* Define if you want to see a message every time find calls the stat() system
-   call */
-/* #undef DEBUG_STAT */
-
-/* the name of the file descriptor member of DIR */
-/* #undef DIR_FD_MEMBER_NAME */
-
-#ifdef DIR_FD_MEMBER_NAME
-# define DIR_TO_FD(Dir_p) ((Dir_p)->DIR_FD_MEMBER_NAME)
-#else
-# define DIR_TO_FD(Dir_p) -1
-#endif
-
-
-/* Define to 1 if // is a file system root distinct from /. */
-/* #undef DOUBLE_SLASH_IS_DISTINCT_ROOT */
-
-/* Define if struct dirent has a member d_ino that actually works. */
-#define D_INO_IN_DIRENT 1
-
-/* Define to 1 if translation of program messages to the user's native
-   language is requested. */
-/* #undef ENABLE_NLS */
-
-/* Define if gnulib's fchdir() replacement is used. */
-/* #undef FCHDIR_REPLACEMENT */
-
-/* Define on systems for which file names may have a so-called `drive letter'
-   prefix, define this to compute the length of that prefix, including the
-   colon. */
-#define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0
-
-/* Define if the backslash character may also serve as a file name component
-   separator. */
-#define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0
-
-/* Define if a drive letter prefix denotes a relative path if it is not
-   followed by a file name component separator. */
-#define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0
-
-/* Define if we are compiling GNU findutils */
-#define FINDUTILS 1
-
-/* Define to nothing if C supports flexible array members, and to 1 if it does
-   not. That way, with a declaration like `struct s { int n; double
-   d[FLEXIBLE_ARRAY_MEMBER]; };', the struct hack can be used with pre-C99
-   compilers. When computing the size of such an object, don't use 'sizeof
-   (struct s)' as it overestimates the size. Use 'offsetof (struct s, d)'
-   instead. Don't use 'offsetof (struct s, d[0])', as this doesn't work with
-   MSVC and with C++ compilers. */
-#define FLEXIBLE_ARRAY_MEMBER 1
-
-/* Define to make the limit macros in <stdint.h> visible. */
-#define GL_TRIGGER_STDC_LIMIT_MACROS 1
-
-/* Define to 1 when using the gnulib module canonicalize. */
-#define GNULIB_CANONICALIZE 1
-
-/* Define to 1 when using the gnulib module close-stream. */
-#define GNULIB_CLOSE_STREAM 1
-
-/* Define to 1 when using the gnulib module fcntl-safer. */
-#define GNULIB_FCNTL_SAFER 1
-
-/* Define to 1 when using the gnulib module fopen-safer. */
-#define GNULIB_FOPEN_SAFER 1
-
-/* Define to indicate the 'malloc' module. */
-#define GNULIB_MALLOC_GNU 1
-
-/* Define to indicate the 'realloc' module. */
-#define GNULIB_REALLOC_GNU 1
-
-/* Define to 1 if you have the `alarm' function. */
-#define HAVE_ALARM 1
-
-/* Define to 1 if you have 'alloca' after including <alloca.h>, a header that
-   may be supplied by this distribution. */
-#define HAVE_ALLOCA 1
-
-/* Define HAVE_ALLOCA_H for backward compatibility with older code that
-   includes <alloca.h> only if HAVE_ALLOCA_H is defined. */
-#define HAVE_ALLOCA_H 1
-
-/* Define to 1 if you have the `btowc' function. */
-#define HAVE_BTOWC 1
-
-/* Define to 1 if you have the `canonicalize_file_name' function. */
-/* #undef HAVE_CANONICALIZE_FILE_NAME */
-
-/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
-   CoreFoundation framework. */
-/* #undef HAVE_CFLOCALECOPYCURRENT */
-
-/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
-   the CoreFoundation framework. */
-/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
-
-/* Define to 1 if your system has a working `chown' function. */
-/* #undef HAVE_CHOWN */
-
-/* Define if the GNU dcgettext() function is already present or preinstalled.
-   */
-/* #undef HAVE_DCGETTEXT */
-
-/* Define to 1 if you have the declaration of `canonicalize_file_name', and to
-   0 if you don't. */
-#define HAVE_DECL_CANONICALIZE_FILE_NAME 0
-
-/* Define to 1 if you have the declaration of `dirfd', and to 0 if you don't.
-   */
-#define HAVE_DECL_DIRFD 1
-
-/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't.
-   */
-#define HAVE_DECL_FPURGE 1
-
-/* Define to 1 if you have the declaration of `getcwd', and to 0 if you don't.
-   */
-#define HAVE_DECL_GETCWD 1
-
-/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
-   don't. */
-#define HAVE_DECL_GETC_UNLOCKED 1
-
-/* Define to 1 if you have the declaration of `getdelim', and to 0 if you
-   don't. */
-#define HAVE_DECL_GETDELIM 0
-
-/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
-   */
-#define HAVE_DECL_GETENV 1
-
-/* Define to 1 if you have the declaration of `getline', and to 0 if you
-   don't. */
-#define HAVE_DECL_GETLINE 0
-
-/* Define to 1 if you have the declaration of `imaxabs', and to 0 if you
-   don't. */
-#define HAVE_DECL_IMAXABS 1
-
-/* Define to 1 if you have the declaration of `imaxdiv', and to 0 if you
-   don't. */
-#define HAVE_DECL_IMAXDIV 1
-
-/* Define to 1 if you have the declaration of `isblank', and to 0 if you
-   don't. */
-#define HAVE_DECL_ISBLANK 1
-
-/* Define to 1 if you have the declaration of `memrchr', and to 0 if you
-   don't. */
-#define HAVE_DECL_MEMRCHR 0
-
-/* Define to 1 if you have the declaration of `mkdir', and to 0 if you don't.
-   */
-#define HAVE_DECL_MKDIR 1
-
-/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't.
-   */
-#define HAVE_DECL_STRDUP 1
-
-/* Define to 1 if you have the declaration of `strerror', and to 0 if you
-   don't. */
-/* #undef HAVE_DECL_STRERROR */
-
-/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
-   don't. */
-#define HAVE_DECL_STRERROR_R 1
-
-/* Define to 1 if you have the declaration of `strmode', and to 0 if you
-   don't. */
-#define HAVE_DECL_STRMODE 0
-
-/* Define to 1 if you have the declaration of `strndup', and to 0 if you
-   don't. */
-#define HAVE_DECL_STRNDUP 0
-
-/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
-   don't. */
-#define HAVE_DECL_STRNLEN 1
-
-/* Define to 1 if you have the declaration of `strtoimax', and to 0 if you
-   don't. */
-#define HAVE_DECL_STRTOIMAX 1
-
-/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
-   don't. */
-/* #undef HAVE_DECL_STRTOLL */
-
-/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
-   don't. */
-/* #undef HAVE_DECL_STRTOULL */
-
-/* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
-   don't. */
-#define HAVE_DECL_STRTOUMAX 1
-
-/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
-   */
-/* #undef HAVE_DECL_TZNAME */
-
-/* Define to 1 if you have the declaration of `__fpending', and to 0 if you
-   don't. */
-#define HAVE_DECL___FPENDING 0
-
-/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
-   */
-#define HAVE_DIRENT_H 1
-
-/* Define to 1 if you have the `dirfd' function. */
-#define HAVE_DIRFD 1
-
-/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
-/* #undef HAVE_DOPRNT */
-
-/* Define to 1 if you have the `dup2' function. */
-#define HAVE_DUP2 1
-
-/* Define to 1 if you have the `endgrent' function. */
-#define HAVE_ENDGRENT 1
-
-/* Define to 1 if you have the `endmntent' function. */
-/* #undef HAVE_ENDMNTENT */
-
-/* Define to 1 if you have the `endpwent' function. */
-#define HAVE_ENDPWENT 1
-
-/* Define to 1 if you have the <errno.h> header file. */
-#define HAVE_ERRNO_H 1
-
-/* Define to 1 if you have the `fchdir' function. */
-#define HAVE_FCHDIR 1
-
-/* Define to 1 if you have the `fchmodat' function. */
-/* #undef HAVE_FCHMODAT */
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 1
-
-/* Define to 1 if you have the `fdopendir' function. */
-/* #undef HAVE_FDOPENDIR */
-
-/* Define to 1 if you have the `flockfile' function. */
-/* #undef HAVE_FLOCKFILE */
-
-/* Define to 1 if you have the `forcefindlib' function. */
-/* #undef HAVE_FORCEFINDLIB */
-
-/* Define to 1 if you have the `fpurge' function. */
-#define HAVE_FPURGE 1
-
-/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
-#define HAVE_FSEEKO 1
-
-/* Define to 1 if you have the <fs_info.h> header file. */
-#define HAVE_FS_INFO_H 1
-
-/* Define to 1 if you have the `fs_stat_dev' function. */
-#define HAVE_FS_STAT_DEV 1
-
-/* Define to 1 if you have the `funlockfile' function. */
-/* #undef HAVE_FUNLOCKFILE */
-
-/* Define to 1 if you have the `getcwd' function. */
-#define HAVE_GETCWD 1
-
-/* Define to 1 if you have the `getdelim' function. */
-#define HAVE_GETDELIM 1
-
-/* Define to 1 if you have the `getmntent' function. */
-/* #undef HAVE_GETMNTENT */
-
-/* Define to 1 if you have the `getmntinfo' function. */
-/* #undef HAVE_GETMNTINFO */
-
-/* Define to 1 if you have the <getopt.h> header file. */
-#define HAVE_GETOPT_H 1
-
-/* Define to 1 if you have the `getopt_long_only' function. */
-#define HAVE_GETOPT_LONG_ONLY 1
-
-/* Define to 1 if you have the `getpagesize' function. */
-#define HAVE_GETPAGESIZE 1
-
-/* Define if the GNU gettext() function is already present or preinstalled. */
-/* #undef HAVE_GETTEXT */
-
-/* Define to 1 if you have the `hasmntopt' function. */
-/* #undef HAVE_HASMNTOPT */
-
-/* Define if you have the iconv() function and it works. */
-#define HAVE_ICONV 1
-
-/* Define if your compiler supports the #include_next directive. */
-#define HAVE_INCLUDE_NEXT 1
-
-/* Define to 1 if the compiler supports one of the keywords 'inline',
-   '__inline__', '__inline' and effectively inlines functions marked as such.
-   */
-#define HAVE_INLINE 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the <io.h> header file. */
-/* #undef HAVE_IO_H */
-
-/* Define to 1 if you have the `isblank' function. */
-#define HAVE_ISBLANK 1
-
-/* Define to 1 if you have the `iswcntrl' function. */
-#define HAVE_ISWCNTRL 1
-
-/* Define to 1 if you have the `iswctype' function. */
-#define HAVE_ISWCTYPE 1
-
-/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
-/* #undef HAVE_LANGINFO_CODESET */
-
-/* Define to 1 if you have the `lchmod' function. */
-/* #undef HAVE_LCHMOD */
-
-/* Define to 1 if you have the `lchown' function. */
-#define HAVE_LCHOWN 1
-
-/* Define to 1 if you have the `sun' library (-lsun). */
-/* #undef HAVE_LIBSUN */
-
-/* Define to 1 if you have the <limits.h> header file. */
-#define HAVE_LIMITS_H 1
-
-/* Define to 1 if you have the `listmntent' function. */
-/* #undef HAVE_LISTMNTENT */
-
-/* Define to 1 if you have the <locale.h> header file. */
-#define HAVE_LOCALE_H 1
-
-/* Define to 1 if you support file names longer than 14 characters. */
-#define HAVE_LONG_FILE_NAMES 1
-
-/* Define to 1 if the system has the type `long long int'. */
-#define HAVE_LONG_LONG_INT 1
-
-/* Define to 1 if you have the `lstat' function. */
-#define HAVE_LSTAT 1
-
-/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
-   to 0 otherwise. */
-#define HAVE_MALLOC 1
-
-/* Define if the 'malloc' function is POSIX compliant. */
-#define HAVE_MALLOC_POSIX 1
-
-/* Define to 1 if you have the `mblen' function. */
-#define HAVE_MBLEN 1
-
-/* Define to 1 if you have the `mbrlen' function. */
-#define HAVE_MBRLEN 1
-
-/* Define to 1 if you have the `mbrtowc' function. */
-#define HAVE_MBRTOWC 1
-
-/* Define to 1 if you have the `mbsinit' function. */
-#define HAVE_MBSINIT 1
-
-/* Define to 1 if you have the `mbsrtowcs' function. */
-#define HAVE_MBSRTOWCS 1
-
-/* Define to 1 if <wchar.h> declares mbstate_t. */
-#define HAVE_MBSTATE_T 1
-
-/* Define to 1 if you have the `memcmp' function. */
-#define HAVE_MEMCMP 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mempcpy' function. */
-/* #undef HAVE_MEMPCPY */
-
-/* Define to 1 if you have the `memrchr' function. */
-#define HAVE_MEMRCHR 1
-
-/* Define to 1 if you have the `memset' function. */
-#define HAVE_MEMSET 1
-
-/* Define to 1 if you have the `mkdirat' function. */
-/* #undef HAVE_MKDIRAT */
-
-/* Define to 1 if you have the <mntent.h> header file. */
-/* #undef HAVE_MNTENT_H */
-
-/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
-/* #undef HAVE_NDIR_H */
-
-/* Define to 1 if you have the `next_dev' function. */
-#define HAVE_NEXT_DEV 1
-
-/* Define to 1 if you have the `openat' function. */
-/* #undef HAVE_OPENAT */
-
-/* Define to 1 if getcwd works, except it sometimes fails when it shouldn't,
-   setting errno to ERANGE, ENAMETOOLONG, or ENOENT. If __GETCWD_PREFIX is not
-   defined, it doesn't matter whether HAVE_PARTLY_WORKING_GETCWD is defined.
-   */
-/* #undef HAVE_PARTLY_WORKING_GETCWD */
-
-/* Define to 1 if you have the `pathconf' function. */
-#define HAVE_PATHCONF 1
-
-/* Define to 1 if you have the `pipe' function. */
-#define HAVE_PIPE 1
-
-/* Define to 1 if you have the `readlink' function. */
-#define HAVE_READLINK 1
-
-/* Define to 1 if your system has a GNU libc compatible `realloc' function,
-   and to 0 otherwise. */
-#define HAVE_REALLOC 1
-
-/* Define if the 'realloc' function is POSIX compliant. */
-#define HAVE_REALLOC_POSIX 1
-
-/* Define to 1 if you have the `resolvepath' function. */
-/* #undef HAVE_RESOLVEPATH */
-
-/* Define to 1 if you have the `rpmatch' function. */
-/* #undef HAVE_RPMATCH */
-
-/* Define to 1 if you have the `setlocale' function. */
-#define HAVE_SETLOCALE 1
-
-/* Define to 1 if you have the `setmntent' function. */
-/* #undef HAVE_SETMNTENT */
-
-/* Define to 1 if 'sig_atomic_t' is a signed integer type. */
-#define HAVE_SIGNED_SIG_ATOMIC_T 1
-
-/* Define to 1 if 'wchar_t' is a signed integer type. */
-#define HAVE_SIGNED_WCHAR_T 1
-
-/* Define to 1 if 'wint_t' is a signed integer type. */
-/* #undef HAVE_SIGNED_WINT_T */
-
-/* Define to 1 if stdbool.h conforms to C99. */
-/* #undef HAVE_STDBOOL_H */
-
-/* Define to 1 if you have the <stddef.h> header file. */
-#define HAVE_STDDEF_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdio_ext.h> header file. */
-#define HAVE_STDIO_EXT_H 1
-
-/* Define to 1 if you have the <stdio.h> header file. */
-#define HAVE_STDIO_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the `stpcpy' function. */
-#define HAVE_STPCPY 1
-
-/* Define to 1 if you have the `strdup' function. */
-#define HAVE_STRDUP 1
-
-/* Define to 1 if you have the `strerror' function. */
-#define HAVE_STRERROR 1
-
-/* Define to 1 if you have the `strerror_r' function. */
-#define HAVE_STRERROR_R 1
-
-/* Define to 1 if you have the `strftime' function. */
-#define HAVE_STRFTIME 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define if you have the strndup() function and it works. */
-/* #undef HAVE_STRNDUP */
-
-/* Define to 1 if you have the `strspn' function. */
-#define HAVE_STRSPN 1
-
-/* Define to 1 if you have the `strstr' function. */
-#define HAVE_STRSTR 1
-
-/* Define to 1 if you have the `strtoimax' function. */
-#define HAVE_STRTOIMAX 1
-
-/* Define to 1 if you have the `strtol' function. */
-#define HAVE_STRTOL 1
-
-/* Define to 1 if you have the `strtoll' function. */
-#define HAVE_STRTOLL 1
-
-/* Define to 1 if you have the `strtoul' function. */
-#define HAVE_STRTOUL 1
-
-/* Define to 1 if you have the `strtoull' function. */
-#define HAVE_STRTOULL 1
-
-/* Define to 1 if you have the `strtoumax' function. */
-#define HAVE_STRTOUMAX 1
-
-/* Define to 1 if your 'struct dirent' has a d_type member */
-/* #undef HAVE_STRUCT_DIRENT_D_TYPE */
-
-/* Define to 1 if `f_fstypename' is member of `struct fsstat'. */
-/* #undef HAVE_STRUCT_FSSTAT_F_FSTYPENAME */
-
-/* Define to 1 if `f_fstypename' is member of `struct statfs'. */
-/* #undef HAVE_STRUCT_STATFS_F_FSTYPENAME */
-
-/* Define to 1 if `st_blocks' is member of `struct stat'. */
-#define HAVE_STRUCT_STAT_ST_BLOCKS 1
-
-/* Define to 1 if `st_rdev' is member of `struct stat'. */
-#define HAVE_STRUCT_STAT_ST_RDEV 1
-
-/* Define to 1 if `tm_zone' is member of `struct tm'. */
-#define HAVE_STRUCT_TM_TM_ZONE 1
-
-/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
-   `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
-#define HAVE_ST_BLOCKS 1
-
-/* Define if struct stat has an st_dm_mode member. */
-/* #undef HAVE_ST_DM_MODE */
-
-/* Define to 1 if you have the <sys/bitypes.h> header file. */
-/* #undef HAVE_SYS_BITYPES_H */
-
-/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
-   */
-/* #undef HAVE_SYS_DIR_H */
-
-/* Define to 1 if you have the <sys/fs_types.h> header file. */
-/* #undef HAVE_SYS_FS_TYPES_H */
-
-/* Define to 1 if you have the <sys/inttypes.h> header file. */
-/* #undef HAVE_SYS_INTTYPES_H */
-
-/* Define to 1 if you have the <sys/mkdev.h> header file. */
-/* #undef HAVE_SYS_MKDEV_H */
-
-/* Define to 1 if you have the <sys/mntent.h> header file. */
-/* #undef HAVE_SYS_MNTENT_H */
-
-/* Define to 1 if you have the <sys/mntio.h> header file. */
-/* #undef HAVE_SYS_MNTIO_H */
-
-/* Define to 1 if you have the <sys/mnttab.h> header file. */
-/* #undef HAVE_SYS_MNTTAB_H */
-
-/* Define to 1 if you have the <sys/mount.h> header file. */
-/* #undef HAVE_SYS_MOUNT_H */
-
-/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
-   */
-/* #undef HAVE_SYS_NDIR_H */
-
-/* Define to 1 if you have the <sys/param.h> header file. */
-#define HAVE_SYS_PARAM_H 1
-
-/* Define to 1 if you have the <sys/statvfs.h> header file. */
-#define HAVE_SYS_STATVFS_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/time.h> header file. */
-#define HAVE_SYS_TIME_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <sys/ucred.h> header file. */
-/* #undef HAVE_SYS_UCRED_H */
-
-/* Define to 1 if you have the <sys/utsname.h> header file. */
-#define HAVE_SYS_UTSNAME_H 1
-
-/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
-#define HAVE_SYS_WAIT_H 1
-
-/* Define to 1 if you have the <time.h> header file. */
-#define HAVE_TIME_H 1
-
-/* Define if struct tm has the tm_gmtoff member. */
-#define HAVE_TM_GMTOFF 1
-
-/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use
-   `HAVE_STRUCT_TM_TM_ZONE' instead. */
-#define HAVE_TM_ZONE 1
-
-/* Define to 1 if you don't have `tm_zone' but do have the external array
-   `tzname'. */
-/* #undef HAVE_TZNAME */
-
-/* Define to 1 if you have the `tzset' function. */
-#define HAVE_TZSET 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if the system has the type `unsigned long long int'. */
-#define HAVE_UNSIGNED_LONG_LONG_INT 1
-
-/* Define to 1 if you have the `vprintf' function. */
-#define HAVE_VPRINTF 1
-
-/* Define to 1 if you have the `waitpid' function. */
-#define HAVE_WAITPID 1
-
-/* Define to 1 if you have the <wchar.h> header file. */
-#define HAVE_WCHAR_H 1
-
-/* Define if you have the 'wchar_t' type. */
-#define HAVE_WCHAR_T 1
-
-/* Define to 1 if you have the `wcrtomb' function. */
-#define HAVE_WCRTOMB 1
-
-/* Define to 1 if you have the `wcscoll' function. */
-#define HAVE_WCSCOLL 1
-
-/* Define to 1 if you have the <wctype.h> header file. */
-#define HAVE_WCTYPE_H 1
-
-/* Define if you have the 'wint_t' type. */
-#define HAVE_WINT_T 1
-
-/* Define to 1 if you have the `wmemchr' function. */
-#define HAVE_WMEMCHR 1
-
-/* Define to 1 if you have the `wmemcpy' function. */
-#define HAVE_WMEMCPY 1
-
-/* Define to 1 if you have the `wmempcpy' function. */
-#define HAVE_WMEMPCPY 1
-
-/* Define to 1 if O_NOATIME works. */
-#define HAVE_WORKING_O_NOATIME 0
-
-/* Define to 1 if O_NOFOLLOW works. */
-#define HAVE_WORKING_O_NOFOLLOW 0
-
-/* Define to 1 if the system has the type `_Bool'. */
-/* #undef HAVE__BOOL */
-
-/* Define to 1 if you have the `__fpending' function. */
-/* #undef HAVE___FPENDING */
-
-/* Define to 1 if you have the `__fpurge' function. */
-#define HAVE___FPURGE 1
-
-/* Define to 1 if you have the `__freading' function. */
-#define HAVE___FREADING 1
-
-#if FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR
-# define ISSLASH(C) ((C) == '/' || (C) == '\\')
-#else
-# define ISSLASH(C) ((C) == '/')
-#endif
-
-/* Define if you want to use the leaf optimisation (this can still be turned
-   off with -noleaf) */
-#define LEAF_OPTIMISATION 1
-
-/* Define to 1 if lseek does not detect pipes. */
-/* #undef LSEEK_PIPE_BROKEN */
-
-/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
-   slash. */
-/* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */
-
-/* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
-   */
-/* #undef MAJOR_IN_MKDEV */
-
-/* Define to 1 if `major', `minor', and `makedev' are declared in
-   <sysmacros.h>. */
-/* #undef MAJOR_IN_SYSMACROS */
-
-/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */
-#define MALLOC_0_IS_NONNULL 1
-
-/* Define if there is no specific function for reading the list of mounted
-   file systems. fread will be used to read /etc/mnttab. (SVR2) */
-/* #undef MOUNTED_FREAD */
-
-/* Define if (like SVR2) there is no specific function for reading the list of
-   mounted file systems, and your system has these header files: <sys/fstyp.h>
-   and <sys/statfs.h>. (SVR3) */
-/* #undef MOUNTED_FREAD_FSTYP */
-
-/* Define if there are functions named next_dev and fs_stat_dev for reading
-   the list of mounted file systems. (BeOS) */
-#define MOUNTED_FS_STAT_DEV 1
-
-/* Define if there is a function named getfsstat for reading the list of
-   mounted file systems. (DEC Alpha running OSF/1) */
-/* #undef MOUNTED_GETFSSTAT */
-
-/* Define if there is a function named getmnt for reading the list of mounted
-   file systems. (Ultrix) */
-/* #undef MOUNTED_GETMNT */
-
-/* Define if there is a function named getmntent for reading the list of
-   mounted file systems, and that function takes a single argument. (4.3BSD,
-   SunOS, HP-UX, Dynix, Irix) */
-/* #undef MOUNTED_GETMNTENT1 */
-
-/* Define if there is a function named getmntent for reading the list of
-   mounted file systems, and that function takes two arguments. (SVR4) */
-/* #undef MOUNTED_GETMNTENT2 */
-
-/* Define if there is a function named getmntinfo for reading the list of
-   mounted file systems and it returns an array of 'struct statfs'. (4.4BSD,
-   Darwin) */
-/* #undef MOUNTED_GETMNTINFO */
-
-/* Define if there is a function named getmntinfo for reading the list of
-   mounted file systems and it returns an array of 'struct statvfs'. (NetBSD
-   3.0) */
-/* #undef MOUNTED_GETMNTINFO2 */
-
-/* Define if there is a function named listmntent that can be used to list all
-   mounted file systems. (UNICOS) */
-/* #undef MOUNTED_LISTMNTENT */
-
-/* Define if there is a function named mntctl that can be used to read the
-   list of mounted file systems, and there is a system header file that
-   declares `struct vmount.' (AIX) */
-/* #undef MOUNTED_VMOUNT */
-
-/* Name of package */
-#define PACKAGE "findutils"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "bug-findutils@xxxxxxx"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "GNU findutils"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "GNU findutils 4.2.33"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "findutils"
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "4.2.33"
-
-/* the number of pending output bytes on stream `fp' */
-#define PENDING_OUTPUT_N_BYTES fp->_IO_write_ptr - fp->_IO_write_base
-
-/* Define if <inttypes.h> exists and defines unusable PRI* macros. */
-/* #undef PRI_MACROS_BROKEN */
-
-/* Define to 1 if the C compiler supports function prototypes. */
-#define PROTOTYPES 1
-
-/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
-   'ptrdiff_t'. */
-#define PTRDIFF_T_SUFFIX l
-
-/* Define this to 1 if strerror is broken. */
-/* #undef REPLACE_STRERROR */
-
-/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
-   'sig_atomic_t'. */
-#define SIG_ATOMIC_T_SUFFIX
-
-/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
-   'size_t'. */
-#define SIZE_T_SUFFIX ul
-
-/* If using the C implementation of alloca, define if you know the
-   direction of stack growth for your system; otherwise it will be
-   automatically deduced at runtime.
-       STACK_DIRECTION > 0 => grows toward higher addresses
-       STACK_DIRECTION < 0 => grows toward lower addresses
-       STACK_DIRECTION = 0 => direction of growth unknown */
-/* #undef STACK_DIRECTION */
-
-/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
-/* #undef STAT_MACROS_BROKEN */
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define to 1 if strerror_r returns char *. */
-/* #undef STRERROR_R_CHAR_P */
-
-/* Define to 1 if your <sys/time.h> declares `struct tm'. */
-/* #undef TM_IN_SYS_TIME */
-
-/* Defined if you specify --enable-d_type-optimisation to configure. */
-#define USE_STRUCT_DIRENT_D_TYPE 1
-
-/* Version number of package */
-#define VERSION "4.2.33"
-
-/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
-   'wchar_t'. */
-#define WCHAR_T_SUFFIX
-
-/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
-   'wint_t'. */
-#define WINT_T_SUFFIX u
-
-/* Number of bits in a file offset, on hosts where this is settable. */
-/* #undef _FILE_OFFSET_BITS */
-
-/* Enable GNU extensions on systems that have them.  */
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
-#endif
-
-/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
-/* #undef _LARGEFILE_SOURCE */
-
-/* Define for large files, on AIX-style hosts. */
-/* #undef _LARGE_FILES */
-
-/* Define to 1 if on MINIX. */
-/* #undef _MINIX */
-
-/* Define to 2 if the system does not provide POSIX.1 features except with
-   this defined. */
-/* #undef _POSIX_1_SOURCE */
-
-/* Define to 1 if you need to in order for `stat' and other things to work. */
-/* #undef _POSIX_SOURCE */
-
-/* Define if you want regoff_t to be at least as wide POSIX requires. */
-#define _REGEX_LARGE_OFFSETS 1
-
-/* Enable extensions on AIX 3, Interix.  */
-#ifndef _ALL_SOURCE
-# define _ALL_SOURCE 1
-#endif
-/* Enable GNU extensions on systems that have them.  */
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE 1
-#endif
-/* Enable threading extensions on Solaris.  */
-#ifndef _POSIX_PTHREAD_SEMANTICS
-# define _POSIX_PTHREAD_SEMANTICS 1
-#endif
-/* Enable extensions on HP NonStop.  */
-#ifndef _TANDEM_SOURCE
-# define _TANDEM_SOURCE 1
-#endif
-/* Enable general extensions on Solaris.  */
-#ifndef __EXTENSIONS__
-# define __EXTENSIONS__ 1
-#endif
-
-
-/* Define to rpl_ if the getopt replacement functions and variables should be
-   used. */
-/* #undef __GETOPT_PREFIX */
-
-/* Define to rpl_ if the openat replacement function should be used. */
-#define __OPENAT_PREFIX rpl_
-
-/* Define like PROTOTYPES; this can be used by system headers. */
-#define __PROTOTYPES 1
-
-/* Ensure that <stdint.h> defines the limit macros, since gnulib's
-   <inttypes.h> relies on them.  */
-#if defined __cplusplus && !defined __STDC_LIMIT_MACROS && 
GL_TRIGGER_STDC_LIMIT_MACROS
-# define __STDC_LIMIT_MACROS 1
-#endif
-
-
-/* Define to `unsigned long' if <sys/types.h> does not define. */
-/* #undef dev_t */
-
-/* Define to rpl_fchownat if the replacement function should be used. */
-#define fchownat rpl_fchownat
-
-/* Define to a replacement function name for fnmatch(). */
-#define fnmatch gnu_fnmatch
-
-/* Define to `int' if <sys/types.h> doesn't define. */
-/* #undef gid_t */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned long' if <sys/types.h> does not define. */
-/* #undef ino_t */
-
-/* Define to rpl_malloc if the replacement function should be used. */
-/* #undef malloc */
-
-/* Define to a type if <wchar.h> does not define. */
-/* #undef mbstate_t */
-
-/* Define to rpl_memcmp if the replacement function should be used. */
-/* #undef memcmp */
-
-/* Define to rpl_mktime if the replacement function should be used. */
-/* #undef mktime */
-
-/* Define to `int' if <sys/types.h> does not define. */
-/* #undef mode_t */
-
-/* Define to the name of the strftime replacement function. */
-#define my_strftime nstrftime
-
-/* Define to `int' if <sys/types.h> does not define. */
-/* #undef pid_t */
-
-/* Define to rpl_re_comp if the replacement should be used. */
-#define re_comp rpl_re_comp
-
-/* Define to rpl_re_compile_fastmap if the replacement should be used. */
-#define re_compile_fastmap rpl_re_compile_fastmap
-
-/* Define to rpl_re_compile_pattern if the replacement should be used. */
-#define re_compile_pattern rpl_re_compile_pattern
-
-/* Define to rpl_re_exec if the replacement should be used. */
-#define re_exec rpl_re_exec
-
-/* Define to rpl_re_match if the replacement should be used. */
-#define re_match rpl_re_match
-
-/* Define to rpl_re_match_2 if the replacement should be used. */
-#define re_match_2 rpl_re_match_2
-
-/* Define to rpl_re_search if the replacement should be used. */
-#define re_search rpl_re_search
-
-/* Define to rpl_re_search_2 if the replacement should be used. */
-#define re_search_2 rpl_re_search_2
-
-/* Define to rpl_re_set_registers if the replacement should be used. */
-#define re_set_registers rpl_re_set_registers
-
-/* Define to rpl_re_set_syntax if the replacement should be used. */
-#define re_set_syntax rpl_re_set_syntax
-
-/* Define to rpl_re_syntax_options if the replacement should be used. */
-#define re_syntax_options rpl_re_syntax_options
-
-/* Define to rpl_realloc if the replacement function should be used. */
-/* #undef realloc */
-
-/* Define to a replacement function name for realpath(). */
-#define realpath rpl_realpath
-
-/* Define to rpl_regcomp if the replacement should be used. */
-#define regcomp rpl_regcomp
-
-/* Define to rpl_regerror if the replacement should be used. */
-#define regerror rpl_regerror
-
-/* Define to rpl_regexec if the replacement should be used. */
-#define regexec rpl_regexec
-
-/* Define to rpl_regfree if the replacement should be used. */
-#define regfree rpl_regfree
-
-/* Define to the equivalent of the C99 'restrict' keyword, or to
-   nothing if this is not supported.  Do not define if restrict is
-   supported directly.  */
-#define restrict __restrict
-/* Work around a bug in Sun C++: it does not support _Restrict, even
-   though the corresponding Sun C compiler does, which causes
-   "#define restrict _Restrict" in the previous line.  Perhaps some future
-   version of Sun C++ will work with _Restrict; if so, it'll probably
-   define __RESTRICT, just as Sun C does.  */
-#if defined __SUNPRO_CC && !defined __RESTRICT
-# define _Restrict
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
-
-/* Define to `int' if <sys/types.h> does not define. */
-/* #undef ssize_t */
-
-/* Define to rpl_strnlen if the replacement function should be used. */
-/* #undef strnlen */
-
-/* Define to `int' if <sys/types.h> doesn't define. */
-/* #undef uid_t */
-
-#define _IO_ferror_unlocked _IO_ferror_unlocked
diff --git a/src/bin/findutils/find/Jamfile b/src/bin/findutils/find/Jamfile
deleted file mode 100644
index 728d4d1..0000000
--- a/src/bin/findutils/find/Jamfile
+++ /dev/null
@@ -1,26 +0,0 @@
-SubDir HAIKU_TOP src bin findutils find ;
-
-SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) gnulib lib ] ;
-SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) lib ] ;
-SubDirSysHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
-
-# filter warnings we don't want here
-TARGET_WARNING_CCFLAGS_$(TARGET_PACKAGING_ARCH)
-       = [ FFilter $(TARGET_WARNING_CCFLAGS_$(TARGET_PACKAGING_ARCH))
-               : -Wall -Wmissing-prototypes -Wsign-compare ] ;
-
-# set some additional defines
-{
-       SubDirCcFlags -DHAVE_CONFIG_H ;
-}
-
-BinCommand find :
-       find.c
-       fstype.c
-       parser.c
-       pred.c
-       tree.c
-       util.c
-       : libfindutils.a gnulibfindutils.a : findutils.rdef ;
-
-SEARCH on [ FGristFiles findutils.rdef ] = [ FDirName $(SUBDIR) $(DOTDOT) ] ;
diff --git a/src/bin/findutils/find/defs.h b/src/bin/findutils/find/defs.h
deleted file mode 100644
index 02d3650..0000000
--- a/src/bin/findutils/find/defs.h
+++ /dev/null
@@ -1,611 +0,0 @@
-/* defs.h -- data types and declarations.
-   Copyright (C) 1990, 91, 92, 93, 94, 2000, 2001, 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 3 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, see <http://www.gnu.org/licenses/>.
-*/
-
-
-#ifndef INC_DEFS_H
-#define INC_DEFS_H 1
-
-#include <config.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdio.h>
-
-#if defined(HAVE_STRING_H) || defined(STDC_HEADERS)
-#include <string.h>
-#else
-#include <strings.h>
-#ifndef strchr
-#define strchr index
-#endif
-#ifndef strrchr
-#define strrchr rindex
-#endif
-#endif
-
-#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
-#ifdef STDC_HEADERS
-#include <stdlib.h>
-#endif
-
-/* The presence of unistd.h is assumed by gnulib these days, so we 
- * might as well assume it too. 
- */
-#include <unistd.h>
-
-#include <time.h>
-
-#if HAVE_LIMITS_H
-# include <limits.h>
-#endif
-#ifndef CHAR_BIT
-# define CHAR_BIT 8
-#endif
-
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-
-#include "regex.h"
-
-#ifndef S_IFLNK
-#define lstat stat
-#endif
-
-# ifndef PARAMS
-#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-#   define PARAMS(Args) Args
-#  else
-#   define PARAMS(Args) ()
-#  endif
-# endif
-
-int lstat PARAMS((const char *__path, struct stat *__statbuf));
-int stat PARAMS((const char *__path, struct stat *__statbuf));
-
-int optionl_stat PARAMS((const char *name, struct stat *p));
-int optionp_stat PARAMS((const char *name, struct stat *p));
-int optionh_stat PARAMS((const char *name, struct stat *p));
-
-int get_statinfo PARAMS((const char *pathname, const char *name, struct stat 
*p));
-
-
-
-#ifndef S_ISUID
-# define S_ISUID 0004000
-#endif
-#ifndef S_ISGID
-# define S_ISGID 0002000
-#endif
-#ifndef S_ISVTX
-# define S_ISVTX 0001000
-#endif
-#ifndef S_IRUSR
-# define S_IRUSR 0000400
-#endif
-#ifndef S_IWUSR
-# define S_IWUSR 0000200
-#endif
-#ifndef S_IXUSR
-# define S_IXUSR 0000100
-#endif
-#ifndef S_IRGRP
-# define S_IRGRP 0000040
-#endif
-#ifndef S_IWGRP
-# define S_IWGRP 0000020
-#endif
-#ifndef S_IXGRP
-# define S_IXGRP 0000010
-#endif
-#ifndef S_IROTH
-# define S_IROTH 0000004
-#endif
-#ifndef S_IWOTH
-# define S_IWOTH 0000002
-#endif
-#ifndef S_IXOTH
-# define S_IXOTH 0000001
-#endif
-
-#define MODE_WXUSR     (S_IWUSR | S_IXUSR)
-#define MODE_R         (S_IRUSR | S_IRGRP | S_IROTH)
-#define MODE_RW                (S_IWUSR | S_IWGRP | S_IWOTH | MODE_R)
-#define MODE_RWX       (S_IXUSR | S_IXGRP | S_IXOTH | MODE_RW)
-#define MODE_ALL       (S_ISUID | S_ISGID | S_ISVTX | MODE_RWX)
-
-#if 1
-#include <stdbool.h>
-typedef bool boolean;
-#else
-/* Not char because of type promotion; NeXT gcc can't handle it.  */
-typedef int boolean;
-#define                true    1
-#define                false   0
-#endif
-
-struct predicate;
-
-/* Pointer to a predicate function. */
-typedef boolean (*PRED_FUNC)(char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr);
-
-/* The number of seconds in a day. */
-#define                DAYSECS     86400
-
-/* Argument structures for predicates. */
-
-enum comparison_type
-{
-  COMP_GT,
-  COMP_LT,
-  COMP_EQ
-};
-
-enum permissions_type
-{
-  PERM_AT_LEAST,
-  PERM_ANY,
-  PERM_EXACT
-};
-
-enum predicate_type
-{
-  NO_TYPE,
-  PRIMARY_TYPE,
-  UNI_OP,
-  BI_OP,
-  OPEN_PAREN,
-  CLOSE_PAREN
-};
-
-enum predicate_precedence
-{
-  NO_PREC,
-  COMMA_PREC,
-  OR_PREC,
-  AND_PREC,
-  NEGATE_PREC,
-  MAX_PREC
-};
-
-struct long_val
-{
-  enum comparison_type kind;
-  boolean negative;            /* Defined only when representing time_t.  */
-  uintmax_t l_val;
-};
-
-struct perm_val
-{
-  enum permissions_type kind;
-  mode_t val[2];
-};
-
-/* dir_id is used to support loop detection in find.c and 
- * also to support the -samefile test.
- */
-struct dir_id
-{
-  ino_t ino;
-  dev_t dev;
-};
-
-struct size_val
-{
-  enum comparison_type kind;
-  int blocksize;
-  uintmax_t size;
-};
-
-#define NEW_EXEC 1
-/*
-#undef NEW_EXEC 
-*/
-
-#if !defined(NEW_EXEC)
-struct path_arg
-{
-  short offset;                        /* Offset in `vec' of this arg. */
-  short count;                 /* Number of path replacements in this arg. */
-  char *origarg;               /* Arg with "{}" intact. */
-};
-#endif
-
-#include "buildcmd.h"
-
-struct exec_val
-{
-#if defined(NEW_EXEC)
-  /* new-style */
-  boolean multiple;            /* -exec {} \+ denotes multiple argument. */
-  struct buildcmd_control ctl;
-  struct buildcmd_state   state;
-  char **replace_vec;          /* Command arguments (for ";" style) */
-  int num_args;
-  boolean use_current_dir;      /* If nonzero, don't chdir to start dir */
-  boolean close_stdin;         /* If true, close stdin in the child. */
-#else
-  struct path_arg *paths;      /* Array of args with path replacements. */
-  char **vec;                  /* Array of args to pass to program. */
-#endif
-};
-
-/* The format string for a -printf or -fprintf is chopped into one or
-   more `struct segment', linked together into a list.
-   Each stretch of plain text is a segment, and
-   each \c and `%' conversion is a segment. */
-
-/* Special values for the `kind' field of `struct segment'. */
-#define KIND_PLAIN 0           /* Segment containing just plain text. */
-#define KIND_STOP 1            /* \c -- stop printing and flush output. */
-
-struct segment
-{
-  int kind;                    /* Format chars or KIND_{PLAIN,STOP}. */
-  char *text;                  /* Plain text or `%' format string. */
-  int text_len;                        /* Length of `text'. */
-  struct segment *next;                /* Next segment for this predicate. */
-};
-
-struct format_val
-{
-  struct segment *segment;     /* Linked list of segments. */
-  FILE *stream;                        /* Output stream to print on. */
-  boolean dest_is_tty;         /* True if the destination is a terminal. */
-  struct quoting_options *quote_opts;
-};
-
-struct predicate
-{
-  /* Pointer to the function that implements this predicate.  */
-  PRED_FUNC pred_func;
-
-  /* Only used for debugging, but defined unconditionally so individual
-     modules can be compiled with -DDEBUG.  */
-  char *p_name;
-
-  /* The type of this node.  There are two kinds.  The first is real
-     predicates ("primaries") such as -perm, -print, or -exec.  The
-     other kind is operators for combining predicates. */
-  enum predicate_type p_type;
-
-  /* The precedence of this node.  Only has meaning for operators. */
-  enum predicate_precedence p_prec;
-
-  /* True if this predicate node produces side effects.
-     If side_effects are produced
-     then optimization will not be performed */
-  boolean side_effects;
-
-  /* True if this predicate node requires default print be turned off. */
-  boolean no_default_print;
-
-  /* True if this predicate node requires a stat system call to execute. */
-  boolean need_stat;
-
-  /* True if this predicate node requires knowledge of the file type. */
-  boolean need_type;
-
-  /* Information needed by the predicate processor.
-     Next to each member are listed the predicates that use it. */
-  union
-  {
-    char *str;                 /* fstype [i]lname [i]name [i]path */
-    struct re_pattern_buffer *regex; /* regex */
-    struct exec_val exec_vec;  /* exec ok */
-    struct long_val info;      /* atime ctime gid inum links mtime
-                                   size uid */
-    struct size_val size;      /* size */
-    uid_t uid;                 /* user */
-    gid_t gid;                 /* group */
-    time_t time;               /* newer */
-    struct perm_val perm;      /* perm */
-    struct dir_id   fileid;    /* samefile */
-    mode_t type;               /* type */
-    FILE *stream;              /* ls fls fprint0 */
-    struct format_val printf_vec; /* printf fprintf fprint  */
-  } args;
-
-  /* The next predicate in the user input sequence,
-     which represents the order in which the user supplied the
-     predicates on the command line. */
-  struct predicate *pred_next;
-
-  /* The right and left branches from this node in the expression
-     tree, which represents the order in which the nodes should be
-     processed. */
-  struct predicate *pred_left;
-  struct predicate *pred_right;
-
-  const struct parser_table* parser_entry;
-};
-
-/* find.c. */
-int get_info PARAMS((const char *pathname, const char *name, struct stat *p, 
struct predicate *pred_ptr));
-int following_links(void);
-
-
-/* find library function declarations.  */
-
-/* dirname.c */
-char *dirname PARAMS((char *path));
-
-/* error.c */
-void error PARAMS((int status, int errnum, char *message, ...));
-
-/* listfile.c */
-void list_file PARAMS((char *name, char *relname, struct stat *statp, time_t 
current_time, int output_block_size, FILE *stream));
-char *get_link_name PARAMS((char *name, char *relname));
-
-/* stpcpy.c */
-#if !HAVE_STPCPY
-char *stpcpy PARAMS((char *dest, const char *src));
-#endif
-
-/* xgetcwd.c */
-char *xgetcwd PARAMS((void));
-
-/* xmalloc.c */
-#if __STDC__
-#define VOID void
-#else
-#define VOID char
-#endif
-
-/* find global function declarations.  */
-
-/* find.c */
-/* SymlinkOption represents the choice of 
- * -P, -L or -P (default) on the command line.
- */
-enum SymlinkOption 
-  {
-    SYMLINK_NEVER_DEREF,       /* Option -P */
-    SYMLINK_ALWAYS_DEREF,      /* Option -L */
-    SYMLINK_DEREF_ARGSONLY     /* Option -H */
-  };
-extern enum SymlinkOption symlink_handling; /* defined in find.c. */
-
-void set_follow_state PARAMS((enum SymlinkOption opt));
-void cleanup(void);
-
-/* fstype.c */
-char *filesystem_type PARAMS((const struct stat *statp, const char *path));
-char * get_mounted_filesystems (void);
-dev_t * get_mounted_devices PARAMS((size_t *));
-
-
-
-enum arg_type
-  {
-    ARG_OPTION,                        /* regular options like -maxdepth */
-    ARG_POSITIONAL_OPTION,     /* options whose position is important 
(-follow) */
-    ARG_TEST,                  /* a like -name */
-    ARG_PUNCTUATION,           /* like -o or ( */
-    ARG_ACTION                 /* like -print */
-  };
-
-
-struct parser_table;
-/* Pointer to a parser function. */
-typedef boolean (*PARSE_FUNC)(const struct parser_table *p,
-                             char *argv[], int *arg_ptr);
-struct parser_table
-{
-  enum arg_type type;
-  char *parser_name;
-  PARSE_FUNC parser_func;
-  PRED_FUNC    pred_func;
-};
-
-/* parser.c */
-const struct parser_table* find_parser PARAMS((char *search_name));
-boolean parse_open  PARAMS((const struct parser_table* entry, char *argv[], 
int *arg_ptr));
-boolean parse_close PARAMS((const struct parser_table* entry, char *argv[], 
int *arg_ptr));
-boolean parse_print PARAMS((const struct parser_table*, char *argv[], int 
*arg_ptr));
-void pred_sanity_check PARAMS((const struct predicate *predicates));
-void parse_begin_user_args PARAMS((char **args, int argno, const struct 
predicate *last, const struct predicate *predicates));
-void parse_end_user_args PARAMS((char **args, int argno, const struct 
predicate *last, const struct predicate *predicates));
-boolean parse_openparen              PARAMS((const struct parser_table* entry, 
char *argv[], int *arg_ptr));
-boolean parse_closeparen             PARAMS((const struct parser_table* entry, 
char *argv[], int *arg_ptr));
-
-/* pred.c */
-boolean pred_amin PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_and PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_anewer PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_atime PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_closeparen PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_cmin PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_cnewer PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_comma PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_ctime PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_delete PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_empty PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_exec PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_execdir PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_false PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_fls PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_fprint PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_fprint0 PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_fprintf PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_fstype PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_gid PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_group PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_ilname PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_iname PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_inum PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_ipath PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_links PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_lname PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_ls PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_mmin PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_mtime PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_name PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_negate PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_newer PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_nogroup PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_nouser PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_ok PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_okdir PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_openparen PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_or PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_path PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_perm PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_print PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_print0 PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_prune PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_quit PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_regex PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_samefile PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_size PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_true PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_type PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_uid PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_used PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_user PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-boolean pred_xtype PARAMS((char *pathname, struct stat *stat_buf, struct 
predicate *pred_ptr));
-
-
-
-int launch PARAMS((const struct buildcmd_control *ctl,
-                  struct buildcmd_state *buildstate));
-
-
-char *find_pred_name PARAMS((PRED_FUNC pred_func));
-
-
-
-#ifdef DEBUG
-void print_tree PARAMS((FILE*, struct predicate *node, int indent));
-void print_list PARAMS((FILE*, struct predicate *node));
-void print_optlist PARAMS((FILE *fp, struct predicate *node));
-#endif /* DEBUG */
-
-/* tree.c */
-struct predicate *
-get_expr PARAMS((struct predicate **input, short int prev_prec));
-boolean opt_expr PARAMS((struct predicate **eval_treep));
-boolean mark_stat PARAMS((struct predicate *tree));
-boolean mark_type PARAMS((struct predicate *tree));
-
-/* util.c */
-struct predicate *get_new_pred PARAMS((const struct parser_table *entry));
-struct predicate *get_new_pred_chk_op PARAMS((const struct parser_table 
*entry));
-struct predicate *insert_primary PARAMS((const struct parser_table *entry));
-struct predicate *insert_primary_withpred PARAMS((const struct parser_table 
*entry, PRED_FUNC fptr));
-void usage PARAMS((char *msg));
-
-extern char *program_name;
-extern struct predicate *predicates;
-extern struct predicate *last_pred;
-
-struct options
-{
-  /* If true, process directory before contents.  True unless -depth given. */
-  boolean do_dir_first;
-  
-  /* If >=0, don't descend more than this many levels of subdirectories. */
-  int maxdepth;
-  
-  /* If >=0, don't process files above this level. */
-  int mindepth;
-  
-  /* If true, do not assume that files in directories with nlink == 2
-     are non-directories. */
-  boolean no_leaf_check;
-  
-  /* If true, don't cross filesystem boundaries. */
-  boolean stay_on_filesystem;
-  
-  /* If true, we ignore the problem where we find that a directory entry 
-   * no longer exists by the time we get around to processing it.
-   */
-  boolean ignore_readdir_race;
-  
-/* If true, we issue warning messages
- */
-  boolean warnings;
-  time_t start_time;           /* Time at start of execution.  */
-  
-  /* Seconds between 00:00 1/1/70 and either one day before now
-     (the default), or the start of today (if -daystart is given). */
-  time_t cur_day_start;
-  
-  /* If true, cur_day_start has been adjusted to the start of the day. */
-  boolean full_days;
-  
-  int output_block_size;       /* Output block size.  */
-  
-  enum SymlinkOption symlink_handling;
-  
-  
-  /* Pointer to the function used to stat files. */
-  int (*xstat) (const char *name, struct stat *statbuf);
-
-
-  /* Indicate if we can implement safely_chdir() using the O_NOFOLLOW 
-   * flag to open(2). 
-   */
-  boolean open_nofollow_available;
-
-  /* The variety of regular expression that we support.
-   * The default is POSIX Basic Regular Expressions, but this 
-   * can be changed with the positional option, -regextype.
-   */
-  int regex_options;
-};
-extern struct options options;
-
-
-struct state

[ *** diff truncated: 58892 lines dropped *** ]



Other related posts: